/* ============================================================================
   ACTIQO marketing design system
   Source of truth: assets/ACTIQO Brand Guidelines.jpeg
   Created 2026-08-31.

   Load this LAST in <head>, after any page-local <style>, so the shared system
   supersedes legacy per-page rules without needing every page rewritten at once.

   Contrast note: Balanced Teal #14B8A6 is a SURFACE/GRAPHIC colour, not a text
   colour. On white it measures 2.49:1 and fails WCAG AA at every size. Text
   variants are derived below and annotated with their measured ratios.
   ========================================================================= */

:root{
  /* --- Brand palette (authoritative, from the brand guideline) --- */
  --navy:#0B1F3B;
  --teal:#14B8A6;
  --blue:#2563EB;
  --coral:#FB7185;
  --offwhite:#F8FAFC;
  --white:#FFFFFF;

  /* --- Derived text-safe variants (measured against #FFFFFF) --- */
  --teal-display:#0D9488;   /* 3.74:1 — large display text only (>=24px) */
  --teal-ink:#0F766E;       /* 5.49:1 — body text, links, small labels */
  --coral-ink:#E11D48;      /* 4.69:1 — coral used as text */
  --blue-ink:#2563EB;       /* 5.12:1 — Trust Blue is AA as text on white */
  --blue-dark:#1D4ED8;

  /* --- Neutrals, all biased toward Deep Navy (no unrelated greys) --- */
  --ink:#0B1F3B;            /* 15.6:1 on off-white */
  --ink-2:#33415C;          /* 8.9:1  — secondary prose */
  --ink-muted:#5A6B85;      /* 5.3:1  — supporting copy, AA */
  --ink-faint:#8494AB;      /* 3.2:1  — non-essential meta only, never body */
  --line:#E3E9F0;
  --line-soft:#EEF2F7;
  --canvas:#F8FAFC;
  --canvas-tint:#F1F7F8;    /* faint teal-tinted panel */
  --canvas-warm:#FFF5F5;    /* faint coral-tinted panel */
  --surface:#FFFFFF;

  /* --- Radii --- */
  --r-sm:10px; --r-md:16px; --r-lg:20px; --r-xl:24px; --r-pill:999px;

  /* --- Shadows: soft, navy-tinted, never heavy outlines --- */
  --shadow-xs:0 1px 2px rgba(11,31,59,.04);
  --shadow-sm:0 2px 8px rgba(11,31,59,.05);
  --shadow-md:0 6px 24px rgba(11,31,59,.07);
  --shadow-lg:0 18px 50px rgba(11,31,59,.10);
  --shadow-nav:0 2px 18px rgba(11,31,59,.07);

  /* --- 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:88px; --s-10:120px;

  /* --- Layout --- */
  --container:1200px;
  --container-narrow:760px;
  --gutter:24px;
  --nav-h:64px;
  --nav-gap:16px;

  /* --- Legacy aliases kept so untouched pages don't break --- */
  --teal-text:#0F766E;
  --warm-cream:#F1F7F8;
  --gray-50:#F8FAFC;
  /* Legacy body-copy grey. #64748b measures 4.77:1 on white but drops to
     4.40:1 on the tinted surfaces, failing AA. Retuned to the navy-biased
     muted ink, which holds >=4.9:1 on white and on every tint below. */
  --gray-500:#5A6B85;
  --radius-md:16px;
  --radius-lg:20px;
  --radius-xl:24px;
  --radius-btn-hero:999px;
  --shadow-card:0 2px 8px rgba(11,31,59,.05);
  --shadow-hover:0 6px 24px rgba(11,31,59,.07);
}

/* ============================================================================
   Base
   ========================================================================= */
