/* ============================================================
   smarterbrain.ai, design system
   "Vibrant · Dark Headlines": teal + green + coral.
   Ported from the Claude Design redesign (Smarterbrain Colours.css).
   Headings: Schibsted Grotesk · Body: Mulish. Mobile-first.
   ============================================================ */

/* ============================== FONTS ============================== */
/* Self-hosted variable woff2 (latin subset), served from 'self' so the strict
   CSP (font-src 'self') renders the brand fonts instead of the system-ui fallback.
   Both surfaces serve these at /assets/fonts/ (marketing: site/assets/fonts/;
   dashboard: dashboard/public/assets/fonts/). Schibsted Grotesk + Mulish are
   SIL Open Font License 1.1 (redistribution permitted). Source: fontsource. */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/schibsted-grotesk.woff2') format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/schibsted-grotesk-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/mulish.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/mulish-italic.woff2') format('woff2');
}

/* ============================== TOKENS ============================== */
:root {
  /* TEAL: primary brand family */
  --teal-brand:       #06A88F; /* logo, icons, status dots */
  --teal-accent:      #078375; /* eyebrows, links, step numbers (AA 4.59 on page bg, X-55) */
  --teal-dark:        #16534A; /* dark section backgrounds (AA: green accent 4.62, X-55) */
  --teal-headline:    #2F5251; /* titles & headlines */
  --teal-code-bg:     #15554A; /* code blocks / dark chips (AA: green accent 4.50, X-55) */
  --teal-stripe-1:    #2A766A;
  --teal-stripe-2:    #307E70;
  --teal-card-bg:     #20544B; /* raised card on dark sections (AA: green accent 4.50, X-55) */
  --teal-card-border: #3D8376;

  /* GREEN: secondary accent family */
  --green-accent:      #5FCEB0;
  --green-badge:       #CFF2D7;
  --green-band:        #D6F4DF;
  --green-band-border: #C7E9D2;
  --green-btn-border:  #BFE4CC;

  /* CORAL: call to action (AA 4.5 with white text, X-55) */
  --coral:         #C94E2A;
  --coral-hover:   #BE4824;
  --coral-on-dark: #F6AE9B; /* coral TEXT on dark teal chips only (AA 4.5 on --teal-code-bg) */

  /* Surfaces */
  --surface-page:   #FCFEFB;
  --surface-card:   #FFFFFF;
  --surface-tint:   #DCF3EA;
  --surface-muted:  #F4F9F6;
  --surface-stripe: #F0F8F4;
  --border:         #E0EDE7;
  --border-soft:    #EEF4F1;
  --border-btn:     #CFE5DC;

  /* Text on light */
  --text-heading:   #2F5251;
  --text-body:      #46544A;
  --text-body-soft: #5E6C63;
  --text-nav:       #52604F;
  --text-trust:     #67756A;
  --text-band:      #2C5147;
  --text-muted:     #657A70; /* AA 4.53 on page bg (X-55; was #9DAEA6 at 2.32) */
  --text-muted-2:   #6C7973; /* AA 4.5 on white (X-55) */
  --text-logos:     #6A7970; /* AA 4.5 on page (X-55) */
  --text-mono-ph:   #8FA89E;

  /* Text on dark (teal) */
  --on-dark-strong: #FCFEFB;
  --on-dark-text:   #E4EFE9;
  --on-dark-body:   #BBCDC4;
  --on-dark-soft:   #C7D6CF;
  --on-dark-muted:  #B2C5BC;
  --on-dark-mono:   #8FB0A4;

  /* Roles */
  --accent:       var(--teal-accent);
  --accent-brand: var(--teal-brand);
  --focus:        #07897A;

  /* Type */
  --font-heading: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Mulish', system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.5rem, 5.6vw, 3.75rem);  /* 60px */
  --fs-h2:      clamp(2rem, 3.6vw, 2.625rem);   /* 42px */
  --fs-h3:      clamp(1.25rem, 1.8vw, 1.375rem);/* 22px */
  --fs-lead:    clamp(1.06rem, 1.4vw, 1.1875rem);/* 19px */
  --fs-body:    1rem;
  --fs-small:   0.9375rem;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-btn: 12px; --r-sm: 10px; --r-md: 13px; --r-lg: 18px; --r-xl: 22px; --r-2xl: 24px; --r-pill: 999px;

  /* Shadow: teal-tinted, soft */
  --sh-1: 0 1px 3px rgba(44,74,67,.08);
  --sh-2: 0 12px 28px -16px rgba(44,74,67,.30);
  --sh-3: 0 30px 60px -34px rgba(44,74,67,.40);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: 150ms;
  --t: 300ms;
  --t-slow: 600ms;

  /* Layout */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);
}

/* ============================== RESET ============================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
.is-block { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ============================== LAYOUT ============================== */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(28px, 4.5vw, 44px); }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.1; color: var(--text-heading); }

.eyebrow {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-accent);
  display: inline-block;
}
.eyebrow--pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
  letter-spacing: 0.04em; background: var(--surface-tint);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.eyebrow--pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-brand); }

