:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F5F5;
  --ink: #141414;
  --muted: #595959;
  --quiet: #8A8A8A;
  --line: #E5E5E5;
  --line-strong: #D0D0D0;
  --font-serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --pill: 999px;
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--bg); }

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

button, input, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

button { cursor: pointer; }

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

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header .inner {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.25rem;
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

main {
  flex: 1;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-main {
  justify-content: flex-start;
  padding-top: 3.5rem;
  padding-bottom: 7rem;
}

.pains p {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--muted);
}

.pains p + p { margin-top: 0.35em; }

.pains p:last-child {
  color: var(--ink);
  margin-top: 1.85em;
}

.pains p.pain-bridge {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin-top: 1.5em;
}

.pains p.pain-payoff {
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 0.4em;
  text-wrap: balance;
}

.close { margin-top: 5.25rem; }

.close .sig {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.close .tagline,
.close .price {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
  text-wrap: balance;
}

.close .price { margin-top: 0.15rem; }

.close .cta { margin-top: 1.85rem; }


/* homepage hero: lead-in + payoff, no pain-point sequence */
.hero { width: 100%; }

.hero-lead {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--muted);
  margin: 0 0 0.45em;
}

.hero-payoff {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

.hero .close { margin-top: 2.75rem; }

.descriptor {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.45em;
  max-width: none;
}

.descriptor span { display: inline; }

@media (prefers-reduced-motion: no-preference) {
  .hero-lead,
  .hero-payoff,
  .hero .close {
    animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-payoff { animation-delay: 90ms; }
  .hero .close { animation-delay: 220ms; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(0.4rem); }
  to { opacity: 1; transform: none; }
}

.cta a,
.actions .submit {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  padding: 0.72rem 1.2rem 0.7rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cta a:hover,
.cta a:focus-visible,
.actions .submit:hover,
.actions .submit:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  outline: none;
}

.pains-seo { display: none; }

html.hero-anim .pains-seo {
  display: block;
}

.pains-skip {
  display: none;
  margin: 0.85rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--quiet);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

html.hero-anim .pains-skip:not([hidden]) { display: inline-block; }
html.hero-anim .pains-skip:hover,
html.hero-anim .pains-skip:focus-visible {
  color: var(--ink);
  outline: none;
}

html.hero-anim .pains-stage {
  position: relative;
  min-height: var(--pains-slot, calc(1.625rem * 1.55 * 2));
}

html.hero-anim .pains-stage p,
html.hero-anim .pains-stage p + p,
html.hero-anim .pains-stage p:last-child {
  margin-top: 0;
}

html.hero-anim .pains-stage p {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(0.35rem);
  filter: blur(4px);
  pointer-events: none;
  transition:
    opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.hero-anim .pains-stage p.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

html.hero-anim .pains-stage p.is-out {
  opacity: 0;
  transform: translateY(-0.28rem);
  filter: blur(4px);
}

html.hero-anim .pains-stage.is-measuring p {
  position: static;
  opacity: 0;
  visibility: hidden;
  transform: none;
  filter: none;
  pointer-events: none;
}

html.hero-anim .pains-stage.is-payoff {
  min-height: 0;
}

html.hero-anim .pains-stage.is-payoff p {
  position: static;
}

html.hero-anim .pains-stage.is-payoff p:not(.is-in) {
  display: none;
}

html.hero-anim .pains-stage.is-payoff p.pain-bridge.is-in {
  margin-top: 0;
  margin-bottom: 0.45em;
}

html.hero-anim .pains-stage.is-payoff p.pain-payoff {
  margin-top: 0.1em;
}

html.hero-anim .close {
  opacity: 0;
  transform: translateY(0.35rem);
  filter: blur(4px);
  pointer-events: none;
  transition:
    opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.hero-anim .close.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

html.hero-anim.hero-instant .pains-stage p,
html.hero-anim.hero-instant .close {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html.hero-anim .pains-stage p,
  html.hero-anim .close {
    transition: none;
    filter: none;
    transform: none;
  }
}

.page-title {
  padding-bottom: 0.5rem;
  max-width: 32rem;
}

.page-title h1,
.thanks h1 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: -0.02em;
}

.lede,
.section-note {
  margin-top: 0.7rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.form {
  width: 100%;
  max-width: 32rem;
  padding: 0.5rem 0 3rem;
}

.section {
  padding: 2.35rem 0 0.15rem;
}

.section:first-of-type { padding-top: 1.5rem; }

.section h2 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 1.15rem;
}

.section-note {
  margin: -0.55rem 0 1.25rem;
}

.field {
  display: block;
  margin-bottom: 1.15rem;
}

.field > span,
.choices-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.optional {
  font-style: normal;
  font-weight: 400;
  color: var(--quiet);
  padding-left: 0.15em;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"] {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 0.7rem 0.85rem 0.65rem;
  outline: none;
  font-size: 1rem;
  line-height: 1.4;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus {
  border-color: var(--ink);
  background: var(--bg);
}

.field input::placeholder { color: var(--quiet); }

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.choice { display: block; cursor: pointer; }

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-block;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 0.55rem 0.9rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: var(--pill);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.choice input:focus-visible + span {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.form-error {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-error[hidden],
.form-success[hidden] { display: none; }

.actions { margin-top: 2rem; }

.actions .submit:disabled {
  cursor: wait;
  opacity: 0.45;
}

.form-success {
  padding: 1rem 0 4rem;
  max-width: 32rem;
}

.form-success p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

.form-success .cta { margin-top: 1.75rem; }

.thanks { padding-top: 18vh; max-width: 32rem; }

.thanks .cta { margin-top: 2rem; }

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.45;
  cursor: pointer;
}

@media (max-width: 639px) {
  /* compact, tryesi-like phone density, desktop unchanged */
  .site-header { position: sticky; }
  .site-header .inner { padding: 0.85rem 1rem 0.7rem; }
  .wordmark { font-size: 0.95rem; }
  .page { justify-content: flex-start; }
  main {
    padding: 1.1rem 1.15rem 1.25rem;
    justify-content: flex-start;
    flex: 0 0 auto;
  }
  .form-main { padding-top: 1.15rem; padding-bottom: 5.5rem; flex: 1 0 auto; }
  .hero-lead { font-size: 0.9375rem; margin-bottom: 0.28em; }
  .hero-payoff { font-size: 2.15rem; line-height: 1.05; letter-spacing: -0.045em; }
  .hero .close { margin-top: 1.25rem; }
  .site-footer { margin-top: 2.25rem; }
  .close .sig { font-size: 1rem; }
  .close .tagline,
  .descriptor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08em;
    margin-top: 0.3rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    max-width: none;
  }
  .cta-group { margin-top: 1.1rem; gap: 0.5rem; }
  .cta-group .cta a,
  .cta a,
  .actions .submit {
    padding: 0.62rem 1rem 0.6rem;
    font-size: 0.8125rem;
  }
  .page-title { padding-bottom: 0.25rem; }
  .page-title h1 { font-size: 1.5rem; }
  .lede { margin-top: 0.25rem; font-size: 0.875rem; }
  .breakdown { margin: 0.85rem 0 0.5rem; }
  .breakdown .row { padding: 0.45rem 0; }
  .legal-note { margin-top: 0.7rem; font-size: 0.75rem; line-height: 1.4; }
  .legal-note p + p { margin-top: 0.4rem; }
  .form { padding: 0.15rem 0 1.5rem; }
  .section { padding: 1.15rem 0 0.1rem; }
  .section:first-of-type { padding-top: 0.75rem; }
  .section h2 { margin-bottom: 0.7rem; font-size: 0.875rem; }
  .section-note { margin: -0.3rem 0 0.75rem; font-size: 0.8125rem; }
  .field { margin-bottom: 0.7rem; }
  .field > span, .choices-label { margin-bottom: 0.3rem; font-size: 0.75rem; }
  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field input[type="number"],
  .field input[type="date"] {
    padding: 0.5rem 0.7rem 0.48rem;
    font-size: 0.9375rem;
  }
  .choices { gap: 0.4rem; margin-bottom: 0.85rem; }
  .choice span { padding: 0.42rem 0.75rem 0.4rem; font-size: 0.8125rem; }
  .actions { margin-top: 1.15rem; }
  .form-note, .agree-note, .row-note { font-size: 0.75rem; line-height: 1.4; }
  .agree-note { margin-top: 0.7rem; }
  .site-footer { padding: 1.1rem 1.15rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pains p,
  .close > * {
    opacity: 1;
    animation: none;
    transform: none;
  }
  .cta a,
  .actions .submit,
  .choice span,
  .field input { transition: none; }
}

.cta-group {
  margin-top: 1.85rem;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.7rem;
  width: 100%;
  max-width: 28rem;
}

.cta-group .cta {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.cta-group .cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 0.72rem 1.2rem 0.7rem;
  font-size: 0.875rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  border-radius: var(--pill);
  text-decoration: none;
}

.cta-group .cta-primary a {
  color: var(--bg);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.cta-group .cta-primary a:hover,
.cta-group .cta-primary a:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  opacity: 0.86;
  text-decoration: none;
}

.cta-group .cta-secondary a {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  box-shadow: none;
}

.cta-group .cta-secondary a:hover,
.cta-group .cta-secondary a:focus-visible {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
  outline: none;
}

@media (max-width: 639px) {
  .cta-group {
    flex-direction: column;
    max-width: none;
  }
}

.cta-primary a,
.actions .submit-primary {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

.cta-primary a:hover,
.cta-primary a:focus-visible,
.actions .submit-primary:hover,
.actions .submit-primary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  opacity: 0.82;
}

.cta-secondary a,
.instead a {
  display: inline;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.cta-secondary a:hover,
.cta-secondary a:focus-visible,
.instead a:hover,
.instead a:focus-visible {
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  outline: none;
  opacity: 1;
}

.order-price {
  margin-top: 0.55rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

.order-title .lede { margin-top: 0.35rem; }

.breakdown {
  width: 100%;
  max-width: 32rem;
  margin: 0.5rem 0 0.25rem;
  border-top: 1px solid var(--line);
}

.breakdown .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.breakdown .amt {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.refund-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-note {
  margin-top: 0.95rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 32rem;
}

.form:has(.form-note) {
  padding-top: 2rem;
  padding-bottom: 0.25rem;
}

.instead {
  margin-top: 1.35rem;
  margin-bottom: 3rem;
}

.close .cta-group { margin-top: 1.85rem; }
.close .cta { margin-top: 0; }
.close .cta-group { animation-delay: 1.85s; }

.estimate {
  width: 100%;
  max-width: 32rem;
  margin: 1.35rem 0 1.75rem;
}

.estimate .row,
.breakdown .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.estimate .row {
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.estimate .amt,
.breakdown .amt {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.estimate-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.breakdown .row:first-child {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.row-note {
  margin: 0;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.legal-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.legal-note p + p { margin-top: 0.7rem; }

.model-name {
  font-family: Inter, var(--font-sans, var(--font)), sans-serif;
  font-weight: 400;
  text-transform: none;
  font-variant-numeric: lining-nums tabular-nums slashed-zero;
  font-feature-settings: "lnum" 1, "tnum" 1, "zero" 1;
}


.site-footer {
  margin-top: auto;
  padding: 2.25rem 1.5rem 2.5rem;
  color: var(--quiet, var(--muted));
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer .inner {
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  align-items: baseline;
}

.site-footer .copy { margin: 0; color: var(--quiet, var(--muted)); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
}

.footer-nav a {
  color: var(--quiet, var(--muted));
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  background: none;
  border: 0;
  opacity: 1;
}

.legal-main {
  max-width: 40rem;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
  padding-top: 3.25rem;
  padding-bottom: 5rem;
}

.legal-main h1 {
  text-transform: none;
  margin-bottom: 0.85rem;
}

.legal-main h2 {
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 2.25rem 0 0.75rem;
  color: var(--ink);
}

.legal-main h3 {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  margin: 1.5rem 0 0.55rem;
}

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

.legal-main .lede,
.legal-main .muted,
.legal-main .placeholder-note {
  color: var(--muted);
}

.legal-main ul,
.legal-main ol {
  margin: 0.4rem 0 1rem 1.15rem;
}

.legal-main li + li { margin-top: 0.3rem; }

.legal-main a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.placeholder {
  color: var(--muted);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.85rem 0 1.35rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.7rem 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.legal-table th {
  color: var(--muted);
  font-weight: 500;
}

.legal-card {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.legal-card h2 { margin-top: 0; }

.legal-card p { color: var(--muted); font-size: 0.9rem; }

.agree-note {
  margin-top: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 32rem;
}

.agree-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 0.95rem 1.5rem 1.1rem;
  background: var(--bg);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.cookie-banner[hidden],
.cookie-modal[hidden] { display: none; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
}

.cookie-actions button,
.choices-save {
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-panel {
  width: 100%;
  max-width: 28rem;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius, 10px);
  padding: 1.5rem 1.4rem 1.35rem;
}

.cookie-panel h2 {
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: none;
  margin: 0 0 0.65rem;
}

.cookie-lead {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  cursor: default;
}

.cookie-row strong {
  display: block;
  font-weight: 500;
}

.cookie-row em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 0.2rem;
}

.cookie-row input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--ink);
}

.cookie-panel .cookie-actions { margin-top: 1.1rem; }

@media (max-width: 639px) {
  .site-footer { margin-top: 2.25rem; padding: 1.1rem 1.15rem 1.15rem; }
  .cookie-banner { padding: 0.9rem 1.25rem 1.05rem; }
}


.agree-note a { white-space: nowrap; }
.cookie-panel { max-width: 32rem; overflow: hidden; }
.cookie-lead, .cookie-row, .cookie-panel p { overflow-wrap: break-word; max-width: 100%; }


/* one neon moment per page, decorative only, never on body text or buttons */
.accent-ink { --accent: var(--ink); }
.accent-orange { --accent: #FF9B3D; }
.accent-violet { --accent: #9B7BFF; }
.accent-coral { --accent: #FF5C6B; }
.accent-periwinkle { --accent: #6D7CFF; }

.accent-spot {
  position: relative;
  isolation: isolate;
}

.accent-spot::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -0.55em -0.7em -0.35em;
  background: radial-gradient(ellipse at 20% 70%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%);
  filter: blur(10px);
  opacity: 0.7;
}

.accent-ink.accent-spot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 42%;
  bottom: -0.12em;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ink), transparent);
  box-shadow: none;
  opacity: 0.55;
}

.pain-payoff.accent-ink.accent-spot::after {
  right: 18%;
  bottom: -0.08em;
}

.accent-violet.accent-spot::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3.25rem;
  bottom: -0.28em;
  height: 1px;
  pointer-events: none;
  background: var(--accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 90%, transparent);
  opacity: 0.9;
  transform: rotate(-6deg);
  transform-origin: left center;
}

.accent-mark {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
  user-select: none;
  pointer-events: none;
}

.page-title .accent-mark {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.accent-index {
  font-variant-numeric: lining-nums tabular-nums slashed-zero;
  font-feature-settings: "lnum" 1, "tnum" 1, "zero" 1;
  font-size: 0.85rem;
}

.accent-periwinkle.accent-mark {
  display: inline-block;
  margin: 0.15rem 0 0 0.15rem;
  font-size: 1.35rem;
  vertical-align: 0.05em;
}

.page-title:has(h1 + .accent-periwinkle) {
  /* contact: glyph sits after the title on the same line */
}

.contact-follow { }

@media (prefers-reduced-motion: reduce) {
  .accent-spot::before,
  .accent-spot::after,
  .accent-mark {
    filter: none;
    box-shadow: none;
    text-shadow: none;
    opacity: 1;
  }
  .accent-spot::before { opacity: 0.45; }
}


/* Instagram-style floating schedule pill + live-test sheet (mobile only) */
.schedule-bar,
.sheet-root { display: none; }

@media (max-width: 640px) {
  html.has-schedule-bar .page {
    padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
  }

  html.has-schedule-bar:has(.cookie-banner:not([hidden])) .page {
    padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px) + var(--cookie-shift, 0px));
  }

  .schedule-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--cookie-shift, 0px));
    z-index: 30;
    height: 54px;
    width: auto;
    margin: 0;
    padding: 0 1.25rem;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg) 64%, transparent);
    backdrop-filter: blur(22px) saturate(1.7);
    -webkit-backdrop-filter: blur(22px) saturate(1.7);
    box-shadow:
      0 8px 28px color-mix(in srgb, var(--ink) 12%, transparent),
      0 1px 0 color-mix(in srgb, #fff 55%, transparent) inset;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
    cursor: pointer;
    transform: translateY(calc(100% + 28px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  }

  .schedule-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .schedule-bar:hover,
  .schedule-bar:focus-visible {
    outline: none;
    opacity: 1;
    color: var(--ink);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
  }

  .schedule-bar-icon {
    display: block;
    flex: 0 0 auto;
  }

  .sheet-root {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
  }

  .sheet-root[hidden] { display: none; }

  .sheet-backdrop {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--ink) 32%, transparent);
    opacity: 0;
    transition: opacity 0.28s ease;
  }

  .sheet-root.is-open .sheet-backdrop { opacity: 1; }

  .sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(92svh, 52rem);
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    border-radius: 1.35rem 1.35rem 0 0;
    box-shadow: 0 -12px 40px color-mix(in srgb, var(--ink) 16%, transparent);
    transform: translateY(110%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .sheet-root.is-open .sheet { transform: translateY(0); }
  .sheet.is-dragging { transition: none; }

  .sheet-chrome { flex: 0 0 auto; padding: 0.35rem 1.25rem 0; }
  .sheet-handle {
    display: block;
    width: 2.5rem;
    height: 0.28rem;
    margin: 0.45rem auto 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ink) 22%, transparent);
  }
  .sheet-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.15rem 0 0.7rem;
    border-bottom: 1px solid var(--line);
  }
  .sheet-head h2 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
  }
  .sheet-close {
    font: inherit;
    font-size: 0.8125rem;
    color: var(--muted);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
  .sheet-close:hover,
  .sheet-close:focus-visible { color: var(--ink); outline: none; }

  .sheet-body {
    flex: 1 1 auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.25rem 1.75rem;
  }
  .sheet-body .form { max-width: none; padding-bottom: 1.5rem; }
  .sheet-body .form-success { padding-top: 1.25rem; }
  .sheet-body .lede { margin-top: 1rem; }

  body.sheet-lock { overflow: hidden; }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .schedule-bar,
  .sheet,
  .sheet-backdrop {
    transition: none;
  }
  .schedule-bar:not(.is-visible) {
    transform: none;
    opacity: 0;
  }
  .schedule-bar.is-visible { transform: none; }
  .sheet { transform: none; }
  .sheet-root:not(.is-open) .sheet { display: none; }
}

/* v3g: tryesi feel, left-aligned text, content block centered on the phone; footer below the fold */
.page-home {
  position: relative;
  min-height: auto;
}

.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-home main {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  flex: 0 0 auto;
  justify-content: center;
}

.page-home .site-footer {
  margin-top: 0;
}

@media (max-width: 639px) {
  .page-home main {
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    text-align: left;
    padding: 5rem 24px 6.25rem;
  }

  .page-home .hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  /* let the headline wrap to two lines; the pills (~263px) then set the block width */
  .page-home .hero-payoff {
    max-width: 16rem; /* fits 'learns from you.' in Inter 600 */
  }

  .page-home .hero-lead,
  .page-home .hero-payoff,
  .page-home .close,
  .page-home .close .sig,
  .page-home .tagline,
  .page-home .descriptor {
    text-align: left;
  }

  .page-home .descriptor {
    align-items: flex-start;
  }

  .page-home .hero-lead { margin-bottom: 0.22em; }
  .page-home .hero .close { margin-top: 1.15rem; }

  .page-home .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    width: auto;
    max-width: 100%;
    margin-inline: 0;
    margin-top: 1.7rem;
    gap: 0.7rem;
  }

  .page-home .cta-group .cta {
    flex: 0 1 auto;
  }

  .page-home .cta-group .cta a {
    width: auto;
    white-space: nowrap;
    padding: 0.72rem 1.2rem 0.7rem;
  }

  /* monochrome accent stays left-aligned with the text, inside the centered block */
  .page-home .accent-ink.accent-spot::before {
    background: radial-gradient(ellipse at 20% 70%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%);
  }

  .page-home .accent-ink.accent-spot::after {
    left: 0;
    right: 28%;
    background: linear-gradient(90deg, var(--ink), transparent);
  }
}

@media (max-width: 640px) {
  html.has-schedule-bar .page-home .site-footer {
    padding-bottom: 1.5rem;
  }
}


/* no filled highlight behind the homepage headline */
.page-home .hero-payoff.accent-spot::before,
.page-home .hero-payoff.accent-spot::after,
.page-home .hero-payoff::before,
.page-home .hero-payoff::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}
