/*
  Styles for the site's own pages: home, security, about and 404.
  (site.css stays for the help pages, the legal pages and the store
  reviewers' pages, which build on its class names.)

  Colors, fonts, corners and shadows are the Ares Labs design system's, as
  copied in the site's assets/css/site.css and in ClientClip's own base.css.
  Nothing here invents a color. Additions that only the website needs are
  marked "Website:".
*/

@font-face { font-family: "Figtree"; font-weight: 400 700; font-display: swap; src: url(../fonts/figtree-latin.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 500 600; font-display: swap; src: url(../fonts/fraunces-latin.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --surface: #f8f9fb;
  --raised: #ffffff;
  --sunken: #f1f4f9;
  --line: #e2e6ec;
  --line-strong: #c8cfd9;
  --ink: #16202e;
  --ink-soft: #344054;
  --ink-muted: #475467;
  --navy: #0d213d;
  --navy-2: #173459;
  --on-navy: #ffffff;
  --on-navy-muted: #c9d6e8;
  --navy-line: #2c4a73;
  --mint: #34d498;
  --blue: #1f5fa8;
  --blue-strong: #143f72;
  --blue-soft: #eaf1fa;
  --blue-soft-2: #d6e4f5;
  --primary: #1f5fa8;            /* the button fill, the same in both modes */
  --primary-hover: #184d8a;
  --green: #117a45;
  --green-soft: #e8f6ee;
  --amber: #7a4a00;
  --amber-soft: #fff7e0;
  --amber-line: #f1d27f;

  /* Website: the drawn browser window around the demo */
  --chrome: #dfe5ee;
  --chrome-ink: #475467;
  --chrome-dot: #b9c2cf;
  --chrome-field: #fff;
  --chrome-ext: #c9d6e8;
  --chrome-ext-ink: #143f72;
  --panel-edge: #c8cfd9;

  --font-display: Fraunces, Georgia, serif;
  --font-sans: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px;
  --shadow-sm: 0 1px 3px rgb(16 24 40 / .08);
  --shadow-md: 0 8px 24px rgb(16 24 40 / .10), 0 2px 6px rgb(16 24 40 / .06);
  --shadow-lg: 0 32px 64px rgb(8 18 36 / .28), 0 6px 16px rgb(8 18 36 / .16);

  --page: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #091321;
    --raised: #121d2e;
    --sunken: #050d1a;
    --line: #263447;
    --line-strong: #384960;
    --ink: #ffffff;
    --ink-soft: #e2e6ec;
    --ink-muted: #b8c5d8;
    --navy: #18355e;
    --navy-2: #0f2442;
    --blue: #7fb0ec;
    --blue-strong: #a9c9f2;
    --blue-soft: #152e50;
    --blue-soft-2: #1d3d66;
    --green: #5fd08f;
    --green-soft: #0f3a26;
    --amber: #f1d27f;
    --amber-soft: #3a2a07;
    --amber-line: #6b5010;
    --chrome: #1b2637;
    --chrome-ink: #b8c5d8;
    --chrome-dot: #3a4a61;
    --chrome-field: #0c1524;
    --chrome-ext: #263447;
    --chrome-ext-ink: #e2e6ec;
    --panel-edge: #000;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 400 1.0625rem/1.55 var(--font-sans); color: var(--ink-soft); background: var(--surface); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--mint); }
.wrap { max-width: calc(var(--page) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--raised); color: var(--ink); border-radius: var(--r-md); }
.skip:focus { top: 12px; }

h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; max-width: 38em; }

/* ---------- Icons: ClientClip's own Lucide files, tinted with CSS ---------- */
.ic { display: inline-block; width: 1.25em; height: 1.25em; flex: none; background: currentColor; vertical-align: -0.22em;
      -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic-inbox { --i: url(../product/icons/ui/inbox.svg); } .ic-phone { --i: url(../product/icons/ui/phone.svg); }
.ic-sparkle { --i: url(../product/icons/ui/sparkle.svg); } .ic-copy { --i: url(../product/icons/ui/copy.svg); }
.ic-alert { --i: url(../product/icons/ui/alert.svg); } .ic-layers { --i: url(../product/icons/ui/layers.svg); }
.ic-users { --i: url(../product/icons/ui/users.svg); } .ic-download { --i: url(../product/icons/ui/download.svg); }
.ic-fill { --i: url(../product/icons/ui/fill.svg); } .ic-settings { --i: url(../product/icons/ui/settings.svg); }
.ic-circle-alert { --i: url(../product/icons/ui/circle-alert.svg); } .ic-circle-check { --i: url(../product/icons/ui/circle-check.svg); }
.ic-check { --i: url(../product/icons/ui/check.svg); } .ic-search { --i: url(../product/icons/ui/search.svg); }
.ic-send { --i: url(../product/icons/ui/send.svg); } .ic-plus { --i: url(../product/icons/ui/plus.svg); }
.ic-lock { --i: url(../product/icons/ui/lock.svg); } .ic-database { --i: url(../product/icons/ui/database.svg); }
.ic-key { --i: url(../product/icons/ui/key-round.svg); } .ic-globe { --i: url(../product/icons/ui/globe.svg); }
.ic-clock { --i: url(../product/icons/ui/clock.svg); } .ic-file { --i: url(../product/icons/ui/file-text.svg); }
.ic-car { --i: url(../product/icons/ui/car.svg); } .ic-house { --i: url(../product/icons/ui/house.svg); }
.ic-building { --i: url(../product/icons/ui/building-2.svg); } .ic-houses { --i: url(../product/icons/ui/houses.svg); }
.ic-waves { --i: url(../product/icons/ui/waves.svg); } .ic-trailer { --i: url(../product/icons/ui/trailer.svg); }
.ic-package { --i: url(../product/icons/ui/package.svg); } .ic-bus { --i: url(../product/icons/ui/bus.svg); }
.ic-caravan { --i: url(../product/icons/ui/caravan.svg); } .ic-motorbike { --i: url(../product/icons/ui/motorbike.svg); }
.ic-sailboat { --i: url(../product/icons/ui/sailboat.svg); } .ic-umbrella { --i: url(../product/icons/ui/umbrella.svg); }
.ic-pointer { --i: url(../product/icons/ui/pointer.svg); } .ic-right { --i: url(../product/icons/ui/chevron-right.svg); }
.ic-mail { --i: url(../product/icons/ui/send.svg); } .ic-external { --i: url(../product/icons/ui/external.svg); }

/* ---------- Buttons (one primary per view) ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r-md);
       font: 600 1.0625rem/1.2 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #ffffff1f, transparent 60%), var(--primary);
               box-shadow: inset 0 1px 0 #ffffff33, 0 6px 16px rgb(8 18 36 / .22); }
.btn-primary:hover { background: linear-gradient(180deg, #ffffff1f, transparent 60%), var(--primary-hover); }
.btn-ghost { color: var(--on-navy); border-color: #ffffff40; }
.btn-ghost:hover { background: #ffffff14; }
.btn-plain { color: var(--ink); background: var(--raised); border-color: var(--line-strong); }
.btn-plain:hover { background: var(--sunken); }

/* ---------- Header ---------- */
.site-head { position: relative; z-index: 5; }
.head-in { display: flex; align-items: center; gap: 1.5rem; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.25rem/1 var(--font-sans); color: var(--on-navy); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .55rem .8rem; border-radius: var(--r-md); color: var(--on-navy-muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--on-navy); background: #ffffff14; }
.nav .btn { min-height: 40px; padding: .45rem .95rem; margin-left: .5rem; color: var(--on-navy); font-size: 1rem; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: .4rem .9rem; border-radius: var(--r-md); border: 1px solid #ffffff40; background: none; color: var(--on-navy); font: 600 1rem var(--font-sans); }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; flex-direction: column; align-items: stretch;
         padding: .5rem; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; }
  .nav .btn { margin: .25rem 0 0; justify-content: center; }
}

/* ---------- Hero: navy band (the design system's recipe) with the mint hairline ---------- */
.hero { position: relative; color: var(--on-navy-muted);
        background: radial-gradient(120% 90% at 0% 0%, rgb(255 255 255 / .08) 0%, transparent 55%), linear-gradient(180deg, var(--navy-2), var(--navy)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(52 212 152 / .55), transparent); }
.hero h1 { color: var(--on-navy); max-width: 15em; }
.hero:has(.hero-tall) { flex: 1; }   /* a short page (404): the navy fills the window */
.hero-copy { padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); display: grid; gap: 1.5rem; }
.hero .lede { color: var(--on-navy-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.hero-tall { padding-bottom: clamp(64px, 12vw, 160px); }
.hero-note a { color: inherit; }
.hero-note { font-size: .9375rem; color: var(--on-navy-muted); }
.pill-note { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; padding: .3rem .75rem; border-radius: 999px; border: 1px solid #ffffff33; font-size: .9375rem; color: var(--on-navy); }
.pill-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* ---------- The demo's drawn browser window: the quoting site and ClientClip's side panel ---------- */
.fit { container-type: inline-size; position: relative; aspect-ratio: var(--cw) / var(--ch); }
.canvas { position: absolute; left: 0; top: 0; width: calc(var(--cw) * 1px); height: calc(var(--ch) * 1px);
          transform-origin: 0 0; transform: scale(var(--s, tan(atan2(100cqw, calc(var(--cw) * 1px))))); }
.browser { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px;
           background: var(--chrome); box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / .12); }
.browser-bar { flex: none; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 13px; color: var(--chrome-ink); }
.dots { display: flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--chrome-dot); }
.addr { flex: 1; display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: 13px; background: var(--chrome-field); }
.addr .ic { width: 13px; height: 13px; }
.ext { display: flex; align-items: center; gap: 6px; padding: 3px 8px 3px 4px; border-radius: 8px; background: var(--chrome-ext); color: var(--chrome-ext-ink); font-weight: 600; }
.ext img { width: 20px; height: 20px; border-radius: 5px; }
.browser-body { flex: 1; display: flex; min-height: 0; }
.quote-site { flex: 1; min-width: 0; background: #eef1ef; }
.side-panel { flex: none; width: 400px; position: relative; border-left: 1px solid var(--panel-edge); background: var(--surface); }
.browser iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.side-panel iframe { position: absolute; inset: 0; opacity: 0; transition: opacity .28s ease; }
.side-panel iframe.on { opacity: 1; }


/* ---------- A captured ClientClip screen, shown as a picture ---------- */
.shot { --w: 400; --h: 640; --iw: var(--w); --ih: var(--h); --x: 0; --y: 0;
        container-type: inline-size; position: relative; aspect-ratio: var(--w) / var(--h); overflow: hidden; margin: 0;
        border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-md), 0 0 0 1px var(--line); }
.shot iframe { position: absolute; left: 0; top: 0; border: 0; pointer-events: none; width: calc(var(--iw) * 1px); height: calc(var(--ih) * 1px);
               transform-origin: 0 0; transform: scale(var(--s, tan(atan2(100cqw, calc(var(--w) * 1px))))) translate(calc(var(--x) * 1px), calc(var(--y) * 1px)); }
/* Sizes are set here, not in style attributes: the site's security header blocks those. */
.shot-top { --h: 357; --ih: 640; }          /* the top of a side panel screen */
.shot-setup { --w: 660; --h: 590; --iw: 1100; --ih: 900; --x: -250; --y: -208; }  /* the questions list in Settings */
.shot.stack iframe { opacity: 0; transition: opacity .25s; }
.shot.stack iframe.on { opacity: 1; }
.shot.fade::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(transparent, var(--surface)); }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-flush { padding-top: 0; }
.sec-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.tag { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; vertical-align: .15em;
       color: var(--blue-strong); background: var(--blue-soft); border: 1px solid var(--blue-soft-2); }
.tag.ok { color: var(--green); background: var(--green-soft); border-color: transparent; }

/* Ways a request comes in: three columns that share one baseline of screens */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.way { display: grid; grid-template-rows: auto 1fr auto; gap: .75rem; }
.way h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.way h3 .ic { color: var(--blue); }
.way .shot { margin-top: .75rem; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; max-width: 30rem; } }

/* The client card: a list of points on one side that switch the screen on the other */
.card-sec { background: var(--raised); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split.flip { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.point { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr; gap: .1rem .9rem; width: 100%; padding: 1rem 1.1rem; border-radius: var(--r-lg); cursor: pointer; border: 1px solid transparent; }
.point .ic { grid-row: span 2; margin-top: .15rem; color: var(--blue); }
.point b { color: var(--ink); font-size: 1.125rem; }
.point span { color: var(--ink-muted); }
.point:hover { background: var(--sunken); }
.point[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue-soft-2); }
.point:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sticky { position: sticky; top: 24px; }
.lines { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.lines li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem .35rem .5rem; border-radius: 999px; font-size: .9375rem; font-weight: 600;
            color: var(--blue-strong); background: linear-gradient(160deg, var(--blue-soft), var(--blue-soft-2)); }
.lines li.g { color: var(--green); background: var(--green-soft); }
.lines-note { margin-top: .75rem; font-size: .9375rem; color: var(--ink-muted); }
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .sticky { position: relative; top: auto; max-width: 420px; margin-inline: auto; width: 100%; }
}

/* Fill: drag between the page before and after */
.ba { --p: 58%; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md), 0 0 0 1px var(--line); container-type: inline-size; aspect-ratio: 760 / 560; background: #eef1ef; }
.ba iframe { position: absolute; left: 0; top: 0; width: 760px; height: 660px; border: 0; pointer-events: none; transform-origin: 0 0; transform: scale(var(--s, tan(atan2(100cqw, 760px)))); }
.ba .after { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--primary); pointer-events: none; }
.ba-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; background: var(--primary) ; box-shadow: 0 4px 12px rgb(8 18 36 / .3), inset 0 0 0 2px #fff; }
.ba-line::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px; background: #fff; -webkit-mask: url(../product/icons/ui/arrow-up-down.svg) center / contain no-repeat; mask: url(../product/icons/ui/arrow-up-down.svg) center / contain no-repeat; transform: rotate(90deg); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.ba-labels { display: flex; justify-content: space-between; margin-top: .6rem; font-size: .9375rem; color: var(--ink-muted); }
.fill-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; }
.facts .ic { grid-row: span 2; margin-top: .2rem; color: var(--blue); }
.facts b { color: var(--ink); font-size: 1.125rem; }
.never { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; padding: .9rem 1.1rem; border-radius: var(--r-lg); font-weight: 600; color: var(--green); background: var(--green-soft); }
@media (max-width: 900px) { .fill-grid { grid-template-columns: 1fr; } }

