/* Ayra GTM. Tokens and roles are documented in DESIGN.md. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour roles */
  --ink: #0f1f1a;          /* headings and body text */
  --text: #2c3a34;         /* long-form body copy */
  --muted: #5a6862;        /* secondary text, captions */
  --brand: #17322b;        /* primary buttons, dark bands, logo */
  --brand-hover: #0f2520;
  --signal: #f3df4a;       /* highlights and markers only, never body text */
  --signal-soft: #fbf3b8;
  --canvas: #f5f7f3;       /* alternate section background */
  --surface: #ffffff;      /* page and cards */
  --line: #e2e7e1;         /* borders and dividers */
  --good: #2f7a4f;         /* confirmed states */
  --focus: #1f6feb;

  /* Type */
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(2.4rem, 4.6vw, 3.7rem);
  --fs-h2: clamp(1.85rem, 3.4vw, 2.6rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  /* Space, shape, depth */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --wrap: 1140px;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --pill: 999px;
  --shadow: 0 14px 44px -18px rgba(15, 31, 26, .22);
  --shadow-lift: 0 22px 60px -20px rgba(15, 31, 26, .30);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--pill); background: var(--brand); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--brand); transition: background .15s, transform .15s, box-shadow .15s; }
.button:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.button-ghost { background: transparent; color: var(--brand); }
.button-ghost:hover { background: var(--canvas); box-shadow: none; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.button .arrow { transition: transform .15s; }
.button:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s4); }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.wordmark svg { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: var(--s5); }
.nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:not(.button):hover { color: var(--ink); }
@media (max-width: 780px) { .nav a:not(.button) { display: none; } }

/* Founding banner */
.banner { background: var(--brand); color: #fff; font-size: .95rem; }
.banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; min-height: 44px; padding-block: 8px; text-align: center; }
.banner strong { color: var(--signal); font-weight: 700; }
.banner a { color: #fff; font-weight: 600; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: var(--s8) 0 var(--s9); background:
  radial-gradient(900px 480px at 85% 10%, rgba(243,223,74,.22), transparent 60%),
  radial-gradient(800px 520px at 0% 100%, rgba(23,50,43,.07), transparent 60%), var(--surface); }
.hero .wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: var(--s8); align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: var(--s7); } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); background: var(--canvas); border: 1px solid var(--line); color: var(--ink); font-size: .85rem; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(47,122,79,.15); }
.hero h1 { font-size: var(--fs-hero); margin-top: var(--s5); text-wrap: balance; }
.section-head h2, .cta-card h2, .proof-band h2 { text-wrap: balance; }
.hl { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 62%, var(--signal) 62%, var(--signal) 92%, transparent 92%); padding: 0 .08em; }
.hero-lede { margin-top: var(--s5); font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-micro { margin-top: var(--s4); font-size: var(--fs-small); color: var(--muted); }
.hero-proof { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s5); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { color: var(--ink); font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.1; }
.hero-proof span { font-size: .85rem; color: var(--muted); }

/* Product card: the daily list */
.product { position: relative; }
.list-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); overflow: hidden; }
.list-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--canvas); }
.list-title { font-weight: 700; color: var(--ink); }
.list-meta { font-size: .85rem; color: var(--muted); }
.list-rows { list-style: none; margin: 0; padding: 6px 0; }
.list-row { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.rank { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.row-top { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.account { font-weight: 700; color: var(--ink); }
.contact { font-size: .88rem; color: var(--muted); }
.signal { margin-top: 4px; font-size: .92rem; color: var(--text); }
.signal-age { color: var(--muted); }
.signal-tag { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: var(--pill); background: var(--signal-soft); color: var(--ink); font-size: .75rem; font-weight: 600; }
.toast { position: absolute; left: -32px; bottom: 18px; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lift); padding: 12px 16px; max-width: 290px; }
.toast-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(47,122,79,.12); color: var(--good); display: grid; place-items: center; }
.toast strong { display: block; color: var(--ink); font-size: .92rem; }
.toast span { font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) { .toast { position: static; margin: 14px auto 0; } .list-row.is-extra { display: none; } }
.example-note { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: right; }

/* Sections */
.section { padding: var(--s9) 0; }
.section-alt { background: var(--canvas); }
@media (max-width: 700px) { .section { padding: var(--s8) 0; } .hero { padding: var(--s7) 0 var(--s8); } }
.section-head { max-width: 680px; margin-bottom: var(--s7); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--good); margin-bottom: var(--s3); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: var(--s4); font-size: 1.12rem; color: var(--muted); }