.section-title { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; margin-top: var(--s-3); max-width: 18ch; }
.lead { font-size: var(--fs-lead); color: var(--text-nav); line-height: 1.6; }

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-heading); font-weight: 500; font-size: 0.875rem;
  padding: 13px 22px; border-radius: var(--r-btn); line-height: 1; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-hover); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: #fff; color: var(--text-heading); box-shadow: inset 0 0 0 1.5px var(--border-btn); }
.btn--ghost:hover { color: var(--teal-brand); box-shadow: inset 0 0 0 1.5px var(--teal-brand); background: var(--surface-tint); transform: translateY(-2px); }
.btn--soft { background: #fff; color: var(--text-heading); box-shadow: inset 0 0 0 1.5px var(--border-btn); }
.btn--soft:hover { color: var(--teal-brand); box-shadow: inset 0 0 0 1.5px var(--teal-brand); background: var(--surface-tint); }
.btn--lg { padding: 15px 28px; font-size: 1rem; border-radius: var(--r-md); }
.btn--block { width: 100%; }
/* "Coming soon" CTAs: app sign-up/sign-in is not open yet, so these controls keep their
   wording, append a small Soon badge, and render as a non-interactive <span>. */
.btn.is-soon { cursor: default; }
.btn.is-soon:hover { transform: none; background: var(--coral); }
.cta-soon {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  color: #fff; background: rgba(0,0,0,0.25);
  padding: 3px 8px; border-radius: var(--r-pill);
}
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ============================== BRAND ============================== */
.brand { display: inline-flex; align-items: center; gap: var(--s-3); }
.brand__mark { width: 38px; height: 38px; flex: none; border-radius: var(--r-md); background: var(--teal-brand); display: grid; place-items: center; }
.brand__drop { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--surface-page); transform: rotate(45deg); display: block; }
.brand__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.4375rem; color: var(--text-heading); letter-spacing: -0.01em; }
.brand__name .b2 { font-weight: 400; color: var(--teal-accent); }
.brand__name .b3 { color: var(--text-muted); }

/* ============================== NAV ============================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(252,254,251,.82); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.nav.is-stuck { border-bottom-color: var(--border); box-shadow: var(--sh-1); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
/* gap tightens on smaller desktops so five links never wrap or crowd the brand/CTA */
.nav__links { display: none; align-items: center; gap: clamp(var(--s-4), 2.4vw, var(--s-7)); }
.nav__links a { font-family: var(--font-body); font-weight: 500; font-size: 0.9375rem; color: var(--text-nav); transition: color var(--t-fast); }
.nav__links a:hover { color: var(--teal-accent); }
.nav__cta { display: none; }
.nav__menu { display: inline-flex; }
/* Five nav links + brand + CTA need real room; keep the mobile sheet until 1024px
   rather than crowding the 880-1000px band. */
@media (min-width: 1024px) {
  .nav__links, .nav__cta { display: flex; }
  /* higher specificity than .menu-btn (which sets display:grid later in the file),
     so the hamburger is genuinely hidden on desktop, not just overridden back on */
  .nav .nav__menu { display: none; }
}
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-heading); }
.menu-btn:hover { background: var(--surface-muted); }
.menu-btn svg { width: 24px; height: 24px; }

/* Mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 80; display: none; }
.sheet[data-open="true"] { display: block; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(30,111,98,.4); opacity: 0; transition: opacity var(--t); }
.sheet[data-open="true"] .sheet__scrim { opacity: 1; }
.sheet__panel {
  position: absolute; top: 12px; right: 12px; left: 12px;
  background: var(--surface-card); border-radius: var(--r-xl); padding: var(--s-5);
  box-shadow: var(--sh-3); transform: translateY(-12px); opacity: 0;
  transition: transform var(--t) var(--ease), opacity var(--t);
}
.sheet[data-open="true"] .sheet__panel { transform: none; opacity: 1; }
.sheet__panel a { display: block; padding: 14px 12px; border-radius: var(--r-sm); font-family: var(--font-heading); font-weight: 500; font-size: 1.1rem; color: var(--text-heading); }
.sheet__panel a:hover { background: var(--surface-muted); }
.sheet__panel .btn { margin-top: var(--s-3); }
.sheet__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-heading); }

/* ============================== HERO ============================== */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 60% at 88% 0%, var(--surface-tint), transparent 70%), var(--surface-page); }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; padding-block: clamp(22px, 3.5vw, 36px); }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1fr 1fr; } }
/* a touch smaller than --fs-display (60px), still clearly above H2 (42px) */
.hero__title { font-size: clamp(2.25rem, 4.6vw, 3.25rem); font-weight: 500; line-height: 1.07; letter-spacing: -0.025em; margin-top: var(--s-5); }
.hero__title em { font-style: italic; font-weight: 400; color: var(--coral); }
.hero__lead { margin-top: var(--s-5); max-width: 30ch; }
/* full-width row spanning both hero columns, centered under the text + video */
.hero__cta { grid-column: 1 / -1; justify-content: center; display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.hero__trust { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; color: var(--text-trust); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--teal-brand); }

