@charset "utf-8";

/* ===========================================================================
   Timberline — timberlinehealth.ai
   Ported from the Claude Design mockup, which is built on the Sidechain
   Security design system in its opt-in light theme (`.sc-light`).

   The `--sc-*` token names are preserved deliberately so this file stays
   diffable against the upstream design system. The site is light-only, so the
   `.sc-light` overrides are flattened straight into `:root` rather than
   shipping both scopes.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. Fonts — self-hosted, no third-party CDN connection
   --------------------------------------------------------------------------- */

/* Plus Jakarta Sans ships as a variable font: one file covers 300–700. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400-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: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700-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: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------------------
   2. Tokens
   Design-system names (--sc-*) are kept so this file stays diffable against
   the upstream Sidechain Security system. The site is light-only, so the
   `.sc-light` overrides are flattened into :root.
   --------------------------------------------------------------------------- */
:root {
  /* Families */
  --sc-font-display: 'Plus Jakarta Sans', -apple-system, 'Helvetica Neue', sans-serif;
  --sc-font-body: 'Plus Jakarta Sans', -apple-system, 'Helvetica Neue', sans-serif;
  --sc-font-mono: 'Space Mono', 'SF Mono', 'Menlo', monospace;

  /* Weights */
  --sc-w-light: 300;
  --sc-w-regular: 400;
  --sc-w-medium: 500;
  --sc-w-semibold: 600;
  --sc-w-bold: 700;

  /* Text — ink layered by opacity. Darkened from the design system's
     0.54 / 0.40: at the 10-12px sizes this design uses them those values
     land at 3.6:1 and 2.5:1 on white, under the 4.5:1 AA floor. */
  --sc-text: #14202e;
  --sc-text-2: rgba(20, 32, 46, 0.74);
  --sc-text-3: rgba(20, 32, 46, 0.64);
  --sc-text-4: rgba(20, 32, 46, 0.50);

  /* Surfaces */
  --sc-bg: #f4f7fb;
  --sc-bg-alt: #eef2f8;
  --sc-surface: #ffffff;

  /* Fills */
  --sc-fill-subtle: #f7fafd;
  --sc-fill-btn: rgba(18, 32, 52, 0.05);

  /* Borders */
  --sc-border: rgba(18, 32, 52, 0.11);
  --sc-border-hover: rgba(18, 32, 52, 0.20);
  --sc-border-strong: rgba(18, 32, 52, 0.24);
  --sc-border-dash: rgba(18, 32, 52, 0.13);

  /* Accent — structural blue. `-bright` is the AA-on-white variant. */
  --sc-accent: #4a7cff;
  --sc-accent-bright: #2f5fe0;
  /* Gradient end for the hero headline. The mockup's #5a91ff is 2.74:1 on
     the hero's lightest point, under the 3:1 AA floor for large text;
     #4680f2 keeps the same hue and reaches 3.4:1. */
  --sc-accent-lift: #4680f2;
  --sc-accent-on-dark: #6e98ff;
  --sc-accent-ink: #23479f;    /* accent text on a tinted light fill */

  /* CTA — teal. `--sc-cta` is the FILL; `--sc-cta-text` is the teal that
     passes contrast as text on light. The design system's #06a890 is only
     3.0:1 on white, so this site uses a darker value. */
  --sc-cta: #00e5c8;
  --sc-cta-hover: #00ccb3;
  --sc-cta-dot: #00c9b0;
  --sc-cta-ink: #06251f;       /* text ON teal */
  --sc-cta-text: #047e6c;
  --sc-cta-deep: #05796a;      /* teal text on a tinted light fill */

  /* Violet — the design system's "regulated" industry accent */
  --sc-regulated: 160, 120, 220;
  --sc-violet: color-mix(in oklab, rgb(var(--sc-regulated)) 72%, var(--sc-text));
  --sc-violet-ink: color-mix(in oklab, rgb(var(--sc-regulated)) 55%, var(--sc-text));

  --sc-danger: #ff6b6b;

  /* Dark grounds */
  --sc-ink: #0a0d10;           /* full-bleed dark sections */
  --sc-ink-2: #10161f;         /* raised dark panels, browser chrome */

  /* Radii */
  --sc-radius-sm: 8px;
  --sc-radius-input: 10px;
  --sc-radius-card: 16px;
  --sc-radius-lg: 20px;
  --sc-radius-xl: 22px;
  --sc-radius-2xl: 24px;
  --sc-radius-pill: 999px;

  /* Elevation */
  --sc-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --sc-shadow-md: 0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 16px rgba(16, 24, 40, 0.05);
  --sc-shadow-card: 0 14px 40px rgba(16, 32, 64, 0.08);
  --sc-shadow-fig: 0 30px 70px rgba(16, 32, 64, 0.14);
  --sc-shadow-hero: 0 -2px 0 rgba(255, 255, 255, 0.6), 0 40px 90px rgba(16, 32, 64, 0.20);
  --sc-shadow-form: 0 30px 70px rgba(4, 40, 50, 0.28);
  --sc-glow-cta: 0 6px 20px rgba(0, 229, 200, 0.35);
  --sc-glow-cta-lg: 0 10px 34px rgba(0, 229, 200, 0.42);

  --sc-ring: 0 0 0 3px rgba(74, 124, 255, 0.45);
  --sc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sc-dur-fast: 0.2s;

  /* Textures */
  --sc-grid: linear-gradient(rgba(18, 32, 52, 0.05) 1px, transparent 1px),
             linear-gradient(90deg, rgba(18, 32, 52, 0.05) 1px, transparent 1px);
  --sc-grid-dark: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);

  /* Layout */
  --container: 1240px;
  --gutter: 40px;
  --header-h: 76px;

  /* Fluid type — interpolates between the mockup's 390px and 1240px endpoints */
  --fs-hero:       clamp(2.5rem,    1.009rem + 6.118vw, 5.75rem);   /* 40 -> 92 */
  --fs-h2:         clamp(2rem,      1.197rem + 3.294vw, 3.75rem);   /* 32 -> 60 */
  --fs-h2-lg:      clamp(2.125rem,  1.322rem + 3.294vw, 3.875rem);  /* 34 -> 62 */
  --fs-h2-dark:    clamp(2rem,      1.254rem + 3.059vw, 3.625rem);  /* 32 -> 58 */
  --fs-statement:  clamp(1.75rem,   1.062rem + 2.824vw, 3.25rem);   /* 28 -> 52 */
  --fs-lead-hero:  clamp(1.0625rem, 0.919rem + 0.588vw, 1.375rem);  /* 17 -> 22 */
  --fs-lead:       clamp(1rem,      0.914rem + 0.353vw, 1.1875rem); /* 16 -> 19 */
  --fs-body:       clamp(0.9375rem, 0.851rem + 0.353vw, 1.125rem);  /* 15 -> 18 */
  --fs-card-h3:    clamp(1.1875rem, 1.101rem + 0.353vw, 1.375rem);  /* 19 -> 22 */
  --fs-case-h3:    clamp(1.3125rem, 1.198rem + 0.471vw, 1.5625rem); /* 21 -> 25 */
  --fs-emphasis:   clamp(1.1875rem, 1.044rem + 0.588vw, 1.5rem);    /* 19 -> 24 */
  --fs-with:       clamp(1.375rem,  1.146rem + 0.941vw, 1.875rem);  /* 22 -> 30 */
  --fs-demo-lead:  clamp(1.0625rem, 0.948rem + 0.471vw, 1.3125rem); /* 17 -> 21 */

  --section-y: clamp(4rem, 2.108rem + 7.765vw, 8.125rem);           /* 64 -> 130 */
}

