/* Brand primitives only. Change these during visual exploration without touching behaviour,
   storage or the structural layout rules in globals.css. */
/* Interface font, owner choice 2026-09-27 (ADR 0036): Source Sans 3 replaces DM Sans, which has no
   dotted transliteration letters (ḥ ṣ ṭ ḍ ẓ) or ʿayn/hamza marks. Humanist forms that sit with
   Newsreader and the naskh. Basic and extended Latin are separate files, loaded only when needed. */
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-400-normal.woff2') format('woff2'); font-style:normal; font-weight:400; font-display:swap; unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-ext-400-normal.woff2') format('woff2'); font-style:normal; font-weight:400; font-display:swap; unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-500-normal.woff2') format('woff2'); font-style:normal; font-weight:500; font-display:swap; unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-ext-500-normal.woff2') format('woff2'); font-style:normal; font-weight:500; font-display:swap; unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-600-normal.woff2') format('woff2'); font-style:normal; font-weight:600; font-display:swap; unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-ext-600-normal.woff2') format('woff2'); font-style:normal; font-weight:600; font-display:swap; unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-400-italic.woff2') format('woff2'); font-style:italic; font-weight:400; font-display:swap; unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Source Sans 3'; src:url('/fonts/source-sans-3/source-sans-3-latin-ext-400-italic.woff2') format('woff2'); font-style:italic; font-weight:400; font-display:swap; unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Newsreader'; src:url('/fonts/newsreader/Newsreader.ttf') format('truetype'); font-style:normal; font-weight:200 800; font-display:swap; }
/* Newsreader has no ʿayn or hamza half-rings (U+02BE, U+02BF); they come from Amiri, already loaded for Arabic. */
@font-face { font-family:'Newsreader'; src:url('/fonts/amiri/Amiri-Regular.ttf') format('truetype'); font-style:normal; font-weight:200 800; font-display:swap; unicode-range:U+02BE-02BF; }
@font-face { font-family:'Newsreader'; src:url('/fonts/amiri/Amiri-Regular.ttf') format('truetype'); font-style:italic; font-weight:200 800; font-display:swap; unicode-range:U+02BE-02BF; }
@font-face { font-family:'Newsreader'; src:url('/fonts/newsreader/Newsreader-Italic.ttf') format('truetype'); font-style:italic; font-weight:200 800; font-display:swap; }
@font-face { font-family:'Noto Naskh Arabic'; src:url('/fonts/noto-naskh-arabic/NotoNaskhArabic.ttf') format('truetype'); font-style:normal; font-weight:400 700; font-display:swap; }
@font-face {
  font-family: 'Kutubi Aref Ruqaa';
  src: url('/fonts/aref-ruqaa/ArefRuqaa-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face { font-family:'Kutubi Amiri'; src:url('/fonts/amiri/Amiri-Regular.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:'Kutubi Reem Kufi'; src:url('/fonts/reem-kufi/ReemKufi.ttf') format('truetype'); font-style:normal; font-weight:400 700; font-display:swap; }
.kutubi-wordmark { display:inline-flex; flex-direction:row; gap:16px; height:48px; align-items:center; color:inherit; flex-shrink:0; }
.kutubi-wordmark-arabic { display:inline-flex; justify-content:center; align-items:center; width:64px; height:48px; font-family:'Kutubi Aref Ruqaa','Traditional Arabic',serif; font-size:36px; font-weight:400; line-height:1.3; letter-spacing:normal; white-space:nowrap; }
.kutubi-wordmark--naskh .kutubi-wordmark-arabic { font-family:'Kutubi Amiri',serif; font-size:40px; }
.kutubi-wordmark--kufi .kutubi-wordmark-arabic { font-family:'Kutubi Reem Kufi',sans-serif; font-size:32px; }
.kutubi-wordmark-latin { font-family:var(--font-interface); font-size:12px; font-weight:500; line-height:1.5; letter-spacing:.12em; }
.workspace .kutubi-wordmark { gap:10px; }
.workspace .kutubi-wordmark-latin { font-size:11px; }
:root {
  --font-interface: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --font-reading: 'Newsreader', Georgia, 'Times New Roman', serif;
  /* Quotations use Amiri, a book naskh after the Bulaq press faces that printed much of the turath;
     Noto Naskh Arabic remains the fallback for glyphs Amiri lacks. */
  --font-arabic: 'Kutubi Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', Georgia, serif;
  font-family: var(--font-interface);
  font-synthesis: none;
}

.workspace {
  --surface: #fff;
  --paper: #fff;
  --sidebar: #f7f7f5;
  --ink: #171717;
  --muted: #626262;
  --border: #dededb;
  --hover: #efefed;
  --bubble: #f4f4f2;
  --accent: #171717;
  --on-accent: #fff;
  --warning: #fbf4e7;
  --warning-ink: #78501b;
  color-scheme: light;
}

.workspace[data-theme='dark'] {
  --surface: #242424;
  --paper: #1b1b1b;
  --sidebar: #141414;
  --ink: #ededeb;
  --muted: #b0b0aa;
  --border: #454541;
  --hover: #323230;
  --bubble: #292927;
  --accent: #eeeeeb;
  --on-accent: #171717;
  --warning: #382e20;
  --warning-ink: #edc18b;
  color-scheme: dark;
}

html, body { margin:0; }
/* The one colour source for the public pages and the paid product (design audit, 2026-09-27).
   Paper and ink carry the page; lapis, the blue of illuminated manuscript headings, is the single
   accent and is reserved for links, focus, source markers, quotation rules and progress. Status
   colours appear only where there is a real status. product.css adds no colours of its own. */
.mailing-page, .mailing-page[data-theme="light"] {
  --mail-bg:#fcfcfd; --mail-paper:#fff; --mail-ink:#16202b; --mail-muted:#5b6573; --mail-line:#e2e6eb;
  --mail-button:#16202b; --mail-on:#fff; --mail-soft:#eef1f5; --mail-subtle:#f5f7fa;
  --mail-deep:#0e1c2b; --mail-on-deep:#e9eef4; --mail-deep-muted:#a8b4c2;
  --mail-accent:#1c4a73; --mail-accent-soft:#e3ebf3; --mail-on-accent:#faf8f3;
  --mail-good:#2f6b4f; --mail-warn:#8a5a1f; --mail-bad:#9b2f2f;
  --rail-bg:#f5f7fa; --rail-active:#e8ecf1; color-scheme:light;
}
.mailing-page { min-height:100dvh; display:flex; flex-direction:column; background:var(--mail-bg); color:var(--mail-ink); font-family:var(--font-interface); color-scheme:light; }
.mailing-page * { box-sizing:border-box; }
.mailing-page a { color:inherit; text-underline-offset:4px; text-decoration-color:color-mix(in srgb, currentColor 40%, transparent); }
.mailing-page a:hover { text-decoration-color:currentColor; }
.mailing-header,.mailing-footer { width:min(1120px,calc(100% - 96px)); margin-inline:auto; }
.mailing-header { height:96px; flex:0 0 96px; display:flex; align-items:center; }
.mailing-header a { display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-size:14px; font-weight:500; }
.mailing-main { width:min(620px,calc(100% - 48px)); margin:auto; padding:65px 0 80px; flex:1; display:flex; align-items:center; }
.mailing-intro { width:100%; }
.mailing-page h1 { font:500 clamp(38px,5vw,62px)/1.08 var(--font-interface); letter-spacing:-.03em; margin:0 0 26px; text-wrap:balance; }
.mailing-eyebrow { font-size:12px; margin:0 0 24px; color:var(--mail-muted); }
.mailing-lede { max-width:470px; font-size:16px; line-height:1.75; color:var(--mail-muted); margin:0 0 34px; }
.mailing-page label { display:block; margin-bottom:10px; font-size:13px; }
.mailing-controls { display:flex; gap:8px; }
.mailing-controls input { min-width:0; flex:1; border:1px solid var(--mail-line); border-radius:10px; padding:14px; background:var(--mail-paper); color:var(--mail-ink); font-size:16px; }
.mailing-controls button { min-height:50px; border:1px solid var(--mail-button); background:var(--mail-button); color:var(--mail-on); padding:14px 18px; border-radius:10px; font-size:14px; white-space:nowrap; }
.mailing-page button:disabled { cursor:wait; opacity:.7; }
.mailing-small { font-size:12px; line-height:1.8; color:var(--mail-muted); max-width:500px; margin:15px 0; }
.mailing-feedback { display:block; font-size:14px; line-height:1.6; margin:12px 0; }
.mailing-feedback:empty { display:none; }
.mailing-privacy { display:inline-block; font-size:12px; margin-top:8px; padding-block:8px; }
.mailing-footer { display:flex; justify-content:space-between; gap:20px; font-size:12px; color:var(--mail-muted); padding-block:25px; }
.mailing-page :is(a,button,input,textarea,select,summary):focus-visible { outline:2px solid var(--mail-accent); outline-offset:3px; border-radius:4px; }
.mailing-skip { position:absolute; left:16px; top:-100px; background:var(--mail-paper); padding:12px; z-index:10; }
.mailing-skip:focus { top:12px; }
.mailing-notice { border-left:2px solid var(--mail-line); padding-left:12px; font-size:13px; line-height:1.6; margin-bottom:30px; color:var(--mail-muted); }
.mailing-text-button { background:transparent; color:var(--mail-ink); border:0; padding:12px 0; text-decoration:underline; text-underline-offset:4px; }
.mailing-controls .mailing-text-button { background:transparent; color:var(--mail-ink); border-color:transparent; white-space:normal; }
.mailing-page button, .mailing-page input, .mailing-page select, .mailing-page textarea { font-family:var(--font-interface); }
.mailing-page button:not(:disabled) { cursor:pointer; }
.mailing-page button:not(:disabled):hover { filter:brightness(.92); }
.mailing-page button:disabled { cursor:not-allowed; }
.mailing-page ::selection { background:var(--mail-accent); color:var(--mail-on-accent); }
.mailing-result>svg { margin-bottom:24px; }
.mailing-policy h1 { font-size:38px; }
.mailing-policy h2 { font-size:19px; font-weight:500; margin:30px 0 12px; }
.mailing-policy p { font-size:15px; line-height:1.8; margin:0 0 16px; }
.mailing-rehearsal-links { display:flex; flex-wrap:wrap; gap:16px; font-size:13px; margin-top:25px; }
@media(max-width:640px) { .mailing-header,.mailing-footer { width:calc(100% - 44px); } .mailing-header { height:80px; flex-basis:80px; } .mailing-main { width:calc(100% - 44px); padding:45px 0 55px; } .mailing-controls { flex-direction:column; } .mailing-controls button { justify-content:center; } .mailing-footer { flex-wrap:wrap; } .mailing-page h1 { font-size:38px; } }
@media(prefers-color-scheme:dark) { .mailing-page:not([data-theme="light"]) { --mail-bg:#12161b; --mail-paper:#1a1f26; --mail-ink:#e8ecf1; --mail-muted:#a9b3bf; --mail-line:#2e3640; --mail-button:#e8ecf1; --mail-on:#12161b; --mail-soft:#232a33; --mail-subtle:#1d232b; --mail-accent:#9cc0e6; --mail-accent-soft:#1f2c3a; --mail-on-accent:#10161d; --mail-good:#8fcfae; --mail-warn:#e4b877; --mail-bad:#eb9a9a; --rail-bg:#171c22; --rail-active:#252c35; --mail-deep:#0b1520; --mail-on-deep:#e9eef4; --mail-deep-muted:#9aa7b6; color-scheme:dark; } }
.mailing-page[data-theme="dark"] { --mail-bg:#12161b; --mail-paper:#1a1f26; --mail-ink:#e8ecf1; --mail-muted:#a9b3bf; --mail-line:#2e3640; --mail-button:#e8ecf1; --mail-on:#12161b; --mail-soft:#232a33; --mail-subtle:#1d232b; --mail-accent:#9cc0e6; --mail-accent-soft:#1f2c3a; --mail-on-accent:#10161d; --mail-good:#8fcfae; --mail-warn:#e4b877; --mail-bad:#eb9a9a; --rail-bg:#171c22; --rail-active:#252c35; --mail-deep:#0b1520; --mail-on-deep:#e9eef4; --mail-deep-muted:#9aa7b6; color-scheme:dark; }
.mailing-privacy, .mailing-footer a { display: inline-flex; align-items: center; min-height: 44px; }
/* A1 fuller surfaces: neutral grouping, with the signup and reports remaining the focus. */
.mailing-page--fuller .mailing-main { padding-top:32px; padding-bottom:40px; }
@media(min-width:1024px) {
  .mailing-page--fuller .mailing-main { width:min(800px,calc(100% - 96px)); align-items:flex-start; }
}
.mailing-fuller-content { width:100%; }
.mailing-surface-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:32px; }
.mailing-surface-grid>div { padding:24px; border-radius:8px; }
.mailing-surface-context { background:var(--mail-soft); }
.mailing-reading-word { display:flex; align-items:baseline; gap:14px; margin-top:20px; }
.mailing-reading-word>span[lang="ar"] { font:400 28px/1.5 var(--font-arabic); color:var(--mail-ink); }
.mailing-reading-word>span:last-child { font:400 14px/1.5 var(--font-interface); color:var(--mail-muted); }
.mailing-surface-compare { background:var(--mail-soft); }
.mailing-surface-grid h2 { font:500 18px/1.4 var(--font-interface); margin:0 0 12px; letter-spacing:-.01em; }
.mailing-surface-grid p { font:400 14px/1.7 var(--font-interface); color:var(--mail-muted); margin:0; }
.mailing-founder-note { background:var(--mail-subtle); border-radius:8px; padding:28px; margin-top:32px; }
.mailing-founder-note h2:first-child { margin-top:0; }
.mailing-founder-note p:last-child { margin-bottom:0; }
@media(max-width:640px) { .mailing-surface-grid { grid-template-columns:1fr; } .mailing-surface-grid>div,.mailing-founder-note { padding:20px; } }

/* The public website (owner direction 2026-09-27: modern, complete, ready to launch).
   Crisp cool-white ground, Source Sans 3 display set tight, lapis committed in whole fields
   (the research band, the call to action, the footer), one authored motion: the research pipeline.
   Colours come from mailing.css tokens only. */

.site { --site-width:1180px; --site-gutter:clamp(20px,4vw,40px); --radius:14px; }
.site .site-main { width:100%; max-width:none; margin:0; padding:0; display:block; flex:1; }
.site h1, .site h2, .site h3 { font-family:var(--font-interface); color:var(--mail-ink); text-wrap:balance; }
.site ::selection { background:var(--mail-accent); color:var(--mail-on-accent); }
.site :is(a,button,summary):focus-visible { outline:2px solid var(--mail-accent); outline-offset:3px; border-radius:6px; }

/* Header: sticky, and gains a hairline and a frosted ground only once the page scrolls. */
.site-header { position:sticky; top:0; z-index:40; background:color-mix(in srgb, var(--mail-bg) 0%, transparent); transition:background-color .2s ease, box-shadow .2s ease; }
.site-header--scrolled { background:color-mix(in srgb, var(--mail-bg) 88%, transparent); backdrop-filter:saturate(1.4) blur(12px); -webkit-backdrop-filter:saturate(1.4) blur(12px); box-shadow:0 1px 0 var(--mail-line); }
.site-header-inner { max-width:var(--site-width); margin:0 auto; padding:14px var(--site-gutter); display:flex; align-items:center; gap:24px; }
.site-logo { display:inline-flex; text-decoration:none !important; color:var(--mail-ink) !important; }
.site-logo .kutubi-wordmark { height:40px; gap:10px; }
.site-logo .kutubi-wordmark-arabic { font-size:28px; width:auto; }
.site-logo .kutubi-wordmark-latin { font-size:14px; font-weight:600; letter-spacing:.02em; }
.site-nav { display:flex; gap:2px; margin-inline-start:auto; }
.site-nav a, .site-sign-in { display:inline-flex; align-items:center; min-height:40px; padding:0 14px; border-radius:999px; font-size:15px; font-weight:500; color:var(--mail-muted) !important; text-decoration:none !important; transition:background-color .16s ease, color .16s ease; }
.site-nav a:hover, .site-sign-in:hover { background:var(--mail-soft); color:var(--mail-ink) !important; }
.site-nav a[aria-current="page"] { background:var(--mail-accent-soft); color:var(--mail-accent) !important; }
.site-actions { display:flex; align-items:center; gap:8px; }
.site-cta { display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:0 18px; border-radius:999px; background:var(--mail-ink); color:var(--mail-bg) !important; font-size:15px; font-weight:600; text-decoration:none !important; transition:background-color .16s ease, transform .2s cubic-bezier(.16,1,.3,1); }
.site-cta:hover { background:var(--mail-accent); color:var(--mail-on-accent) !important; }
.site-cta svg { transition:transform .2s cubic-bezier(.16,1,.3,1); }
.site-cta:hover svg { transform:translateX(3px); }
.site .site-menu-button { display:none; width:42px; height:42px; min-height:42px; padding:0; place-items:center; border:1px solid var(--mail-line); border-radius:999px; background:var(--mail-paper); color:var(--mail-ink); }
.site-menu { display:none; }
@media (max-width:1020px) {
  .site-nav, .site-sign-in { display:none; }
  .site-actions { margin-inline-start:auto; }
  .site .site-menu-button { display:grid; }
  .site-menu--open { display:grid; align-content:start; gap:18px; position:fixed; inset:68px 0 0; padding:18px var(--site-gutter) 32px; background:var(--mail-bg); border-top:1px solid var(--mail-line); overflow:auto; z-index:39; }
  .site-menu nav { display:grid; }
  .site-menu nav a { padding:16px 4px; font-size:20px; font-weight:600; color:var(--mail-ink) !important; text-decoration:none !important; border-bottom:1px solid var(--mail-line); }
  .site-menu nav a[aria-current="page"] { color:var(--mail-accent) !important; }
  .site-cta--block { justify-content:center; min-height:52px; font-size:17px; }
}
@media (max-width:480px) { .site-header-inner .site-cta { display:none; } .site-menu .site-cta { display:inline-flex; } }

/* Buttons and links shared by every public page. */
.site-cta-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.site-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 20px; border-radius:12px; border:1px solid var(--mail-line); background:var(--mail-paper); color:var(--mail-ink) !important; font:600 15px/1 var(--font-interface); text-decoration:none !important; cursor:pointer; transition:background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .2s ease, transform .2s cubic-bezier(.16,1,.3,1); }
.site-button:hover { border-color:var(--mail-ink); box-shadow:0 8px 20px -14px rgba(14,28,43,.45); transform:translateY(-1px); }
.site-button--primary { background:var(--mail-ink); border-color:var(--mail-ink); color:var(--mail-bg) !important; }
.site-button--primary:hover { background:var(--mail-accent); border-color:var(--mail-accent); color:var(--mail-on-accent) !important; }
.site-button--large { min-height:54px; padding:0 26px; font-size:16px; border-radius:14px; }
.site-button svg { transition:transform .2s cubic-bezier(.16,1,.3,1); }
.site-button:hover svg { transform:translateX(3px); }
.site-link, .site-link-on-deep { display:inline-flex; align-items:center; gap:6px; font-weight:600; text-decoration:none !important; color:var(--mail-accent) !important; }
.site-link:hover svg, .site-link-on-deep:hover svg { transform:translateX(3px); }
.site-link svg, .site-link-on-deep svg { transition:transform .2s cubic-bezier(.16,1,.3,1); }
.site-link-on-deep { color:var(--mail-on-deep) !important; margin-top:8px; }
.site-note { font-size:14px; color:var(--mail-muted); margin:16px 0 0; }
.site-lede { font-size:clamp(17px,1.5vw,19px); line-height:1.65; color:var(--mail-muted); max-width:58ch; margin:0 0 28px; }

/* Page scaffolding. */
.site-page, .home > .site-section, .home-hero, .home-subjects, .site-section { max-width:var(--site-width); margin-inline:auto; padding-inline:var(--site-gutter); }
.site-page { padding-top:clamp(40px,7vw,88px); padding-bottom:40px; }
.site-page--narrow { max-width:820px; }
.site-page-head h1 { font-size:clamp(2.3rem,5vw,3.6rem); line-height:1.05; letter-spacing:-.03em; font-weight:700; margin:0 0 20px; max-width:18ch; }
.site-page-head { margin-bottom:clamp(32px,5vw,56px); }
.site-page-head--split { display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.site-section { padding-top:clamp(56px,8vw,104px); padding-bottom:0; }
.site-section > h2, .home-section-head h2, .site-cta-band h2, .site-band h2 { font-size:clamp(1.8rem,3.4vw,2.6rem); line-height:1.1; letter-spacing:-.025em; font-weight:700; margin:0 0 14px; }
.site-section-lede { font-size:17px; line-height:1.65; color:var(--mail-muted); max-width:60ch; margin:0 0 32px; }
.home-section-head { display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; }
.site-split { display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.site-figure { margin:0; padding:28px; background:var(--mail-paper); border:1px solid var(--mail-line); border-radius:var(--radius); }
.site-figure figcaption { font-size:14px; color:var(--mail-muted); margin-top:14px; line-height:1.6; }
.site-list { list-style:none; padding:0; margin:16px 0 0; display:grid; gap:18px; }
.site-list li { display:grid; grid-template-columns:24px 1fr; gap:12px; line-height:1.6; color:var(--mail-muted); }
.site-list strong { color:var(--mail-ink); }
.site-list--no svg { color:var(--mail-bad); margin-top:3px; }
@media (max-width:900px) { .site-page-head--split, .site-split { grid-template-columns:1fr; } }

/* Home: hero. The answer sits on a lapis field, the one saturated surface above the fold. */
.home-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(32px,5vw,72px); align-items:center; padding-top:clamp(40px,7vw,96px); padding-bottom:clamp(40px,6vw,80px); }
.home-hero h1 { font-size:clamp(2.6rem,5.6vw,4.6rem); line-height:1.02; letter-spacing:-.035em; font-weight:700; margin:0 0 24px; }
.home-hero h1 span { display:block; color:var(--mail-accent); }
.home-proof { list-style:none; padding:0; margin:28px 0 0; display:flex; flex-wrap:wrap; gap:10px 22px; font-size:14.5px; color:var(--mail-muted); }
.home-proof li { display:inline-flex; align-items:center; gap:8px; }
.home-proof svg { color:var(--mail-accent); }
.home-hero-stage { position:relative; padding:clamp(20px,3vw,40px); border-radius:28px; background:radial-gradient(120% 90% at 85% 0%, #2a6096 0%, #1c4a73 45%, #12314d 100%); overflow:hidden; isolation:isolate; }
.home-hero-stage .sample-answer { box-shadow:0 40px 80px -40px rgba(0,0,0,.6); border-color:transparent; }
@media (max-width:960px) { .home-hero { grid-template-columns:1fr; } }

/* Home: the subjects marquee. */
.home-subjects { padding-top:12px; padding-bottom:12px; text-align:center; }
.home-subjects > p { font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--mail-muted); margin:0 0 14px; font-weight:600; }
.marquee { overflow:hidden; -webkit-mask:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { list-style:none; margin:0; padding:0; display:flex; gap:10px; width:max-content; animation:kutubi-marquee 48s linear infinite; }
.marquee li { font-size:16px; padding:8px 16px; border-radius:999px; border:1px solid var(--mail-line); background:var(--mail-paper); white-space:nowrap; }
.marquee:hover ul { animation-play-state:paused; }
@keyframes kutubi-marquee { to { transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce) { .marquee ul { animation:none; flex-wrap:wrap; width:auto; justify-content:center; } .marquee li[aria-hidden="true"] { display:none; } .marquee { -webkit-mask:none; mask:none; } }

/* The deep lapis band and the research pipeline: the site's signature. */
.site-band { max-width:none; margin:clamp(56px,8vw,104px) 0 0; padding:clamp(56px,8vw,104px) var(--site-gutter); }
.site-band--deep { background:var(--mail-deep); color:var(--mail-on-deep); }
.site-band--deep h2 { color:var(--mail-on-deep); }
.site-band > * { max-width:var(--site-width); margin-inline:auto; }
.site-band-note { color:var(--mail-deep-muted); margin-top:32px; font-size:15px; }
.site-page .site-band { margin-inline:calc(var(--site-gutter) * -1); border-radius:0; }
.home-pipeline { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(32px,6vw,88px); align-items:start; }
.home-pipeline > * { margin:0; }
.home-pipeline-head { position:sticky; top:120px; }
.home-pipeline-head p { color:var(--mail-deep-muted); font-size:17px; line-height:1.65; margin:0 0 12px; }
.pipeline { --pipeline-fill:1; list-style:none; margin:0; padding:0; display:grid; gap:0; position:relative; }
.pipeline::before, .pipeline::after { content:''; position:absolute; left:19px; top:20px; width:2px; border-radius:2px; }
.pipeline::before { bottom:20px; background:color-mix(in srgb, currentColor 18%, transparent); }
.pipeline::after { height:calc((100% - 40px) * var(--pipeline-fill)); background:#7fb0e0; }
.pipeline-step { display:grid; grid-template-columns:40px 1fr; gap:20px; padding:0 0 30px; position:relative; }
.pipeline-step:last-child { padding-bottom:0; }
.pipeline-node { position:relative; z-index:1; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; font-weight:700; font-size:15px; background:var(--mail-paper); color:var(--mail-accent); border:2px solid var(--mail-line); transition:background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.pipeline-step h3 { font-size:19px; margin:7px 0 6px; letter-spacing:-.01em; }
.pipeline-step p { margin:0; line-height:1.6; color:var(--mail-muted); max-width:52ch; }
.pipeline--on-deep .pipeline-step h3 { color:var(--mail-on-deep); }
.pipeline--on-deep .pipeline-step p { color:var(--mail-deep-muted); }
.pipeline--on-deep .pipeline-node { background:#15293d; color:#cfe0f1; border-color:#2b4561; }
.pipeline--on-deep .pipeline-step.is-lit .pipeline-node, .pipeline--on-deep:not(.is-animated) .pipeline-node { background:#7fb0e0; color:#0e1c2b; border-color:#7fb0e0; box-shadow:0 0 0 6px rgba(127,176,224,.18); }
@media (max-width:900px) { .home-pipeline { grid-template-columns:1fr; } .home-pipeline-head { position:static; } }

/* Answer anatomy. */
.anatomy { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(24px,4vw,56px); align-items:center; }
.anatomy-sample .sample-answer { box-shadow:0 30px 60px -44px rgba(14,28,43,.5); }
.anatomy-notes { list-style:none; margin:0; padding:0; display:grid; gap:0; counter-reset:note; }
.anatomy-notes li { counter-increment:note; display:grid; grid-template-columns:34px 1fr; column-gap:14px; padding:18px 0; border-top:1px solid var(--mail-line); }
.anatomy-notes li:last-child { border-bottom:1px solid var(--mail-line); }
.anatomy-notes li::before { content:counter(note); grid-row:span 2; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--mail-accent-soft); color:var(--mail-accent); font-weight:700; font-size:14px; }
.anatomy-notes strong { font-size:17px; }
.anatomy-notes span { color:var(--mail-muted); line-height:1.55; }
@media (max-width:900px) { .anatomy { grid-template-columns:1fr; } }

/* Comparison table. */
.home-compare-wrap { overflow-x:auto; border:1px solid var(--mail-line); border-radius:var(--radius); background:var(--mail-paper); }
.home-compare { width:100%; border-collapse:collapse; font-size:15.5px; }
.home-compare th, .home-compare td { text-align:start; padding:18px 22px; border-top:1px solid var(--mail-line); vertical-align:top; line-height:1.5; }
.home-compare thead th { border-top:0; font-size:14px; color:var(--mail-muted); font-weight:600; }
.home-compare thead th:last-child { color:var(--mail-accent); }
.home-compare tbody th { font-weight:600; width:26%; }
.home-compare td { color:var(--mail-muted); }
.home-compare td svg { vertical-align:-3px; margin-inline-end:8px; }
.home-compare td:last-child { color:var(--mail-ink); background:color-mix(in srgb, var(--mail-accent-soft) 45%, transparent); }
.home-compare td:last-child svg { color:var(--mail-accent); }
@media (max-width:680px) {
  .home-compare thead { display:none; }
  .home-compare tr { display:grid; border-top:1px solid var(--mail-line); }
  .home-compare tbody tr:first-child { border-top:0; }
  .home-compare th, .home-compare td { border-top:0; padding:10px 18px; width:auto; }
  .home-compare tbody th { padding-top:18px; }
  .home-compare td:last-child { padding-bottom:18px; }
}

/* App promotion and the app page. */
.home-app { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.home-app-visual { position:relative; display:grid; place-items:center; min-height:300px; border-radius:24px; background:var(--mail-soft); overflow:hidden; }
.home-app-khatam { position:absolute; width:420px; height:420px; opacity:.5; }
.app-phone { position:relative; display:grid; justify-items:center; align-content:start; gap:10px; width:180px; height:320px; padding-top:40px; border-radius:34px; border:8px solid var(--mail-ink); background:linear-gradient(180deg, var(--mail-paper), var(--mail-subtle)); box-shadow:0 30px 60px -30px rgba(14,28,43,.55); font-size:13px; font-weight:600; }
.app-phone-icon img { display:block; border-radius:16px; box-shadow:0 8px 16px -8px rgba(14,28,43,.5); }
.app-phone--large { transform:rotate(-4deg); }
.app-devices { position:relative; min-height:320px; }
.app-window { position:absolute; inset:0 60px 40px 0; border-radius:14px; border:1px solid var(--mail-line); background:var(--mail-paper); box-shadow:0 30px 60px -40px rgba(14,28,43,.5); overflow:hidden; }
.app-window-bar { display:flex; align-items:center; gap:6px; padding:10px 14px; background:var(--mail-soft); font-size:12px; color:var(--mail-muted); }
.app-window-bar i { width:9px; height:9px; border-radius:50%; background:var(--mail-line); }
.app-window-bar span { margin-inline-start:8px; }
.app-window-body { padding:32px 48px; }
.app-devices .app-phone { position:absolute; right:0; bottom:0; width:140px; height:250px; padding-top:30px; }
.app-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.site .app-tab { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 16px; border-radius:999px; border:1px solid var(--mail-line); background:var(--mail-paper); color:var(--mail-muted); font:600 15px/1 var(--font-interface); cursor:pointer; }
.site .app-tab:hover { color:var(--mail-ink); border-color:var(--mail-ink); }
.site .app-tab--active { background:var(--mail-ink); border-color:var(--mail-ink); color:var(--mail-bg); }
.app-steps { border:1px solid var(--mail-line); border-radius:var(--radius); background:var(--mail-paper); padding:24px; }
.app-browser { display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--mail-muted); margin:0 0 12px; }
.app-steps ol { list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.app-steps li { display:grid; grid-template-columns:36px 1fr; gap:14px; align-items:start; }
.app-steps li span { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--mail-accent-soft); color:var(--mail-accent); font-weight:700; }
.app-steps li p { margin:5px 0 0; line-height:1.6; }
.app-installed { display:inline-flex; align-items:center; gap:8px; color:var(--mail-good); font-weight:600; margin:0; }
@media (max-width:900px) { .home-app { grid-template-columns:1fr; } .app-devices { min-height:260px; } }

/* Plans teaser. */
.home-plans { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.home-plan { display:grid; gap:6px; padding:22px 24px; border:1px solid var(--mail-line); border-radius:var(--radius); background:var(--mail-paper); }
.home-plan span { color:var(--mail-muted); font-weight:600; font-size:14px; }
.home-plan strong { font-size:34px; letter-spacing:-.02em; }
.home-plan small { font-size:15px; color:var(--mail-muted); font-weight:500; letter-spacing:0; }
.home-plan--recommended { border:2px solid var(--mail-accent); }
.home-plan--recommended span { color:var(--mail-accent); }
@media (max-width:760px) { .home-plans { grid-template-columns:1fr; } }

/* FAQ, shared by the home page and the FAQ page. */
.faq-group { margin-bottom:40px; }
.faq-group h2 { font-size:15px; letter-spacing:.06em; text-transform:uppercase; color:var(--mail-muted); font-weight:700; margin:0 0 8px; }
.faq-item { border-bottom:1px solid var(--mail-line); }
.faq-group .faq-item:first-of-type, .home-faq .faq-item:first-of-type { border-top:1px solid var(--mail-line); }
.faq-item summary { list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:64px; padding:14px 4px; font-size:18px; font-weight:600; cursor:pointer; transition:color .16s ease; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:''; flex-shrink:0; width:12px; height:12px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translate(-3px,-3px); transition:transform .25s cubic-bezier(.16,1,.3,1); color:var(--mail-muted); }
.faq-item[open] summary::after { transform:rotate(225deg) translate(-3px,-3px); }
.faq-item summary:hover { color:var(--mail-accent); }
.faq-item p { margin:0 4px 22px; color:var(--mail-muted); line-height:1.7; max-width:68ch; font-size:16.5px; }

/* Calls to action. */
.site-cta-band { max-width:calc(var(--site-width) - var(--site-gutter) * 2); margin:clamp(64px,9vw,112px) auto 0; padding:clamp(40px,6vw,72px); border-radius:28px; background:radial-gradient(120% 120% at 100% 0%, #2a6096 0%, #1c4a73 50%, #12314d 100%); color:var(--mail-on-deep); text-align:center; }
.site-cta-band h2 { color:#fff; max-width:22ch; margin-inline:auto; }
.site-cta-band > p { color:#c9d8e8; margin:0 auto 28px; max-width:56ch; font-size:17px; line-height:1.6; }
.site-cta-band .site-cta-row { justify-content:center; }
.site-cta-band .site-button { background:transparent; border-color:rgba(255,255,255,.35); color:#fff !important; }
.site-cta-band .site-button:hover { border-color:#fff; background:rgba(255,255,255,.08); }
.site-cta-band .site-button--primary { background:#fff; border-color:#fff; color:#0e1c2b !important; }
.site-cta-band .site-button--primary:hover { background:#dbe8f5; border-color:#dbe8f5; color:#0e1c2b !important; }
.site-cta-band--quiet { background:var(--mail-soft); color:var(--mail-ink); }
.site-cta-band--quiet h2 { color:var(--mail-ink); }
.site-cta-band--quiet > p { color:var(--mail-muted); }
.site-cta-band--quiet .site-button { background:var(--mail-paper); border-color:var(--mail-line); color:var(--mail-ink) !important; }
.site-cta-band--quiet .site-button--primary { background:var(--mail-ink); border-color:var(--mail-ink); color:var(--mail-bg) !important; }

/* Contact and legal. */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-card { display:grid; gap:4px; padding:24px; border:1px solid var(--mail-line); border-radius:var(--radius); background:var(--mail-paper); color:var(--mail-ink) !important; text-decoration:none !important; transition:border-color .16s ease, box-shadow .2s ease, transform .2s cubic-bezier(.16,1,.3,1); }
.contact-card:hover { border-color:var(--mail-accent); box-shadow:0 14px 30px -24px rgba(14,28,43,.5); transform:translateY(-2px); }
.contact-card strong { font-size:19px; }
.contact-card span { color:var(--mail-accent); font-weight:600; }
.contact-card p { margin:6px 0 0; color:var(--mail-muted); line-height:1.55; }
@media (max-width:640px) { .contact-grid { grid-template-columns:1fr; } }
.legal h2 { font-size:22px; letter-spacing:-.01em; margin:36px 0 10px; }
.legal p, .legal li { color:var(--mail-muted); line-height:1.75; font-size:16.5px; }
.legal li { margin-bottom:8px; }
.legal li strong { color:var(--mail-ink); }
.legal-draft { padding:12px 16px; border-radius:10px; background:color-mix(in srgb, var(--mail-warn) 11%, transparent); color:var(--mail-warn); font-size:14.5px; line-height:1.55; margin:0 0 8px; }
.site-not-found { text-align:center; padding-bottom:40px; }
.site-not-found .kutubi-illustration { width:180px; margin:0 auto 16px; }
.site-not-found h1 { font-size:clamp(2rem,4vw,2.8rem); letter-spacing:-.03em; margin:0 0 12px; }
.site-not-found .site-lede { margin-inline:auto; }
.site-not-found .site-cta-row { justify-content:center; }

/* Footer: deep lapis, four columns and a base line. */
.site-footer { margin-top:clamp(64px,9vw,112px); background:var(--mail-deep); color:var(--mail-deep-muted); }
.site-footer-inner { max-width:var(--site-width); margin:0 auto; padding:clamp(48px,6vw,72px) var(--site-gutter) 40px; display:grid; grid-template-columns:1.6fr repeat(4,1fr); gap:32px; }
.site-footer .site-logo { color:var(--mail-on-deep) !important; }
.site-footer-brand p { margin:16px 0; line-height:1.6; max-width:34ch; font-size:15px; }
.site-footer-mail { color:var(--mail-on-deep) !important; font-weight:600; text-decoration-color:rgba(233,238,244,.35) !important; }
.site-footer-column h2 { font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--mail-on-deep); margin:10px 0 14px; font-weight:700; }
.site-footer-column ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.site-footer-column a { color:var(--mail-deep-muted) !important; text-decoration:none !important; font-size:15px; transition:color .16s ease; }
.site-footer-column a:hover { color:#fff !important; }
.site-footer-base { max-width:var(--site-width); margin:0 auto; padding:20px var(--site-gutter) 32px; display:flex; flex-wrap:wrap; gap:8px 28px; border-top:1px solid rgba(233,238,244,.12); font-size:13.5px; }
.site-footer-base p { margin:0; }
@media (max-width:900px) { .site-footer-inner { grid-template-columns:1fr 1fr; } .site-footer-brand { grid-column:1 / -1; } }

/* Existing public pages inside the new frame: pricing, sign-in, about and help keep their layouts. */
.site .product-main:has(.pricing), .site .product-main:has(.product-sign-in), .site .product-main:has(.product-help), .site .product-main:has(.mailing-intro) { width:auto; max-width:var(--site-width); margin-inline:auto; padding:clamp(40px,6vw,80px) var(--site-gutter) 0; }
.site .pricing-head h1, .site .product-help h1, .site .mailing-intro h1, .site .product-sign-in h1 { font-family:var(--font-interface); font-weight:700; letter-spacing:-.03em; }
.site .product-main:has(.product-help) { max-width:860px; }

@media (prefers-reduced-motion:reduce) { .site *, .site *::before, .site *::after { transition:none !important; } }

/* Sample research: the answers written during testing. */
.samples-disclaimer { display:inline-block; margin:0; padding:10px 14px; border-radius:10px; background:color-mix(in srgb, var(--mail-warn) 10%, transparent); color:var(--mail-warn); font-size:14.5px; line-height:1.55; max-width:70ch; }
.samples-filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; padding:0; border:0; min-width:0; }
.site .samples-filters button { min-height:40px; padding:0 16px; border-radius:999px; border:1px solid var(--mail-line); background:var(--mail-paper); color:var(--mail-muted); font:600 14px/1 var(--font-interface); cursor:pointer; transition:background-color .16s ease, color .16s ease, border-color .16s ease; }
.site .samples-filters button:hover { color:var(--mail-ink); border-color:var(--mail-ink); }
.site .samples-filters button[aria-pressed="true"] { background:var(--mail-ink); border-color:var(--mail-ink); color:var(--mail-bg); }
.samples-grid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); gap:14px; }
.sample-card { height:100%; display:grid; grid-template-rows:auto 1fr auto auto; gap:12px; padding:22px; border:1px solid var(--mail-line); border-radius:var(--radius); background:var(--mail-paper); color:var(--mail-ink) !important; text-decoration:none !important; transition:border-color .16s ease, box-shadow .2s ease, transform .2s cubic-bezier(.16,1,.3,1); }
.sample-card:hover { border-color:var(--mail-accent); box-shadow:0 16px 34px -26px rgba(14,28,43,.5); transform:translateY(-2px); }
.sample-card strong { font-size:17.5px; line-height:1.4; letter-spacing:-.005em; }
.sample-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; font-size:13px; color:var(--mail-muted); }
.sample-kind { display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:999px; font-size:12px; font-weight:700; background:var(--mail-soft); color:var(--mail-ink); }
.sample-kind--benchmark { background:var(--mail-accent-soft); color:var(--mail-accent); }
.sample-kind--stress { background:color-mix(in srgb, var(--mail-warn) 12%, transparent); color:var(--mail-warn); }
.sample-kind--live { background:color-mix(in srgb, var(--mail-good) 12%, transparent); color:var(--mail-good); }
.sample-foot { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; font-size:13px; color:var(--mail-muted); }
.sample-check { display:inline-flex; align-items:center; gap:5px; color:var(--mail-good); font-weight:600; }
.sample-read { display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:14px; color:var(--mail-accent); }
.sample-card:hover .sample-read svg { transform:translateX(3px); }
.sample-read svg { transition:transform .2s cubic-bezier(.16,1,.3,1); }
.samples-skeleton { grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); }
.samples-skeleton span { height:190px; border-radius:var(--radius); }
.sample-back { margin-bottom:28px; }
.sample-head h1 { font-size:clamp(1.9rem,4vw,2.7rem); line-height:1.12; letter-spacing:-.03em; margin:14px 0 32px; }
.sample-topic { display:inline-flex; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:700; background:var(--mail-accent-soft); color:var(--mail-accent); }
.sample-kind-note { color:var(--mail-muted); line-height:1.6; margin:0 0 32px; font-size:15.5px; }
.sample-reader .product-answer { max-width:none; }
.sample-answer-text .written-once p, .sample-answer-text .written-once li { font-family:var(--font-reading); font-size:19px; line-height:1.75; }
.sample-answer-text .written-once :is(h2,h3,h4) { font-family:var(--font-interface); font-size:21px; font-weight:700; margin:32px 0 10px; }
.sample-quotations, .sample-limits { margin-top:40px; padding-top:28px; border-top:1px solid var(--mail-line); }
.sample-quotations h2, .sample-limits h2 { font-size:22px; letter-spacing:-.01em; margin:0 0 6px; }
.sample-quotations .source-quote { font-size:18px; margin:18px 0; }
.sample-limits ul { margin:12px 0 0; padding-inline-start:20px; color:var(--mail-muted); line-height:1.7; }
.sample-limits li { margin-bottom:8px; }
.sample-next { margin-top:40px; }
.sample-card--next { grid-template-rows:auto auto; }
.sample-card--next span { font-size:13px; font-weight:700; color:var(--mail-accent); text-transform:uppercase; letter-spacing:.06em; }
.site .product-main:has(.help-centre) { width:auto; max-width:1060px; margin-inline:auto; padding:clamp(40px,6vw,80px) var(--site-gutter) 0; }
.home-deleted { display:block; max-width:var(--site-width); margin:20px auto 0; padding:12px 18px; border-radius:12px; background:var(--mail-accent-soft); color:var(--mail-accent); font-weight:600; width:calc(100% - var(--site-gutter) * 2); }

/* Motion for a modern feel, never flashy (owner direction 2026-10-01). Everything here stops for
   anyone whose device asks for reduced motion. */

/* 1. Sections glide into place as the reader reaches them (site-motion.jsx adds the classes). */
.site .reveal { opacity:0; transform:translateY(18px); transition:opacity .7s cubic-bezier(.16,1,.3,1) var(--reveal-delay,0ms), transform .8s cubic-bezier(.16,1,.3,1) var(--reveal-delay,0ms); }
.site .reveal.is-revealed { opacity:1; transform:none; }

/* 2. The hero's live demo: a cursor while the question is being typed. */
.home-hero .sample-answer-question.is-typing::after { content:''; display:inline-block; width:2px; height:1.1em; margin-inline-start:2px; vertical-align:-.15em; background:currentColor; animation:kutubi-caret 1s steps(1) infinite; }
@keyframes kutubi-caret { 50% { opacity:0; } }

/* 3. Cards and rows respond to the pointer. */
.home-plan { transition:border-color .2s ease, box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1); }
.home-plan:hover { border-color:var(--mail-accent); box-shadow:0 18px 36px -28px rgba(14,28,43,.55); transform:translateY(-3px); }
.faq-item summary { transition:color .15s ease, padding-inline-start .25s cubic-bezier(.16,1,.3,1); }
.faq-item summary:hover { padding-inline-start:6px; }
.home-compare tbody tr { transition:background-color .2s ease; }
.home-compare tbody tr:hover { background:var(--mail-subtle); }
.anatomy-notes li { transition:transform .25s cubic-bezier(.16,1,.3,1); }
.anatomy-notes li:hover { transform:translateX(4px); }

/* 4. A slow, faint glow drifting behind the hero panel and the dark sections. */
.home-hero-stage, .site-band--deep, .site-cta-band { position:relative; isolation:isolate; overflow:hidden; }
.home-hero-stage::before, .site-band--deep::before, .site-cta-band::before {
  content:''; position:absolute; inset:-40%; z-index:-1; pointer-events:none;
  background:radial-gradient(closest-side at 30% 30%, rgba(127,176,224,.22), transparent 70%), radial-gradient(closest-side at 75% 70%, rgba(127,176,224,.12), transparent 70%);
  animation:kutubi-drift 38s ease-in-out infinite alternate;
}
.site-band--deep > :not(.home-pipeline-head), .site-cta-band > * { position:relative; }
@keyframes kutubi-drift { from { transform:translate3d(-6%, -4%, 0) rotate(0deg); } to { transform:translate3d(6%, 5%, 0) rotate(8deg); } }

@media (prefers-reduced-motion:reduce) {
  .site .reveal { opacity:1; transform:none; transition:none; }
  .home-hero .sample-answer-question.is-typing::after { animation:none; }
  .home-hero-stage::before, .site-band--deep::before, .site-cta-band::before { animation:none; }
  .home-plan, .faq-item summary, .anatomy-notes li { transition:none; }
  .home-plan:hover, .anatomy-notes li:hover { transform:none; }
  .faq-item summary:hover { padding-inline-start:0; }
}
fieldset.app-tabs { border:0; padding:0; margin-inline:0; min-width:0; }
.billing-plan--chosen { border-color:var(--mail-accent) !important; box-shadow:0 0 0 1px var(--mail-accent); }

/* A1 Contemporary Editorial (ADR 0025): an operating layout for the paid product,
   sharing brand primitives with public pages without reusing their composition. */
.product-page { --muted:var(--mail-muted); --border:var(--mail-line); line-height:1.6; }
.product-page--signed-in { display:grid; grid-template-columns:224px minmax(0,1fr); grid-template-rows:88px 1fr auto; }
.product-page--signed-in .product-header { grid-column:1; grid-row:1; width:auto; margin:0; height:88px; padding:20px 24px; background:var(--rail-bg); position:sticky; top:0; z-index:3; }
.product-rail { grid-column:1; grid-row:2 / 4; background:var(--rail-bg); padding:16px 16px 24px; display:flex; flex-direction:column; gap:24px; }
.product-rail { position:sticky; top:88px; height:calc(100dvh - 88px); overflow-y:auto; align-self:start; }
.product-new { display:flex; align-items:center; gap:8px; padding:12px; min-height:44px; border-radius:8px; background:var(--mail-button); color:var(--mail-on) !important; font-size:13px; text-decoration:none; }
.product-history { display:grid; gap:4px; }
.product-history a { display:block; min-height:44px; padding:10px 12px; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-decoration:none; border-radius:8px; }
.product-history a:hover, .product-history a[aria-current="page"] { background:var(--rail-active); }
.product-topbar { grid-column:2; grid-row:1; display:flex; align-items:center; justify-content:space-between; padding:0 40px; gap:16px; border-bottom:1px solid var(--mail-line); font-size:13px; }
.product-topbar span:last-child { color:var(--mail-muted); }
.product-account { margin-top:auto; padding:16px 8px 0; border-top:1px solid var(--mail-line); display:grid; gap:4px; font-size:13px; }
.product-account-label { color:var(--mail-muted); font-size:12px; }
.product-account-email { overflow-wrap:anywhere; }
.product-account button { display:flex; align-items:center; gap:8px; justify-self:start; text-decoration:none; font-size:13px; min-height:44px; }
.product-page--signed-in .product-main { grid-column:2; grid-row:2; padding:56px 0 64px; margin:0 auto; flex:none; }
.product-page--signed-in .mailing-footer { grid-column:2; grid-row:3; width:calc(100% - 80px); border-top:1px solid var(--mail-line); }
.product-page h1 { font-size:2.5rem; line-height:1.16; letter-spacing:-.03em; margin-bottom:32px; }
.product-page .mailing-intro h1 { font-size:clamp(2.25rem,4vw,3.5rem); }
.product-page .mailing-small { font-size:13px; max-width:65ch; }
.product-page .mailing-notice { border:1px solid var(--mail-line); border-radius:8px; padding:12px 16px; margin:0 0 24px; background:var(--rail-bg); }
.product-page .mailing-text-button { min-height:44px; }
/* :where keeps this default low in priority, so a component can style its own buttons. */
.product-page button:where(:not(.mailing-text-button):not(.product-menu):not(.product-send):not(.product-google-button)) { min-height:44px; border:1px solid var(--mail-button); border-radius:8px; background:var(--mail-button); color:var(--mail-on); padding:10px 16px; font:500 14px/1.5 var(--font-interface); }
.product-page .mailing-controls { flex-wrap:wrap; }
.product-page :is(input,textarea,select) { caret-color:var(--mail-ink); }
.product-page a:hover { text-decoration-thickness:2px; }
.product-main:focus { outline:none; }
.product-header { justify-content: space-between; gap: 16px; }
.product-menu { display:none; }
.product-nav { display:grid; gap:6px; font-size:14px; }
.product-nav a { display:flex; gap:10px; align-items:center; min-height:48px; padding:10px 12px; border-radius:8px; text-decoration:none; }
.product-nav a:hover, .product-nav a[aria-current="page"] { background:var(--rail-active); }
.product-nav a[aria-current="page"] { font-weight:500; }
.product-nav svg { flex-shrink:0; }
.product-nav .mailing-text-button { font-size: 13px; }
.product-muted { color: var(--mail-muted); font-size: 13px; }
.product-single { max-width: 320px; }
@media (max-width: 640px) {
  .product-header { height: auto; min-height: 80px; flex-wrap: wrap; padding-block: 12px; }
  .product-nav { flex-wrap: wrap; gap: 10px 14px; }
  .product-nav .product-muted { overflow-wrap: anywhere; }
}

/* Research pages (build step 2). The answer styles mirror the reader's, on the A1 palette. */
.product-main:has(.product-research) { align-items:flex-start; width:min(780px,calc(100% - 80px)); }
.product-research { width: 100%; }
.product-research h1 { font-size:2.5rem; }
.product-question { font-size: clamp(24px, 3vw, 32px) !important; line-height: 1.3 !important; letter-spacing: -.02em !important; }
.product-ask textarea { width: 100%; border: 1px solid var(--mail-line); border-radius: 10px; padding: 14px; background: var(--mail-paper); color: var(--mail-ink); font: 16px/1.6 var(--font-interface); resize: vertical; }
.product-lengths { border:0; padding:0; margin:24px 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; min-width:0; }
.product-length-detail { display:block; font-size:12px; color:var(--mail-muted); margin-top:2px; line-height:1.5; }
.product-lengths legend { font-size: 13px; margin-bottom: 8px; }
.product-lengths label { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 0; }
.product-subheading { font-size: 19px; font-weight: 500; margin: 42px 0 12px; }
.product-requests { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mail-line); }
.product-requests li { border-bottom: 1px solid var(--mail-line); }
.product-requests a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; text-decoration: none; }
.product-request-question { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-status { font-size: 12px; color: var(--mail-muted); }
.product-status--completed { color: var(--mail-good); font-weight: 600; }
.product-status--failed, .product-status--interrupted { color: var(--mail-bad); }
.product-timer { font-size: 12px; color: var(--mail-muted); text-align: right; }
.product-offline { border: 1px solid var(--mail-line); background: var(--mail-paper); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.6; }
.product-answer { margin-top: 28px; }
.product-answer .written-once h2, .product-answer .written-once h3, .product-answer .written-once h4 { font-weight: 600; line-height: 1.35; margin: 30px 0 12px; font-size: 20px; letter-spacing: 0; }
.product-answer { max-width:70ch; }
.product-answer .written-once p, .product-answer .written-once li { font-family:var(--font-reading); font-size:20px; line-height:1.75; font-optical-sizing:auto; overflow-wrap:anywhere; }
.product-answer .inline-citation q { font-family:var(--font-arabic); font-size:22px; line-height:1.9; quotes:'«' '»'; }
.product-answer .inline-translation, .product-answer .inline-citation cite { color: var(--mail-muted); }
.product-answer .inline-citation cite { font-style: normal; font-size: 14px; }
.product-answer .observation-note { color: var(--mail-muted); font-size: 14px; }
.product-answer .scope-note, .product-answer .bibliography { border-top: 1px solid var(--mail-line); margin-top: 26px; padding-top: 16px; }
.product-answer .scope-note h2, .product-answer .bibliography h2 { font-size: 16px; font-weight: 600; margin: 0 0 10px; letter-spacing: 0; }
.product-answer .scope-note p, .product-answer .bibliography li { font-size: 14px; line-height: 1.7; color: var(--mail-muted); }
.product-answer .ai-notice { border-top: 1px solid var(--mail-line); margin-top: 22px; padding-top: 14px; font-size: 13px; line-height: 1.7; color: var(--mail-muted); }
.product-offline { display: block; margin: 0 0 18px; }

/* Tablets (checked 600–1366px wide, 2026-09-24). The content column shares the header's side
   margins wherever it is not narrower anyway, so the logo, the page and the footer start on one line. */
@media (min-width: 641px) {
  .product-main:has(.product-research) { width:min(780px,calc(100% - 80px)); }
}
/* Finger-sized targets: at least 44px tall for every choice and control. */
.product-lengths label { min-height: 44px; padding: 8px 12px; border: 1px solid var(--mail-line); border-radius: 10px; background: var(--mail-paper); cursor: pointer; }
.product-lengths label:has(input:checked) { border-color: var(--mail-ink); }
.product-lengths input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.product-requests a { min-height: 56px; }

/* Usage bar (build step 3): a percentage only. */
.usage { border-block:1px solid var(--mail-line); padding:16px 0; margin:0 0 32px; }
.usage-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.usage-bar { height:4px; border-radius:2px; background:var(--mail-line); overflow:hidden; margin:12px 0 10px; }
.usage-bar span { display: block; height: 100%; background: var(--mail-accent); }
.usage--nearly .usage-bar span { background: var(--mail-warn); }
.usage--used-up .usage-bar span { background: var(--mail-bad); }
.usage-note { margin: 0; font-size: 13px; color: var(--mail-muted); line-height: 1.6; }
.usage--none p { margin: 0; font-size: 14px; }
.product-lengths .product-length--unavailable { color:var(--mail-muted); cursor:not-allowed; background:var(--rail-bg); }

/* Owner console (build step 4): wider, for tables. */
.product-main:has(.owner) { width:min(1120px,calc(100% - 80px)); align-items:flex-start; }
.owner { width: 100%; }
.owner-tabs { display:flex; flex-wrap:wrap; gap:4px 20px; margin:0 0 32px; border-bottom:1px solid var(--mail-line); }
.owner-tabs a { text-decoration:none; padding:10px 0; border-bottom:2px solid transparent; font-size:14px; min-height:44px; display:inline-flex; align-items:center; color:var(--mail-muted); }
.owner-tabs a.active { border-bottom-color:var(--mail-accent); color:var(--mail-ink); font-weight:500; }
.owner-figures { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:0 0 32px; }
.owner-figure { border-bottom:1px solid var(--mail-line); padding:0 0 20px; display:grid; gap:8px; align-content:start; }
.owner-figure-label { font-size: 12px; color: var(--mail-muted); }
.owner-figure strong { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.owner-figure-note { font-size: 12px; color: var(--mail-muted); }
.owner-table-wrap { overflow-x:auto; max-width:100%; border-block:1px solid var(--mail-line); margin:0 0 24px; scrollbar-color:var(--mail-muted) var(--mail-bg); }
.owner-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.owner-table th, .owner-table td { text-align:left; padding:14px 16px; border-bottom:1px solid var(--mail-line); vertical-align:top; min-width:100px; max-width:420px; overflow-wrap:anywhere; }
.owner-table th { background:var(--rail-bg); }
.owner-table th:first-child, .owner-table td:first-child { min-width:150px; }
.owner-table th { font-weight: 600; color: var(--mail-muted); white-space: nowrap; }
.owner-table tr:last-child td { border-bottom: 0; }
.owner-row--muted td { color: var(--mail-muted); }
.owner-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.owner-actions select, .owner-invite select, .owner-invite input { min-height: 44px; border: 1px solid var(--mail-line); border-radius: 8px; background: var(--mail-paper); color: var(--mail-ink); padding: 0 10px; font: inherit; font-size: 13px; }
.owner-invite { margin: 0 0 8px; }
.owner-invite label { font-size: 13px; }
.owner-invite-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.owner-invite-row input { flex: 1 1 220px; }
.owner-invite-row button, .owner button[type="button"]:not(.mailing-text-button) { min-height: 44px; border: 1px solid var(--mail-ink); background: var(--mail-ink); color: var(--mail-bg); border-radius: 8px; padding: 0 16px; font: inherit; font-size: 14px; cursor: pointer; }
.owner-checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.owner-checks li { border-bottom:1px solid var(--mail-line); padding:16px 0; display:flex; flex-wrap:wrap; gap:4px 12px; font-size:14px; }
.owner-checks li.ok strong { color: var(--mail-good); }
.owner-checks li.attention strong { color: var(--mail-bad); }
.owner-case-question { font-size: 24px; line-height: 1.3; margin: 12px 0 18px; }
.owner-answer { max-width:70ch; }

/* Billing (build step 6) */
.billing-country { margin-bottom: 18px; }
.product-lengths.billing-country { grid-template-columns:repeat(2,minmax(0,1fr)); }
.billing-country .mailing-small { grid-column:1 / -1; margin:0; }
.billing-plans { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.billing-plan { position:relative; border:1px solid var(--mail-line); border-radius:12px; background:var(--mail-paper); padding:40px 20px 20px; display:flex; flex-direction:column; gap:12px; }
.billing-plan h3 { margin: 0; font-size: 20px; }
.billing-plan p { margin: 0; }
.billing-plan button { margin-top: auto; min-height: 44px; }
.billing-plan--recommended { border-color: var(--mail-ink); border-width: 2px; }
.billing-badge { position:absolute; top:16px; right:16px; font-size:11px; font-weight:500; color:var(--mail-muted); }
.billing-price { font-size: 26px; font-weight: 600; }
.billing-price span { font-size: 14px; font-weight: 400; color: var(--mail-muted); }
.billing-options { list-style: none; padding: 0; margin: 0 0 8px; }
.billing-options li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--mail-line); min-height: 44px; }
.billing-options button { min-height: 44px; }
.billing-confirm { border: 1px solid var(--mail-line); border-radius: 12px; padding: 14px 16px; background: var(--mail-paper); }
.billing-confirm p { margin: 0 0 10px; }

/* Conversation first: one message box, optional preferences, continuous report reading. */
.product-sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.product-welcome { margin:16px auto 32px; max-width:620px; text-align:center; }
.product-welcome h1 { font-size:2.25rem; margin:0 0 16px; }
.product-welcome p { color:var(--mail-muted); font-size:15px; margin:0; }
.product-composer { border:1px solid var(--mail-line); border-radius:16px; background:var(--mail-paper); padding:8px 12px 12px; }
.product-composer:focus-within { border-color:var(--mail-ink); }
.product-composer textarea { border:0; border-radius:0; min-height:106px; padding:16px 12px 8px; background:transparent; font-size:16px; line-height:1.65; }
.product-composer textarea:focus-visible { outline:none; }
.product-composer textarea::placeholder { color:var(--mail-muted); opacity:1; }
.product-composer-tools { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.product-preferences { min-width:0; }
.product-preferences summary { display:flex; align-items:center; gap:8px; padding:8px 10px; min-height:44px; font-size:13px; color:var(--mail-muted); cursor:pointer; list-style:none; border-radius:8px; }
.product-preferences summary::-webkit-details-marker { display:none; }
.product-preferences summary:hover { background:var(--rail-bg); color:var(--mail-ink); }
.product-preferences-panel { padding:12px 10px; max-width:360px; }
.product-preferences-panel select { width:100%; min-height:44px; padding:8px; font:inherit; font-size:13px; background:var(--mail-paper); color:var(--mail-ink); border:1px solid var(--mail-line); border-radius:6px; }
.product-preferences-panel p { font-size:12px; color:var(--mail-muted); margin:8px 0 0; }
.product-send { width:44px; height:44px; flex-shrink:0; display:grid; place-items:center; padding:0; border-radius:50%; border:0; background:var(--mail-button); color:var(--mail-on); }
.product-research-home .usage { margin:24px 0 20px; font-size:12px; }
.product-rehearsal { color:var(--mail-muted); font-size:12px; margin:12px 0 0; }
.product-rehearsal summary { cursor:pointer; min-height:44px; display:flex; align-items:center; justify-content:center; text-decoration:underline; text-underline-offset:4px; }
.product-rehearsal p { margin:0 0 12px; text-align:center; }
.owner-table-wrap:focus-visible { outline:2px solid var(--mail-ink); outline-offset:4px; }
.product-research-home .usage-head { font-size:12px; }
.product-research-home .usage-note { font-size:12px; }
.product-research-home .product-subheading { font-size:15px; margin-top:48px; }
.product-user-message { background:var(--rail-bg); padding:16px 22px; border-radius:16px; max-width:85%; margin:32px 0 32px auto; font-size:16px; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
.product-response-meta { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:8px 16px; margin-bottom:20px; font-size:13px; }
.product-response-meta>span:first-child { font-weight:600; }
.product-response-meta>span:last-child { color:var(--mail-muted); }
.product-answer { margin-top:16px; font-family:var(--font-reading); font-size:20px; }
.product-answer .written-once :is(h2,h3,h4), .product-answer :is(.scope-note,.bibliography,.ai-notice,.inline-citation cite) { font-family:var(--font-interface); }
.product-assistant-message { margin:24px 0; font-size:16px; line-height:1.75; white-space:pre-wrap; }
.product-main:has(.product-research-home) { width:min(960px,calc(100% - 80px)); }
.product-page--signed-in .product-main:has(.product-research-home) { padding-top:32px; }
.product-research-home .product-welcome { text-align:left; max-width:none; margin:8px 0 24px; }
.owner-research-table { min-width:980px; table-layout:fixed; }
.owner-research-table th, .owner-research-table td { padding:5px 12px; vertical-align:middle; overflow-wrap:normal; }
.owner-research-table th { height:40px; }
.owner-research-table th:first-child, .owner-research-table td:first-child { width:152px; }
.owner-research-table th:nth-child(2) { width:190px; }
.owner-research-table th:nth-child(3) { width:36%; }
.owner-research-table th:nth-child(4) { width:152px; }
.owner-research-table th:nth-child(n+5) { width:90px; }
.owner-cell-date,.owner-cell-status { white-space:nowrap; }
.owner-cell-email,.owner-cell-question { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.owner-cell-question a { display:block; padding:11px 0; min-height:44px; overflow:hidden; text-overflow:ellipsis; }
.owner-filters { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:16px; align-items:end; }
.owner-filter-count { display:block; margin:0 0 16px; }
.owner-filters label { display:grid; gap:6px; font-size:13px; margin:0; }
.owner-filters label:first-child { flex:1 1 260px; }
.owner-filters input,.owner-filters select { width:100%; min-height:44px; padding:8px 12px; border:1px solid var(--mail-line); border-radius:6px; background:var(--mail-paper); color:var(--mail-ink); font:inherit; }
.product-main:has(.product-sign-in) { width:min(1080px,calc(100% - 96px)); }
.product-sign-in { display:grid; grid-template-columns:1fr 1.15fr; gap:72px; align-items:center; }
.product-sign-in-form { max-width:560px; }
.product-sign-in-aside { border-right:1px solid var(--mail-line); padding:36px 40px 36px 0; }
.product-sign-in-aside>p { font:400 32px/1.25 var(--font-reading); margin:8px 0 32px; }
.product-auth-lines { display:grid; gap:0; color:var(--mail-muted); font-size:14px; }
.product-auth-lines span { padding:14px 0; border-top:1px solid var(--mail-line); }
.product-sign-in-help { margin-top:24px; border-top:1px solid var(--mail-line); font-size:13px; }
.product-sign-in-help summary { min-height:44px; padding:12px 0; cursor:pointer; }
.product-sign-in-help p { margin:0 0 12px; line-height:1.7; }
@media(max-width:900px) { .product-sign-in { gap:36px; grid-template-columns:.85fr 1.2fr; } .product-sign-in-aside { padding-right:20px; } }
@media(max-width:700px) { .product-main:has(.product-sign-in) { width:calc(100% - 44px); } .product-sign-in { display:block; } .product-sign-in-aside { display:none; } .product-sign-in-form { max-width:none; } }
.product-contents { font-family:var(--font-interface); border-block:1px solid var(--mail-line); margin:20px 0 32px; font-size:13px; }
.product-contents summary { padding:12px 0; min-height:44px; cursor:pointer; }
.product-contents nav { display:grid; gap:4px; padding:0 0 12px; }
.product-contents a { padding:8px 0; min-height:44px; }
.product-answer [id] { scroll-margin-top:24px; }

/* Tablets keep a compact rail; smaller screens use visible navigation without a hidden drawer. */
@media (max-width:1100px) {
  .product-page--signed-in { grid-template-columns:190px minmax(0,1fr); }
  .product-page--signed-in .product-header { padding-inline:16px; }
  .product-topbar { padding-inline:28px; }
  .product-main:has(.product-research), .product-main:has(.owner) { width:calc(100% - 56px); }
  .product-page--signed-in .mailing-footer { width:calc(100% - 56px); }
  .product-lengths { grid-template-columns:1fr; gap:8px; }
  .product-length-detail { display:inline; margin-left:8px; }
  .billing-plans { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .product-page--signed-in { display:flex; }
  .product-page--signed-in .product-header { width:100%; height:80px; flex:0 0 80px; padding:16px 22px; }
  .product-menu { display:grid; place-items:center; width:44px; height:44px; background:transparent; color:var(--mail-ink); border:1px solid var(--mail-line); border-radius:8px; }
  .product-rail { display:none; padding:0 22px 16px; gap:12px; position:static; height:auto; overflow:visible; }
  .product-rail--open { display:flex; }
  .product-new { align-self:flex-start; }
  .product-history { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-nav { display:flex; flex-wrap:wrap; gap:8px; }
  .product-nav a { padding:8px 12px; min-height:44px; }
  .product-account { margin:0; padding:8px 0 0; grid-template-columns:1fr auto; }
  .product-account-label { display:none; }
  .product-account-email { align-self:center; }
  .product-account button { padding:8px 0; }
  .product-topbar { display:none; }
  .product-page--signed-in .product-main { padding:32px 0 48px; }
  .product-main:has(.product-research), .product-main:has(.owner) { width:calc(100% - 44px); }
  .product-page--signed-in .mailing-footer { width:calc(100% - 44px); }
  .product-page h1, .product-research h1 { font-size:2rem; }
  .owner-figures { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; }
  .owner-tabs { gap:4px 16px; }
  .product-welcome { margin:12px auto 28px; }
  .product-welcome h1 { font-size:1.875rem; }
  .product-user-message { max-width:95%; }
}
@media (max-width:380px) {
  .product-length-detail { display:block; margin-left:0; }
  .owner-figures { grid-template-columns:1fr; }
  .product-lengths.billing-country { grid-template-columns:1fr; }
}
.product-google-sign-in { margin:24px 0 0; }
.product-google-sign-in .product-google-button { display:flex; align-items:center; justify-content:center; min-height:44px; max-width:100%; padding:0; background:transparent; border:0; border-radius:6px; cursor:pointer; }
.product-google-button img { display:block; width:189px; height:auto; max-width:100%; }
.product-google-button:disabled { cursor:not-allowed; opacity:.65; }
.product-auth-divider { display:flex; align-items:center; gap:16px; color:var(--mail-muted); font-size:13px; margin:24px 0; }
.product-auth-divider::before,.product-auth-divider::after { content:''; height:1px; flex:1; background:var(--mail-line); }
/* Fuller A1 grouping uses the shared neutral surfaces; report prose remains continuous. */
.product-sign-in-aside { background:var(--mail-subtle); border:0; border-radius:8px; padding:32px; }
.product-research-home .usage { background:var(--mail-subtle); padding:16px 20px; border-radius:8px; }
.owner-figure { border:0; background:var(--mail-subtle); border-radius:8px; padding:20px; }
.billing-plan--recommended { background:var(--mail-subtle); }
.billing-confirm { background:var(--mail-subtle); }
@media(max-width:900px) { .product-sign-in-aside { padding:24px; } }
@media(max-width:760px) { .owner-figure { padding:16px; } }
.product-archive-action { margin-top:32px; padding-top:16px; border-top:1px solid var(--mail-line); font-size:14px; line-height:1.7; }
.product-archive-action summary { min-height:44px; padding-block:10px; cursor:pointer; }
.product-help { width:100%; max-width:70ch; line-height:1.8; }
.product-help h2 { margin:32px 0 12px; font-size:20px; font-weight:500; line-height:1.4; }
.product-help p { margin:0 0 20px; }
.product-help li { padding-left:4px; margin-bottom:10px; }
.product-help details { border-top:1px solid var(--mail-line); padding-block:8px; }
.product-help summary { padding-block:12px; min-height:44px; cursor:pointer; font-weight:500; }
.product-help details p { margin:12px 0 16px; }
.product-help-topics { display:grid; gap:0; margin-top:32px; background:var(--mail-subtle); border-radius:8px; padding:8px 24px; }
.product-help-topics a { display:grid; padding:20px 0; border-bottom:1px solid var(--mail-line); text-decoration:none; }
.product-help-topics a:last-child { border-bottom:0; }
.product-help-topics strong { font-weight:500; }
.product-help-topics span { font-size:14px; color:var(--mail-muted); }
.product-main:has(.product-help) { align-items:flex-start; width:min(780px,calc(100% - 80px)); }
@media(max-width:760px) { .product-main:has(.product-help) { width:calc(100% - 44px); } .product-help-topics { padding-inline:20px; } }
.product-settings fieldset { border:0; padding:24px; margin:0 0 20px; background:var(--mail-subtle); border-radius:8px; }
.product-settings legend { float:left; width:100%; margin:0 0 20px; font-size:18px; font-weight:500; }
.product-settings label { clear:both; margin-top:16px; }
.product-settings select { display:block; width:100%; max-width:420px; min-height:44px; padding:10px 12px; font:inherit; color:var(--mail-ink); background:var(--mail-paper); border:1px solid var(--mail-line); border-radius:8px; }
.product-page[data-reading-size="large"] .product-answer .written-once :is(p,li) { font-size:24px; }
.product-page[data-reading-size="large"] .product-answer .inline-citation q { font-size:26px; }
.product-page[data-reading-spacing="relaxed"] .product-answer .written-once :is(p,li) { line-height:2; }
.product-download-button { display:inline-flex; align-items:center; min-height:44px; padding:10px 16px; border-radius:8px; background:var(--mail-button); color:var(--mail-on) !important; text-decoration:none; font-size:14px; font-weight:500; }
.product-main:has(> .product-invitation-reminder) { flex-wrap:wrap; }
/* The reminder sits below the page, never beside it: the main area is a row by default. */
.product-invitation-reminder { flex:0 0 100%; width:100%; margin-top:32px; padding-top:16px; border-top:1px solid var(--mail-line); display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; font-size:14px; }
.product-invitation-reminder p { margin:0; flex:1 1 250px; }
.product-invitation-reminder a { min-height:44px; display:inline-flex; align-items:center; text-underline-offset:4px; }
@media(min-width:1024px) { .product-main:has(.product-sign-in) { align-items:flex-start; padding-top:48px; } }
.product-reply { margin-top: 2.5rem; }
.product-reply-choices { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.product-reply-choices p { flex-basis: 100%; }
.owner-payloads details { border-bottom: 1px solid var(--mail-line); padding-block: .75rem; }
.owner-payloads summary { cursor: pointer; padding-block: .5rem; }
.owner-payloads pre { overflow: auto; max-height: 32rem; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--mail-soft); padding: 1rem; border-radius: 8px; }

/* ------------------------------------------------------------------------------------------------
   Design audit, 2026-09-27. One lapis accent for links, focus, source markers, quotation rules and
   progress; quotations set as a critical edition sets them; a visible research timeline; search
   across chats; a public home that shows a real answer. Colours come only from mailing.css.
   ------------------------------------------------------------------------------------------------ */

/* Type: the serif carries headings people read; the sans carries the interface. */
.product-welcome h1, .product-research > h1, .product-help h1 { font-family:var(--font-interface); font-weight:700; letter-spacing:-.03em; }
.kutubi-wordmark-latin { font-size:13px; }
.product-page--signed-in .kutubi-wordmark-latin { font-size:12px; }
.mailing-footer { font-size:13px; }
.product-page .mailing-small { font-size:13.5px; }
.product-main a:not([class]), .product-help a { color:var(--mail-accent); }

/* Public header: the page links sit in the header, beside the mark. */
.product-public-header-nav { display:flex; gap:4px 22px; flex-wrap:wrap; justify-content:flex-end; font-size:14px; }
.product-public-header-nav a { min-height:44px; display:inline-flex; align-items:center; text-decoration:none !important; color:var(--mail-muted) !important; }
.product-public-header-nav a:hover, .product-public-header-nav a[aria-current="page"] { color:var(--mail-ink) !important; }
@media (max-width:480px) { .product-public-header-nav { gap:0 14px; font-size:13px; } }

.product-public-actions { display:flex; gap:12px 24px; flex-wrap:wrap; align-items:center; margin:0 0 20px; }

/* Illustrations: currentColor lines, with the accent and faint layers. */
.kutubi-illustration { display:block; width:100%; height:auto; color:var(--mail-ink); }
.kutubi-illustration .accent { stroke:var(--mail-accent); }
.kutubi-illustration .faint { stroke-opacity:.45; }

/* The sample answer (public home and sign-in). */
.sample-answer { margin:0; background:var(--mail-paper); border:1px solid var(--mail-line); border-radius:18px; overflow:hidden; box-shadow:0 1px 0 var(--mail-line), 0 28px 56px -36px rgba(30,30,20,.35); }
.sample-answer-question { margin:20px 20px 0 auto; max-width:88%; background:var(--mail-soft); border-radius:16px 16px 4px 16px; padding:12px 16px; font-size:15px; line-height:1.55; }
.sample-answer-stages { list-style:none; padding:14px 20px 0; margin:0; display:flex; flex-wrap:wrap; gap:6px; }
.sample-answer-stages li { font-size:11.5px; padding:3px 10px; border-radius:99px; color:var(--mail-accent); background:var(--mail-accent-soft); }
.sample-answer-body { padding:14px 22px 20px; font:400 17px/1.7 var(--font-reading); }
.sample-answer-body p { margin:0; color:var(--mail-ink) !important; }
.sample-answer .source-quote { margin:14px 0; }
.sample-answer-caption { font-size:12.5px; color:var(--mail-muted); padding:12px 22px; border-top:1px solid var(--mail-line); background:var(--mail-subtle); line-height:1.5; }
.product-sign-in-aside .sample-answer { box-shadow:none; }
.product-sign-in-aside .sample-answer-question { margin-top:16px; }
.product-sign-in-aside > .product-sign-in-aside-label { font:500 12.5px/1.5 var(--font-interface); letter-spacing:.08em; text-transform:uppercase; color:var(--mail-muted); margin:0 0 14px; }
.product-sign-in-aside .product-auth-lines { margin-top:20px; }

/* Quotations. A passage stands as a block: original, translation, then the work. */
.source-quote { margin:28px 0; padding:16px 20px 14px; border-inline-start:2px solid var(--mail-accent); background:color-mix(in srgb, var(--mail-accent-soft) 55%, transparent); border-radius:0 12px 12px 0; }
.source-quote blockquote { margin:0; font-family:var(--font-reading); font-size:1em; line-height:1.7; }
.source-quote blockquote.is-arabic { font:400 1.3em/1.95 var(--font-arabic); text-align:start; }
.source-quote-translation { display:block; font-family:var(--font-reading); font-style:italic; color:var(--mail-muted); font-size:.92em; line-height:1.6; margin-top:6px; }
.source-quote figcaption { margin:0; }
.source-quote-work { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; margin-top:8px; font:500 13px/1.5 var(--font-interface); color:var(--mail-muted); }
.source-quote-work cite { font-style:italic; }
.product-answer .inline-citation q { font-size:1em; line-height:inherit; }
.product-answer .inline-citation q.is-arabic { font-family:var(--font-arabic); font-size:1.1em; line-height:1; }
.product-answer .written-once .source-quote { font-size:20px; }
.product-page[data-reading-size="large"] .product-answer .written-once .source-quote { font-size:24px; }
.product-page[data-reading-size="large"] .product-answer .inline-citation q.is-arabic { font-size:1.1em; }

/* Numbered source markers; hovering or focusing one shows the work in place. */
.source-marker { position:relative; display:inline-grid; place-items:center; min-width:1.35em; height:1.35em; padding:0 .3em; margin-inline-start:.2em; border-radius:6px; background:var(--mail-accent-soft); color:var(--mail-accent) !important; font:600 11px/1 var(--font-interface); text-decoration:none !important; vertical-align:.35em; }
a.source-marker:hover, a.source-marker:focus-visible { background:var(--mail-accent); color:var(--mail-on-accent) !important; }
a.source-marker[data-source]:is(:hover,:focus-visible)::after { content:attr(data-source); position:absolute; left:50%; bottom:calc(100% + 8px); transform:translateX(-50%); width:max-content; max-width:280px; padding:8px 12px; border-radius:8px; background:var(--mail-ink); color:var(--mail-bg); font:500 12.5px/1.45 var(--font-interface); white-space:normal; text-align:start; z-index:5; box-shadow:0 10px 24px -12px rgba(0,0,0,.45); pointer-events:none; }
.product-answer .bibliography ol { padding-inline-start:1.6em; margin:0; }
.product-answer .bibliography li { scroll-margin-top:24px; }
.product-answer .bibliography li:target { color:var(--mail-ink); background:var(--mail-accent-soft); border-radius:6px; }

/* Contents in the margin on wide screens; the collapsible list below that. */
.answer-document { position:relative; }
.answer-outline { display:none; }
@media (min-width:1600px) {
  .answer-outline { display:block; position:absolute; top:0; bottom:0; left:calc(100% + 56px); width:210px; }
  .answer-outline nav { position:sticky; top:32px; display:grid; gap:2px; font:400 13px/1.45 var(--font-interface); max-height:calc(100dvh - 64px); overflow:auto; }
  .answer-outline span { font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--mail-muted); margin-bottom:8px; }
  .answer-outline a { padding:6px 0 6px 12px; border-left:2px solid var(--mail-line); color:var(--mail-muted); text-decoration:none; }
  .answer-outline a.current { border-left-color:var(--mail-accent); color:var(--mail-ink); }
  .answer-document:has(.answer-outline) > .product-contents { display:none; }
}
.product-contents a[aria-current="location"] { color:var(--mail-accent); }

/* Answer actions and confirmation. */
.answer-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:18px 0 8px; font-family:var(--font-interface); }
.product-page .answer-actions button { display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:6px 12px; border:1px solid var(--mail-line); border-radius:8px; background:var(--mail-paper); color:var(--mail-ink); font:500 13px/1.3 var(--font-interface); }
.product-page .answer-actions button:hover { border-color:var(--mail-ink); filter:none; }
.answer-actions-count { font-size:13px; color:var(--mail-muted); margin-inline-start:6px; }
.answer-toast { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--mail-good); min-height:36px; }
.answer-toast:empty { display:none; }
@media (pointer:coarse) { .product-page .answer-actions button { min-height:44px; } }

/* Research progress: a visible timeline. */
.product-progress { margin:8px 0 18px; }
.product-stages { list-style:none; padding:0; margin:0; display:grid; gap:0; position:relative; font-size:15px; }
.product-stages::before { content:''; position:absolute; left:6px; top:12px; bottom:12px; width:1px; background:var(--mail-line); }
.product-stages li { position:relative; padding:7px 0 7px 30px; color:var(--mail-muted); }
.product-stages li::before { content:''; position:absolute; left:0; top:13px; width:13px; height:13px; border-radius:50%; background:var(--mail-bg); border:1.5px solid var(--mail-line); box-sizing:border-box; }
.product-stages li.done { color:var(--mail-ink); }
.product-stages li.done::before { background:var(--mail-accent); border-color:var(--mail-accent); }
.product-stages li.current { color:var(--mail-ink); font-weight:600; }
.product-stages li.current::before { border-color:var(--mail-accent); background:var(--mail-paper); box-shadow:0 0 0 4px var(--mail-accent-soft); animation:kutubi-pulse 1.8s ease-in-out infinite; }
.product-stages small { display:block; font-weight:400; font-size:13px; color:var(--mail-muted); margin-top:2px; }
@keyframes kutubi-pulse { 50% { box-shadow:0 0 0 7px var(--mail-accent-soft); } }
@media (prefers-reduced-motion:reduce) { .product-stages li.current::before { animation:none; } }

/* Example questions under the message box. */
.product-examples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:18px 0 0; padding:0; border:0; min-width:0; }
.product-page .product-examples button { display:grid; gap:3px; text-align:start; min-height:auto; padding:12px 14px; border:1px solid var(--mail-line); border-radius:12px; background:var(--mail-paper); color:var(--mail-ink); font:400 14px/1.5 var(--font-interface); }
.product-page .product-examples button:hover { border-color:var(--mail-accent); filter:none; }
.product-examples small { font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--mail-accent); font-weight:600; }
@media (max-width:640px) { .product-examples { grid-template-columns:1fr; } }

/* Empty states and loading. */
.product-empty { display:grid; justify-items:center; text-align:center; gap:12px; padding:28px 16px; border:1px dashed var(--mail-line); border-radius:14px; color:var(--mail-muted); font-size:14px; line-height:1.6; }
.product-empty .kutubi-illustration { width:150px; }
.product-empty p { max-width:44ch; margin:0; }
.product-skeleton { display:grid; gap:10px; }
.product-skeleton span { height:52px; border-radius:10px; background:linear-gradient(90deg, var(--mail-soft), var(--mail-subtle), var(--mail-soft)); background-size:200% 100%; animation:kutubi-shimmer 1.4s linear infinite; }
@keyframes kutubi-shimmer { to { background-position:-200% 0; } }
@media (prefers-reduced-motion:reduce) { .product-skeleton span { animation:none; } }

/* Rail: search, the Recent label and the allowance meter. */
.product-page .product-search-button { display:flex; align-items:center; gap:8px; min-height:40px; padding:8px 12px; border:1px solid var(--mail-line); border-radius:8px; background:var(--mail-paper); color:var(--mail-muted); font:400 13px/1 var(--font-interface); text-align:start; }
.product-search-button span { flex:1; white-space:nowrap; }
@media (max-width:1100px) { .product-search-button kbd { display:none; } }
.product-page .product-search-button:hover { color:var(--mail-ink); filter:none; }
.product-page kbd { white-space:nowrap; font:500 11px/1 var(--font-interface); color:var(--mail-muted); border:1px solid var(--mail-line); border-radius:5px; padding:3px 5px; background:var(--mail-bg); }
.product-rail-label { font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--mail-muted); padding:0 12px 4px; }
.product-history a[aria-current="page"] { box-shadow:inset 2px 0 0 var(--mail-accent); }
.product-nav a[aria-current="page"] svg { color:var(--mail-accent); }
.product-rail-usage { margin-top:auto; display:grid; gap:6px; padding:12px; border-radius:8px; font-size:12px; color:var(--mail-muted); text-decoration:none; }
.product-rail-usage:hover { background:var(--rail-active); }
.product-rail-usage + .product-account { margin-top:0; }
.product-rail-usage-bar { height:4px; border-radius:2px; background:var(--mail-line); overflow:hidden; }
.product-rail-usage-bar span { display:block; height:100%; background:var(--mail-accent); }
.product-rail-usage--nearly_used .product-rail-usage-bar span { background:var(--mail-warn); }
.product-rail-usage--used_up .product-rail-usage-bar span, .product-rail-usage--payment_problem .product-rail-usage-bar span { background:var(--mail-bad); }
.product-topbar span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.product-page .product-topbar-search { display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:6px 10px; border:1px solid transparent; border-radius:8px; background:transparent; color:var(--mail-muted); }
.product-page .product-topbar-search:hover { border-color:var(--mail-line); color:var(--mail-ink); filter:none; }
@media (min-width:761px) { .product-back { display:none; } }

/* Search dialog. */
.chat-search { width:min(620px,calc(100% - 32px)); max-height:min(560px,80dvh); padding:0; border:1px solid var(--mail-line); border-radius:16px; background:var(--mail-paper); color:var(--mail-ink); box-shadow:0 30px 80px -30px rgba(0,0,0,.5); margin:12vh auto auto; }
.chat-search::backdrop { background:rgba(20,20,18,.35); }
.chat-search-box { display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid var(--mail-line); color:var(--mail-muted); }
.chat-search-box:focus-within { color:var(--mail-accent); }
.product-page .chat-search-box input:focus-visible { outline:none; }
.chat-search-box input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--mail-ink); font:400 16px/1.4 var(--font-interface); }
.chat-search ul { list-style:none; margin:0; padding:8px; overflow:auto; max-height:420px; }
.product-page .chat-search li button { display:flex; justify-content:space-between; gap:12px; width:100%; min-height:44px; padding:10px 12px; border:0; border-radius:8px; background:transparent; color:var(--mail-ink); cursor:pointer; font:400 14px/1.5 var(--font-interface); text-align:start; }
.product-page .chat-search li button.active { background:var(--mail-accent-soft); filter:none; }
.chat-search li small { color:var(--mail-muted); flex-shrink:0; }
.chat-search-note { padding:14px 12px; color:var(--mail-muted); font-size:14px; }

/* Printing an answer: the report alone, in black on white. */
@media print {
  .product-rail, .product-header, .product-topbar, .mailing-footer, .product-reply, .product-archive-action, .answer-actions, .product-back, .product-contents, .answer-outline, .mailing-skip, .product-invitation-reminder { display:none !important; }
  .product-page, .product-page--signed-in { display:block !important; background:#fff !important; color:#000 !important; }
  .product-main { width:auto !important; padding:0 !important; }
  .product-answer { max-width:none; }
  .source-quote { background:none !important; break-inside:avoid; }
  .product-answer .written-once :is(p,li) { font-size:12pt !important; }
  a.source-marker::after { display:none !important; }
}

/* ------------------------------------------------------------------------------------------------
   Responsiveness (owner request, 2026-09-27): links and controls answer the pointer. Header links
   take a soft pill on hover, the current page keeps it, and Sign in is an outlined button. Colour
   changes ease in over 160ms; nothing moves for readers who ask for reduced motion.
   ------------------------------------------------------------------------------------------------ */
.mailing-page a, .mailing-page button, .mailing-page summary, .product-examples button, .home-differences li, .pricing-plan {
  transition:background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .2s ease, text-decoration-color .16s ease, transform .2s ease;
}
.product-public-header-nav { gap:4px; align-items:center; }
.product-public-header-nav a { padding:0 14px; min-height:40px; border-radius:999px; }
.product-public-header-nav a:hover { background:var(--mail-soft); color:var(--mail-ink) !important; }
.product-public-header-nav a[aria-current="page"] { background:var(--mail-accent-soft); color:var(--mail-accent) !important; }
.product-public-header-nav a.product-header-sign-in { border:1px solid var(--mail-line); color:var(--mail-ink) !important; margin-inline-start:6px; }
.product-public-header-nav a.product-header-sign-in:hover { border-color:var(--mail-ink); background:var(--mail-ink); color:var(--mail-bg) !important; }
@media (max-width:560px) { .product-public-header-nav a { padding:0 9px; min-height:36px; } .product-public-header-nav a[href="/help/method"] { display:none; } }

/* Content links: the underline warms to the accent on hover. */
.product-main a:not([class]):hover, .product-help a:hover { text-decoration-color:var(--mail-accent); text-decoration-thickness:2px; }

/* Primary buttons deepen to the accent; quiet buttons and cards lift slightly. */
.product-download-button:hover { background:var(--mail-accent) !important; color:var(--mail-on-accent) !important; }
.product-page .product-examples button:hover, .home-differences li:hover { box-shadow:0 10px 24px -18px rgba(20,30,40,.45); transform:translateY(-1px); }
.product-nav a:hover svg, .product-history a:hover { color:var(--mail-accent); }
.product-new:hover { background:var(--mail-accent) !important; }
.product-send:not(:disabled):hover { background:var(--mail-accent) !important; filter:none !important; }
@media (prefers-reduced-motion:reduce) {
  .mailing-page a, .mailing-page button, .product-examples button, .home-differences li, .pricing-plan { transition:none; }
  .product-page .product-examples button:hover, .home-differences li:hover, .pricing-plan:hover { transform:none; }
}

/* Pricing page. */
.product-main:has(.pricing) { width:min(1040px,calc(100% - 96px)); align-items:flex-start; padding-top:24px; }
.pricing { width:100%; }
.pricing-head { max-width:62ch; margin-bottom:36px; }
.pricing-head h1 { font:700 clamp(2.4rem,4.4vw,3.4rem)/1.05 var(--font-interface); letter-spacing:-.03em; margin:0 0 18px; }
.pricing-head .mailing-lede { font-size:17px; max-width:56ch; margin-bottom:16px; }
.pricing-provisional { display:inline-block; margin:0; font-size:13.5px; color:var(--mail-warn); background:color-mix(in srgb, var(--mail-warn) 10%, transparent); border-radius:8px; padding:6px 12px; }
.pricing-plans { list-style:none; padding:0; margin:0 0 56px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch; }
.pricing-plan { position:relative; display:flex; flex-direction:column; gap:10px; padding:28px 24px 24px; background:var(--mail-paper); border:1px solid var(--mail-line); border-radius:16px; }
.pricing-plan:hover { border-color:color-mix(in srgb, var(--mail-accent) 45%, var(--mail-line)); box-shadow:0 18px 40px -30px rgba(20,30,40,.5); transform:translateY(-2px); }
.pricing-plan--recommended { border:2px solid var(--mail-accent); padding:27px 23px 23px; }
.pricing-badge { position:absolute; top:-12px; left:22px; background:var(--mail-accent); color:var(--mail-on-accent); font-size:12px; font-weight:600; padding:3px 10px; border-radius:999px; }
.pricing-plan h2 { font:600 20px/1.3 var(--font-interface); margin:0; }
.pricing-summary { margin:0; color:var(--mail-muted); font-size:15px; }
.pricing-price { display:flex; align-items:baseline; gap:6px; margin:6px 0 4px; }
.pricing-price strong { font:700 44px/1 var(--font-interface); letter-spacing:-.03em; }
.pricing-price span { color:var(--mail-muted); font-size:14px; }
.pricing-points, .pricing-every ul { list-style:none; padding:0; margin:4px 0 12px; display:grid; gap:8px; font-size:14.5px; }
.pricing-points li, .pricing-every li { display:flex; gap:8px; align-items:flex-start; line-height:1.5; }
.pricing-points svg, .pricing-every svg { color:var(--mail-accent); flex-shrink:0; margin-top:3px; }
.pricing-cta { margin-top:auto; display:flex; justify-content:center; align-items:center; min-height:46px; border-radius:10px; border:1px solid var(--mail-ink); color:var(--mail-ink) !important; text-decoration:none !important; font-weight:600; font-size:15px; }
.pricing-cta:hover { background:var(--mail-ink); color:var(--mail-bg) !important; }
.pricing-cta--primary { background:var(--mail-ink); color:var(--mail-bg) !important; }
.pricing-cta--primary:hover { background:var(--mail-accent); border-color:var(--mail-accent); color:var(--mail-on-accent) !important; }
.pricing-every, .pricing-questions { padding:40px 0; border-top:1px solid var(--mail-line); max-width:72ch; }
.pricing-every h2, .pricing-questions h2 { font:400 clamp(1.6rem,2.8vw,2.1rem)/1.2 var(--font-reading); margin:0 0 18px; }
.pricing-every p { color:var(--mail-muted); margin:12px 0 0; }
.pricing-questions details { border-top:1px solid var(--mail-line); }
.pricing-questions details:last-of-type { border-bottom:1px solid var(--mail-line); margin-bottom:20px; }
.pricing-questions summary { cursor:pointer; min-height:52px; display:flex; align-items:center; font-weight:600; padding:10px 8px; border-radius:8px; }
.pricing-questions summary:hover { background:var(--mail-subtle); }
.pricing-questions details p { color:var(--mail-muted); margin:0 8px 16px; line-height:1.7; }
.pricing-skeleton { grid-template-columns:repeat(3,1fr); margin-bottom:56px; }
.pricing-skeleton span { height:300px; border-radius:16px; }
@media (max-width:900px) { .pricing-plans, .pricing-skeleton { grid-template-columns:1fr; } }
@media (max-width:760px) { .product-main:has(.pricing) { width:calc(100% - 44px); } }

/* Answer length, always visible in the message box (owner decision 2026-09-27; default Short). */
.product-length { display:inline-flex; align-items:center; gap:6px; margin:0; padding:0 4px 0 10px; min-height:40px; border:1px solid var(--mail-line); border-radius:999px; color:var(--mail-muted); background:var(--mail-paper); transition:border-color .16s ease, color .16s ease; }
.product-length:hover, .product-length:focus-within { border-color:var(--mail-ink); color:var(--mail-ink); }
.product-length select { appearance:none; -webkit-appearance:none; border:0; background:transparent; color:var(--mail-ink); font:500 13.5px/1 var(--font-interface); padding:8px 22px 8px 2px; cursor:pointer; max-width:260px; text-overflow:ellipsis; background-image:linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position:calc(100% - 11px) 52%, calc(100% - 6px) 52%; background-size:5px 5px; background-repeat:no-repeat; }
.product-length select:focus-visible { outline:none; }
.product-composer-tools { align-items:center; }

/* The rail holds only the chats; the account menu holds everything else (owner direction 2026-09-27). */
.product-rail { gap:14px; }
.product-rail .product-history { flex:1; min-height:0; overflow-y:auto; align-content:start; margin:0 -6px; padding:0 6px; }
.product-example-link { display:flex !important; align-items:center; gap:8px; color:var(--mail-muted); }
.product-example-link span { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.product-example-link small { flex-shrink:0; font-size:11px; font-weight:700; padding:2px 7px; border-radius:999px; background:var(--mail-accent-soft); color:var(--mail-accent); }
.account-menu { position:relative; margin-top:auto; border-top:1px solid var(--mail-line); padding-top:10px; }
.product-page .account-trigger { display:flex; align-items:center; gap:10px; width:100%; min-height:52px; padding:8px; border:0; border-radius:10px; background:transparent; color:var(--mail-ink); text-align:start; cursor:pointer; font:inherit; }
.product-page .account-trigger:hover, .product-page .account-trigger[aria-expanded="true"] { background:var(--rail-active); filter:none; }
.account-avatar { display:grid; place-items:center; width:32px; height:32px; flex-shrink:0; border-radius:50%; background:var(--mail-accent); color:var(--mail-on-accent); font-weight:700; font-size:14px; }
.account-trigger-text { display:grid; min-width:0; flex:1; font-size:13.5px; font-weight:600; line-height:1.3; }
.account-trigger-text small { font-weight:400; font-size:12px; color:var(--mail-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-popover { position:absolute; left:0; right:0; bottom:calc(100% + 6px); z-index:30; display:grid; gap:4px; padding:8px; border:1px solid var(--mail-line); border-radius:14px; background:var(--mail-paper); box-shadow:0 18px 40px -20px rgba(14,28,43,.45); }
.account-popover-email { margin:4px 8px 6px; font-size:12.5px; color:var(--mail-muted); overflow-wrap:anywhere; }
.account-usage { display:grid; gap:6px; margin:0 8px 6px; font-size:12px; color:var(--mail-muted); }
.account-popover nav { display:grid; gap:2px; border-top:1px solid var(--mail-line); padding-top:6px; }
.account-popover nav a, .product-page .account-sign-out { display:flex; align-items:center; gap:10px; min-height:40px; padding:0 10px; border-radius:8px; color:var(--mail-ink) !important; text-decoration:none !important; font:500 14px/1 var(--font-interface); }
.account-popover nav a:hover, .product-page .account-sign-out:hover { background:var(--rail-active); filter:none; }
.account-popover nav a[aria-current="page"] { background:var(--mail-accent-soft); color:var(--mail-accent) !important; }
.product-page .account-sign-out { border:0; border-top:1px solid var(--mail-line); border-radius:0 0 8px 8px; margin-top:4px; background:transparent; cursor:pointer; width:100%; }
.account-error { font-size:12.5px; color:var(--mail-bad); margin:4px 8px; }
.example-banner { display:grid; gap:4px; margin:8px 0 24px; padding:14px 16px; border-radius:12px; background:var(--mail-accent-soft); color:var(--mail-ink); font-size:14.5px; line-height:1.55; }
.example-banner strong { color:var(--mail-accent); }
.example-quotations { margin-top:20px; border-block:1px solid var(--mail-line); font-family:var(--font-interface); }
.example-quotations summary { min-height:48px; display:flex; align-items:center; cursor:pointer; font-weight:600; font-size:15px; }
.example-quotations .source-quote { font-size:18px; }
.example-start { margin:40px 0 8px; padding:24px; border-radius:14px; background:var(--mail-subtle); text-align:center; }
.example-start p { margin:0 0 12px; font-weight:600; }
@media (max-width:760px) { .product-rail .product-history { max-height:40vh; } }

/* Help centre (owner request 2026-09-27). */
.product-main:has(.help-centre) { width:min(1060px,calc(100% - 64px)); align-items:flex-start; }
.site .product-main:has(.help-centre) { max-width:1060px; }
.help-centre { width:100%; }
.help-hero { padding:8px 0 24px; }
.help-hero h1, .help-article h1 { font:700 clamp(2rem,4vw,2.8rem)/1.1 var(--font-interface); letter-spacing:-.03em; margin:0 0 12px; }
.help-search { position:relative; max-width:640px; margin-top:20px; }
.help-search-box { display:flex; align-items:center; gap:10px; padding:0 16px; min-height:54px; border:1px solid var(--mail-line); border-radius:14px; background:var(--mail-paper); color:var(--mail-muted); box-shadow:0 10px 30px -24px rgba(14,28,43,.5); transition:border-color .16s ease; margin:0; }
.help-search-box:focus-within { border-color:var(--mail-accent); color:var(--mail-accent); }
.help-search-box input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--mail-ink); font:400 16px/1.4 var(--font-interface); }
.help-results { list-style:none; margin:8px 0 0; padding:6px; border:1px solid var(--mail-line); border-radius:14px; background:var(--mail-paper); display:grid; gap:2px; }
.help-results a { display:grid; gap:2px; padding:10px 12px; border-radius:10px; text-decoration:none !important; color:var(--mail-ink) !important; }
.help-results a:hover { background:var(--mail-accent-soft); }
.help-results span { font-size:13.5px; color:var(--mail-muted); }
.help-results-empty { padding:12px; color:var(--mail-muted); font-size:14.5px; }
.help-centre h2 { font:700 20px/1.3 var(--font-interface); letter-spacing:-.01em; margin:32px 0 12px; }
.help-popular { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); gap:10px; }
.help-popular a { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:56px; padding:12px 16px; border:1px solid var(--mail-line); border-radius:12px; background:var(--mail-paper); color:var(--mail-ink) !important; text-decoration:none !important; font-weight:600; transition:border-color .16s ease, transform .2s cubic-bezier(.16,1,.3,1); }
.help-popular a:hover { border-color:var(--mail-accent); transform:translateY(-1px); }
.help-popular svg { color:var(--mail-accent); flex-shrink:0; }
.help-sections { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:16px; margin-top:8px; }
.help-section { padding:20px 22px; border:1px solid var(--mail-line); border-radius:14px; background:var(--mail-paper); scroll-margin-top:24px; }
.help-section h2 { margin:0 0 4px; font-size:18px; }
.help-section > p { margin:0 0 12px; color:var(--mail-muted); font-size:14px; line-height:1.5; }
.help-section ul { list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.help-section li a { display:block; padding:6px 0; font-size:14.5px; line-height:1.4; color:var(--mail-ink) !important; text-decoration:none !important; }
.help-section li a:hover { color:var(--mail-accent) !important; }
.help-contact { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; margin-top:32px; padding:24px; border-radius:16px; background:var(--mail-subtle); }
.help-contact h2 { margin:0 0 4px; }
.help-contact p { margin:0; color:var(--mail-muted); }
.help-crumbs { display:flex; align-items:center; gap:8px; font-size:14px; color:var(--mail-muted); margin-bottom:20px; }
.help-crumbs a { display:inline-flex; align-items:center; gap:6px; }
.help-article-layout { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:48px; align-items:start; }
.help-article { max-width:68ch; font-size:16.5px; line-height:1.75; }
.help-article p, .help-article li { color:var(--mail-ink); }
.help-article ul, .help-article ol { padding-inline-start:22px; margin:0 0 18px; }
.help-article li { margin-bottom:8px; }
.help-steps { counter-reset:step; list-style:none; padding-inline-start:0 !important; }
.help-steps li { counter-increment:step; position:relative; padding-inline-start:40px; min-height:28px; }
.help-steps li::before { content:counter(step); position:absolute; left:0; top:1px; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--mail-accent-soft); color:var(--mail-accent); font:700 13px/1 var(--font-interface); }
.help-note { padding:12px 16px; border-radius:10px; background:var(--mail-accent-soft); font-size:15px; }
.help-article-foot { margin-top:32px; padding-top:16px; border-top:1px solid var(--mail-line); font-size:14.5px; color:var(--mail-muted) !important; }
.help-article-aside { position:sticky; top:24px; padding:18px; border:1px solid var(--mail-line); border-radius:14px; background:var(--mail-paper); }
.help-article-aside h2 { margin:0 0 8px; font-size:15px; }
.help-article-aside ul { list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.help-article-aside a { display:block; padding:6px 8px; border-radius:8px; font-size:14px; line-height:1.4; color:var(--mail-muted) !important; text-decoration:none !important; }
.help-article-aside a:hover { background:var(--mail-soft); color:var(--mail-ink) !important; }
.help-article-aside a.current { background:var(--mail-accent-soft); color:var(--mail-accent) !important; font-weight:600; }
@media (max-width:900px) { .help-article-layout { grid-template-columns:1fr; } .help-article-aside { position:static; } }
@media (max-width:760px) { .product-main:has(.help-centre) { width:calc(100% - 44px); } }
.product-page .help-search-box input:focus-visible { outline:none; }

/* Refund acknowledgement before any purchase (owner decision 2026-09-27). */
.billing-ack { display:flex; gap:12px; align-items:flex-start; margin:16px 0 4px; padding:14px 16px; border:1px solid var(--mail-line); border-radius:12px; background:var(--mail-subtle); font-size:14.5px; line-height:1.55; cursor:pointer; }
.billing-ack input { width:18px; height:18px; margin-top:3px; flex-shrink:0; accent-color:var(--mail-accent); }
.billing-ack a { color:var(--mail-accent); }

/* Cancel plan (owner direction 2026-09-27). */
.billing-cancel { margin-top:8px; }
.billing-refund-items { margin:12px 0 16px; padding-left:20px; line-height:1.6; }
.product-page .billing-cancel-button { background:transparent; color:var(--mail-bad); border-color:color-mix(in srgb, var(--mail-bad) 45%, var(--mail-line)); }
.product-page .billing-cancel-button:hover { background:color-mix(in srgb, var(--mail-bad) 8%, transparent); filter:none; }
.billing-cancel--ended { padding:18px 20px; border-radius:12px; background:color-mix(in srgb, var(--mail-warn) 9%, transparent); }
.billing-confirm-actions { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; }

/* Account deletion (owner direction 2026-09-27). */
.account-delete { margin-top:40px; padding:22px; border:1px solid color-mix(in srgb, var(--mail-bad) 35%, var(--mail-line)); border-radius:14px; }
.account-delete h2 { margin-top:0; color:var(--mail-bad); }
.product-page .account-delete-button { background:var(--mail-bad); border-color:var(--mail-bad); color:#fff; }
.product-page .account-delete-button:disabled { opacity:.45; }
.account-delete-input { display:block; width:100%; max-width:420px; min-height:44px; margin:8px 0 12px; padding:8px 12px; border:1px solid var(--mail-line); border-radius:8px; background:var(--mail-paper); color:var(--mail-ink); font:inherit; }
/* Settling a held charge (project audit 2026-09-30, A10). */
.owner-resolve { margin:0 0 32px; padding:20px 22px; border:1px solid var(--mail-line); border-radius:12px; background:var(--rail-bg); }
.owner-resolve .product-subheading { margin-top:0; }
.owner-resolve-form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:12px 0 8px; }
.owner-resolve-form label { display:grid; gap:6px; font-size:13px; margin:0; }
.owner-resolve-form input { min-height:44px; padding:0 12px; border:1px solid var(--mail-line); border-radius:8px; background:var(--mail-paper); color:var(--mail-ink); font:inherit; width:12em; }
/* Studies in parts (2026-10-01). */
.study-plan { margin:12px 0 16px; padding-inline-start:22px; display:grid; gap:10px; }
.study-plan li { display:grid; gap:2px; line-height:1.5; }
.study-progress { margin:24px 0; padding:18px 20px; border:1px solid var(--mail-line); border-radius:12px; background:var(--rail-bg); }
.study-progress h2 { font-size:17px; margin:0 0 10px; }
.study-progress ol { margin:0 0 12px; padding-inline-start:22px; display:grid; gap:6px; }
.study-part { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.study-part--done > span:first-child { color:var(--mail-ink); }
.study-part--in_progress > span:last-child { color:var(--mail-accent); font-weight:600; }

/* ------------------------------------------------------------------------------------------------
   Interaction and reading audit repairs (2026-10-01). */

/* R3, R4: what happened, and what to do next, in plain words. */
.product-problem, .product-status-note { margin:16px 0 24px; padding:16px 18px; border:1px solid var(--mail-line); border-radius:12px; background:var(--rail-bg); font-size:15px; line-height:1.6; }
.product-problem p, .product-status-note p { margin:0 0 10px; }
.product-problem p:last-child, .product-status-note p:last-child { margin-bottom:0; }
.product-problem-action { display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border-radius:8px; background:var(--mail-button); color:var(--mail-on) !important; text-decoration:none !important; font-size:14px; font-weight:500; }
.product-status-note--declined { border-color:color-mix(in srgb, var(--mail-accent) 30%, var(--mail-line)); }
.product-status-note .mailing-feedback:empty { display:none; }

/* R7: the latest turn, and a way to reach it from the top of a long chat. */
.product-latest:focus { outline:none; }
.product-latest:focus-visible { outline:2px solid var(--mail-accent); outline-offset:6px; border-radius:8px; }
.product-jump { display:inline-flex; align-items:center; min-height:44px; margin:0 0 12px; font-size:14px; font-weight:500; }
.product-assistant-message { white-space:normal; }
.product-assistant-message .written-once p { font-family:var(--font-interface); font-size:16px; }

/* R1: structures a report may use. */
.written-once hr { border:0; border-top:1px solid var(--mail-line); margin:28px 0; }
.written-once .writer-quote { margin:20px 0; padding:4px 0 4px 18px; border-inline-start:2px solid var(--mail-line); color:var(--mail-muted); }
.written-once ul ul, .written-once ol ol, .written-once ul ol, .written-once ol ul { margin:6px 0 0; }
.answer-table { margin:20px 0; overflow-x:auto; border:1px solid var(--mail-line); border-radius:10px; }
.answer-table:focus-visible { outline:2px solid var(--mail-accent); outline-offset:2px; }
.answer-table table { border-collapse:collapse; width:100%; min-width:420px; font-family:var(--font-interface); font-size:14.5px; line-height:1.5; }
.answer-table th, .answer-table td { padding:10px 12px; border-bottom:1px solid var(--mail-line); text-align:start; vertical-align:top; }
.answer-table th { background:var(--rail-bg); font-weight:600; }
.answer-table tr:last-child td { border-bottom:0; }

/* R8: the reply tools wrap on narrow screens; source numbers are easy to tap. */
.product-composer-tools { flex-wrap:wrap; }
/* A higher-specificity rule: a narrow-screen form rule otherwise turns this label into a block and drops the icon onto its own line. */
.product-composer .product-length { min-width:0; flex:1 1 180px; display:flex; align-items:center; gap:6px; }
.product-length select { min-width:0; max-width:100%; text-overflow:ellipsis; }
.source-marker::before { content:''; position:absolute; inset:-12px -8px; }

/* R9: print one answer, with its question. */
.print-only { display:none; }
@media print {
  .print-only { display:block; }
  .print-question { font:600 16pt/1.4 var(--font-interface); margin:0 0 16pt; }
  body.print-one .product-research > :not(.print-target) { display:none !important; }
  body:not(.print-one) .print-question { display:none; }
  .answer-table { overflow:visible; border:0; }
}

/* The pre-launch landing page: the public site's composition (product/site.css) with the launch-list
   form in the hero. Only what the site does not already provide is here. */
.launch .home-hero, .launch .home-subjects, .launch .site-section { max-width:var(--site-width); margin-inline:auto; padding-inline:var(--site-gutter); box-sizing:border-box; }
.launch .home-hero { align-items:start; }
.launch .home-hero-stage { margin-top:36px; }
.launch-eyebrow { display:inline-flex; align-items:center; gap:8px; margin:0 0 18px; padding:5px 12px; border-radius:999px; background:var(--mail-accent-soft); color:var(--mail-accent); font-size:13px; font-weight:600; letter-spacing:.02em; }
.launch-eyebrow::before { content:''; width:7px; height:7px; border-radius:50%; background:currentColor; }
.launch .home-hero h1 { font-weight:700; font-size:clamp(2.5rem,5.2vw,4.2rem); line-height:1.02; letter-spacing:-.035em; margin:0 0 24px; }
.launch .home-hero h1 span { display:block; color:var(--mail-accent); }
.launch-invite { margin:0 0 14px; font-size:15px; font-weight:600; color:var(--mail-ink); }
.launch .mailing-intro label { font-size:14px; font-weight:600; }
.launch .mailing-controls { gap:10px; max-width:560px; }
.launch .mailing-controls input { min-height:54px; border-radius:14px; padding:0 16px; font-size:16px; transition:border-color .2s ease, box-shadow .2s ease; }
.launch .mailing-controls input:focus { outline:none; border-color:var(--mail-accent); box-shadow:0 0 0 4px var(--mail-accent-soft); }
.launch .mailing-controls button { display:inline-flex; align-items:center; gap:8px; min-height:54px; padding:0 24px; border-radius:14px; font-size:16px; font-weight:600; background:var(--mail-ink); border-color:var(--mail-ink); color:var(--mail-bg); transition:background-color .2s ease, border-color .2s ease; }
.launch .mailing-controls button:not(:disabled):hover { filter:none; background:var(--mail-accent); border-color:var(--mail-accent); color:var(--mail-on-accent); }
.launch .mailing-controls button svg { transition:transform .2s cubic-bezier(.16,1,.3,1); }
.launch .mailing-controls button:not(:disabled):hover svg { transform:translateX(3px); }
.launch .mailing-small { font-size:13px; }
.launch .mailing-result h1 { font-size:clamp(2.2rem,4vw,3.2rem); }
.launch .site-cta-band svg { transition:transform .2s cubic-bezier(.16,1,.3,1); }
.launch .site-cta-band a:hover svg { transform:translateY(-3px); }
.launch .home-faq h2 { margin-bottom:20px; }
.launch-footer-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:40px; }
.launch-actions { margin-inline-start:auto; }
html:has(.launch) { scroll-behavior:smooth; scroll-padding-top:80px; }
@media (prefers-reduced-motion:reduce) { html:has(.launch) { scroll-behavior:auto; } }
@media (max-width:960px) { .launch .home-hero-stage { margin-top:8px; } }
@media (max-width:480px) { .launch .site-header-inner .site-cta { display:inline-flex; padding:0 14px; font-size:14px; } }
/* The header stays at the top of the page and scrolls away with it (owner direction 2026-09-30). */
.launch .site-header { position:static; background:transparent; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
/* The signup form, its message pages and the privacy notice (2026-09-30). */
.launch-coverage { margin:-12px 0 22px; font-size:15px; color:var(--mail-muted); }
.launch-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.launch-form { max-width:560px; }
.launch-message { max-width:680px; margin:0 auto; padding:clamp(48px,9vw,112px) var(--site-gutter) 24px; box-sizing:content-box; }
.launch-message h1 { font-size:clamp(2.2rem,4.4vw,3.2rem); line-height:1.05; letter-spacing:-.03em; font-weight:700; margin:0 0 20px; }
.launch-message-icon { color:var(--mail-accent); margin-bottom:18px; }
.launch-message .site-button { margin-top:12px; }
.launch-confirm { margin:8px 0 20px; }
.launch-policy h2 { font-size:21px; font-weight:600; margin:36px 0 10px; }
.launch-policy p, .launch-policy li { font-size:16.5px; line-height:1.7; }
.launch-policy ul { padding-inline-start:20px; }

/* Samples on the launch site (owner request 2026-10-02). A quiet text link beside the call to action,
   and the cards rising in gently one after another: plain CSS, so the site still runs no scripts. */
.launch-actions { display:flex; align-items:center; gap:18px; }
.launch-nav-link { font-size:15px; font-weight:600; color:var(--mail-ink); text-decoration:none; padding:10px 2px; border-bottom:1px solid transparent; transition:border-color .16s ease, color .16s ease; }
.launch-nav-link:hover, .launch-nav-link:focus-visible { border-bottom-color:currentColor; }
.launch-samples, .launch .sample-reader { max-width:var(--site-width); margin-inline:auto; padding-inline:var(--site-gutter); box-sizing:border-box; }
.launch .sample-reader { max-width:calc(760px + 2 * var(--site-gutter)); }
.launch-sample-join { max-width:var(--site-width); margin:0 auto 48px; padding-inline:var(--site-gutter); box-sizing:border-box; }
@keyframes launch-rise { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.launch .samples-grid > li { animation:launch-rise .6s cubic-bezier(.16,1,.3,1) both; }
.launch .samples-grid > li:nth-child(2) { animation-delay:.07s; }
.launch .samples-grid > li:nth-child(3) { animation-delay:.14s; }
.launch .samples-grid > li:nth-child(4) { animation-delay:.21s; }
.launch .samples-grid > li:nth-child(5) { animation-delay:.28s; }
.launch .sample-head, .launch .sample-answer-text { animation:launch-rise .6s cubic-bezier(.16,1,.3,1) both; }
@media (prefers-reduced-motion:reduce) { .launch .samples-grid > li, .launch .sample-head, .launch .sample-answer-text { animation:none; } }
@media (max-width:480px) { .launch-actions { gap:12px; } .launch-nav-link { font-size:14px; } .launch .site-header-inner .site-cta { white-space:nowrap; padding:0 12px; font-size:13.5px; } }
