:root {
  --bg: #f6f4ef;
  --bg-warm: #efe9df;
  --surface: #ffffff;
  --ink: #1a1f36;
  --ink-soft: #4a5168;
  --line: rgba(26, 31, 54, 0.1);
  --indigo: #2d3a8c;
  --indigo-deep: #1e2660;
  --coral: #e85d4c;
  --coral-hover: #d44a39;
  --danger: #c62828;
  --teal: #2a9d8f;
  --gold: #e9b44c;

  --type-r: #c45c3e;
  --type-i: #3d6cb9;
  --type-a: #9b59b6;
  --type-s: #2a9d8f;
  --type-e: #e9b44c;
  --type-c: #5c6b7a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(26, 31, 54, 0.1);
  --shadow-sm: 0 8px 24px rgba(26, 31, 54, 0.08);
  --max: 1160px;
  --header-h: 72px;

  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(168deg, #faf8f4 0%, var(--bg) 38%, #eef1f8 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 58% at 6% -8%, rgba(45, 58, 140, 0.12), transparent 58%),
    radial-gradient(ellipse 62% 48% at 96% 4%, rgba(232, 93, 76, 0.1), transparent 54%),
    radial-gradient(ellipse 58% 46% at 82% 72%, rgba(155, 89, 182, 0.07), transparent 56%),
    radial-gradient(ellipse 68% 52% at 4% 78%, rgba(42, 157, 143, 0.09), transparent 56%),
    radial-gradient(ellipse 48% 42% at 50% 46%, rgba(233, 180, 76, 0.06), transparent 62%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='900' viewBox='0 0 1440 900' fill='none'%3E%3Cpath d='M-40 95 Q300 10 560 85 T1040 60 T1480 105' stroke='%232d3a8c' stroke-opacity='0.14' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M-40 395 C200 270 420 500 640 360 S980 220 1480 330' stroke='%23e85d4c' stroke-opacity='0.12' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-40 735 Q340 640 680 760 T1320 670 T1480 770' stroke='%232a9d8f' stroke-opacity='0.13' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M1310 30 Q1020 300 1220 510 T860 880' stroke='%239b59b6' stroke-opacity='0.11' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M85 170 Q230 430 75 680' stroke='%23e9b44c' stroke-opacity='0.13' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M360 235 Q540 145 760 255' stroke='%232d3a8c' stroke-opacity='0.1' stroke-width='1.6' stroke-dasharray='7 9' stroke-linecap='round'/%3E%3Cpath d='M1120 620 Q900 520 720 610 T460 560' stroke='%23e85d4c' stroke-opacity='0.09' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='560' cy='85' r='4' fill='%232d3a8c' fill-opacity='0.2'/%3E%3Ccircle cx='640' cy='360' r='4' fill='%23e85d4c' fill-opacity='0.18'/%3E%3Ccircle cx='680' cy='760' r='4' fill='%232a9d8f' fill-opacity='0.18'/%3E%3Ccircle cx='1220' cy='510' r='3.5' fill='%239b59b6' fill-opacity='0.16'/%3E%3Ccircle cx='230' cy='430' r='3.5' fill='%23e9b44c' fill-opacity='0.16'/%3E%3Ccircle cx='540' cy='145' r='3' fill='%232d3a8c' fill-opacity='0.14'/%3E%3C/svg%3E"),
    radial-gradient(circle at center, rgba(26, 31, 54, 0.045) 0.7px, transparent 0.7px);
  background-size: 100% 100%, 26px 26px;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

img {
  display: block;
  max-width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 12px 24px;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header:has(+ main .hero) {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.2;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-badge {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: center center;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--indigo);
}

.header-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s;
}

.header-cta:hover {
  background: var(--indigo-deep);
  transform: translateY(-1px);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 93, 76, 0.3);
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 93, 76, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--indigo);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--indigo);
  background: rgba(45, 58, 140, 0.04);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45, 58, 140, 0.08);
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.hero-subtitle {
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--indigo);
}

.word-mark {
  font-style: normal;
  font-weight: inherit;
  color: var(--indigo);
  position: relative;
}

.word-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.35em;
  min-height: 4px;
  background: rgba(232, 93, 76, 0.25);
  z-index: -1;
  border-radius: 4px;
}

.word-mark--on-dark {
  color: #fff;
}

.word-mark--on-dark::after {
  background: rgba(232, 93, 76, 0.45);
}

.cta-box .word-mark {
  isolation: isolate;
}

.hero-text {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  width: 100%;
}

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(100%, 340px);
  margin-inline: auto;
}

.hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.trust-icon {
  color: var(--teal);
  font-size: 0.7rem;
  margin-top: 4px;
}

/* Hero visual */

.hero-visual {
  position: relative;
  width: min(100%, 340px);
  margin-inline: auto;
  padding-bottom: 8px;
  display: grid;
  place-items: start center;
}

.riasec-wheel {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
}

.wheel-svg {
  width: 100%;
  height: 100%;
}

.wheel-fill {
  fill: rgba(45, 58, 140, 0.04);
  stroke: var(--line);
  stroke-width: 1;
}