/* Hero intro video and agent server card */
.hero__visual { position: relative; }
.hero__visual--video { align-self: center; }
.introvideo {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.introvideo__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--teal-dark);
}
.agentcard { position: relative; z-index: 2; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-3); }
.agentcard__head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.agentcard__icon { width: 30px; height: 30px; border-radius: 9px; background: var(--surface-tint); display: grid; place-items: center; color: var(--teal-brand); flex: none; }
.agentcard__icon svg { width: 16px; height: 16px; }
.agentcard__title { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--text-heading); }
.agentcard__rows { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; }
.agentrow { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); background: var(--surface-muted); border-radius: var(--r-md); padding: 14px 16px; }
.agentrow__t { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; color: var(--text-heading); }
.agentrow__s { font-family: var(--font-body); font-weight: 400; font-size: 0.8125rem; color: var(--text-muted-2); }
.agentrow__badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; color: var(--teal-accent); background: var(--surface-tint); padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.agentrow__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-brand); }
.agentrow__badge .dot.pulse { animation: sbpulse 1.8s ease-in-out infinite; }
.agentcard__foot { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-muted); text-align: center; padding-top: 6px; }
@keyframes sbpulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero__mascot { position: absolute; z-index: 3; width: clamp(74px, 13vw, 104px); right: -3%; bottom: -6%; filter: drop-shadow(0 12px 22px rgba(44,74,67,.28)); }
.float { animation: float 6s var(--ease) infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ============================== HOW IT WORKS ============================== */
.surface-white { background: var(--surface-card); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
/* Three steps: a mascot illustration per step, a prominent number, and a clear
   left-to-right flow. The connector arrows only show on the 3-up desktop grid. */
.steps { display: grid; gap: var(--s-5); margin-top: var(--s-7); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); } }
/* No overflow:hidden on the card itself, so the flow-arrow ::after can sit in the gap
   between cards; the rounded top is clipped on .step__media instead. */
.step { position: relative; display: flex; flex-direction: column; background: var(--surface-page); border: 1px solid var(--border); border-radius: var(--r-lg); transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--green-band-border); }
/* The mascot art already carries its own soft rounded backdrop, so it is the cover
   itself (full-bleed), with the number chip layered clearly on top. */
.step__media { position: relative; border-bottom: 1px solid var(--border-soft); background: var(--surface-muted); border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.step__media img { display: block; width: 100%; height: auto; }
.step__num { position: absolute; top: 14px; left: 14px; z-index: 3; width: 42px; height: 42px; border-radius: var(--r-md); background: var(--teal-brand); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(44,74,67,.5); }
/* flow arrow between cards (desktop only) */
@media (min-width: 760px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: clamp(-26px, -1.6vw, -14px); width: 22px; height: 22px; transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid var(--green-band-border); border-right: 2px solid var(--green-band-border); background: var(--surface-card); z-index: 2; }
}
.step__body { padding: 24px 26px 28px; }
.step__body h3 { font-size: var(--fs-h3); line-height: 1.25; margin: 0 0 8px; }
.step__body p { color: var(--text-body-soft); font-size: var(--fs-small); line-height: 1.6; }
.step__link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-3); color: var(--teal-accent); font-weight: 600; font-size: var(--fs-small); }
.step__link svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.step__link:hover { color: var(--teal-brand); }
.step__link:hover svg { transform: translateX(3px); }

/* ============================== LOGO CLOUD ============================== */
.lovecloud { text-align: center; }
.lovecloud__label { font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.03em; color: var(--text-muted); }
.lovecloud__viewport { margin-top: var(--s-5); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.lovecloud__track { display: flex; width: max-content; animation: lovecloud-marquee 40s linear infinite; }
.lovecloud:hover .lovecloud__track, .lovecloud__track:focus-within { animation-play-state: paused; }
.lovecloud__row { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--s-7); padding-left: var(--s-7); margin: 0; }
.lovecloud__row li { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.lovecloud__row img { width: 64px; height: 64px; }
.lovecloud__row span { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; color: var(--text-logos); white-space: nowrap; }
@keyframes lovecloud-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .lovecloud__track { animation: none; }
  .lovecloud__viewport { overflow-x: auto; }
  .lovecloud__row[aria-hidden="true"] { display: none; }
}

/* ============================== HOSTINGER STEPS ============================== */
.hostinger__head { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 880px) { .hostinger__head { grid-template-columns: 1fr auto; } }
.hostinger__love { width: min(240px, 56vw); height: auto; justify-self: center; border-radius: var(--r-lg); }
.hostinger__lead { margin-top: var(--s-4); color: var(--text-body-soft); max-width: 60ch; font-size: var(--fs-body); }
.hostinger__lead strong { color: var(--text-heading); font-weight: 600; }
.hsteps { display: grid; gap: var(--s-5); margin-top: var(--s-7); }
.hstep { display: grid; gap: var(--s-5); align-items: center; background: var(--surface-page); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); }
@media (min-width: 880px) { .hstep { grid-template-columns: 320px 1fr; gap: var(--s-6); } }
.hstep__n { font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-accent); }
/* Grid items default to min-width:auto, so the 1200px step screenshots set the
   track's min-content and drag the page wider than the phone; zeroing it lets
   the track shrink and width:100% take over. */