body{
  background:var(--canvas);
  color:var(--ink);
  font-family:'Inter','Inter Fallback',system-ui,-apple-system,sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

/* --- Type scale --------------------------------------------------------- */
h1,.t-h1{
  font-family:'Fraunces','Fraunces Fallback',Georgia,serif;
  font-size:clamp(38px,5.2vw,64px);
  line-height:1.04;
  letter-spacing:-.025em;
  color:var(--ink);
  font-weight:500;
  text-wrap:balance;
}
h2,.t-h2{
  font-family:'Fraunces','Fraunces Fallback',Georgia,serif;
  font-size:clamp(30px,3.6vw,44px);
  line-height:1.12;
  letter-spacing:-.022em;
  color:var(--ink);
  font-weight:500;
  text-wrap:balance;
}
h3,.t-h3{
  font-family:'Fraunces','Fraunces Fallback',Georgia,serif;
  font-size:clamp(21px,2vw,26px);
  line-height:1.24;
  letter-spacing:-.016em;
  color:var(--ink);
  font-weight:500;
}
.t-card-title{
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:20px;
  line-height:1.32;
  letter-spacing:-.014em;
  font-weight:600;
  color:var(--ink);
}
.t-body{font-size:17px;line-height:1.68;color:var(--ink-2)}
.t-lead{font-size:19px;line-height:1.6;color:var(--ink-2);letter-spacing:-.01em}
.t-small{font-size:15px;line-height:1.6;color:var(--ink-muted)}

/* Eyebrow / label — uppercase only where it earns it */
.t-eyebrow{
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--teal-ink);
}
.t-eyebrow--muted{color:var(--ink-muted)}

/* The one teal emphasis device: display-size phrases only */
.accent-teal{color:var(--teal-display)}
.accent-blue{color:var(--blue-ink)}
.accent-coral{color:var(--coral-ink)}

/* ============================================================================
   Navigation — white rounded shell floating on the off-white canvas
   ========================================================================= */
/* In-flow sticky header. It reserves its own vertical space (nav-gap + nav-h),
   so page content begins naturally after it and no page needs a clearance
   padding to avoid being overlapped. Sticky keeps it visible on scroll. */
nav.site-nav{
  position:sticky; top:0; z-index:100;
  padding:var(--nav-gap) var(--gutter);
  background:none; border:none; backdrop-filter:none;
}
nav.site-nav .nav-inner{
  max-width:var(--container); margin:0 auto;
  display:flex; align-items:center; gap:var(--s-5);
  height:var(--nav-h);
  padding:0 10px 0 22px;
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:var(--r-pill);
  box-shadow:var(--shadow-nav);
}
/* Logo slot. Two markup patterns exist across the site: <a class="nav-logo">
   and a bare first-child <a>. Both are normalised here, and the slot is sized
   by CSS so a replacement logo asset drops in without markup changes. */
