:root {
  color-scheme: light;
  --ink: #17332e;
  --ink-soft: #315049;
  --muted: #6d7b74;
  --paper: #fcfbf7;
  --cream: #f2ecdd;
  --cream-deep: #e8dfcb;
  --moss: #23594e;
  --moss-dark: #173f38;
  --fern: #6c9a7d;
  --gold: #dcaa55;
  --gold-soft: #f4d996;
  --line: rgba(23, 51, 46, 0.13);
  --shadow: 0 30px 80px rgba(34, 53, 45, 0.13), 0 4px 15px rgba(34, 53, 45, 0.06);
  font-family: "Avenir Next", "Segoe UI", "Lato", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, rgba(232, 181, 91, 0.2), transparent 25rem),
    radial-gradient(circle at 93% 31%, rgba(72, 126, 105, 0.12), transparent 29rem),
    #f6f1e5;
}

a { color: inherit; }
button, input, select { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(220, 170, 85, 0.85);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-width {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 30;
  width: min(1220px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "URW Bookman", "Iowan Old Style", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--moss);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 6px 16px rgba(35, 89, 78, 0.18);
}

.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 10px;
  height: 12px;
  border-radius: 75% 25% 65% 30%;
  background: var(--gold-soft);
}

.brand-mark::before { left: 7px; transform: rotate(-25deg); }
.brand-mark::after { right: 7px; transform: scaleX(-1) rotate(-25deg); }
.brand-mark i { position: absolute; left: 16px; top: 8px; width: 3px; height: 18px; border-radius: 9px; background: #fff1bf; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a, .quiet-link {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover, .quiet-link:hover { color: var(--moss); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.language-picker select {
  padding: 7px 22px 7px 8px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.44);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid var(--moss);
  border-radius: 999px;
  color: #fff9e8;
  background: var(--moss);
  box-shadow: 0 9px 22px rgba(35, 89, 78, 0.17);
  font-weight: 750;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}