.hstep__copy, .hstep__shot { min-width: 0; }
.hstep__copy h3 { font-size: var(--fs-h3); margin: 8px 0; }
.hstep__copy p { color: var(--text-body-soft); font-size: var(--fs-small); }
.hstep__copy a { color: var(--teal-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hstep__copy a:hover { color: var(--teal-brand); }
.hstep__shot { margin: 0; }
.hstep__shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-1); }
.hstep__shot figcaption { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--text-muted); }
.hstep--dark { background: var(--teal-dark); border-color: var(--teal-dark); }
.hstep--dark .hstep__n { color: var(--green-accent); }
.hstep--dark h3 { color: var(--on-dark-strong); }
.hstep--dark p { color: var(--on-dark-soft); }
.hstep--dark .hstep__shot img { border-color: var(--teal-card-border); }
.cmdline { display: block; margin-top: var(--s-4); padding: 12px 14px; background: var(--teal-code-bg); color: var(--green-accent); border-radius: var(--r-sm); font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem; overflow-x: auto; white-space: nowrap; }
.hstep__note { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--on-dark-muted); }
.hostinger__cta { margin-top: var(--s-7); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); text-align: center; }
.hostinger__fine { font-size: var(--fs-small); color: var(--text-muted); max-width: 52ch; }

/* ============================== PLAYBOOKS / BLOG GRID ============================== */
.section--tint { background: var(--surface-muted); border-block: 1px solid var(--border-soft); }
.pb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-7); }
.pb-grid { display: grid; gap: var(--s-5); }
@media (min-width: 620px) { .pb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pb-grid { grid-template-columns: repeat(3, 1fr); } }
.playbook { position: relative; display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.playbook:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--green-band-border); }
.playbook:focus-within { border-color: var(--teal-accent); }
.playbook__cover { aspect-ratio: 16 / 10; margin: -26px -26px var(--s-5); border-radius: var(--r-lg) var(--r-lg) 0 0; position: relative; display: grid; place-items: center; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--surface-tint) 0 12px, var(--surface-stripe) 12px 24px); }
.playbook__glyph { width: 56px; height: 56px; color: var(--teal-accent); opacity: .85; }
.playbook__glyph svg { width: 100%; height: 100%; }
.playbook__mascot { width: 100%; height: 100%; object-fit: contain; padding: 12px 12px 0; }
.playbook__chip { position: absolute; top: 14px; left: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-accent); background: var(--surface-tint); padding: 5px 11px; border-radius: var(--r-pill); }
.playbook--meta-only .playbook__chip { position: static; display: inline-block; align-self: flex-start; }
.playbook__chip-row { display: inline-flex; }
.playbook h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; }
.playbook--blog h3 { font-size: 1.1875rem; }
.playbook h3 a::after { content: ""; position: absolute; inset: 0; }
.playbook p { color: var(--text-body-soft); font-size: 0.875rem; line-height: 1.55; margin-bottom: 20px; }
.playbook__meta { margin-top: auto; display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-body); font-weight: 500; font-size: 0.75rem; color: var(--text-muted); }
.playbook__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-btn); }
.playbook__go { margin-left: auto; color: var(--teal-accent); display: inline-flex; transition: transform var(--t) var(--ease); }
.playbook:hover .playbook__go { transform: translateX(4px); }
.playbook__go svg { width: 18px; height: 18px; }
.playbook__kicker { font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-accent); margin: 0 0 8px; }

/* ============================== PRIVACY (dark teal) ============================== */
.privacy { background: var(--teal-dark); color: var(--on-dark-text); }
.privacy .eyebrow { color: var(--green-accent); }
.privacy__grid { display: grid; gap: clamp(36px, 5vw, 48px); align-items: center; margin-top: var(--s-6); }
@media (min-width: 940px) { .privacy__grid { grid-template-columns: 1.1fr 0.9fr; } }
.privacy h2 { font-size: clamp(2rem, 3.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--on-dark-strong); max-width: 16ch; margin-top: var(--s-3); }
.privacy__lead { margin-top: 0; color: var(--on-dark-body); font-size: 1.0625rem; line-height: 1.65; max-width: 44ch; }
.privacy__lead b { color: var(--on-dark-strong); }
.privacy__list { margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.privacy__list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.privacy__list .pin { color: var(--green-accent); margin-top: 2px; flex: none; }
.privacy__list b { font-family: var(--font-heading); font-weight: 600; color: var(--on-dark-strong); }
.privacy__list span.txt { color: var(--on-dark-body); }

/* Boundary card */
.boundary { background: var(--teal-card-bg); border: 1px solid var(--teal-card-border); border-radius: var(--r-xl); padding: 30px; }
.boundary__flow { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; color: var(--green-accent); }
.boundary__chip { background: var(--teal-code-bg); padding: 10px 16px; border-radius: var(--r-sm); }
.boundary__chip--cloud { color: var(--coral-on-dark); }
.boundary__line { flex: 1; height: 1px; margin: 0 12px; background: repeating-linear-gradient(90deg, var(--green-accent) 0 6px, transparent 6px 12px); }
.boundary__cap { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.6; color: var(--on-dark-muted); margin: 22px 0 0; }
.boundary__cap b { color: var(--on-dark-strong); }

/* ============================== ADVISORY ============================== */
.advisory { background: var(--surface-muted); }
.advisory__card { display: flex; gap: var(--s-5); align-items: flex-start; background: var(--surface-card); border: 1px solid var(--border); border-left: 4px solid var(--teal-brand); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--sh-1); }
.advisory__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--surface-tint); color: var(--teal-brand); display: grid; place-items: center; flex: none; }
.advisory__icon svg { width: 26px; height: 26px; }
.advisory__mascot { width: clamp(72px, 10vw, 96px); height: auto; flex: none; border-radius: var(--r-md); }
.advisory h3 { font-size: 1.3rem; margin-bottom: 6px; }
.advisory p { color: var(--text-body-soft); max-width: 64ch; font-size: var(--fs-small); }
.advisory a { color: var(--teal-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.advisory a:hover { color: var(--teal-brand); }

/* ============================== CTA BAND ============================== */
.cta__card { position: relative; background: var(--green-band); border: 1px solid var(--green-band-border); border-radius: var(--r-2xl); padding: clamp(40px, 6vw, 62px); text-align: center; }
.cta__mascot { width: 82px; height: 82px; margin: 0 auto var(--s-3); filter: drop-shadow(0 10px 20px rgba(44,74,67,.25)); }
.cta h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto var(--s-3); }
.cta p { color: var(--text-band); margin: 0 auto var(--s-6); max-width: 44ch; font-size: 1.0625rem; line-height: 1.6; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.cta .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--green-btn-border); }