nav.site-nav .nav-logo,
nav.site-nav .nav-inner > a:first-child{
  display:flex;align-items:center;text-decoration:none;flex-shrink:0;
  min-height:44px;padding-right:4px;
}
nav.site-nav .nav-logo img,
nav.site-nav .nav-inner > a:first-child img{
  display:block; height:26px; width:auto; max-width:150px;
}
@media (max-width:520px){
  nav.site-nav .nav-logo img,
  nav.site-nav .nav-inner > a:first-child img{height:23px}
}
nav.site-nav .nav-links{
  display:flex; align-items:center; gap:var(--s-1);
  list-style:none; margin:0; padding:0;
  flex:1; justify-content:center;
}
nav.site-nav .nav-links a{
  display:block; padding:11px 13px;
  font-size:14.5px; font-weight:500; letter-spacing:-.008em;
  color:var(--ink-2); text-decoration:none;
  border-radius:var(--r-pill);
  transition:background .16s ease, color .16s ease;
  white-space:nowrap;
}
nav.site-nav .nav-links a:hover{background:var(--canvas-tint);color:var(--ink)}
nav.site-nav .nav-cta{
  flex-shrink:0;
  background:var(--teal); color:var(--navy);
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:14.5px; font-weight:600; letter-spacing:-.01em;
  padding:0 22px; height:44px;
  border:none; border-radius:var(--r-pill); cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  transition:background .16s ease, transform .12s ease, box-shadow .16s ease;
  box-shadow:0 1px 2px rgba(11,31,59,.06);
}
nav.site-nav .nav-cta:hover{background:#12A899;transform:translateY(-1px);box-shadow:var(--shadow-sm)}
nav.site-nav .nav-cta:active{transform:translateY(0);background:#0F9C8E}

/* Hamburger — 44px touch target */
nav.site-nav .nav-hamburger,
nav.site-nav .nav-ham{
  display:none; flex-direction:column; gap:5px;
  width:44px; height:44px; align-items:center; justify-content:center;
  background:none; border:none; cursor:pointer; border-radius:var(--r-sm);
  flex-shrink:0;
}
nav.site-nav .nav-hamburger span,
nav.site-nav .nav-ham span{
  display:block; width:19px; height:2px; border-radius:2px; background:var(--ink);
}

/* Mobile menu — inherits the rounded-card aesthetic */
.nav-mobile-menu{
  display:none; position:fixed;
  top:calc(var(--nav-h) + var(--nav-gap) + 8px);
  left:var(--gutter); right:var(--gutter);
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);
  padding:var(--s-3);
  z-index:99;
  max-height:calc(100vh - var(--nav-h) - var(--nav-gap) - 32px);
  overflow-y:auto;
}
.nav-mobile-menu a{
  display:block; padding:13px 14px; min-height:44px;
  font-size:16px; font-weight:500; color:var(--ink-2);
  text-decoration:none; border-radius:var(--r-sm);
  transition:background .16s ease;
}
.nav-mobile-menu a:hover,.nav-mobile-menu a:focus-visible{background:var(--canvas-tint);color:var(--ink)}
.nav-mobile-menu .mobile-cta{
  display:flex; align-items:center; justify-content:center;
  width:100%; margin-top:var(--s-3); min-height:50px;
  background:var(--teal); color:var(--navy);
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:16px; font-weight:600;
  border:none; border-radius:var(--r-pill); cursor:pointer;
}

@media (max-width:1080px){
  nav.site-nav .nav-links{display:none}
  nav.site-nav .nav-inner{justify-content:space-between;gap:var(--s-3)}
  nav.site-nav .nav-hamburger,
nav.site-nav .nav-ham{display:flex;order:3}
  nav.site-nav .nav-cta{order:2;margin-left:auto}
}
@media (max-width:520px){
  /* Smaller shell on narrow screens; the header still reserves its own space. */
  :root{--nav-h:58px; --nav-gap:10px;}
  nav.site-nav{padding:var(--nav-gap) 14px}
  nav.site-nav .nav-inner{padding:0 8px 0 16px;height:var(--nav-h)}
  nav.site-nav .nav-logo img{height:23px}
  nav.site-nav .nav-cta{padding:0 16px;height:44px;font-size:14px}
  .nav-mobile-menu{left:14px;right:14px;top:76px}
}

/* ============================================================================
   Buttons
   ========================================================================= */
.btn,
a.btn-primary,button.btn-primary,.btn-primary{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:16px; font-weight:600; letter-spacing:-.01em;
  min-height:52px; padding:14px 28px; min-width:44px;
  border-radius:var(--r-pill); border:1px solid transparent;
  text-decoration:none; cursor:pointer;
  transition:background .16s ease, transform .12s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn{white-space:nowrap}
/* Primary: Balanced Teal ground, Deep Navy label = 6.58:1 (AA, AAA large) */
.btn-primary{background:var(--teal);color:var(--navy);box-shadow:0 1px 3px rgba(11,31,59,.08)}
.btn-primary:hover{background:#12A899;transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-primary:active{background:#0F9C8E;transform:translateY(0);box-shadow:var(--shadow-xs)}

/* Secondary */
.btn-secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}
.btn-secondary:hover{background:var(--canvas);border-color:#CFD9E5;transform:translateY(-1px)}
.btn-secondary:active{transform:translateY(0);background:var(--canvas-tint)}

/* Text action */
.btn-text{
  display:inline-block;
  font-size:15.5px; font-weight:600; line-height:1.5; color:var(--blue-ink);
  text-decoration:none; background:none; border:none; cursor:pointer;
  padding:11px 2px;                 /* keeps the 44px touch target */
}
.btn-text .arw{transition:transform .18s ease;display:inline-block;margin-left:6px}
.btn-text:hover .arw{transform:translateX(3px)}
.btn-text--navy{color:var(--ink)}

.btn-sm{height:44px;padding:0 20px;font-size:14.5px}

/* ============================================================================
   Cards
   ========================================================================= */
.a-card{
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:var(--r-lg);
  padding:var(--s-6);
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.a-card--lg{border-radius:var(--r-xl);padding:var(--s-7)}
.a-card--flat{box-shadow:none;background:var(--canvas);border-color:var(--line-soft)}
.a-card--tint{background:var(--canvas-tint);border-color:transparent;box-shadow:none}
.a-card--interactive:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);border-color:var(--line)}

.a-card-icon{
  width:46px; height:46px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:var(--s-4); font-size:19px;
  background:rgba(20,184,166,.13); color:var(--teal-ink);
}
.a-card-icon--blue{background:rgba(37,99,235,.11);color:var(--blue-ink)}
.a-card-icon--coral{background:rgba(251,113,133,.15);color:var(--coral-ink)}
.a-card-icon--navy{background:#EAEEF4;color:var(--navy)}

.a-card h3,.a-card .t-card-title{margin:0 0 var(--s-3)}
.a-card p{margin:0;color:var(--ink-2);font-size:16px;line-height:1.62}

.a-grid{display:grid;gap:var(--s-5)}
.a-grid--3{grid-template-columns:repeat(3,1fr)}
.a-grid--2{grid-template-columns:repeat(2,1fr)}
.a-grid--4{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){.a-grid--4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.a-grid--4{grid-template-columns:1fr}}
@media (max-width:980px){.a-grid--3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.a-grid--3,.a-grid--2{grid-template-columns:1fr}}

/* ============================================================================
   Section rhythm
   ========================================================================= */
.a-section{padding:var(--s-10) var(--gutter)}
.a-section--tight{padding:var(--s-9) var(--gutter)}
.a-section--canvas{background:var(--canvas)}
.a-section--surface{background:var(--surface)}
.a-section-inner{max-width:var(--container);margin:0 auto}
.a-section-inner--narrow{max-width:var(--container-narrow);margin:0 auto}
.a-section-head{max-width:660px;margin:0 0 var(--s-7)}
.a-section-head--center{margin-left:auto;margin-right:auto;text-align:center}
.a-section-head--wide{max-width:860px}
.a-section-head--wide p{max-width:620px;margin-left:auto;margin-right:auto}
.a-section-head .t-eyebrow{display:block;margin-bottom:var(--s-3)}
.a-section-head h2{margin:0 0 var(--s-4)}
.a-section-head p{margin:0;font-size:18px;line-height:1.62;color:var(--ink-muted)}

@media (max-width:720px){
  .a-section{padding:var(--s-9) var(--gutter)}
  .a-section--tight{padding:var(--s-8) var(--gutter)}
}

/* ============================================================================
   Accessibility
   ========================================================================= */
a:focus-visible,button:focus-visible,[tabindex]:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid var(--blue-ink);
  outline-offset:2px;
  border-radius:6px;
}
.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--navy); color:#fff; padding:12px 18px;
  border-radius:0 0 var(--r-sm) 0; z-index:200; font-weight:600;
}
.skip-link:focus{left:0}

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