.button:hover { background: var(--moss-dark); transform: translateY(-1px); box-shadow: 0 12px 27px rgba(35, 89, 78, 0.22); }
.button:disabled { opacity: 0.58; cursor: wait; transform: none; }
.button.small { min-height: 38px; padding-inline: 17px; font-size: 0.79rem; }
.button.ghost { color: var(--moss); background: rgba(255, 255, 255, 0.38); box-shadow: none; }
.button.light { color: var(--moss-dark); border-color: #f7e7b6; background: #fff4d1; }

.eyebrow, .kicker {
  color: #8c662c;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.69rem;
  font-weight: 850;
}

.hero {
  min-height: 680px;
  padding: 46px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(450px, 1.04fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}
.hero-copy { max-width: 540px; }
.hero-copy h1 {
  margin: 21px 0 24px;
  font-family: "URW Bookman", "Iowan Old Style", Georgia, serif;
  font-size: clamp(3.1rem, 6.1vw, 5.65rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.058em;
}
.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-copy h1 em { color: var(--moss); font-style: normal; }
.hero-copy > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.hero-note { display: block; margin: 13px 0 0 18px; color: #819089; font-size: 0.73rem; }

.captcha-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  background: rgba(252, 251, 247, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero > .captcha-card { align-self: start; margin-top: 14px; }
.captcha-card::before {
  content: "";
  position: absolute;
  top: -88px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 170, 85, 0.18), transparent 69%);
  pointer-events: none;
}
.card-heading { position: relative; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; }
.card-mark { width: 44px; height: 44px; border-radius: 14px; }
.card-mark::before, .card-mark::after { top: 13px; width: 13px; height: 15px; }
.card-mark::before { left: 8px; }
.card-mark::after { right: 8px; }
.card-mark i { left: 20px; top: 11px; width: 4px; height: 22px; }
.kicker { margin: 0 0 4px; }
.card-heading h2 { margin: 0; font-family: "URW Bookman", "Iowan Old Style", Georgia, serif; font-size: clamp(1.35rem, 3vw, 1.68rem); letter-spacing: -0.03em; }
.privacy-dot { width: 9px; height: 9px; border-radius: 50%; background: #6ba47e; box-shadow: 0 0 0 5px rgba(107, 164, 126, 0.14); }

.gesture-preview {
  min-height: 54px;
  margin: 18px 0 15px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(35, 89, 78, 0.09);
  border-radius: 14px;
  background: rgba(242, 236, 221, 0.55);
}
.gesture-preview strong, .gesture-preview small { display: block; }
.gesture-preview strong { margin-bottom: 2px; font-size: 0.76rem; }
.gesture-preview small { color: var(--muted); font-size: 0.65rem; }
.preview-track { position: relative; height: 32px; overflow: hidden; border-radius: 10px; background: #102b38; }
.preview-glow, .preview-pointer { position: absolute; left: 12px; top: 10px; width: 11px; height: 11px; border-radius: 50%; animation: preview-flight 2.7s cubic-bezier(.45, .05, .52, .95) infinite; }
.preview-glow { z-index: 2; background: #ffe69c; box-shadow: 0 0 12px 5px rgba(255, 218, 110, 0.65); }
.preview-pointer { z-index: 1; width: 23px; height: 23px; margin: -6px 0 0 -6px; border: 1.5px solid rgba(227, 246, 226, 0.7); background: transparent; animation-delay: 120ms; }
@keyframes preview-flight {
  0%, 100% { transform: translate(0, 0); }
  24% { transform: translate(35px, -3px); }
  52% { transform: translate(45px, 12px); }
  78% { transform: translate(18px, 9px); }
}

.instruction-row { min-height: 48px; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 14px; }
.instructions { flex: 1; margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.48; }
.restart-button {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(35, 89, 78, 0.24);
  border-radius: 999px;
  color: #3d675d;
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.restart-button:hover { color: var(--moss); border-color: currentColor; background: rgba(255, 255, 255, 0.78); }
.restart-button:disabled { opacity: 0.45; cursor: wait; }

.stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  border-radius: 19px;
  background: #0a202d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 20px rgba(9, 31, 41, 0.12);
  isolation: isolate;
  touch-action: none;
  user-select: none;
}
.stage::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 -35px 48px rgba(5, 16, 24, 0.16); pointer-events: none; }
#firefly-film { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.stage[data-state="ready"] #firefly-film, .stage[data-state="following"] #firefly-film, .stage[data-state="checking"] #firefly-film, .stage[data-state="passed"] #firefly-film, .stage[data-state="failed"] #firefly-film { opacity: 1; }
.stage[data-state="ready"] .stage-placeholder, .stage[data-state="following"] .stage-placeholder, .stage[data-state="checking"] .stage-placeholder, .stage[data-state="passed"] .stage-placeholder, .stage[data-state="failed"] .stage-placeholder { opacity: 0; }
.stage-placeholder { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 47%, rgba(28, 67, 75, 0.62), transparent 45%); }
.stage-placeholder span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffe3a0; box-shadow: 0 0 10px 4px rgba(255, 213, 111, 0.34); opacity: 0.4; animation: waiting-glint 1.4s ease-in-out infinite alternate; }
.stage-placeholder span:nth-child(1) { left: 18%; top: 37%; animation-delay: -0.2s; }
.stage-placeholder span:nth-child(2) { left: 37%; top: 61%; transform: scale(0.7); animation-delay: -0.7s; }
.stage-placeholder span:nth-child(3) { left: 58%; top: 27%; transform: scale(0.8); animation-delay: -1s; }
.stage-placeholder span:nth-child(4) { left: 73%; top: 56%; transform: scale(1.1); animation-delay: -0.4s; }
.stage-placeholder span:nth-child(5) { left: 86%; top: 34%; transform: scale(0.62); animation-delay: -1.2s; }
@keyframes waiting-glint { to { opacity: 0.8; } }

.stage-label { position: absolute; z-index: 8; left: 0; right: 0; bottom: 13px; color: rgba(255, 250, 225, 0.88); text-align: center; font-size: 0.78rem; letter-spacing: 0.035em; pointer-events: none; }
.stage[data-state="loading"] .stage-label, .stage[data-state="error"] .stage-label { inset: 0; display: grid; place-items: center; }
.stage[data-state="ready"] .stage-label { opacity: 0; }

.hold-button { position: absolute; z-index: 6; inset: 0; width: 100%; display: block; padding: 0; border: 0; color: #fff7d6; background: transparent; cursor: pointer; touch-action: none; }
.hold-button:disabled { cursor: wait; }
.stage[data-state="following"] .hold-button, .stage[data-state="checking"] .hold-button, .stage[data-state="passed"] .hold-button, .stage[data-state="failed"] .hold-button { opacity: 0; pointer-events: none; }
.hold-button:focus-visible { outline: 3px solid rgba(240, 191, 104, 0.95); outline-offset: -5px; }
.hold-button strong, .hold-button small { position: absolute; left: 0; right: 0; text-shadow: 0 1px 6px rgba(4, 13, 20, 0.9); }
.hold-button strong { top: calc(50% + 37px); font-size: 0.84rem; }
.hold-button small { top: calc(50% + 57px); color: rgba(225, 233, 220, 0.7); font-size: 0.64rem; }
.ready-firefly { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(255, 245, 183, 0.98) 0 10%, rgba(255, 218, 107, 0.5) 16%, rgba(255, 209, 94, 0.15) 43%, transparent 70%); filter: drop-shadow(0 0 10px rgba(255, 211, 102, 0.72)); transform: translate(-50%, -50%); animation: ready-breathe 1.5s ease-in-out infinite alternate; }
@keyframes ready-breathe { to { filter: drop-shadow(0 0 16px rgba(255, 211, 102, 0.9)); transform: translate(-50%, -50%) scale(1.06); } }
.ready-firefly::before, .ready-firefly::after { content: ""; position: absolute; top: 21px; width: 16px; height: 10px; border-radius: 80% 20%; background: rgba(255, 237, 182, 0.55); }
.ready-firefly::before { left: 10px; transform: rotate(24deg); }
.ready-firefly::after { right: 10px; transform: scaleX(-1) rotate(24deg); }
.ready-firefly i { width: 10px; height: 14px; border-radius: 45% 45% 60% 60%; background: #fff1a8; box-shadow: 0 0 12px 5px rgba(255, 216, 105, 0.82); }

.pursuit-ring { position: absolute; z-index: 5; width: 56px; height: 56px; border: 2px solid rgba(229, 247, 227, 0.72); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%); box-shadow: 0 0 0 5px rgba(229, 247, 227, 0.08), inset 0 0 12px rgba(255, 255, 255, 0.08); pointer-events: none; }
.stage[data-state="following"] .pursuit-ring { opacity: 1; }
.countdown { position: absolute; z-index: 8; top: 12px; right: 14px; min-width: 32px; color: rgba(255, 245, 204, 0.9); background: rgba(5, 20, 29, 0.34); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; font-family: "URW Bookman", Georgia, serif; font-size: 1.05rem; line-height: 32px; text-align: center; backdrop-filter: blur(5px); pointer-events: none; }
.flight-meter { position: absolute; z-index: 8; left: 18px; right: 18px; bottom: 7px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.12); opacity: 0; pointer-events: none; }
.flight-meter i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #f1ca75; transform: scaleX(0); transform-origin: left; }
.stage[data-state="following"] .flight-meter { opacity: 1; }

.text-button { padding: 0; border: 0; border-bottom: 1px solid transparent; color: #61766f; background: transparent; font-size: 0.74rem; cursor: pointer; }
.text-button:hover { color: var(--ink); border-bottom-color: currentColor; }
.result { margin-top: 13px; padding: 15px 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 0.8fr); gap: 16px; align-items: center; border-radius: 15px; line-height: 1.4; }
.result.success { color: #174938; background: #e2f0e6; }
.result.failure { color: #684a1c; background: #f7ebd1; }
.result strong { display: block; margin-bottom: 2px; font-size: 0.86rem; }
.result span { font-size: 0.76rem; }
.score-block > span, .score-block small { display: block; }
.score-block > span { font-size: 0.72rem; font-weight: 800; }
.score-block small { margin-top: 4px; color: currentColor; font-size: 0.58rem; opacity: 0.72; }
.score-meter { height: 5px; margin-top: 6px; overflow: hidden; border-radius: 9px; background: rgba(23, 51, 46, 0.11); }
.score-meter i { display: block; height: 100%; border-radius: inherit; background: currentColor; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: #87918c; font-size: 0.68rem; }
.accessibility-note { position: absolute; z-index: 15; inset: 0; padding: 34px; color: var(--ink); background: rgba(252, 251, 247, 0.99); }
.accessibility-note strong { display: block; margin-top: 43px; font-family: "URW Bookman", Georgia, serif; font-size: 1.55rem; }
.accessibility-note p { color: var(--muted); line-height: 1.65; }

.trust-strip { min-height: 74px; margin-bottom: 100px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-block: 1px solid var(--line); }
.trust-strip span { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-soft); font-size: 0.77rem; }
.trust-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--fern); box-shadow: 0 0 0 4px rgba(108, 154, 125, 0.12); }

.story-section { padding-bottom: 112px; }
.section-intro { max-width: 720px; margin: 0 auto 47px; text-align: center; }
.section-intro h2, .split-callout h2, .pricing-teaser h2, .page-hero h1, .auth-copy h1, .dashboard-hero h1 {
  margin: 14px 0 17px;
  font-family: "URW Bookman", "Iowan Old Style", Georgia, serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.section-intro h2, .split-callout h2, .pricing-teaser h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
.section-intro p, .split-callout p, .pricing-teaser p, .page-hero p, .auth-copy p, .dashboard-hero p { color: var(--muted); line-height: 1.68; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid article { min-height: 220px; padding: 25px; border: 1px solid rgba(255,255,255,.78); border-radius: 21px; background: rgba(252,251,247,.67); }
.steps-grid article > span { color: #a47a38; font-family: Georgia, serif; font-size: 0.75rem; }
.steps-grid h3 { margin: 47px 0 10px; font-family: Georgia, serif; font-size: 1.25rem; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 0.87rem; line-height: 1.6; }

.split-callout { margin-bottom: 100px; padding: clamp(34px, 6vw, 68px); display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 70px; border-radius: 32px; color: #eff7ed; background: var(--moss-dark); box-shadow: 0 25px 70px rgba(23,63,56,.18); }
.split-callout .eyebrow { color: var(--gold-soft); }
.split-callout h2 { max-width: 650px; margin-top: 15px; color: #fff8df; font-size: clamp(2rem, 4vw, 3.6rem); }
.split-callout p { color: rgba(236,246,234,.7); }
.arrow-link { display: inline-block; margin-top: 12px; color: #f8d98e; font-weight: 750; text-decoration: none; }
.arrow-link::after { content: "  →"; }
.panel-card .arrow-link {
  color: var(--moss);
  text-decoration: underline;
  text-decoration-color: rgba(35, 89, 78, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.panel-card .arrow-link:hover {
  color: var(--moss-dark);
  text-decoration-color: currentColor;
}
.code-window { overflow: auto; margin: 0; padding: 25px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; color: #dbe9dd; background: rgba(6,27,26,.55); box-shadow: inset 0 1px rgba(255,255,255,.04); font: 0.82rem/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-window span { color: #f1cf83; }
.code-window b { color: #9fcfa9; }

.pricing-teaser { margin-bottom: 105px; padding: 55px 62px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 28px; color: #fff8e2; background: #9b7338; }
.pricing-teaser .eyebrow { color: #ffe5a9; }
.pricing-teaser h2 { max-width: 700px; margin: 12px 0 8px; font-size: clamp(2rem, 4.2vw, 3.7rem); }
.pricing-teaser p { margin: 0; color: rgba(255,248,226,.76); }
.site-footer { min-height: 115px; padding-block: 25px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }
noscript { display: block; padding: 20px; text-align: center; }

/* Inner pages */
.inner-main { min-height: calc(100vh - 197px); padding: 70px 0 110px; }
.page-hero { max-width: 820px; margin: 0 auto 55px; text-align: center; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); }
.page-hero p { max-width: 680px; margin-inline: auto; font-size: 1.05rem; }

.auth-layout { width: min(1050px, calc(100% - 48px)); min-height: calc(100vh - 170px); margin: 0 auto; padding: 60px 0 90px; display: grid; grid-template-columns: 0.9fr minmax(400px, 0.75fr); align-items: center; gap: 90px; }
.auth-copy h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); }
.auth-card, .panel-card { padding: 32px; border: 1px solid rgba(255,255,255,.84); border-radius: 25px; background: rgba(252,251,247,.92); box-shadow: var(--shadow); }
.form-field { display: grid; gap: 7px; margin-bottom: 18px; }
.form-field label { color: var(--ink-soft); font-size: 0.78rem; font-weight: 780; }
.form-field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(23,51,46,.16); border-radius: 12px; color: var(--ink); background: #fffefb; }
.form-field input:focus { border-color: var(--moss); outline: 3px solid rgba(35,89,78,.1); }
.auth-card .button { width: 100%; margin-top: 5px; }
.form-switch { margin: 21px 0 0; color: var(--muted); text-align: center; font-size: 0.81rem; }
.form-switch a { color: var(--moss); font-weight: 750; }
.form-note { margin: 22px 0 0; color: #89938e; font-size: 0.68rem; line-height: 1.55; text-align: center; }
.form-error, .notice { margin: 0 0 16px; padding: 11px 13px; border-radius: 10px; color: #744715; background: #f7e8c8; font-size: 0.78rem; }
.notice.success { color: #174938; background: #e2f0e6; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; padding: 31px; border: 1px solid rgba(255,255,255,.82); border-radius: 24px; background: rgba(252,251,247,.8); box-shadow: 0 14px 40px rgba(34,53,45,.06); }
.price-card.featured { color: #f1f7ee; border-color: var(--moss); background: var(--moss-dark); transform: translateY(-10px); box-shadow: 0 24px 55px rgba(23,63,56,.2); }
.price-card .plan-name { color: #8c662c; text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 850; }
.price-card.featured .plan-name { color: var(--gold-soft); }
.price-card h2 { margin: 17px 0 4px; font-family: Georgia, serif; font-size: 2.7rem; font-weight: 500; }
.price-card h2 small { font: .75rem "Avenir Next", sans-serif; opacity: .65; }
.price-card > p { min-height: 26px; color: var(--muted); font-size: .86rem; }
.price-card.featured > p { color: rgba(239,247,237,.67); }
.feature-list { min-height: 150px; margin: 24px 0; padding: 22px 0 0; border-top: 1px solid currentColor; border-color: rgba(23,51,46,.1); list-style: none; }
.price-card.featured .feature-list { border-color: rgba(255,255,255,.12); }
.feature-list li { margin: 12px 0; font-size: .8rem; }
.feature-list li::before { content: "✦"; margin-right: 9px; color: var(--gold); }
.price-card .button { width: 100%; }
.price-card.featured .button { color: var(--moss-dark); border-color: #f6df9d; background: #f6df9d; }
.billing-error { max-width: 600px; margin: 0 auto 25px; }

.dashboard-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 55px 0 110px; }
.dashboard-hero { margin-bottom: 35px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.dashboard-hero h1 { margin-bottom: 8px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.dashboard-hero p { margin: 0; }
.dashboard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.panel-card { padding: 25px; box-shadow: 0 15px 45px rgba(34,53,45,.07); }
.panel-card h2 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 1.18rem; }
.panel-card > p { margin: 0 0 20px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.usage-panel { grid-column: span 7; }
.plan-panel { grid-column: span 5; }
.site-key-panel, .keys-panel, .integration-panel { grid-column: span 12; }
.stat-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.big-stat { font-family: Georgia, serif; font-size: 2.25rem; }
.sub-stat { color: var(--muted); font-size: .74rem; }
.score-stat { text-align: right; }
.score-stat small, .score-stat b { display: block; }
.score-stat small { margin-bottom: 4px; color: var(--muted); font-size: .62rem; font-weight: 500; }
.usage-meter { height: 9px; margin: 19px 0 10px; overflow: hidden; border-radius: 9px; background: rgba(23,51,46,.08); }
.usage-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--fern), var(--moss)); }
.plan-badge { display: inline-block; margin: 14px 0 22px; padding: 9px 13px; border-radius: 999px; color: #28584e; background: #e2f0e6; font-size: .78rem; font-weight: 800; }
.key-line { display: flex; align-items: center; gap: 12px; }
.key-line code, .secret-output { flex: 1; overflow-wrap: anywhere; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-soft); background: #f4f1e7; font: .78rem/1.5 ui-monospace, monospace; }
.copy-button, .danger-button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--moss); background: #fffefb; font-size: .72rem; font-weight: 750; cursor: pointer; }
.danger-button { color: #8a5429; }
.keys-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.keys-list { display: grid; gap: 9px; }
.key-item { padding: 11px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px; border-top: 1px solid var(--line); }
.key-item strong, .key-item small { display: block; }
.key-item small { margin-top: 3px; color: var(--muted); font: .69rem ui-monospace, monospace; }
.secret-reveal { margin: 15px 0; padding: 15px; border-radius: 13px; color: #174938; background: #e2f0e6; }
.secret-reveal strong, .secret-reveal small { display: block; }
.secret-reveal small { margin-bottom: 9px; }
.integration-panel pre, .docs-step pre { overflow: auto; padding: 20px; border-radius: 14px; color: #dbe9dd; background: #112f2b; font: .76rem/1.65 ui-monospace, monospace; }

.docs-layout { width: min(1000px, calc(100% - 48px)); margin: 0 auto; }
.docs-step { margin: 18px 0; padding: 30px; border: 1px solid rgba(255,255,255,.8); border-radius: 22px; background: rgba(252,251,247,.75); }
.docs-step h2 { margin: 0 0 7px; font-family: Georgia, serif; }
.docs-step p { color: var(--muted); line-height: 1.6; }
.docs-account-key { margin: 18px 0; padding: 15px; border: 1px solid rgba(35,89,78,.16); border-radius: 14px; background: #e8f2e9; }
.docs-account-key > strong { display: block; margin-bottom: 9px; color: var(--moss-dark); font-size: .78rem; }
.checklist { margin-top: 45px; padding: 35px; border-radius: 23px; color: #edf7ed; background: var(--moss-dark); }
.checklist h2 { margin-top: 0; font-family: Georgia, serif; }
.checklist li { margin: 12px 0; color: rgba(237,247,237,.75); line-height: 1.5; }

.checkout-card { width: min(540px, calc(100% - 36px)); margin: 75px auto 120px; text-align: center; }
.checkout-card h1 { font-family: Georgia, serif; font-size: 2.25rem; font-weight: 500; }
.checkout-card p { color: var(--muted); line-height: 1.6; }
.checkout-actions { margin-top: 25px; display: flex; justify-content: center; gap: 10px; }

/* Embedded widget */
.widget-body { min-height: 0; padding: 8px; background: transparent; }
.widget-body .captcha-card { max-width: none; padding: 20px; border-radius: 21px; box-shadow: 0 10px 35px rgba(34,53,45,.12); }
.widget-body .gesture-preview { margin-top: 14px; }
.widget-body .accessibility-note { padding: 25px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { margin: 0 auto; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { margin-left: 0; }
  .captcha-card { justify-self: center; }
  .split-callout { grid-template-columns: 1fr; gap: 35px; }
  .auth-layout { grid-template-columns: 1fr; gap: 35px; }
  .auth-copy { max-width: 620px; text-align: center; margin: 0 auto; }
  .auth-card { width: min(500px, 100%); margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .usage-panel, .plan-panel { grid-column: span 12; }
}

@media (max-width: 680px) {
  .page-width, .dashboard-main, .docs-layout { width: min(100% - 24px, 560px); }
  .site-header { width: calc(100% - 24px); height: 70px; }
  .brand { font-size: 1.04rem; }
  .header-actions { gap: 9px; }
  .header-actions .quiet-link { display: none; }
  .language-picker select { padding-right: 8px; }
  .hero { min-height: 0; padding: 38px 0 55px; gap: 38px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .captcha-card { padding: 20px; border-radius: 22px; }
  .gesture-preview { grid-template-columns: 68px 1fr; }
  .result { grid-template-columns: 1fr; }
  .card-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .trust-strip { grid-template-columns: 1fr; padding: 19px 0; gap: 18px; }
  .trust-strip span { justify-content: flex-start; padding-left: 15px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: 175px; }
  .steps-grid h3 { margin-top: 30px; }
  .split-callout { padding: 30px 23px; border-radius: 24px; }
  .pricing-teaser { padding: 35px 26px; align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 11px; padding-block: 28px; }
  .auth-layout { width: calc(100% - 24px); min-height: 0; padding-top: 40px; }
  .auth-card, .panel-card { padding: 23px; }
  .dashboard-hero { align-items: flex-start; flex-direction: column; }
  .key-line { align-items: stretch; flex-direction: column; }
  .keys-header { flex-direction: column; }
  .checkout-actions { flex-direction: column; }
  .checkout-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .privacy-dot { box-shadow: none; }
}