.wheel-grid {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.wheel-axis {
  stroke: var(--line);
  stroke-width: 1;
}

.wheel-profile {
  fill: rgba(45, 58, 140, 0.2);
  stroke: var(--indigo);
  stroke-width: 2;
  stroke-linejoin: round;
}

.wheel-labels {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wheel-labels li {
  position: absolute;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.wheel-labels .type-r { top: 2%; left: 50%; transform: translateX(-50%); background: var(--type-r); }
.wheel-labels .type-i { top: 18%; right: 8%; background: var(--type-i); }
.wheel-labels .type-a { bottom: 18%; right: 8%; background: var(--type-a); }
.wheel-labels .type-s { bottom: 2%; left: 50%; transform: translateX(-50%); background: var(--type-s); }
.wheel-labels .type-e { bottom: 18%; left: 8%; background: var(--type-e); }
.wheel-labels .type-c { top: 18%; left: 8%; background: var(--type-c); }

.floating-card {
  position: absolute;
  right: -8px;
  bottom: 24px;
  width: 220px;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.card-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.card-code {
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--indigo);
}

.card-match {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
}

.card-professions {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.card-professions li {
  padding: 4px 0;
  border-top: 1px solid var(--line);
}

.stat-chip {
  position: absolute;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  text-align: center;
}

.stat-chip strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--indigo);
  line-height: 1;
}

.stat-chip span {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.chip-top {
  top: 12px;
  left: -12px;
}

.chip-bottom {
  top: 48%;
  left: -24px;
}

/* Ribbon */

.ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto 80px;
  padding: 0 24px;
}

.ribbon > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.ribbon > div:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.ribbon > div:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.ribbon strong {
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  color: var(--indigo);
  line-height: 1.1;
}

.ribbon span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Sections */

.section {
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Pain */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pain-card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.pain-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.pain-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 16px;
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(45, 58, 140, 0.15);
  line-height: 1;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.steps-cta {
  text-align: center;
  margin-top: 40px;
}

/* Result */

.result-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.report-page {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.report-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--indigo);
}

.report-header span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.report-header strong {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
}

.report-block {
  margin-bottom: 18px;
}

.report-block h4 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.report-code {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--indigo);
}

.report-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bar i {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 4px;
  background: var(--indigo);
}

.report-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.report-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.report-list em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
}

.report-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 24px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
}

.feature-icon {
  display: block;
  margin-bottom: 12px;
  color: var(--indigo);
  font-size: 1.2rem;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Types */

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.type-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s, box-shadow 0.2s;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.type-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.type-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 10px;
  color: #fff;
}

.type-letter {
  display: inline-grid;
  place-items: center;
  min-width: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  color: #fff;
}

.type-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.type-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.type-r .type-mark { background: var(--type-r); }
.type-i .type-mark { background: var(--type-i); }
.type-a .type-mark { background: var(--type-a); }
.type-s .type-mark { background: var(--type-s); }
.type-e .type-mark { background: var(--type-e); }
.type-c .type-mark { background: var(--type-c); }

/* Compare table */

.compare-intro {
  padding-top: 24px;
  padding-bottom: 48px;
}

.compare-intro + .ribbon {
  margin-top: 0;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--bg-warm);
  font-weight: 600;
}

.compare-table thead th:first-child {
  background: transparent;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-soft);
  min-width: 9rem;
}

.compare-table tbody td {
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.compare-table tbody td.yes,
.compare-table tbody td.no,
.compare-table tbody td.partial {
  font-weight: 500;
}

.compare-table thead th:nth-child(2) {
  background: rgba(42, 157, 143, 0.1);
  color: var(--teal);
}

.compare-table thead th:nth-child(2) .word-mark {
  color: var(--teal);
}

.compare-table thead th:nth-child(2) .word-mark::after {
  background: rgba(42, 157, 143, 0.28);
}

.compare-table tbody td:nth-child(2) {
  background: rgba(42, 157, 143, 0.05);
  font-weight: 600;
  color: var(--teal);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .yes {
  color: var(--teal);
  font-weight: 600;
}

.compare-table .no,
.compare-table .partial {
  color: var(--danger);
  font-weight: 600;
}

.compare-table td:first-of-type {
  background: transparent;
}

/* Audience */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--indigo);
  color: #fff;
}

.audience-card:nth-child(2) {
  background: var(--indigo-deep);
}

.audience-card:nth-child(3) {
  background: #243060;
}

.audience-tag {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.audience-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.audience-card p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.55;
}

/* FAQ */

.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--indigo);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
  padding-right: 32px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Final CTA */

.cta-final {
  padding-bottom: 100px;
}

.cta-box {
  text-align: center;
  padding: 64px 32px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: #fff;
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cta-slogan {
  margin: 0 0 28px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  opacity: 0.9;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  margin: 16px 0 0;
  font-size: 0.82rem;
  opacity: 0.65;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--indigo);
  box-shadow: none;
}

.cta-box .btn-primary:hover {
  background: var(--bg);
  color: var(--indigo-deep);
}

/* Footer */

.site-footer {
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--indigo);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.85;
  line-height: 1.5;
  max-width: 42rem;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .hero-aside {
    order: -1;
  }

  .hero-visual {
    min-height: 0;
  }

  .result-layout {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .types-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .ribbon > div:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
  .ribbon > div:nth-child(3) { border-radius: 0 0 0 var(--radius); }

  .pain-grid,
  .features-grid,
  .types-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    right: 0;
    width: 190px;
  }

  .chip-bottom {
    left: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-table {
    font-size: 0.78rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .ribbon {
    grid-template-columns: 1fr;
  }

  .ribbon > div {
    border-radius: 0 !important;
  }

  .ribbon > div:first-child {
    border-radius: var(--radius) var(--radius) 0 0 !important;
  }

  .ribbon > div:last-child {
    border-radius: 0 0 var(--radius) var(--radius) !important;
  }
}

/* Legal pages */

.legal-page {
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-updated {
  margin: 0 0 40px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.legal-content section {
  margin-bottom: 32px;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-back {
  margin: 48px 0 0;
}

.legal-back a {
  color: var(--indigo);
  font-weight: 600;
}