/* ============================================================================
   Hero — two-column on desktop, copy-first on mobile
   ========================================================================= */
.a-hero{
  padding:var(--s-7) var(--gutter) var(--s-8);
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(20,184,166,.07), transparent 62%),
    radial-gradient(760px 420px at 6% 88%, rgba(37,99,235,.045), transparent 66%),
    var(--canvas);
  position:relative;
  overflow:hidden;
}
.a-hero-inner{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:var(--s-8); align-items:center;
}
.a-hero-content{max-width:700px}
.a-hero .t-eyebrow{display:block;margin-bottom:var(--s-5)}
.a-hero h1{
  font-size:clamp(38px,4.3vw,56px);
  margin:0 0 var(--s-5);
  max-width:none;                 /* measure is set by the copy column */
  text-wrap:pretty;
}
/* Deterministic navy/teal line split on desktop; natural wrap on small screens */
.hero-br{display:inline}
@media (max-width:860px){.hero-br{display:none}}
.a-hero-sub{
  font-size:19px; line-height:1.62; letter-spacing:-.01em;
  color:var(--ink-muted); margin:0 0 var(--s-6);
  max-width:44ch;
}
.a-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-4);margin-bottom:var(--s-3)}
.a-hero-micro{font-size:14px;color:var(--ink-muted);margin:0 0 var(--s-5)}
.a-hero-links{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:0 0 var(--s-6)}