/* CRM: two screens, overlapped */
.duo { position: relative; aspect-ratio: 560 / 620; }
.duo .shot { position: absolute; width: 62%; }
.duo .shot:first-child { left: 0; top: 8%; }
.duo .shot:last-child { right: 0; top: 0; }

/* Protection: the page's one navy band below the hero */
.protect { color: var(--on-navy-muted); background: radial-gradient(90% 70% at 100% 0%, rgb(255 255 255 / .07) 0%, transparent 60%), linear-gradient(180deg, var(--navy-2), var(--navy)); }
.protect h2, .protect h3, .protect b { color: var(--on-navy); }
.protect a { color: var(--on-navy); }
.where { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; margin-top: clamp(28px, 4vw, 48px); }
.where-box { padding: 1.4rem 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--navy-line); background: #ffffff0a; display: grid; gap: .4rem; align-content: start; }
.where-box.office { border-color: rgb(52 212 152 / .6); background: rgb(52 212 152 / .08); }
.where-box .ic { width: 1.6rem; height: 1.6rem; color: var(--on-navy); margin-bottom: .3rem; }
.where-box.office .ic { color: var(--mint); }
.where-box ul { margin: .3rem 0 0; padding-left: 1.1rem; display: grid; gap: .25rem; }
.where-link { display: grid; align-content: center; justify-items: center; gap: .4rem; padding: 0 1rem; text-align: center; font-size: .875rem; max-width: 13rem; }
.where-link::before, .where-link::after { content: ""; width: 100%; border-top: 1px dashed #ffffff55; }
.claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
.claims div { display: grid; gap: .35rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--navy-line); }
.claims .ic { color: var(--mint); width: 1.4rem; height: 1.4rem; margin-bottom: .3rem; }
.plain-note { margin-top: clamp(28px, 4vw, 48px); font-size: .9375rem; max-width: 52rem; }
@media (max-width: 900px) {
  .where { grid-template-columns: 1fr; gap: .75rem; }
  .where-link { max-width: none; padding: .25rem 0; } .where-link::before, .where-link::after { display: none; }
  .claims { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .claims { grid-template-columns: 1fr; } }

/* Questions */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; font-size: 1.125rem; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .25rem; top: 1.35rem; width: 1.25rem; height: 1.25rem; background: var(--ink-muted); -webkit-mask: url(../product/icons/ui/chevron-down.svg) center / contain no-repeat; mask: url(../product/icons/ui/chevron-down.svg) center / contain no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 2.5rem 1.25rem 0; max-width: 44rem; }