/* ---------------------------------------------------------------------------
   3. Reset & base
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--sc-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sc-text-2);
  background: var(--sc-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--sc-font-display); color: var(--sc-text); text-wrap: pretty; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; }
svg { display: block; }
img { display: block; height: auto; }

a { color: var(--sc-accent-bright); text-decoration: none; transition: color var(--sc-dur-fast) var(--sc-ease); }
a:hover { color: var(--sc-text); }

::selection { background: rgba(74, 124, 255, 0.25); color: var(--sc-text); }

:focus-visible { outline: 2px solid var(--sc-accent-bright); outline-offset: 2px; border-radius: var(--sc-radius-sm); }
.on-dark :focus-visible, .demo :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-200%);
  padding: 10px 18px;
  background: var(--sc-surface); color: var(--sc-text);
  border: 1px solid var(--sc-border); border-radius: var(--sc-radius-sm);
  box-shadow: var(--sc-shadow-md);
  font-size: 14px; font-weight: var(--sc-w-semibold);
}
.skip-link:focus { transform: translateY(0); }

/* ---------------------------------------------------------------------------
   4. Layout primitives
   --------------------------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--sc-surface); }
.section--alt { background: var(--sc-bg); }
.section--ruled { border-top: 1px solid var(--sc-border); }

/* A dark full-bleed band with its blob + grid texture. */
.band-dark { background: var(--sc-ink); position: relative; overflow: hidden; }
.band-dark > .container,
.band-dark > .band-dark__inner { position: relative; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.texture { position: absolute; inset: 0; pointer-events: none; background-size: 60px 60px; }
.texture--light { background-image: var(--sc-grid); }
.texture--dark { background-image: var(--sc-grid-dark); }

/* ---------------------------------------------------------------------------
   5. Type primitives
   --------------------------------------------------------------------------- */
/* Numbered section label: "[ 01 ]  THE PROBLEM" */
.kicker { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.kicker__num,
.kicker__label {
  font-family: var(--sc-font-mono);
  font-size: 12px;
  font-weight: var(--sc-w-bold);
  letter-spacing: 0.2em;
}
.kicker__num { color: var(--sc-text-3); }
.kicker__label { text-transform: uppercase; color: var(--sc-accent-bright); }
.kicker--cta .kicker__label { color: var(--sc-cta-text); }
.on-dark .kicker__num { color: rgba(255, 255, 255, 0.55); }
.on-dark .kicker__label { color: var(--sc-accent-on-dark); }
.on-dark .kicker--cta .kicker__label { color: var(--sc-cta); }

.h-hero { font-size: var(--fs-hero); line-height: 0.98; font-weight: var(--sc-w-light); letter-spacing: -0.052em; }
.h-section { font-size: var(--fs-h2); line-height: 1.06; font-weight: var(--sc-w-light); letter-spacing: -0.045em; }
.h-section--lg { font-size: var(--fs-h2-lg); line-height: 1.08; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--sc-text-2); }

/* Section head: big h2 beside a lead paragraph, baselines aligned. */
.section__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: end; margin-top: 34px; }
.section__closing {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--sc-border);
}
.section__closing-title {
  max-width: 460px;
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--sc-text);
}
.section__closing-body {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sc-text-3);
}