/* Trust row — pills, not a bordered strip */
.a-hero-trust{display:flex;flex-wrap:wrap;gap:var(--s-2)}
.a-hero-trust .item{
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 15px;border-radius:var(--r-pill);
  background:var(--surface);border:1px solid var(--line-soft);
  font-size:13.5px;font-weight:500;color:var(--ink-2);
  box-shadow:var(--shadow-xs);
}
.a-hero-trust .item::before{
  content:"";width:6px;height:6px;border-radius:50%;
  background:var(--teal);flex-shrink:0;
}

/* --- Product visual: device integrated into the composition --------------- */
.a-hero-visual{position:relative;display:flex;justify-content:flex-end;align-items:center;padding-right:8px}
.a-hero-visual::before{           /* soft brand-tinted ground behind the device */
  content:"";position:absolute;inset:6% 4% 6% 4%;
  background:linear-gradient(155deg,rgba(20,184,166,.10),rgba(37,99,235,.06) 55%,rgba(248,250,252,0));
  border-radius:44px;filter:blur(2px);
}
.a-device{
  position:relative;z-index:2;
  width:284px;aspect-ratio:284/524;      /* fixed ratio: no layout shift */
  background:var(--navy);
  border-radius:42px;
  padding:9px;
  box-shadow:var(--shadow-lg),0 2px 6px rgba(11,31,59,.10);
}
.a-device-screen{
  width:100%;height:100%;
  background:var(--surface);
  border-radius:34px;
  overflow:hidden;
  display:flex;flex-direction:column;
  padding:22px 18px;
}
/* Overlapping UI layer — depth without fake product */
.a-ui-float{
  position:absolute;z-index:3;
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-lg);
  padding:14px 16px;
}
/* Overlay is anchored to the device stage, so the lap is identical at every
   width and never covers screen content (screen padding starts 27px in). */
.a-device-stage{position:relative;width:284px;flex-shrink:0}
.a-ui-float--tr{top:9%;right:-190px;max-width:206px}
.a-ui-float--bl{bottom:5%;left:-194px;max-width:212px}

@media (max-width:1200px){
  .a-hero-inner{gap:var(--s-7)}
  .a-device{width:262px}
  .a-device-stage{width:262px}
  /* Below this the two columns are too tight for a floating overlay to sit
     beside the copy without covering it — drop the layer, keep the device. */
  .a-ui-float{display:none}
}

/* Mobile: copy first, CTA high, product immediately after — never a squeezed
   mockup beside text. */
@media (max-width:860px){
  .a-hero{padding:var(--s-6) var(--gutter) var(--s-8)}
  .a-hero-inner{grid-template-columns:1fr;gap:var(--s-8)}
  .a-hero-content{max-width:none}
  .a-hero h1{max-width:18ch}
  .a-hero-sub{max-width:none;font-size:17.5px;margin-bottom:var(--s-6)}
  .a-hero-actions{width:100%}
  .a-hero-actions .btn{width:100%;max-width:360px}
  .a-hero-visual{min-height:0;order:2;justify-content:center;padding-right:0}
  .a-device{width:min(300px,78vw)}
  .a-device-stage{width:auto;display:flex;justify-content:center}
  .a-hero-visual::before{inset:2% 8%}
}

/* --- Product UI inside the device (real app content, restyled only) ------- */
.pui-eyebrow{font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--teal-ink);margin-bottom:7px}
.pui-title{font-size:18px;font-weight:600;letter-spacing:-.015em;color:var(--ink);margin-bottom:3px}
.pui-accent{color:var(--teal-ink)}
.pui-meta{font-size:12.5px;color:var(--ink-muted);margin-bottom:18px}
.pui-panel{background:var(--canvas-tint);border-radius:14px;padding:14px;margin-bottom:14px}
.pui-label{font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:7px}
.pui-time{font-family:'Fraunces','Fraunces Fallback',Georgia,serif;font-size:27px;font-weight:500;color:var(--ink);line-height:1}
.pui-time span{font-size:15px;color:var(--teal-ink)}
.pui-note{font-size:11.5px;color:var(--ink-muted);margin-top:4px}
.pui-block{margin-bottom:14px}
.pui-person{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--ink)}
.pui-avatar{width:26px;height:26px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:700;flex-shrink:0}
.pui-list{display:flex;flex-direction:column;gap:7px}
.pui-item{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink)}
.pui-item--todo{color:var(--ink-muted)}
.pui-check{color:var(--teal-ink);font-size:11px}
.pui-circle{color:var(--ink-faint);font-size:11px}