/* Get in touch */
.touch { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.touch p { margin-top: .9rem; max-width: 34em; }
.touch-actions { display: grid; gap: .6rem; justify-items: start; }
.mailrow { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; color: var(--ink-muted); }
.copy { all: unset; cursor: pointer; padding: .2rem .55rem; border-radius: var(--r-sm); border: 1px solid var(--line-strong); font-size: .8125rem; font-weight: 600; color: var(--ink); }
.copy:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 760px) { .touch { grid-template-columns: 1fr; } }

/* Footer */
.foot { margin-top: auto; color: var(--on-navy-muted); background: var(--navy); font-size: .9375rem; }
.foot a { color: var(--on-navy); }
.foot-top { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; padding-block: 40px 28px; border-bottom: 1px solid var(--navy-line); }
.made { display: flex; align-items: center; gap: .75rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-bottom { padding-block: 20px 36px; display: grid; gap: .5rem; font-size: .8125rem; }


/* Simple inner pages */
.page-hero .hero-copy { padding-bottom: clamp(40px, 6vw, 80px); }
.prose { max-width: 46rem; display: grid; gap: 1.1rem; }
.prose h2 { margin-top: 1.5rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: .8rem .9rem .8rem 0; border-top: 1px solid var(--line); }
.table th { color: var(--ink); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 24px; }
.gallery figcaption { margin-top: .6rem; font-size: .875rem; color: var(--ink-muted); }
.gallery .wide { grid-column: span 2; }

/* Website: links from a home page section to its own page, and between those pages */
.more { margin-top: 1.75rem; font-weight: 600; }
.ways + .more { margin-top: 2.5rem; }
.also { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: 1rem; }
.lines-first { margin-top: 0; }
.split > .shot, .split > .duo { width: 100%; max-width: 420px; margin-inline: auto; }

/* ========== Home page: the demo, the comparison, the first day and questions ========== */

/* ---------- Hero additions ---------- */
.hero-mail { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; font-size: .9375rem; color: var(--on-navy-muted); }
.hero-mail .copy { color: var(--on-navy); border-color: #ffffff40; }
.hero-mail .copy:focus-visible { outline-color: var(--mint); }

/* ---------- The demo a visitor clicks through ---------- */
.demo { --cw: 1160; --ch: 716; padding-bottom: clamp(28px, 4vw, 56px); }
.demo-say { display: grid; gap: .25rem; min-height: 4.6em; margin: 0 0 clamp(14px, 2vw, 22px); padding: 0; list-style: none; max-width: 46rem; }
.demo-say li { display: none; }
.demo-say li[aria-current="step"] { display: grid; gap: .2rem; }
.demo-say b { color: var(--on-navy); font-size: 1.1875rem; }
.demo-say span { color: var(--on-navy-muted); }
.no-js .demo-say li, .demo:not(.live) .demo-say li { display: grid; margin-bottom: .6rem; }
.demo .quote-site { position: relative; overflow: hidden; }
.demo .quote-site iframe { position: absolute; left: 0; top: 0; width: 760px; height: 676px; }
.demo .quote-site .after { clip-path: inset(0 0 100% 0); }
.demo.filled .quote-site .after { clip-path: inset(0 0 0 0); transition: clip-path 1.2s ease-in-out; }
.demo .side-panel { overflow: hidden; }
.hot { all: unset; box-sizing: border-box; position: absolute; left: 0; top: 0; z-index: 4; cursor: pointer; border-radius: 12px;
       width: calc(var(--w, 0) * 1px); height: calc(var(--h, 0) * 1px); transform: translate(calc(var(--x, 0) * 1px), calc(var(--y, 0) * 1px));
       box-shadow: 0 0 0 3px var(--primary), 0 0 0 10px rgb(31 95 168 / .22); animation: hot 1.5s ease-in-out infinite; }
.hot[hidden] { display: none; }
.hot:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
@keyframes hot { 50% { box-shadow: 0 0 0 3px var(--primary), 0 0 0 18px rgb(31 95 168 / 0); } }
.demo-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; margin-top: clamp(14px, 2vw, 22px); }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 auto 0 0; padding: 0; list-style: none; }
.pill { all: unset; box-sizing: border-box; cursor: pointer; padding: .45rem .85rem; border-radius: 999px; border: 1px solid #ffffff33; color: var(--on-navy-muted); font-size: .9375rem; font-weight: 600; }
.pill[aria-current="step"] { color: var(--navy); background: var(--on-navy); border-color: var(--on-navy); }
.pill:focus-visible, .demo-ctl .quiet:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.demo-ctl .quiet { all: unset; box-sizing: border-box; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: .4rem .9rem; border-radius: var(--r-md); border: 1px solid #ffffff40; color: var(--on-navy); font-weight: 600; font-size: .9375rem; }
.demo-ctl .quiet[hidden] { display: none; }
.demo-note { margin-top: .75rem; font-size: .875rem; color: var(--on-navy-muted); }
@media (max-width: 760px) {
  .demo { --cw: 400; --ch: 640; max-width: 420px; margin-inline: auto; }
  .demo .browser-bar { display: none; }
  .demo .browser-body { display: block; position: relative; }
  .demo .quote-site { display: none; position: absolute; left: 0; top: 0; width: 400px; height: 300px; }
  .demo .quote-site iframe { transform-origin: 0 0; transform: scale(.5263); }
  .demo .side-panel { position: absolute; inset: 0; width: auto; border-left: 0; }
  .demo .side-panel iframe { inset: auto 0 0 0; height: 640px; }
  .demo.view-fill .quote-site { display: block; }
  .demo.view-fill .side-panel { top: 300px; border-top: 1px solid var(--panel-edge); }
  .demo-say { min-height: 7.2em; }
}

/* ---------- A quiet ask between sections ---------- */
.ask-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(32px, 5vw, 56px); padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: var(--blue-soft); border: 1px solid var(--blue-soft-2); }
.ask-row p { color: var(--ink); font-weight: 600; font-size: 1.125rem; }

/* ---------- Today and with ClientClip ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th { text-align: left; padding: 0 1.25rem .75rem; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.compare th + th { color: var(--blue-strong); }
.compare td { width: 50%; vertical-align: top; padding: 1.1rem 1.25rem; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.compare td:first-child { color: var(--ink-muted); background: var(--sunken); }
.compare td + td { color: var(--ink); font-weight: 600; background: var(--blue-soft); }
.compare tr:first-child td:first-child { border-top-left-radius: var(--r-lg); } .compare tr:first-child td + td { border-top-right-radius: var(--r-lg); }
.compare tr:last-child td:first-child { border-bottom-left-radius: var(--r-lg); } .compare tr:last-child td + td { border-bottom-right-radius: var(--r-lg); }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { margin-bottom: .9rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
  .compare td { border-top: 0; border-radius: 0 !important; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: .2rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
  .compare td + td::before { color: var(--blue-strong); }
}

/* ---------- From the first day, and after a one-time setup ---------- */
.dayone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.day { display: grid; gap: 1.1rem; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.day h3 { font-size: 1.375rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.day .facts { gap: 1.1rem; }
.day .facts a { font-weight: 600; }
@media (max-width: 820px) { .dayone { grid-template-columns: 1fr; } }

/* ---------- Questions with the ask beside them ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-side { display: grid; gap: 1.1rem; justify-items: start; }
.faq-grid .faq { max-width: none; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

.dayone + .lines { margin-top: 2.5rem; }

/* The home page header is its own navy band, so the page's main region starts below it. */
.head-band { color: var(--on-navy-muted); background: var(--navy-2); }
.hero-main { background: radial-gradient(120% 90% at 0% 0%, rgb(255 255 255 / .08) 0%, transparent 55%), linear-gradient(180deg, var(--navy-2), var(--navy)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