/* ---------------------------------------------------------------------------
   6. Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sc-font-mono);
  font-weight: var(--sc-w-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--sc-dur-fast) var(--sc-ease),
              color var(--sc-dur-fast) var(--sc-ease),
              border-color var(--sc-dur-fast) var(--sc-ease),
              box-shadow var(--sc-dur-fast) var(--sc-ease),
              transform var(--sc-dur-fast) var(--sc-ease);
}
.btn--cta {
  font-size: 13px; padding: 18px 32px; border-radius: var(--sc-radius-input);
  color: var(--sc-cta-ink); background: var(--sc-cta); border-color: var(--sc-cta);
  box-shadow: var(--sc-glow-cta-lg);
}
.btn--cta:hover { background: var(--sc-cta-hover); border-color: var(--sc-cta-hover); color: var(--sc-cta-ink); transform: translateY(-1px); }
.btn--nav {
  font-size: 11px; padding: 12px 20px; border-radius: var(--sc-radius-sm);
  color: var(--sc-cta-ink); background: var(--sc-cta); border-color: var(--sc-cta);
  box-shadow: var(--sc-glow-cta);
}
.btn--nav:hover { background: var(--sc-cta-hover); border-color: var(--sc-cta-hover); color: var(--sc-cta-ink); }
.btn--ghost {
  font-size: 13px; padding: 17px 28px; border-radius: var(--sc-radius-input);
  color: var(--sc-text); background: rgba(255, 255, 255, 0.7); border-color: var(--sc-border-strong);
}
.btn--ghost:hover { background: #fff; border-color: var(--sc-text-3); color: var(--sc-text); }
.btn--ink {
  font-size: 13px; padding: 17px; border-radius: var(--sc-radius-input);
  color: #fff; background: var(--sc-ink-2); border-color: var(--sc-ink-2);
}
.btn--ink:hover { background: #1c2635; border-color: #1c2635; color: #fff; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Icon tile — coloured rounded square behind a line icon */
.icon-tile {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; flex: none;
}
.icon-tile--accent { background: rgba(74, 124, 255, 0.14); color: var(--sc-accent-bright); }
.icon-tile--violet { background: rgba(var(--sc-regulated), 0.16); color: var(--sc-violet); }
.icon-tile--cta { background: rgba(0, 229, 200, 0.18); color: var(--sc-cta-text); }
.icon-chip { display: flex; border-radius: 9px; padding: 7px; flex: none; }
.icon-chip--accent { background: var(--sc-accent-bright); color: #fff; }
.icon-chip--cta { background: var(--sc-cta); color: var(--sc-cta-ink); }
.icon { display: flex; flex: none; }

/* ---------------------------------------------------------------------------
   7. Header + drawer
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--sc-border);
}
.site-header__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: flex; align-items: center; color: var(--sc-text); }
.brand:hover { color: var(--sc-text); }
.brand__logo { display: block; width: 172px; height: auto; }
.brand__mark { color: var(--sc-accent-bright); display: flex; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link { font-size: 14px; font-weight: var(--sc-w-medium); color: var(--sc-text-2); white-space: nowrap; }
.nav__link:hover { color: var(--sc-text); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--sc-text-2); cursor: pointer;
}

.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 30;
  background: var(--sc-bg);
  padding: 32px var(--gutter) 48px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer__link {
  font-size: 20px; font-weight: var(--sc-w-medium); color: var(--sc-text);
  padding: 18px 0; border-bottom: 1px solid var(--sc-border);
}
.drawer__cta { margin-top: 28px; }
body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------------------
   8. Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background-color: #f2f6fd;
  background-image: linear-gradient(168deg, #eef4ff 0%, #f7fafd 42%, #edfbf7 100%);
}
.hero__blob--a {
  top: -220px; right: -160px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(74, 124, 255, 0.30) 0%, rgba(74, 124, 255, 0) 68%);
}
.hero__blob--b {
  bottom: -280px; left: -180px; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(0, 229, 200, 0.28) 0%, rgba(0, 229, 200, 0) 68%);
}
.hero__texture {
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%);
}
.hero__inner {
  position: relative;
  max-width: var(--container); margin-inline: auto;
  padding: clamp(3.5rem, 1.2rem + 5.6vw, 7.25rem) var(--gutter) 0;
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 1120px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sc-cta-text);
  background: rgba(0, 229, 200, 0.14);
  border: 1px solid rgba(0, 229, 200, 0.4);
  border-radius: var(--sc-radius-pill);
  padding: 9px 16px;
}
.hero__badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sc-cta-dot); flex: none;
}
.hero__lead { max-width: 740px; font-size: var(--fs-lead-hero); line-height: 1.52; color: var(--sc-text-2); }
.hero__statement {
  max-width: 920px; margin-top: -8px;
  font-size: clamp(1.75rem, 1.262rem + 2vw, 3.25rem);
  line-height: 1.12; font-weight: var(--sc-w-semibold); letter-spacing: -0.035em;
  background: linear-gradient(96deg, var(--sc-accent-bright) 0%, var(--sc-accent-lift) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__proof {
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-text-3);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero__proof span { color: var(--sc-accent-bright); }
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Product frame — browser chrome over the screenshot slot */
.shot {
  margin-top: 76px; position: relative;
  border: 1px solid var(--sc-border-strong); border-bottom: none;
  border-radius: var(--sc-radius-lg) var(--sc-radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--sc-shadow-hero);
}
.shot__chrome {
  height: 40px; background: var(--sc-ink-2);
  display: flex; align-items: center; gap: 8px; padding: 0 18px;
}
.shot__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.shot__dot--r { background: #ff5f57; }
.shot__dot--y { background: #febc2e; }
.shot__dot--g { background: #28c840; }
.shot__title {
  margin-left: 14px;
  min-width: 0;
  font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot__body {
  /* The animation's own ratio, so the frame never crops it. Within half a
     pixel of the design's 1160x520 at every width. */
  aspect-ratio: 1920 / 860;
  position: relative; overflow: hidden;
  /* Matches the animation's own ground, so there is no flash before it paints. */
  background: #f7fafd;
}
.shot__body video,
.shot__body img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* The animation carries its own header bar, so the chrome holds only the
   window dots and the pause control. .shot__title is kept for a still image. */

/* Pause control. A 19s loop that starts on its own needs a way to stop it
   (WCAG 2.2.2). Hidden until site.js can drive it. */
.shot__toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 8px; border-radius: 6px;
  transition: color var(--sc-dur-fast) var(--sc-ease), background var(--sc-dur-fast) var(--sc-ease);
}
.shot__toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.shot__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.shot__toggle[hidden] { display: none; }
.shot__toggle-icon { display: flex; }

/* Fallback if neither video nor image is present. Deliberately abstract — never
   a mocked-up UI, which would read as a real screenshot. */

/* ---------------------------------------------------------------------------
   9. Trust band
   --------------------------------------------------------------------------- */
.trust { background: var(--sc-surface); border-bottom: 1px solid var(--sc-border); }
.trust__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 30px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.trust__label {
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-text-3);
  padding: 6px 22px; border-right: 1px solid var(--sc-border);
}
.trust__label:last-child { border-right: 0; }

/* ---------------------------------------------------------------------------
   10. Problem (dark)
   --------------------------------------------------------------------------- */
.problem__blob {
  top: -220px; right: -140px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(74, 124, 255, 0.24) 0%, rgba(74, 124, 255, 0) 68%);
}
.problem__texture {
  mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 72%);
}
.problem__inner { max-width: var(--container); margin-inline: auto; padding: var(--section-y) var(--gutter); }
.problem__title { margin-top: 34px; max-width: 1080px; font-size: var(--fs-h2-lg); line-height: 1.08; font-weight: var(--sc-w-light); letter-spacing: -0.045em; color: #fff; }
.problem__title span { color: rgba(255, 255, 255, 0.55); }
.problem__cols { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); }
.problem__col { display: flex; flex-direction: column; gap: 20px; }
.problem__col:nth-child(1) { padding-right: 40px; }
.problem__col:nth-child(2) { padding-inline: 40px; border-left: 1px solid rgba(255, 255, 255, 0.12); border-right: 1px solid rgba(255, 255, 255, 0.12); }
.problem__col:nth-child(3) { padding-left: 40px; }
.problem__label {
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-accent-on-dark);
}
.problem__body { font-size: var(--fs-body); line-height: 1.7; color: rgba(255, 255, 255, 0.75); }
.problem__statement {
  margin-top: 84px; font-size: var(--fs-statement);
  font-weight: var(--sc-w-light); letter-spacing: -0.045em; line-height: 1.1;
  color: var(--sc-cta);
}