/* --- Dark overlapping card ----------------------------------------------- */
.a-ui-float--dark{
  background:var(--navy);
  border-color:rgba(255,255,255,.10);
  color:#fff;
  padding:16px 18px;
}
.a-ui-float--dark .card-label{
  font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:rgba(255,255,255,.62);margin-bottom:8px;
}
.a-ui-float--dark .card-label--teal{color:var(--teal);margin-top:12px}
.a-ui-float--dark .fl-lines{display:flex;flex-direction:column;gap:6px}
.a-ui-float--dark .fl-lines div{font-size:12px;line-height:1.45;color:rgba(255,255,255,.80)}
.a-ui-float--dark .fl-lines--on div{color:rgba(255,255,255,.92)}
.a-ui-float--dark .fl-lines--on strong{color:var(--teal)}

/* Hero lead-in line — sentence case, not a shouty uppercase label */
.a-hero-eyebrow{
  font-size:15px;font-weight:600;letter-spacing:-.005em;
  color:var(--teal-ink);margin:0 0 var(--s-4);
}

/* --- Sticky mobile CTA bar ------------------------------------------------ */
.sticky-mobile-cta{
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--line-soft);
  box-shadow:0 -2px 18px rgba(11,31,59,.07);
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
}
.sticky-mobile-cta .sticky-mobile-inner{
  display:flex;gap:10px;align-items:center;max-width:560px;margin:0 auto;
}
.sticky-mobile-cta .sticky-free-btn,
.sticky-mobile-cta .sticky-join-btn{
  flex:1 1 0;min-width:0;min-height:46px;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:14.5px;font-weight:600;letter-spacing:-.01em;
  border-radius:var(--r-pill);text-decoration:none;cursor:pointer;
  padding:0 14px;text-align:center;
}
/* Secondary: the free tool. Primary: Start free — matches the site-wide system. */
.sticky-mobile-cta .sticky-free-btn{
  background:var(--surface);color:var(--ink);border:1px solid var(--line);
}
.sticky-mobile-cta .sticky-join-btn{
  background:var(--teal);color:var(--navy);border:none;
}

/* ============================================================================
   Dark editorial band. On Deep Navy, Balanced Teal measures 6.58:1 and IS
   safe as text — the opposite of its behaviour on white.
   ========================================================================= */
