:root {
  color-scheme: light;
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #edf7f5;
  --ink: #10201d;
  --muted: #53645f;
  --line: #d9e7e3;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --blue: #1d4ed8;
  --blue-soft: #eaf1ff;
  --amber: #b45309;
  --amber-soft: #fff7ed;
  --violet: #6d28d9;
  --violet-soft: #f3efff;
  --shadow: 0 18px 50px rgba(15, 118, 110, 0.12);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.09), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(29, 78, 216, 0.07), transparent 30rem),
    var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(217, 231, 227, 0.8);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
}

.nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.nav a,
.site-footer a {
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  background: var(--surface-soft);
  color: var(--teal-dark);
}

main {
  min-height: 70vh;
}

.hero,
.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3.25rem, 8vw, 6rem) 0 3.5rem;
}

.hero-copy h1,
.mock-intro h1,
.section h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text,
.mock-intro p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.source-links,
.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

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

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

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--teal);
}

.hero-panel,
.info-card,
.pricing-card,
.feature-grid article,
.mock-app,
.question-card,
.result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.25rem;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.score-ring {
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  margin: 2rem auto;
  border: 14px solid rgba(15, 118, 110, 0.16);
  border-top-color: var(--teal);
  border-radius: 50%;
  text-align: center;
}

.score-ring span {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
}

.score-ring small {
  display: block;
  color: var(--muted);
}

.check-list,
.pricing-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 3.75rem 0;
}

.section h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.section p {
  color: var(--muted);
  line-height: 1.75;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
}

.info-card,
.feature-grid article,
.pricing-card {
  padding: 1.25rem;
}

.source-links a,
.keyword-cloud a {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.feature-grid,
.pricing-grid,
.segment-grid,
.value-table,
.route-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.segment-grid,
.value-table,
.route-map {
  margin-top: 1.25rem;
}

.segment-grid article,
.value-table article,
.route-map article,
.trust-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.segment-grid article:nth-child(2),
.value-table article:nth-child(2),
.route-map article:nth-child(2) {
  background: var(--blue-soft);
}

.segment-grid article:nth-child(3),
.value-table article:nth-child(3),
.route-map article:nth-child(3) {
  background: var(--amber-soft);
}

.segment-grid h3,
.value-table h3,
.route-map h3,
.trust-panel h2 {
  margin: 0 0 0.5rem;
}

.segment-grid p,
.value-table p,
.route-map p {
  margin: 0;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-content: start;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card h3,
.pricing-card p {
  margin: 0;
}

.price span {
  color: var(--ink);
  font-size: 2.2rem;
  font-weight: 900;
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

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

.steps {
  display: grid;
  gap: 0.85rem;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.evidence-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
}

.timeline span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.timeline p {
  margin: 0;
}

.narrow {
  max-width: 860px;
}

.mock-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.mock-intro {
  margin-bottom: 1.5rem;
}

.mock-app {
  min-height: 420px;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.mock-guide {
  margin-top: 1.5rem;
}

.mock-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.progress {
  height: 10px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.question-card {
  padding: 1.25rem;
  box-shadow: none;
}

.question-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

.answer-list {
  display: grid;
  gap: 0.75rem;
}

.answer-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.answer-button:hover,
.answer-button.selected {
  border-color: var(--teal);
  background: var(--surface-soft);
}

.result-panel {
  padding: 1.25rem;
}

.result-score {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
}

.result-score strong {
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.breakdown {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
}

.bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-soft);
}

.bar span {
  display: block;
  height: 100%;
  background: var(--blue);
}

.locked {
  margin: 1rem 0;
  border: 1px dashed rgba(180, 83, 9, 0.45);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(180, 83, 9, 0.08);
  color: #713f12;
}

.message {
  margin-top: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  max-width: 580px;
  margin: 0.4rem 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-content: start;
}

.trust-panel {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--surface-soft), #fff);
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero,
  .two-column,
  .feature-grid,
  .pricing-grid,
  .segment-grid,
  .value-table,
  .route-map {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.25rem;
  }
}
