/* T8 public site tokens (D-465, locked). Source of truth for the Codex build (C34/C35): import once in the marketing layout.
   Values are taken from the approved round 10 design (design/t8-public/new/t8.css and the round 8-10 polish rules).
   Theme (D-432): bare :root = light. Dark applies when the device prefers dark and the visitor has not chosen light,
   or when the visitor chose dark (data-theme="dark" on <html>, remembered). With no device preference the page script
   sets data-theme from local time (dark 19:00-07:00). Change a value here, never in a component. */

:root {
  /* surfaces */
  --t8-page: #F4F7FB;
  --t8-page-2: #EDF2F9;
  --t8-card: #FFFFFF;
  --t8-sunken: #EEF2F8;
  --t8-glass: rgba(255, 255, 255, .72);
  --t8-stage: #0F0F14;          /* the one dark band per page */
  --t8-stage-2: #17171F;
  --t8-stage-card: #1B1B22;
  --t8-stage-text: #F1ECE1;
  --t8-stage-muted: #9A938A;
  --t8-stage-border: #2A2A33;

  /* text and lines */
  --t8-text: #1A1A1F;
  --t8-text-2: #474C5C;
  --t8-muted: #5B6070;
  --t8-border: #E3E9F2;
  --t8-border-strong: #D6DEEA;
  --t8-grid-line: rgba(26, 26, 40, .04);

  /* action (D-462: action blue on every page and role; coral is never a button) */
  --t8-action: #2566A6;
  --t8-action-hover: #1E5690;
  --t8-action-top: #2F74BA;     /* primary button gradient: top -> action -> bottom */
  --t8-action-bottom: #1F5A94;
  --t8-on-action: #FFFFFF;
  /* Fixed partner for bright avatar/brand fills; it must not flip with the page text theme. */
  --t8-on-bright: #1A1A1F;
  --t8-link: #2566A6;
  --t8-focus: #3E92D6;

  /* Ask Ada button (D-463: R3 TopBar .ada, lilac-700 #5B3DCC mixed into black 45% / 40%) */
  --t8-ada-a: #291B5C;
  --t8-ada-b: #241852;
  --t8-ada-accent: #B79CFF;

  /* brand accents (accents only: eyebrows, marks, charts, highlights) */
  --t8-coral: #FF6B47;
  --t8-coral-deep: #E05636;
  --t8-coral-soft: #FFE3D6;
  --t8-teal: #00C288;
  --t8-teal-text: #006B4C;
  --t8-teal-soft: #D5EEE3;
  --t8-mari: #FFB72D;
  --t8-mari-text: #7A4A00;
  --t8-mari-soft: #FBEAC8;
  --t8-lilac: #B79CFF;
  --t8-lilac-text: #5C3FB2;
  --t8-lilac-soft: #EEE9F8;
  --t8-blue: #3E92D6;
  --t8-blue-soft: #E2EEFB;
  --t8-danger: #B3261E;
  --t8-danger-soft: #FDE8E6;

  /* page washes (hero meshes) */
  --t8-wash-a: rgba(0, 194, 136, .07);
  --t8-wash-b: rgba(123, 91, 217, .08);
  --t8-wash-c: rgba(79, 161, 232, .06);

  /* module colours: [accent, mark]. Used for module badges, stage tints and chips. */
  --t8-mod-lxp: #F0567F;        --t8-mod-lxp-mark: #D63960;
  --t8-mod-ada: #B79CFF;        --t8-mod-ada-mark: #8A63F6;
  --t8-mod-content: #5B6EE1;    --t8-mod-content-mark: #3D4FC7;
  --t8-mod-adaptive: #00B8D9;   --t8-mod-adaptive-mark: #0092AD;
  --t8-mod-scans: #00C288;      --t8-mod-scans-mark: #00916A;
  --t8-mod-authoring: #B79CFF;  --t8-mod-authoring-mark: #8A63F6;
  --t8-mod-lms: #0A7A63;        --t8-mod-lms-mark: #0A7A63;
  --t8-mod-perform: #1A1A1F;    --t8-mod-perform-mark: #1A1A1F;
  --t8-mod-enps: #00C288;       --t8-mod-enps-mark: #00916A;
  --t8-mod-insights: #4FA1E8;   --t8-mod-insights-mark: #2B7FD4;
  --t8-mod-overview: #FF6B47;   --t8-mod-overview-mark: #E84B22;

  /* type */
  --t8-serif: 'Fraunces', Georgia, serif;          /* opsz 9..144, wght 400..600, italic 400..500 */
  --t8-sans: 'Inter', system-ui, sans-serif;       /* wght 400..700 */
  --t8-mono: 'JetBrains Mono', ui-monospace, monospace; /* 700 only, labels */
  --t8-fs-x1: clamp(52px, 7.8vw, 156px);  --t8-lh-x1: .94;  --t8-ls-x1: -.034em;   /* page hero h1 */
  --t8-fs-x2: clamp(36px, 3.9vw, 62px);   --t8-lh-x2: 1.02; --t8-ls-x2: -.03em;    /* section h2 */
  --t8-fs-x3: clamp(28px, 2.7vw, 44px);   --t8-lh-x3: 1.06; --t8-ls-x3: -.024em;   /* sub-section h2/h3 */
  --t8-fs-card: clamp(20px, 1.6vw, 24px); --t8-lh-card: 1.15;                       /* card title, serif */
  --t8-fs-lede: clamp(18px, 1.45vw, 26px); --t8-lh-lede: 1.45;                      /* lede, max 40ch */
  --t8-fs-body: 16px;  --t8-lh-body: 1.55;
  --t8-fs-small: 14px; --t8-fs-xs: 12.5px;
  --t8-fs-label: 11px; --t8-ls-label: .14em;                                        /* mono, uppercase */
  --t8-fs-btn: 15px;   --t8-fs-btn-sm: 13.5px;

  /* layout: 1440 design width, 12 columns; 390 phone, 4 columns */
  --t8-wrap: 1560px;
  --t8-wrap-narrow: 1100px;
  --t8-gutter: clamp(16px, 4vw, 72px);
  --t8-col-gap: 24px;
  --t8-sec: clamp(64px, 7.2vw, 112px);       /* standard section padding-block */
  --t8-sec-xl: clamp(96px, 11vw, 200px);     /* hero and big bands */
  --t8-sec-tight: clamp(48px, 6vw, 80px);
  --t8-header-h: 68px;                        /* 60px under 900px */

  /* spacing scale (4px base) */
  --t8-s1: 4px; --t8-s2: 8px; --t8-s3: 12px; --t8-s4: 16px; --t8-s5: 20px; --t8-s6: 24px;
  --t8-s8: 32px; --t8-s10: 40px; --t8-s12: 48px; --t8-s16: 64px;

  /* radii */
  --t8-r-sm: 12px;      /* chips in frames, small tiles */
  --t8-r: 18px;
  --t8-r-card: 20px;    /* every card */
  --t8-r-lg: 24px;      /* stages, video, big frames */
  --t8-r-xl: 32px;
  --t8-r-pill: 999px;   /* buttons, eyebrows, chips */

  /* shadows */
  --t8-sh: 0 1px 2px rgba(20, 30, 50, .05), 0 8px 24px rgba(20, 30, 50, .06);
  --t8-sh-card: 0 1px 2px rgba(20, 30, 50, .05), 0 12px 32px -18px rgba(20, 30, 50, .22);
  --t8-sh-lift: 0 2px 4px rgba(20, 30, 50, .06), 0 28px 56px -28px rgba(20, 40, 80, .36);
  --t8-sh-deep: 0 40px 80px -42px rgba(20, 30, 50, .40), 0 18px 40px -24px rgba(20, 30, 50, .22);
  --t8-sh-action: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(15, 40, 80, .3), 0 8px 20px -10px rgba(37, 102, 166, .75);

  /* motion */
  --t8-ease: cubic-bezier(.2, .8, .2, 1);        /* default for everything */
  --t8-ease-pop: cubic-bezier(.34, 1.56, .64, 1); /* small overshoot: badges, chips landing */
  --t8-ease-draw: cubic-bezier(.3, .1, .2, 1);    /* strokes drawing (wordmark, rings) */
  --t8-dur-1: .2s;    /* hover, press */
  --t8-dur-2: .3s;    /* tabs, toggles, menus */
  --t8-dur-3: .45s;   /* crossfades between screens */
  --t8-dur-4: .8s;    /* section entrances */
  --t8-reveal-y: 14px; --t8-reveal-blur: 8px; --t8-reveal-dur: .9s; --t8-reveal-stagger: 90ms;
  --t8-page-transition: .66s;                     /* circle reveal from the click point */
  --t8-wordmark-draw: 2.6s; --t8-wordmark-glow: 9s;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --t8-page: #0F0F14; --t8-page-2: #15151B; --t8-card: #1B1B22; --t8-sunken: #23232C; --t8-glass: rgba(27, 27, 34, .72);
    --t8-stage: #08080C; --t8-stage-2: #111118; --t8-stage-card: #17171E;
    --t8-text: #F1ECE1; --t8-text-2: #C9C3B8; --t8-muted: #9A938A; --t8-border: #2A2A33; --t8-border-strong: #34343F; --t8-grid-line: rgba(241, 236, 225, .04);
    --t8-action-hover: #2B6FB4; --t8-link: #8CBFF0;
    --t8-coral-soft: #3A1E14; --t8-teal: #2FD49E; --t8-teal-text: #5FE0B4; --t8-teal-soft: #0E2A22; --t8-mari-text: #FFC766; --t8-mari-soft: #332710;
    --t8-lilac-text: #C3B6F0; --t8-lilac-soft: #262036; --t8-blue: #70B4F0; --t8-blue-soft: #172638; --t8-danger: #FF8A7E; --t8-danger-soft: #351614;
    --t8-wash-a: rgba(0, 194, 136, .10); --t8-wash-b: rgba(123, 91, 217, .13); --t8-wash-c: rgba(79, 161, 232, .09);
    --t8-sh: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --t8-sh-card: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .6);
    --t8-sh-lift: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -28px rgba(0, 0, 0, .7);
    --t8-sh-deep: 0 40px 80px -42px rgba(0, 0, 0, .8), 0 18px 40px -24px rgba(0, 0, 0, .6);
    --t8-mod-perform: #F1ECE1; --t8-mod-perform-mark: #F1ECE1;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --t8-page: #0F0F14; --t8-page-2: #15151B; --t8-card: #1B1B22; --t8-sunken: #23232C; --t8-glass: rgba(27, 27, 34, .72);
  --t8-stage: #08080C; --t8-stage-2: #111118; --t8-stage-card: #17171E;
  --t8-text: #F1ECE1; --t8-text-2: #C9C3B8; --t8-muted: #9A938A; --t8-border: #2A2A33; --t8-border-strong: #34343F; --t8-grid-line: rgba(241, 236, 225, .04);
  --t8-action-hover: #2B6FB4; --t8-link: #8CBFF0;
  --t8-coral-soft: #3A1E14; --t8-teal: #2FD49E; --t8-teal-text: #5FE0B4; --t8-teal-soft: #0E2A22; --t8-mari-text: #FFC766; --t8-mari-soft: #332710;
  --t8-lilac-text: #C3B6F0; --t8-lilac-soft: #262036; --t8-blue: #70B4F0; --t8-blue-soft: #172638; --t8-danger: #FF8A7E; --t8-danger-soft: #351614;
  --t8-wash-a: rgba(0, 194, 136, .10); --t8-wash-b: rgba(123, 91, 217, .13); --t8-wash-c: rgba(79, 161, 232, .09);
  --t8-sh: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  --t8-sh-card: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .6);
  --t8-sh-lift: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -28px rgba(0, 0, 0, .7);
  --t8-sh-deep: 0 40px 80px -42px rgba(0, 0, 0, .8), 0 18px 40px -24px rgba(0, 0, 0, .6);
  --t8-mod-perform: #F1ECE1; --t8-mod-perform-mark: #F1ECE1;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  :root { --t8-dur-1: 0s; --t8-dur-2: 0s; --t8-dur-3: 0s; --t8-dur-4: 0s; --t8-reveal-dur: 0s; --t8-page-transition: 0s; --t8-wordmark-draw: 0s; }
}
/* The shared consent banner sits outside the T8 shell. Use the locked T8
   palette only while that shell is mounted; other app routes keep their theme. */