/* ---------------------------------------------------------------------------
   11. Feature cards
   --------------------------------------------------------------------------- */
.cards { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--sc-surface); border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-card); padding: 34px;
  box-shadow: var(--sc-shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow var(--sc-dur-fast) var(--sc-ease),
              border-color var(--sc-dur-fast) var(--sc-ease),
              transform var(--sc-dur-fast) var(--sc-ease);
}
.card:hover { box-shadow: var(--sc-shadow-md); border-color: var(--sc-border-hover); transform: translateY(-2px); }
.card__title { font-size: var(--fs-card-h3); font-weight: var(--sc-w-semibold); letter-spacing: -0.025em; }
.card__body { font-size: 15px; line-height: 1.6; color: var(--sc-text-2); }

/* ---------------------------------------------------------------------------
   12. Use cases
   --------------------------------------------------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.case {
  border-radius: var(--sc-radius-lg); overflow: hidden;
  border: 1px solid var(--sc-border); background: var(--sc-bg);
  display: flex; flex-direction: column;
  box-shadow: var(--sc-shadow-card);
  transition: box-shadow var(--sc-dur-fast) var(--sc-ease), transform var(--sc-dur-fast) var(--sc-ease);
}
.case:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(16, 32, 64, 0.13); }
.case__art { height: 190px; position: relative; overflow: hidden; }
.case__art img { width: 100%; height: 100%; object-fit: cover; }
/* Line icon watermark on the gradient. Aligned to the card's text inset so it
   sits on the same vertical as the eyebrow and title below. Replaced
   automatically if a real image is dropped into the band. */
