:root {
  --bg: #ffffff;
  --soft: #f4f7fb;
  --text: #172033;
  --muted: #5d6b82;
  --line: #dce3ee;
  --primary: #1769e0;
  --primary-dark: #0f4fad;
  --accent: #16a085;
  --warning: #f2a900;
  --card: #ffffff;
  --shadow: 0 12px 34px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.no-break {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.logo {
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  padding: 9px 14px;
  color: #fff;
  font-weight: 700;
  background: var(--primary);
  border-radius: 8px;
}

.section {
  padding: 48px 18px;
}

.soft {
  background: var(--soft);
}

.container {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.hero {
  padding-top: 30px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 8vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 5vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.lead,
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.lead {
  max-width: 720px;
}

.pr-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-actions,
.result-actions,
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(23, 105, 224, 0.24);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary);
  background: #fff;
  border-color: var(--primary);
}

.button.full {
  width: 100%;
}

.hero-card,
.card,
.type-card,
.quiz-card,
.result-box,
.tool-card,
.template-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
}

.product-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: #0d5f50;
  font-size: 0.82rem;
  font-weight: 800;
  background: #dff7f2;
  border-radius: 999px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 14px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.check-list,
.tool-list {
  padding-left: 1.2rem;
  margin: 0;
}

.check-list li,
.tool-list li {
  margin-bottom: 8px;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.card,
.type-card,
.tool-card,
.template-panel {
  padding: 18px;
}

.card p,
.type-card p,
.tool-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 14px;
}

.split p {
  margin-bottom: 0;
  color: var(--muted);
}

.type-list {
  display: grid;
  gap: 14px;
}

.type-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-card {
  display: grid;
  gap: 18px;
  padding: 18px;
}

fieldset {
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

legend {
  margin-bottom: 10px;
  font-weight: 800;
}

label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 8px;
  color: var(--text);
  border-radius: 8px;
}

label:hover {
  background: var(--soft);
}

input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--primary);
}

.result-box {
  margin-top: 24px;
  padding: 22px;
  border-color: rgba(23, 105, 224, 0.35);
}

.result-box ul {
  padding-left: 1.2rem;
}

.cta-band {
  color: #fff;
  background: #12335f;
}

.cta-band p {
  color: #dce8f7;
}

.cta-band .button.secondary {
  color: #fff;
  background: transparent;
  border-color: #fff;
}

details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.disclaimer {
  background: #fbfcfe;
}

.disclaimer p,
.site-footer p {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 24px 18px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.result-hero {
  background: var(--soft);
}

.result-layout {
  display: grid;
  gap: 18px;
}

.comparison {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comparison th,
.comparison td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison th {
  background: var(--soft);
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.best-pick {
  padding: 20px;
  border-left: 5px solid var(--warning);
  background: #fff8e6;
  border-radius: 8px;
}

.back-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
}

.article-page {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 220px);
}

.article-page h1 {
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  overflow-wrap: anywhere;
}

.article-section {
  margin-top: 34px;
}

.article-page p,
.article-page li,
.article-page summary,
.prompt-box {
  overflow-wrap: anywhere;
}

.article-section p {
  color: var(--muted);
}

.article-section .tool-card p {
  margin-bottom: 18px;
}

.prompt-box,
.notice-box {
  margin: 16px 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.prompt-box {
  border-left: 5px solid var(--accent);
}

.prompt-box p,
.notice-box p {
  margin-bottom: 0;
}

.article-note {
  margin-top: 18px;
  font-size: 0.92rem;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item {
  background: #fff;
}

@media (max-width: 520px) {
  .article-page .narrow {
    max-width: 354px;
    margin-left: 0;
    margin-right: auto;
  }
}

@media (min-width: 720px) {
  .site-header {
    padding: 14px 32px;
  }

  .section {
    padding: 64px 32px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 36px;
  }

  .split,
  .result-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .type-list {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .hero-actions,
  .result-actions,
  .cta-actions {
    flex-direction: row;
    align-items: center;
  }

  .quiz-card,
  .result-box {
    padding: 28px;
  }
}