html:has([data-t8-shell]) #cookie-settings {
  background-color: color-mix(in srgb, var(--t8-page) 95%, transparent);
  color: var(--t8-text);
  border-color: var(--t8-border);
}

html:has([data-t8-shell]) #cookie-settings .text-foreground {
  color: var(--t8-text);
}

html:has([data-t8-shell]) #cookie-settings .text-muted-foreground {
  color: var(--t8-muted);
}

html:has([data-t8-shell]) #cookie-settings :is(.border-border, .border-input) {
  border-color: var(--t8-border);
}

html:has([data-t8-shell]) #cookie-settings .bg-primary {
  background-color: var(--t8-action);
  color: var(--t8-on-action);
}

html:has([data-t8-shell]) #cookie-settings .bg-primary:hover {
  background-color: var(--t8-action-hover);
}

html:has([data-t8-shell]) #cookie-settings .bg-transparent:hover {
  background-color: var(--t8-sunken);
  color: var(--t8-text);
}

html:has([data-t8-shell]) #cookie-settings :focus-visible {
  --tw-ring-color: var(--t8-focus);
  --tw-ring-offset-color: var(--t8-page);
  outline-color: var(--t8-focus);
}

html:has([data-t8-shell]) #cookie-settings input {
  accent-color: var(--t8-action);
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/marketing/fonts/fraunces-opsz-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/marketing/fonts/fraunces-opsz-italic-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/marketing/fonts/fraunces-opsz-italic-latin.woff2) format('woff2');
  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: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/marketing/fonts/fraunces-opsz-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/marketing/fonts/fraunces-opsz-normal-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/marketing/fonts/fraunces-opsz-normal-latin.woff2) format('woff2');
  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;
}
html[lang]{--font-fraunces:'Fraunces',Georgia,serif;--font-inter:'Inter',system-ui,sans-serif;--font-jetbrains-mono:'JetBrains Mono',ui-monospace,monospace}:where([data-t8-page]) p{margin-block:1em}