.case__icon {
  position: absolute; left: 32px; top: 50%; transform: translateY(-50%);
  display: flex; color: rgba(255, 255, 255, 0.92);
}
.case__art:has(img) .case__icon { display: none; }
.case--claims    .case__art { background: linear-gradient(140deg, #2f5fe0 0%, #6e98ff 100%); }
.case--pharmacy  .case__art { background: linear-gradient(140deg, var(--sc-violet) 0%, rgb(var(--sc-regulated)) 100%); }
.case--analytics .case__art { background: linear-gradient(140deg, #06a890 0%, #4ce0c4 100%); }
.case__body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.case__eyebrow {
  font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.case--claims    .case__eyebrow { color: var(--sc-accent-bright); }
.case--pharmacy  .case__eyebrow { color: var(--sc-violet); }
.case--analytics .case__eyebrow { color: var(--sc-cta-text); }
.case__title { font-size: var(--fs-case-h3); font-weight: var(--sc-w-semibold); letter-spacing: -0.03em; }
.case__text { font-size: 15px; line-height: 1.65; color: var(--sc-text-2); flex: 1; }
.case__kicker { padding: 16px 18px; border-radius: 12px; font-size: 15px; font-weight: var(--sc-w-semibold); }
.case--claims    .case__kicker { background: rgba(74, 124, 255, 0.10); color: var(--sc-accent-ink); }
.case--pharmacy  .case__kicker { background: rgba(var(--sc-regulated), 0.14); color: var(--sc-violet-ink); }
.case--analytics .case__kicker { background: rgba(0, 229, 200, 0.14); color: var(--sc-cta-deep); }

/* Illustrated use cases: short outcomes with blue, violet, and teal accents. */
.work-section__title { margin-top: 34px; max-width: 850px; text-wrap: balance; }
.work-section__head .work-section__title { margin-top: 0; }
.work-section .case__art { height: auto; aspect-ratio: 3 / 2; background: var(--sc-bg); }
.work-section .case__art img { display: block; object-fit: contain; }
.work-section .case__body { border-top: 2px solid var(--sc-accent); gap: 14px; }
.work-section .case--pharmacy .case__body { border-color: rgb(var(--sc-regulated)); }
.work-section .case--analytics .case__body { border-color: var(--sc-cta-dot); }
.work-section .case__title { line-height: 1.25; text-wrap: balance; }
.case__list { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.case__list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--sc-text-2); }
.case__list li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-accent-bright); }
.case--pharmacy .case__list li::before { background: var(--sc-violet); }
.case--analytics .case__list li::before { background: var(--sc-cta-text); }
.work-section__note { margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--sc-text-3); }

/* ---------------------------------------------------------------------------
   13. Why Timberline
   --------------------------------------------------------------------------- */
.why__head { margin-top: 34px; margin-bottom: 56px; }
.why__title { margin: 0; max-width: 900px; }
.why__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; counter-reset: why; }
.why__item { position: relative; padding: 0 24px 26px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--sc-border); border-radius: var(--sc-radius-card); background: rgba(255, 255, 255, 0.62); counter-increment: why; overflow: hidden; }
.why__image { display: block; width: calc(100% + 48px); aspect-ratio: 1; margin: 0 -24px 8px; object-fit: cover; }
.why__item::before {
  content: counter(why, decimal-leading-zero);
  position: absolute; top: 24px; left: 24px; z-index: 1;
  font-family: var(--sc-font-mono); font-size: 32px; font-weight: var(--sc-w-bold);
  letter-spacing: -0.03em; line-height: 1;
}
.why__item:nth-child(1)::before { color: rgba(47, 95, 224, 0.45); }
.why__item:nth-child(2)::before { color: rgba(var(--sc-regulated), 0.75); }
.why__item:nth-child(3)::before { color: rgba(6, 168, 144, 0.55); }
.why__item:nth-child(4)::before { color: rgba(20, 32, 46, 0.34); }
.why__heading { font-size: 20px; font-weight: var(--sc-w-semibold); letter-spacing: -0.02em; }
.why__body { font-size: 15px; line-height: 1.65; color: var(--sc-text-2); }
.why__bullets { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--sc-border); counter-reset: why-bullet; }
.why__bullets li { position: relative; min-height: 20px; padding-left: 30px; font-size: 14px; line-height: 1.45; color: var(--sc-text-2); counter-increment: why-bullet; }
.why__bullets li::before { content: counter(why-bullet); position: absolute; left: 0; top: 0; display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold); color: #fff; background: var(--why-accent); }
.why__item:nth-child(1) { --why-accent: #7c9ff5; }
.why__item:nth-child(2) { --why-accent: #a37be8; }
.why__item:nth-child(3) { --why-accent: #5ccbb9; }
.why__item:nth-child(4) { --why-accent: #9ba7b6; }

/* ---------------------------------------------------------------------------
   14. Leverage — before / with
   --------------------------------------------------------------------------- */
.leverage__title { margin: 34px 0 24px; max-width: 900px; }
.leverage__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 60px; }
.leverage__body { font-size: 1.0625rem; line-height: 1.7; color: var(--sc-text-2); }
.leverage__emphasis { font-size: var(--fs-emphasis); line-height: 1.4; font-weight: var(--sc-w-light); letter-spacing: -0.025em; color: var(--sc-text); }
.leverage__emphasis span { color: var(--sc-cta-text); font-weight: var(--sc-w-medium); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.compare__col { border-radius: var(--sc-radius-lg); padding: 38px; display: flex; flex-direction: column; }
.compare__col--before { border: 1px solid var(--sc-border); background: var(--sc-bg-alt); gap: 22px; }
.compare__col--with {
  background-color: var(--sc-ink-2);
  background-image: linear-gradient(155deg, var(--sc-ink-2) 0%, #16302e 100%);
  box-shadow: 0 20px 50px rgba(16, 32, 64, 0.22);
  gap: 28px;
}
.compare__label {
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-text-3);
}
.compare__label--with { color: var(--sc-cta); }
.compare__list { display: flex; flex-direction: column; }
.compare__list li { font-size: 16px; color: var(--sc-text-3); padding: 12px 0; border-bottom: 1px dashed var(--sc-border-dash); }
.compare__list li:last-child { border-bottom: 0; }
.compare__headline { font-size: var(--fs-with); line-height: 1.28; font-weight: var(--sc-w-light); letter-spacing: -0.035em; color: #fff; }
.compare__steps { display: flex; flex-wrap: wrap; gap: 10px; }
.compare__step {
  font-family: var(--sc-font-mono); font-size: 12px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sc-cta-ink); background: var(--sc-cta);
  padding: 10px 18px; border-radius: var(--sc-radius-pill);
}
.compare__foot {
  margin-top: auto; font-size: 20px; font-weight: var(--sc-w-medium); color: #fff;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------------------------------------------------------------------------
   14a. Trial onboarding
   --------------------------------------------------------------------------- */
.start__head { margin-bottom: 56px; }
.start__steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sc-border); }
.start__step { padding: 30px 28px 0; border-right: 1px solid var(--sc-border); }
.start__step:first-child { padding-left: 0; }
.start__step:last-child { padding-right: 0; border-right: 0; }
.start__num {
  display: block; margin-bottom: 20px;
  font-family: var(--sc-font-mono); font-size: 12px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.15em; color: var(--sc-accent-bright);
}
.start__step h3 { font-size: 19px; font-weight: var(--sc-w-semibold); letter-spacing: -0.02em; }
.start__step p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--sc-text-2); }
.start__cta {
  margin-top: 56px; padding: 28px 32px; border-radius: var(--sc-radius-lg);
  background: var(--sc-ink-2); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.start__cta p { font-size: 18px; font-weight: var(--sc-w-medium); color: #fff; }

/* ---------------------------------------------------------------------------
   15. Security (dark)
   --------------------------------------------------------------------------- */
.security__blob {
  top: -180px; right: -120px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(0, 229, 200, 0.20) 0%, rgba(0, 229, 200, 0) 68%);
}
.security__texture {
  mask-image: radial-gradient(ellipse at 70% 10%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 10%, #000 0%, transparent 72%);
}
.security__inner { position: relative; max-width: var(--container); margin-inline: auto; padding: var(--section-y) var(--gutter) 0; }
.security__split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; margin-top: 34px; }
.security__head { display: flex; flex-direction: column; gap: 24px; }
.security__title { font-size: var(--fs-h2-dark); line-height: 1.06; font-weight: var(--sc-w-light); letter-spacing: -0.045em; color: #fff; }
.security__body { font-size: 1.0625rem; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }

.proof {
  border: 1px solid rgba(0, 229, 200, 0.3); border-radius: var(--sc-radius-lg);
  background-color: var(--sc-ink);
  background-image: linear-gradient(160deg, rgba(0, 229, 200, 0.10) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 36px;
}
.proof__label {
  display: block; font-family: var(--sc-font-mono); font-size: 11px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-cta); margin-bottom: 20px;
}
.proof__item {
  display: flex; align-items: center; gap: 14px; padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px; color: #fff;
}
.proof__item:last-child { border-bottom: 0; }
.proof__check { display: flex; flex: none; color: var(--sc-cta-ink); background: var(--sc-cta); border-radius: 50%; padding: 4px; }

.security__figwrap { position: relative; max-width: var(--container); margin-inline: auto; padding: 72px var(--gutter) var(--section-y); }

/* ---------------------------------------------------------------------------
   16. Demo (gradient band)
   --------------------------------------------------------------------------- */
.demo {
  background-color: #00c2d8;
  background-image: linear-gradient(150deg, #00e5c8 0%, #00c2d8 55%, #4a7cff 100%);
  position: relative; overflow: hidden;
}
.demo__inner {
  position: relative; max-width: var(--container); margin-inline: auto;
  padding: clamp(4rem, 2.4rem + 6.6vw, 7.5rem) var(--gutter);
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 80px; align-items: start;
}
.demo__head { display: flex; flex-direction: column; gap: 24px; }
.demo__eyebrow {
  font-family: var(--sc-font-mono); font-size: 12px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.2em; text-transform: uppercase; color: #05231f;
}
.demo__title { font-size: var(--fs-h2-lg); line-height: 1.04; font-weight: var(--sc-w-light); letter-spacing: -0.048em; color: #05231f; }
.demo__lead { font-size: var(--fs-demo-lead); line-height: 1.55; color: rgba(5, 35, 31, 0.86); }
.demo__lead--strong { font-weight: var(--sc-w-semibold); color: #05231f; }

.form-card {
  background: #fff; border-radius: var(--sc-radius-xl);
  box-shadow: var(--sc-shadow-form); padding: 38px;
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--sc-font-mono); font-size: 11px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-text-3);
}
.field input, .field textarea {
  font-family: var(--sc-font-body); font-size: 15px; color: var(--sc-text);
  background: var(--sc-bg-alt); border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-input); padding: 13px 15px; outline: none; width: 100%;
  transition: border-color var(--sc-dur-fast) var(--sc-ease), box-shadow var(--sc-dur-fast) var(--sc-ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--sc-text-4); }
.field input:focus, .field textarea:focus { border-color: var(--sc-accent-bright); box-shadow: var(--sc-ring); }
.field--invalid input, .field--invalid textarea { border-color: #c0392b; }
.field__error { font-size: 13px; color: #c0392b; }
.field__error:empty { display: none; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 14px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status--error { color: #c0392b; }
.form-success { display: flex; flex-direction: column; gap: 14px; }
.form-success__title { font-size: 21px; font-weight: var(--sc-w-medium); letter-spacing: -0.02em; }
.form-success__body { font-size: 15px; line-height: 1.6; color: var(--sc-text-2); }

/* ---------------------------------------------------------------------------
   17. Footer (dark)
   --------------------------------------------------------------------------- */
.site-footer { background: var(--sc-ink); }
.site-footer__inner {
  max-width: var(--container); margin-inline: auto; padding: 52px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__logo { display: block; width: 151px; height: auto; }
.site-footer__brand .brand__mark { color: var(--sc-cta); }
.site-footer__by {
  font-family: var(--sc-font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
}
.site-footer__bylink {
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.32);
}
.site-footer__bylink:hover { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.7); }
.site-footer__nav {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.site-footer__nav a { color: rgba(255, 255, 255, 0.72); }
.site-footer__nav a:hover { color: #fff; }

/* ---------------------------------------------------------------------------
   18. Prose (privacy / thanks / 404)
   --------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h1 { font-size: var(--fs-h2-dark); line-height: 1.08; font-weight: var(--sc-w-light); letter-spacing: -0.04em; margin-bottom: 12px; }
.prose h2 { font-size: 22px; font-weight: var(--sc-w-semibold); letter-spacing: -0.02em; margin-top: 44px; margin-bottom: 12px; }
.prose p, .prose li { font-size: var(--fs-body); line-height: 1.7; color: var(--sc-text-2); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--sc-text-4); }
.prose__meta { font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-text-3); }
.prose__note {
  margin-top: 40px; padding: 20px 24px;
  border: 1px dashed var(--sc-border-dash); border-radius: var(--sc-radius-card);
  font-size: 15px; color: var(--sc-text-3);
}

/* ---------------------------------------------------------------------------
   19. Figures
   Restyled for v2: Fig. 01 gains a dark title bar and a dark workspace panel;
   Fig. 02's barrier moves from neutral to danger red.
   --------------------------------------------------------------------------- */
.fig { margin: 0; }
.fig--framed {
  margin-top: 72px;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-2xl);
  overflow: hidden;
  box-shadow: var(--sc-shadow-fig);
}
.fig__bar {
  background: var(--sc-ink-2); padding: 26px 36px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.fig__title {
  font-family: var(--sc-font-mono); font-size: 12px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
}
/* Mockup used 0.4 alpha; 11px mono needs more to clear AA on this ground. */
.fig__num {
  font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
}
.fig__body { background: var(--sc-surface); padding: 48px 40px 40px; }
.fig__caption {
  margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--sc-border);
  font-size: 14px; line-height: 1.6; color: var(--sc-text-3); max-width: 800px;
}

/* --- Fig. 01 --- */
.fig01__grid { display: grid; grid-template-columns: 1fr 70px 1fr 70px 0.8fr; align-items: center; }
.fig01__sources { display: flex; flex-direction: column; gap: 16px; }
.fig01__card { border-radius: var(--sc-radius-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.fig01__card--accent {
  border: 1px solid rgba(74, 124, 255, 0.35);
  background-color: var(--sc-surface);
  background-image: linear-gradient(150deg, rgba(74, 124, 255, 0.14) 0%, rgba(74, 124, 255, 0.04) 100%);
}
.fig01__card--cta {
  border: 1px solid rgba(0, 201, 176, 0.4);
  background-color: var(--sc-surface);
  background-image: linear-gradient(150deg, rgba(0, 229, 200, 0.16) 0%, rgba(0, 229, 200, 0.04) 100%);
}
.fig01__cardhead { display: flex; align-items: center; gap: 10px; }
.fig01__eyebrow {
  font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.fig01__card--accent .fig01__eyebrow { color: var(--sc-accent-bright); }
.fig01__card--cta .fig01__eyebrow { color: var(--sc-cta-text); }
.fig01__cardtitle { font-size: 17px; font-weight: var(--sc-w-semibold); color: var(--sc-text); }
.fig01__cardbody { font-size: 13px; line-height: 1.55; color: var(--sc-text-3); }
.fig01__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.fig01__chip {
  font-family: var(--sc-font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sc-cta-text); background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 201, 176, 0.3); border-radius: var(--sc-radius-pill); padding: 5px 10px;
}

.fig01__arrow { display: flex; align-items: center; }
.fig01__arrow svg { margin-left: -3px; }
.fig01__arrow-line { height: 2px; flex: 1; }
.fig01__arrow--accent { color: var(--sc-accent-bright); }
.fig01__arrow--accent .fig01__arrow-line { background: linear-gradient(90deg, rgba(47, 95, 224, 0.2), rgba(47, 95, 224, 0.8)); }
.fig01__arrow--cta { color: var(--sc-cta-text); }
.fig01__arrow--cta .fig01__arrow-line { background: linear-gradient(90deg, rgba(6, 168, 144, 0.2), rgba(6, 168, 144, 0.8)); }

.fig01__workspace {
  border-radius: 18px; background: var(--sc-ink-2); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 18px 44px rgba(16, 32, 64, 0.30);
  position: relative; overflow: hidden;
}
.fig01__workspace .blob {
  top: -120px; right: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 229, 200, 0.28) 0%, rgba(0, 229, 200, 0) 70%);
}
.fig01__wshead { position: relative; display: flex; align-items: center; gap: 10px; }
.fig01__logo { display: block; width: 124px; height: auto; }
.fig01__wstitle { font-size: 17px; font-weight: var(--sc-w-semibold); letter-spacing: -0.02em; color: #fff; }
.fig01__steps { position: relative; display: flex; flex-direction: column; gap: 8px; }
.fig01__step {
  font-size: 13px; color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px; padding: 11px 13px;
}
.fig01__tenant {
  position: relative; font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-cta);
  border-top: 1px dashed rgba(255, 255, 255, 0.18); padding-top: 14px;
}
.fig01__out { display: flex; flex-direction: column; gap: 12px; }
.fig01__outlabel {
  font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-text-3);
}
.fig01__outlist { display: flex; flex-direction: column; gap: 12px; }
.fig01__outitem {
  font-size: 15px; color: var(--sc-text);
  background: rgba(74, 124, 255, 0.09); border-radius: var(--sc-radius-input); padding: 12px 14px;
}

/* --- Fig. 02 --- */
.fig--dark {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--sc-radius-xl);
  background: rgba(255, 255, 255, 0.03); padding: 44px 40px 40px;
}
.fig--dark .fig__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 38px;
}
.fig02__grid { display: grid; grid-template-columns: 1fr 96px 0.72fr; align-items: stretch; }
.fig02__inside {
  border: 1px solid rgba(0, 229, 200, 0.45); border-radius: 18px; padding: 28px;
  background-color: var(--sc-ink);
  background-image: linear-gradient(150deg, rgba(0, 229, 200, 0.13) 0%, rgba(0, 229, 200, 0.03) 100%);
  box-shadow: inset 0 0 60px rgba(0, 229, 200, 0.12);
  display: flex; flex-direction: column; gap: 22px;
}
.fig02__insidehead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fig02__label {
  font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-cta);
}
.fig02__meta {
  font-family: var(--sc-font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
}
.fig02__components { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fig02__component {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid rgba(0, 229, 200, 0.22); border-radius: 11px; padding: 14px;
  background: rgba(255, 255, 255, 0.05); font-size: 13px; color: #fff;
}
.fig02__component .icon { color: var(--sc-cta); }
.fig02__seg { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px dashed rgba(0, 229, 200, 0.3); }
.fig02__seg .icon { color: var(--sc-cta); }
.fig02__segtext {
  font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78);
}

.fig02__barrier { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 8px; }
.fig02__barrier-line {
  flex: 1; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255, 107, 107, 0.55) 0 7px, transparent 7px 14px);
}
.fig02__badge { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fig02__barrier-x {
  display: flex; color: var(--sc-danger);
  border: 1px solid rgba(255, 107, 107, 0.45); background: rgba(255, 107, 107, 0.12);
  border-radius: var(--sc-radius-pill); padding: 9px;
}
.fig02__barrier-text {
  font-family: var(--sc-font-mono); font-size: 9px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-danger);
  text-align: center; line-height: 1.5;
}
.fig02__outside {
  border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.fig02__outlabel {
  font-family: var(--sc-font-mono); font-size: 10px; font-weight: var(--sc-w-bold);
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62);
}
.fig02__outlist { display: flex; flex-direction: column; gap: 16px; }
.fig02__outitem { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.68); }

/* ---------------------------------------------------------------------------
   20. Responsive
   --------------------------------------------------------------------------- */
/* The nav lockup stops fitting before the layout needs to reflow. */
@media (max-width: 899px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 1199px) and (min-width: 900px) {
  .fig01__grid { grid-template-columns: 1fr 44px 1fr 44px 0.78fr; }
  .fig02__grid { grid-template-columns: 1fr 68px 0.72fr; }
  .section__head, .leverage__intro { gap: 48px; }
  .security__split { gap: 48px; }
  .demo__inner { gap: 48px; }
}

@media (max-width: 1023px) {
  .cards, .cases { grid-template-columns: repeat(2, 1fr); }
  .start__steps { grid-template-columns: repeat(2, 1fr); }
  .start__step:nth-child(2) { border-right: 0; padding-right: 0; }
  .start__step:nth-child(3) { padding-left: 0; border-top: 1px solid var(--sc-border); }
  .start__step:nth-child(4) { border-top: 1px solid var(--sc-border); }
}

@media (max-width: 899px) {
  .section__head, .leverage__intro, .security__split, .demo__inner { grid-template-columns: 1fr; gap: 32px; }
  .section__closing { grid-template-columns: 1fr; gap: 14px; }
  .problem__cols { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
  .problem__col:nth-child(1) { padding-right: 0; }
  .problem__col:nth-child(2) {
    padding-inline: 0; padding-block: 36px;
    border-left: 0; border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .problem__col:nth-child(3) { padding-left: 0; }
  .problem__statement { margin-top: 56px; }
  .compare { grid-template-columns: 1fr; gap: 16px; }

  .fig01__grid { grid-template-columns: 1fr; gap: 20px; }
  .fig01__arrow { display: none; }
  .fig02__grid { grid-template-columns: 1fr; gap: 0; }
  .fig02__barrier { flex-direction: row; padding: 18px 0; gap: 16px; }
  .fig02__barrier-line {
    width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255, 107, 107, 0.55) 0 7px, transparent 7px 14px);
  }
  .fig02__badge { flex-direction: row; gap: 10px; }
  .fig02__barrier-text { text-align: left; }
}

@media (max-width: 767px) {
  :root { --gutter: 24px; --header-h: 64px; }

  .hero__content { gap: 26px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .shot { margin-top: 44px; }
  .shot__chrome { height: 34px; padding: 0 14px; }
  .shot__title { font-size: 10px; }

  .trust__inner { padding: 32px var(--gutter); gap: 24px; }
  .trust__label { padding: 0; border-right: 0; flex: 1 1 calc(50% - 24px); }

  .cards, .cases { grid-template-columns: 1fr; gap: 16px; }
  .cases { margin-top: 40px; }
  .card { padding: 26px; }
  .case__art { height: 150px; }
  .case__icon { left: 26px; }
  .case__body { padding: 26px; }

  .why__list { grid-template-columns: 1fr; }
  .why__item { padding-inline: 22px; }
  .why__image { width: calc(100% + 44px); margin-inline: -22px; }
  .why__item::before { font-size: 36px; }
  .why__head { margin-bottom: 40px; }
  .why__title, .leverage__title { margin-bottom: 0; }

  .start__head { margin-bottom: 40px; }
  .start__steps { grid-template-columns: 1fr; }
  .start__step { padding: 26px 0 !important; border-right: 0; }
  .start__step + .start__step { border-top: 1px solid var(--sc-border); }
  .start__cta { margin-top: 32px; padding: 26px 22px; flex-direction: column; align-items: flex-start; }
  .start__cta .btn { width: 100%; }

  .compare__col { padding: 28px 24px; }
  .proof { padding: 26px 22px; }
  .security__figwrap { padding-top: 48px; }

  .form-card { padding: 26px 22px; }

  .fig--framed { margin-top: 44px; border-radius: 18px; }
  .fig__bar { padding: 20px 22px; gap: 8px; }
  .fig__title { font-size: 11px; }
  .fig__body { padding: 26px 22px 24px; }
  .fig__caption { margin-top: 28px; padding-top: 18px; }
  .fig--dark { padding: 26px 22px 24px; border-radius: 18px; }
  .fig--dark .fig__head { margin-bottom: 26px; gap: 8px; }
  .fig01__card, .fig02__inside, .fig02__outside { padding: 20px; }
  .fig01__workspace { padding: 24px 20px; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 40px; }
  .site-footer__brand { flex-wrap: wrap; gap: 10px; }
  .site-footer__nav { gap: 18px 24px; }
}

@media (max-width: 520px) {
  .fig02__components { grid-template-columns: 1fr; }
  .compare__steps { gap: 8px; }
  .compare__step { padding: 9px 14px; font-size: 11px; }
}

/* ---------------------------------------------------------------------------
   21. Motion & print
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover, .case:hover, .btn--cta:hover { transform: none; }
}

@media print {
  .site-header, .drawer, .nav-toggle, .blob, .texture, .skip-link, .shot { display: none !important; }
  body { background: #fff; }
  .section, .hero, .band-dark, .demo { padding-block: 24px; }
}