.cards { display: grid; gap: var(--s5); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: var(--signal); display: grid; place-items: center; margin-bottom: var(--s5); }
.card p { margin-top: var(--s3); color: var(--muted); }
.card .who { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px dashed var(--line); font-size: .92rem; color: var(--text); }
.card .who b { color: var(--ink); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--s6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--signal); color: var(--ink); font-weight: 800; margin-bottom: var(--s4); }
.step-when { display: block; font-size: .82rem; font-weight: 600; color: var(--good); margin-bottom: 6px; }
.step p { margin-top: var(--s3); color: var(--muted); }
.your-part { display: block; margin-top: var(--s4); font-size: .9rem; color: var(--text); background: var(--canvas); border-radius: var(--r-sm); padding: 10px 12px; }

/* Proof band */
.proof-band { background: var(--brand); color: #dfe7e2; border-radius: var(--r-lg); padding: var(--s7); display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s7); align-items: center; }
@media (max-width: 900px) { .proof-band { grid-template-columns: 1fr; padding: var(--s6); } }
.proof-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.proof-band p { margin-top: var(--s4); }
.proof-band a { color: var(--signal); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin: 0; }
.stats div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: var(--s5); }
.stats dd { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stats dt { margin-top: 8px; font-size: .85rem; color: #b9c7c0; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.proof-note { margin-top: var(--s5); font-size: .88rem; color: #b9c7c0; }

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: var(--s6); align-items: center; max-width: 820px; margin: var(--s7) auto 0; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; } }
.founder-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--canvas); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: var(--brand); }
.founder-name { font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.founder-role { color: var(--muted); font-size: .95rem; }
.founder-bio { margin-top: var(--s3); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s5); align-items: stretch; max-width: 940px; margin-inline: auto; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; border-radius: var(--r-lg); padding: var(--s7) var(--s6) var(--s6); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lift); }
.plan-badge { position: absolute; top: -14px; left: var(--s6); background: var(--signal); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: var(--pill); }
.plan h3 { font-size: 1.25rem; }
.plan-sub { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.price { margin-top: var(--s5); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-size: 2.6rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); }
.price-plus { margin-top: 6px; font-weight: 600; color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .97rem; }
.plan li svg { margin-top: 4px; color: var(--good); }
.plan .button { margin-top: auto; }
.price-foot { text-align: center; margin-top: var(--s5); font-size: .9rem; color: var(--muted); }

/* Ownership */
.own { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
@media (max-width: 900px) { .own { grid-template-columns: 1fr; } }
.owned-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .owned-list { grid-template-columns: 1fr; } }
.owned-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.owned-list svg { color: var(--good); flex: none; }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 800px) { .fit { grid-template-columns: 1fr; } }
.fit > div { border-radius: var(--r-lg); padding: var(--s6); border: 1px solid var(--line); background: var(--surface); }
.fit ul { margin: var(--s4) 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.fit .no { background: var(--canvas); }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; color: var(--muted); }

/* Final CTA */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 860px) { .cta-split { grid-template-columns: 1fr; } }
.cta-card { border-radius: var(--r-lg); padding: var(--s7) var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.cta-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-card p { color: var(--muted); }
.cta-card .button { align-self: flex-start; margin-top: auto; }
.cta-sample { background: var(--brand); }
.cta-sample h2 { color: #fff; }
.cta-sample p { color: #c9d6cf; }
.cta-sample .button { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.cta-sample .button:hover { background: #f7e773; }
.cta-book { background: var(--surface); border: 1px solid var(--line); }
.booking-slot { min-height: 80px; }
.booking-slot.is-embedded { min-height: 640px; }
.booking-micro { font-size: .88rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--s7) 0; font-size: .88rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s6); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.footer-legal p + p { margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links a { color: var(--ink); }

/* Mobile sticky CTA */
.sticky-book { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; background: var(--brand); color: #fff; padding: 10px 10px 10px 18px; border-radius: var(--pill); box-shadow: var(--shadow-lift); font-size: .9rem; transform: translateY(140%); transition: transform .25s; }
.sticky-book .button { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.sticky-book.is-visible { transform: none; }
@media (max-width: 700px) { .sticky-book { display: flex; } }

.banner .short { display: none; }
@media (max-width: 700px) {
  .banner .long { display: none; } .banner .short { display: inline; }
  .banner .wrap { min-height: 40px; font-size: .88rem; }
  .nav .button-small { padding: 0 14px; font-size: .88rem; }
  .nav .button-small .long { display: none; }
}
.nav .button-small .short { display: none; }
@media (max-width: 700px) { .nav .button-small .short { display: inline; } }