/* ============================== FOOTER ============================== */
.footer { background: var(--teal-headline); border-top: 1px solid rgba(255,255,255,.10); padding-block: var(--s-8) var(--s-6); }
.footer__top { display: grid; gap: var(--s-7); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand .brand__name { font-size: 1.0625rem; color: #F2F7F5; }
.footer__brand .brand__name .b2 { color: #6CCDBD; } /* AA 4.54 on --teal-headline (X-55) */
.footer__brand p { margin-top: var(--s-4); font-size: 0.875rem; line-height: 1.6; max-width: 32ch; color: #C7D6D1; }
.footer__social { margin-top: var(--s-5); display: flex; gap: var(--s-3); }
.footer__social a { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(255,255,255,.09); color: #DCE7E3; transition: background var(--t), color var(--t), transform var(--t-fast); }
.footer__social a:hover { background: var(--teal-brand); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__col h3 { font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600; color: #F2F7F5; margin-bottom: var(--s-4); }
.footer__col a { display: block; padding: 5px 0; font-size: 0.875rem; color: #C7D6D1; transition: color var(--t-fast); }
.footer__col a:hover { color: #FFFFFF; }
.footer__disc { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: var(--s-4); align-items: flex-start; }
.footer__disc svg { width: 18px; height: 18px; color: #4FC3B0; flex: none; margin-top: 2px; }
.footer__disc p { font-size: 0.8125rem; color: #B9CCC6; line-height: 1.6; max-width: 86ch; }
.footer__disc b { color: #F2F7F5; }
.footer__bar { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between; font-size: 0.75rem; color: #B9CCC6; }
.footer__bar a { color: #C7D6D1; }
.footer__bar a:hover { color: #FFFFFF; }

/* Shared footer call-to-action band (centered + contained, same on every page), light-on-dark */
.footer__cta { text-align: center; padding-bottom: var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__cta-text { margin: 0 auto; }
.footer__cta h2 { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-h2); color: #fff; margin: 0 auto; letter-spacing: -0.01em; line-height: 1.12; max-width: 20ch; }
.footer__cta p { margin: var(--s-3) auto 0; color: #C7D6D1; font-size: 1.0625rem; line-height: 1.55; max-width: 54ch; }
.footer__cta .btn { margin-top: var(--s-4); }

/* Newsletter sign-up band (X-35): centered, contained cluster, light-on-dark on the footer ground */
.footer__news { display: grid; grid-template-columns: 1fr; gap: var(--s-4); padding-bottom: var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__news-intro { display: flex; align-items: center; gap: var(--s-3); }
.footer__news-mascot { width: 56px; height: 56px; flex: none; object-fit: contain; }
.footer__news-copy { min-width: 0; }
.footer__news-copy h3 { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-h3); color: #fff; margin: 0; letter-spacing: -0.01em; }
.footer__news-copy p { margin: 4px 0 0; color: #C7D6D1; font-size: 0.9rem; line-height: 1.45; }
.footer__news-form { display: grid; gap: var(--s-2); }
.footer__news-row { display: flex; gap: var(--s-3); align-items: end; flex-wrap: wrap; }
.footer__news-row .field { flex: 1 1 220px; display: grid; gap: 5px; margin: 0; }
.footer__news-row .field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; color: #DCE7E3; }
.footer__news-row .field input { width: 100%; padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.97); color: var(--text-body); font-family: var(--font-body); font-size: 0.95rem; }
.footer__news-row .field input::placeholder { color: var(--text-mono-ph); }
.footer__news-row .field input:focus { outline: none; border-color: var(--teal-brand); box-shadow: 0 0 0 3px rgba(6,168,143,.32); }
.footer__news-row .btn { flex: 0 0 auto; }
.footer__news-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 0.8rem; color: #C7D6D1; line-height: 1.45; cursor: pointer; }
.footer__news-consent input { margin-top: 2px; flex: none; width: 16px; height: 16px; accent-color: var(--teal-brand); }
.footer__news-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer__news-consent a:hover { color: var(--teal-brand); }
.footer__news .cf-turnstile { min-height: 65px; }
.footer__news .form-status { color: #DCE7E3; }
.footer__news .form-status.is-ok { color: #8FE0D2; }
.footer__news .form-status.is-err { color: #FFB59E; }
@media (min-width: 860px) {
  /* Use the desktop width: copy on the left, the form filling the right half */
  .footer__news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s-6); }
  .footer__news-row .field { flex: 1 1 200px; }
}

/* ============================== COOKIE CONSENT ============================== */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 440px;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: var(--s-5); display: none; }
.cookie.is-in { display: block; animation: cookieIn var(--t-slow) var(--ease-out) both; }
@keyframes cookieIn { from { transform: translateY(130%); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-2); }
.cookie__head .brand__mark { width: 30px; height: 30px; border-radius: 9px; }
.cookie__head .brand__mark .brand__drop { width: 11px; height: 11px; }
.cookie__head b { font-family: var(--font-heading); font-size: 1.0625rem; color: var(--text-heading); }
.cookie p { font-size: 0.875rem; color: var(--text-body-soft); }
.cookie p a { color: var(--teal-accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.cookie__btns .btn { flex: 1; padding: 11px 16px; }
@media (prefers-reduced-motion: reduce) { .cookie.is-in { animation: none; } }
/* consent framework: prefs panel, switches, modal, re-open */
.cookie__prefs { display: grid; gap: var(--s-3); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--border); }
.cookie__prefs[hidden] { display: none; }
.cookie__switch { display: flex; align-items: flex-start; gap: var(--s-3); cursor: pointer; }
.cookie__switch-input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.cookie__switch-track { position: relative; flex: none; width: 40px; height: 22px; margin-top: 2px; border-radius: var(--r-pill); background: var(--border); transition: background var(--t) var(--ease); }
.cookie__switch-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(44,74,67,.35); transition: transform var(--t) var(--ease); }
.cookie__switch-input:checked + .cookie__switch-track { background: var(--teal-brand); }
.cookie__switch-input:checked + .cookie__switch-track::after { transform: translateX(18px); }
.cookie__switch-input:disabled + .cookie__switch-track { opacity: .55; }
.cookie__switch-input:focus-visible + .cookie__switch-track { outline: 3px solid var(--focus); outline-offset: 3px; }
.cookie__cat-text { display: flex; flex-direction: column; gap: 2px; }
.cookie__cat-name { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--text-heading); }
.cookie__always { font-family: var(--font-heading); font-weight: 500; font-size: 0.625rem; letter-spacing: .03em; text-transform: uppercase; color: var(--teal-accent); background: var(--surface-tint); padding: 2px 7px; border-radius: var(--r-pill); margin-left: 4px; }
.cookie__cat-desc { font-size: 0.8125rem; color: var(--text-body-soft); line-height: 1.5; }
.cookie__save[hidden] { display: none; }
.cookie__link { margin-top: var(--s-3); padding: 4px 0; background: none; border: none; color: var(--teal-accent); font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie__link[hidden] { display: none; }
.cookie[aria-modal="true"] { box-shadow: var(--sh-3), 0 0 0 100vmax rgba(44,74,67,.32); }
.cookie__reopen { position: fixed; left: 16px; bottom: 16px; z-index: 80; padding: 8px 16px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-pill); box-shadow: var(--sh-2); font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; color: var(--text-nav); cursor: pointer; transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.cookie__reopen:hover { color: var(--teal-brand); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .cookie__switch-track, .cookie__switch-track::after, .cookie__reopen { transition: none; } }

/* === SITE SEARCH === */
.nav__search { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-nav); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.nav__search:hover { background: var(--surface-muted); color: var(--teal-brand); }
.nav__search svg { width: 20px; height: 20px; }
.sheet__search { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 12px; border-radius: var(--r-sm); font-family: var(--font-heading); font-weight: 500; font-size: 1.1rem; color: var(--text-heading); }
.sheet__search svg { width: 22px; height: 22px; color: var(--teal-accent); flex: none; }
.sheet__search:hover { background: var(--surface-tint); }

.searchm { position: fixed; inset: 0; z-index: 120; display: grid; place-items: start center; padding: clamp(48px, 12vh, 120px) 16px 16px; }
.searchm[hidden] { display: none; }
.searchm__scrim { position: absolute; inset: 0; background: rgba(44, 74, 67, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.searchm__panel { position: relative; width: 100%; max-width: 560px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden; animation: searchm-in var(--t) var(--ease-out) both; }
@keyframes searchm-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.searchm__bar { display: flex; align-items: center; gap: var(--s-3); padding: 14px 16px; border-bottom: 1px solid var(--border); }
.searchm__icon { width: 20px; height: 20px; color: var(--teal-accent); flex: none; }
.searchm__input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: var(--font-body); font-size: 1rem; color: var(--text-heading); }
.searchm__input::placeholder { color: var(--text-muted); }
.searchm__close { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-muted); }
.searchm__close:hover { background: var(--surface-muted); color: var(--text-heading); }
.searchm__close svg { width: 18px; height: 18px; }
.searchm__results { max-height: min(60vh, 440px); overflow-y: auto; }
.searchm__results[hidden] { display: none; }
.searchm__result a { display: block; padding: 12px 16px; border-left: 3px solid transparent; }
.searchm__result a:hover, .searchm__result.is-active a { background: var(--surface-tint); border-left-color: var(--coral); }
.searchm__result h3 { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; color: var(--text-heading); margin: 0; }
.searchm__result p { font-size: 0.8125rem; color: var(--text-muted); margin: 2px 0 0; }
.searchm__result mark { background: var(--surface-tint); color: var(--teal-headline); padding: 0 1px; border-radius: 3px; }
.searchm__empty { padding: 18px 16px; font-size: 0.875rem; color: var(--text-body-soft); }
.searchm__empty[hidden] { display: none; }
.searchm__empty a { color: var(--teal-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .searchm__panel { animation: none; } }

/* === KB CARD GRID (X-29) === */
.kb-search:empty { display: none; }
.kbgrid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-top: var(--s-5); }
@media (min-width: 640px) { .kbgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .kbgrid { grid-template-columns: repeat(3, 1fr); } }
.kbq { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--sh-1); scroll-margin-top: 84px; }
.kbq:target { border-color: var(--teal-brand); box-shadow: var(--sh-2); }
.kbq__hero { display: block; width: 100%; height: auto; border-radius: var(--r-md); margin-bottom: var(--s-4); }
.kbq__q { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: var(--text-heading); margin: 0 0 var(--s-3); }
.kbq__a p { color: var(--text-body); font-size: 0.9375rem; line-height: 1.65; margin-top: var(--s-3); }
.kbq__a p:first-child { margin-top: 0; }
.kbq__a a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.kbq__a a:hover { color: var(--teal-headline); }
.kbq__a strong { color: var(--text-heading); font-weight: 600; }
.kbq__a em { font-style: italic; }

/* ============================== REVEAL MOTION ============================== */
.reveal { transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.is-primed { opacity: 0; transform: translateY(22px); }
.reveal[data-d="1"] { transition-delay: 80ms; }
.reveal[data-d="2"] { transition-delay: 160ms; }
.reveal[data-d="3"] { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-primed { opacity: 1 !important; transform: none !important; transition: none; }
  .float { animation: none; }
}

/* Skip link */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal-brand); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-family: var(--font-heading); font-weight: 600; transition: top var(--t); }
.skip:focus { top: 16px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================== BRAND LOGO (mascot) ============================== */
/* The curious-brain mascot replaces the old CSS water-drop mark. One image, three
   sizes by context (nav 40, footer 34, cookie 30); object-fit keeps the art crisp. */
.brand__logo { width: 46px; height: 46px; flex: none; object-fit: contain; }
.footer__brand .brand__logo { width: 34px; height: 34px; }
.cookie__head .brand__logo { width: 30px; height: 30px; }

/* New single-image wordmark ("smarterbrain.ai"); height-locked, width auto from the
   ~5.3:1 source. Replaces the icon + 3-colour text lockup in nav/footer/cookie. */
.brand__wordmark { height: 40px; width: auto; flex: none; display: block; }
.footer__brand .brand__wordmark { height: 32px; }
.cookie__head .brand__wordmark { height: 22px; }

/* ============================== PAGE HEADER (sub-pages) ============================== */
/* Left-aligned intro band reused by About / Contact / Knowledge base. Uses the standard
   container width so the header aligns with the nav, footer, and home page (not a centered column). */
.pagehead { padding-block: clamp(48px, 8vw, 72px) clamp(8px, 2vw, 16px); }
.pagehead h1 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; margin-top: var(--s-3); max-width: 22ch; }
.pagehead__lead { margin-top: var(--s-4); font-size: var(--fs-lead); color: var(--text-body-soft); line-height: 1.6; max-width: 60ch; }

/* ============================== PROSE (About / KB copy) ============================== */
/* Full-width container, left-aligned; readable measure applied to the text itself. */
.prose h2, .prose p, .prose ul { max-width: none; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--s-7); margin-bottom: var(--s-3); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-body); font-size: var(--fs-body); line-height: 1.7; margin-top: var(--s-3); }
.prose p:first-of-type { margin-top: 0; }
.prose strong { color: var(--text-heading); font-weight: 600; }
.prose a { color: var(--teal-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal-brand); }
.prose__mascot { width: clamp(120px, 28vw, 160px); height: auto; margin: 0 auto var(--s-5); filter: drop-shadow(0 12px 24px rgba(44,74,67,.22)); }
/* In a left-aligned page header the mascot sits on the left, above the heading, not centered. */
.pagehead .prose__mascot { margin: 0 0 var(--s-4); }

/* ============================== TRUST CARDS (About) ============================== */
.trustlist { display: grid; gap: var(--s-4); margin-top: var(--s-5); max-width: none; grid-template-columns: 1fr; }
@media (min-width: 760px) { .trustlist { grid-template-columns: repeat(3, 1fr); } }
.trustlist li { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.trustlist .pin { width: 28px; height: 28px; border-radius: 9px; background: var(--surface-tint); color: var(--teal-brand); display: grid; place-items: center; flex: none; }
.trustlist .pin svg { width: 16px; height: 16px; }
.trustlist b { font-family: var(--font-heading); font-weight: 600; color: var(--text-heading); display: block; margin-bottom: 3px; }
.trustlist p { margin: 0; font-size: var(--fs-small); color: var(--text-body-soft); line-height: 1.55; }

/* ============================== CONTACT FORM ============================== */
.contact__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; max-width: 1040px; }
.contact__grid > * { min-width: 0; }
@media (min-width: 880px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact__aside p { color: var(--text-body); font-size: var(--fs-body); line-height: 1.7; margin-top: var(--s-3); }
.contact__aside p:first-child { margin-top: 0; }
.contact__aside .prose__mascot { margin: 0 0 var(--s-4); }
.contact-form { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 32px); box-shadow: var(--sh-2); }
.contact-form .field { display: grid; gap: 7px; margin-bottom: var(--s-4); }
.contact-form label { font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; color: var(--text-heading); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--text-body);
  background: var(--surface-page); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; width: 100%; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-mono-ph); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal-accent); box-shadow: 0 0 0 3px rgba(7,137,122,.14); }
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.contact-form .cf-turnstile { margin-bottom: var(--s-4); }
/* The Turnstile iframe is a fixed 300px; inside the padded card it pushed the page
   past narrow phones. Slim the card and let the widget use the padding zone. */
@media (max-width: 420px) {
  .contact-form { padding: 18px 14px; }
  .contact-form .cf-turnstile { margin-inline: -8px; }
}
.contact-form button[type="submit"] { width: 100%; }
.form-status { margin-top: var(--s-4); font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; line-height: 1.5; min-height: 1.2em; }
.form-status.is-ok { color: var(--teal-accent); }
.form-status.is-err { color: var(--coral-hover); }

/* ============================== PRICING ============================== */
.tiers { display: grid; gap: var(--s-5); margin-top: var(--s-7); align-items: stretch; }
@media (min-width: 820px) { .tiers { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.tier { position: relative; display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.tier:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.tier--featured { border-color: var(--teal-card-border); box-shadow: var(--sh-2); }
.tier__media { background: var(--surface-muted); border-bottom: 1px solid var(--border-soft); }
.tier__media img { display: block; width: 100%; height: auto; }
.tier__body { padding: clamp(24px, 4vw, 32px); display: flex; flex-direction: column; flex: 1; }
.tier__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.tier__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; color: var(--teal-accent); }
.tier__flag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-heading); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.tier__flag--now { background: var(--green-band); color: var(--text-band); }
.tier__flag--soon { background: var(--coral); color: #fff; }
.tier__price { display: flex; align-items: baseline; gap: 8px; margin-top: var(--s-4); }
.tier__price b { font-family: var(--font-heading); font-weight: 600; font-size: 2.6rem; color: var(--text-heading); line-height: 1; letter-spacing: -0.02em; }
.tier__price span { color: var(--text-muted-2); font-size: var(--fs-small); }
.tier__sub { margin-top: 8px; font-size: var(--fs-small); color: var(--text-body-soft); line-height: 1.55; }
.tier__list { margin-top: var(--s-5); display: grid; gap: var(--s-3); }
.tier__list li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-small); color: var(--text-body); line-height: 1.5; }
.tier__list svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--teal-brand); }
.tier__list .lead-in { font-weight: 600; color: var(--text-heading); }
.tier__cta { margin-top: auto; padding-top: var(--s-6); }
.tier__cta .btn { width: 100%; }
.tier__foot { margin-top: var(--s-3); font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
.price-note { display: flex; gap: var(--s-4); align-items: flex-start; margin-top: var(--s-6); background: var(--surface-muted); border: 1px solid var(--border); border-left: 4px solid var(--teal-brand); border-radius: var(--r-lg); padding: 18px 20px; }
.price-note svg { width: 20px; height: 20px; color: var(--teal-brand); flex: none; margin-top: 2px; }
.price-note p { font-size: var(--fs-small); color: var(--text-body-soft); line-height: 1.6; }
.price-note b { color: var(--text-heading); }

/* ============================== KNOWLEDGE BASE (FAQ) ============================== */
.kb-toc { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.kb-toc a { font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; color: var(--teal-accent); background: var(--surface-card); border: 1px solid var(--border); padding: 8px 14px; border-radius: var(--r-pill); transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.kb-toc a:hover { background: var(--surface-tint); border-color: var(--teal-brand); color: var(--teal-brand); }

.kbcat { margin-top: var(--s-8); scroll-margin-top: 90px; }
.kbcat:first-of-type { margin-top: var(--s-7); }
.kbcat__head { display: flex; align-items: center; gap: var(--s-4); }
.kbcat__head img { width: clamp(56px, 9vw, 72px); height: auto; border-radius: var(--r-md); flex: none; border: 1px solid var(--border-soft); }
.kbcat__head h2 { font-size: var(--fs-h3); margin: 0; }
.faqlist { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.faq { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: 90px; transition: border-color var(--t), box-shadow var(--t); }
.faq[open] { border-color: var(--green-band-border); box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 18px 22px; font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; color: var(--text-heading); transition: color var(--t-fast); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-accent); }
.faq__chev { flex: none; color: var(--teal-accent); transition: transform var(--t) var(--ease); }
.faq__chev svg { width: 20px; height: 20px; display: block; }
.faq[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 22px 20px; }
.faq__a p { color: var(--text-body); font-size: var(--fs-body); line-height: 1.7; margin-top: var(--s-3); max-width: 70ch; }
.faq__a p:first-child { margin-top: 0; }
.faq__a strong { color: var(--text-heading); font-weight: 600; }
.faq__a a { color: var(--teal-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq__a a:hover { color: var(--teal-brand); }