.a-section--navy{background:var(--navy)}
.a-section--navy h2,.a-section--navy .t-h2,.a-section--navy h3{color:#fff}
.a-section--navy .a-section-head p{color:rgba(255,255,255,.78)}
.a-section--navy .t-eyebrow{color:var(--teal)}
.a-section-head .a-band-note,.a-band-note{
  font-size:16.5px;line-height:1.6;color:rgba(255,255,255,.80);
  font-weight:500;font-style:italic;margin:var(--s-4) auto 0;max-width:52ch;
}
.a-card--on-navy{
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
  border-radius:var(--r-md);
  padding:var(--s-5);
  box-shadow:none;
}
.a-card--on-navy .a-card-icon{
  background:rgba(251,113,133,.14);color:var(--coral);
  width:40px;height:40px;border-radius:12px;margin-bottom:var(--s-3);font-size:17px;
}
.a-card--on-navy .t-card-title{font-size:16px;color:#fff;margin-bottom:var(--s-2)}
.a-card--on-navy p{font-size:14px;line-height:1.62;color:rgba(255,255,255,.76)}
.a-band-close{text-align:center;margin-top:var(--s-7)}
.a-band-close p{font-size:17px;color:rgba(255,255,255,.82);font-weight:500;margin:0 0 var(--s-5)}

/* Section-level action row */
.a-section-actions{
  display:flex;flex-wrap:wrap;gap:var(--s-3);
  justify-content:center;margin-top:var(--s-7);
}
@media (max-width:520px){
  .a-section-actions{flex-direction:column;align-items:stretch}
  .a-section-actions .btn{width:100%}
}

/* ============================================================================
   LEGACY BRIDGE
   Maps widely-shared legacy class names onto the new system so one stylesheet
   lifts many pages. Nothing here deletes page CSS — it supersedes by load
   order. Page-local rules that genuinely conflict (ID selectors, !important)
   are removed individually, per page, after a visual check.
   ========================================================================= */

/* Eyebrow / label — 18 pages */
.section-label{
  font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--teal-ink);margin-bottom:var(--s-3);
}
/* Section heading — used on h1 and h2 */
.section-header{
  font-family:'Fraunces','Fraunces Fallback',Georgia,serif;
  font-size:clamp(30px,3.6vw,44px);line-height:1.12;letter-spacing:-.022em;
  color:var(--ink);font-weight:500;margin-bottom:var(--s-4);text-wrap:balance;
}
.section-header em{font-style:italic;color:var(--teal-display)}
/* Supporting copy — 17 pages */
.section-sub{
  font-size:18px;line-height:1.62;color:var(--ink-muted);
  letter-spacing:-.01em;max-width:620px;
}

/* --- Early Access cards (pricing) ---------------------------------------- */
.pricing-card{
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:var(--r-lg);
  padding:var(--s-6);
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s ease, transform .2s ease;
}
.pricing-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.pricing-card.popular{border-color:rgba(37,99,235,.28);box-shadow:var(--shadow-md)}
.pricing-card .plan-name{
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:20px;font-weight:600;letter-spacing:-.014em;margin-bottom:var(--s-2);
}
.pricing-card .plan-desc{font-size:15.5px;line-height:1.6;color:var(--ink-2)}
.pricing-card .plan-features li{font-size:15px;line-height:1.55;color:var(--ink-2)}
/* Quiet inset note. No side rail: the brand reference uses clean rounded
   surfaces, and a coloured rail on a card is a tired pattern. The tint plus
   the italic voice carry the distinction on their own. */
.pricing-card .plan-insight{
  background:var(--canvas-tint);
  border:none;                      /* clears the legacy 2px teal side rail */
  border-radius:var(--r-sm);padding:14px 16px;margin-bottom:var(--s-4);
  font-size:14.5px;line-height:1.55;color:var(--ink-2);font-style:italic;
}
.pricing-card .plan-amount{color:var(--ink)}
/* All three CTAs are the same action: the popular card carries the primary. */
.pricing-card .plan-cta{
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  min-height:50px;padding:13px 22px;border-radius:var(--r-pill);
  font-family:'Inter','Inter Fallback',sans-serif;font-size:15.5px;font-weight:600;
  letter-spacing:-.01em;cursor:pointer;border:1px solid transparent;
  background:var(--teal);color:var(--navy);
  transition:background .16s ease, transform .12s ease, box-shadow .16s ease;
}
.pricing-card .plan-cta:hover{background:#12A899;transform:translateY(-1px);box-shadow:var(--shadow-sm)}
.pricing-card .plan-cta.outline{
  background:var(--surface);color:var(--ink);border-color:var(--line);
}
.pricing-card .plan-cta.outline:hover{background:var(--canvas);border-color:#CFD9E5}

/* --- Minimal nav used on legal pages (wordmark + back link) --------------- */
nav.site-nav .nav-wordmark{
  font-family:'Inter','Inter Fallback',sans-serif;
  font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--ink);
}
nav.site-nav .nav-back{
  display:inline-flex;align-items:center;gap:7px;
  margin-left:auto;min-height:44px;padding:10px 16px;
  font-size:14.5px;font-weight:500;color:var(--ink-2);
  text-decoration:none;border-radius:var(--r-pill);
  transition:background .16s ease,color .16s ease;
}
nav.site-nav .nav-back:hover{background:var(--canvas-tint);color:var(--ink)}

/* --- Legacy hero buttons: adopt the system's shape and touch size only.
       Colours are left to each page so section-level hierarchy is unchanged. */
.btn-primary-hero,.btn-secondary-hero{
  border-radius:var(--r-pill);
  min-height:54px;
  padding:15px 30px;
  font-size:16px;
  letter-spacing:-.01em;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
}

/* Display-accent phrase inside section headings. Balanced Teal is the primary
   brand accent, so the accent device is teal on light surfaces sitewide.
   (#0D9488 = 3.74:1 on white — AA for large text, which is all this targets.) */
.section-heading em,.section-header em{color:var(--teal-display);font-style:italic}

/* Primary hero CTA takes the system primary: Balanced Teal ground, Deep Navy
   label (6.63:1 — AA on both the light canvas and the navy bands). */
.btn-primary-hero{background:var(--teal);color:var(--navy);border:none}
.btn-primary-hero:hover{background:#12A899}

/* Pre-existing AA failures on article meta labels (measured 2.49-3.13:1 before
   this redesign). Retuned to accessible ink; sizes and layout unchanged. */
.article-category{color:var(--teal-ink)}
.related-link-label{color:var(--ink-muted)}

/* ============================================================================
   Boxed callouts: retire the side-rail treatment.
   These components paired a coloured left rail with a flat left edge
   (border-radius:0 X X 0) — the pattern the rounded-surface system replaces.
   They become quiet tinted surfaces with a full radius and a hairline border.

   Deliberately NOT included: .data-callout, .seo-definition, .spec-callout,
   .closing-definition, .closing-statement, .warning-callout, .reframe-callout,
   .two-questions ul li and .msg blockquote. Those are bare hanging rules with
   no surface — an editorial device, not a card tab — so they keep their rule.
   .decision-followup is also excluded: it sits on a dark card.
   ========================================================================= */
.quick-answer,
.callout,
.answer-box,
.answer-block,
.product-mention,
.article-body .product-mention,
.price-callout,
.learned{
  background:var(--canvas-tint);
  border:1px solid var(--line-soft);
  border-radius:var(--r-lg);
  padding:var(--s-5) var(--s-6);
  box-shadow:none;
}
/* Coral-coded callouts keep their warmer tint so the semantic split survives. */
.safety-callout,
.rule{
  background:var(--canvas-warm);
  border:1px solid rgba(251,113,133,.22);
  border-radius:var(--r-lg);
  padding:var(--s-5) var(--s-6);
  box-shadow:none;
}

/* Label inside the restyled Quick Answer surface. It used raw #14B8A6 as text
   (2.49:1 on white, 2.30:1 on the new tint) — brand teal is a surface colour,
   not a text colour. Retuned to the accessible teal ink: 5.2:1 on the tint.
   Scoped to this class only: it appears on light surfaces exclusively. */
.quick-answer-label{color:var(--teal-ink)}

/* ============================================================================
   HEADER CONTRACT — one shared definition for every marketing page.
   The shell is background-independent: identical over navy or off-white.
   ========================================================================= */

/* Active nav pill. Three different page-local rules existed
   (.nav-links a.active with no background, with --gray-100, and with --g100),
   which made the active state transparent on some pages and legacy-slate on
   others. This is the single definition; it uses the same padding, radius and
   font-weight as a normal link so the pill never shifts neighbouring items. */
nav.site-nav .nav-links a.active,
nav.site-nav .nav-links a[aria-current="page"]{
  background:var(--canvas-tint);
  color:var(--ink);
  font-weight:500;                 /* same weight as siblings — no reflow */
  padding:11px 13px;               /* identical box to a normal link */
  border-radius:var(--r-pill);
}
nav.site-nav .nav-links a.active:hover,
nav.site-nav .nav-links a[aria-current="page"]:hover{background:var(--canvas-tint)}



/* Mobile menu open state — shared so every page's hamburger works identically. */
.nav-mobile-menu.open{display:block}

/* Anchor targets must clear the sticky header when jumped to. This is the one
   place the header's height legitimately belongs in a calculation — it offsets
   the scroll position, not any element's padding. */
[id]{scroll-margin-top:calc(var(--nav-h) + var(--nav-gap) + var(--s-5))}

