/* Inter, self-hosted (variable weight). Only fetched where the system font is not SF, so Apple devices download nothing. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-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; }
/* =====================================================================
   Canopy x Apple design system. See reference/design/canopy-apple-design-system.md
   Tokens first; every component below reads from them.
   ===================================================================== */
:root {
  /* Type: SF Pro through the system font on Apple devices, Inter elsewhere */
  --sf-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sf-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--sf-display);   /* legacy alias: display face */
  --sans: var(--sf-text);

  /* Neutrals: Apple's light palette, tinted toward Canopy forest */
  --bg: #FFFFFF;
  --bg-alt: #F5F6F2;            /* Apple #f5f5f7 */
  --surface: #FFFFFF;
  --surface-2: #F5F6F2;
  --surface-3: #E9EBE6;         /* tracks, gray bubbles */
  --ink: #1D1F1D;               /* label, Apple #1d1d1f */
  --ink-2: #3A3F3B;
  --muted: #6C726E;             /* secondary label, Apple #6e6e73 */
  --muted-dark: #8B938D;        /* secondary label on dark, Apple #86868b */
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.16);

  /* Canopy color roles */
  --forest: #001D11;            /* dark sections, Apple #000 */
  --forest-2: #0A2A1B;          /* dark alt, Apple #1d1d1f */
  --forest-3: #143826;          /* tiles on dark */
  --green: #1D6A43;             /* action color, Apple #0071e3 */
  --green-hover: #175A38;
  --link: #19663F;              /* link on light, Apple #0066cc */
  --link-dark: #86D3A2;         /* link on dark, Apple #2997ff */
  --green-soft: #E4F1E7;
  --mint: #A9D7B6;
  --amber: #D9A441;
  --amber-soft: #F7EAC8;
  --cream: #F5EFE3;
  --risk: #B4532A;
  --risk-soft: #F8E6DC;

  /* Emphasis: gradient-filled type, the way Apple colors key headlines */
  --grad: linear-gradient(90deg, #1D6A43 0%, #2F8A5A 42%, #B98B2F 100%);
  --grad-dark: linear-gradient(90deg, #DDF2E3 0%, #9DD5B0 38%, #E8C677 100%);

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;            /* Apple tile-rounded */
  --r-pill: 980px;

  /* Depth: Apple uses contrast, not shadow, for most surfaces */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px rgba(0, 0, 0, 0.12);

  /* Materials: Liquid Glass approximation for the navigation layer */
  --glass: rgba(250, 251, 249, 0.72);
  --glass-strong: rgba(250, 251, 249, 0.86);
  --glass-dark: rgba(30, 40, 34, 0.62);
  --glass-blur: saturate(180%) blur(20px);
  --glass-edge: inset 0 0.5px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 0.5px rgba(255, 255, 255, 0.55);

  /* Motion: Apple's dominant UI curve and scroll-reveal curve */
  --ease-ui: cubic-bezier(0.4, 0, 0.6, 1);
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  --dur-fast: 100ms;
  --dur: 240ms;
  --dur-slow: 320ms;

  /* Layout */
  --nav-h: 52px;
  --ln-h: 52px;
  --sec-pad: clamp(96px, 10vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ln-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sf-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-soft); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ============ Type (Apple marketing scale) ============ */
h1, h2, h3 {
  font-family: var(--sf-display);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 6.2vw, 80px); line-height: 1.05; letter-spacing: -0.015em; }   /* 80/84 */
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; letter-spacing: -0.005em; }   /* 56/60 */
h3 { font-size: 24px; line-height: 1.17; letter-spacing: 0.009em; }                         /* 24/28 */
h1 em, h2 em, h3 em, .grad-text {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lede { font-size: 21px; line-height: 1.381; letter-spacing: 0.011em; color: var(--muted); max-width: 680px; margin: 20px auto 0; font-weight: 400; }  /* 21/29 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.016em;
  color: var(--ink-2);
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), 0 0 0 0.5px var(--line);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.22); }

/* The old hand-drawn underline is retired; gradient type carries emphasis now */
.swash { display: inline; }
.swash::after { content: none; }

/* ============ Buttons + form ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--green); color: #fff;
  font-family: var(--sf-text); font-size: 17px; font-weight: 400; line-height: 1.176; letter-spacing: -0.022em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease-ui), color var(--dur) var(--ease-ui), border-color var(--dur) var(--ease-ui), transform var(--dur-fast) var(--ease-ui);
}
.btn:hover { background: var(--green-hover); }
.btn:active { transform: scale(0.98); }
.btn .arrow { display: none; }
.btn-sm { min-height: 28px; padding: 4px 13px; font-size: 13px; letter-spacing: -0.01em; }
.btn-ghost { background: transparent; color: var(--link); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }

.capture {
  display: flex; gap: 6px; align-items: center;
  width: 100%; max-width: 460px; margin: 34px auto 0;
  padding: 5px 5px 5px 8px; border-radius: var(--r-pill);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow);
  transition: box-shadow var(--dur) var(--ease-ui);
}
.capture:focus-within { box-shadow: 0 0 0 2px var(--green), var(--shadow); }
.capture input {
  flex: 1; min-width: 0; height: 44px; border: 0; background: transparent;
  padding: 0 12px; font: inherit; font-size: 17px; color: var(--ink);
}
.capture input::placeholder { color: #8D938F; }
.capture input:focus { outline: none; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; letter-spacing: -0.016em; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.tick { width: 14px; height: 14px; flex: none; color: var(--green); }

/* ============ Global nav (Apple globalnav, Liquid Glass bar) ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
}
/* The glass lives on a layer behind the bar, so the bar is not a backdrop root
   and the flyout scrim below can still blur the page. */
.nav::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: background var(--dur-slow) var(--ease-ui);
}
.nav:has(.nav-item:hover)::after, .nav:has(.nav-item:focus-within)::after, .nav.open::after { background: #FAFBF9; }
body.has-ln .nav { position: absolute; }
.nav-pill {
  display: flex; align-items: center; gap: 8px;
  max-width: 1068px; height: var(--nav-h); margin: 0 auto; padding: 0 22px;
}
.nav-logo { display: flex; align-items: center; height: var(--nav-h); color: var(--ink); flex: none; }
.nav-logo svg { height: 26px; width: auto; }
.nav-links { display: flex; flex: 1; justify-content: center; gap: 6px; height: 100%; }
.nav-links > a, .nav-trigger {
  display: inline-flex; align-items: center; height: 100%;
  font-size: 13px; letter-spacing: -0.01em; text-decoration: none; color: rgba(0, 0, 0, 0.8);
  padding: 0 12px; border: 0; background: none; cursor: pointer;
  transition: color var(--dur) var(--ease-ui);
}
.nav-links > a:hover, .nav-trigger:hover, .nav-item:hover .nav-trigger, .nav-item:focus-within .nav-trigger { color: #000; }
.nav-links > a.active, .nav-trigger.active { color: #000; font-weight: 600; }
.nav-trigger svg { display: none; }
.nav-sep { display: none; }
.nav-menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
/* Scrim: the page blurs behind an open flyout, as on apple.com */
.nav::before {
  content: ""; position: fixed; left: 0; right: 0; top: var(--nav-h); height: 100vh;
  background: rgba(232, 234, 230, 0.4);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-ui), visibility var(--dur-slow);
}
.nav:has(.nav-item:hover)::before, .nav:has(.nav-item:focus-within)::before { opacity: 1; visibility: visible; }
.nav-sheet { display: none; }

/* ============ Hero ============ */
.hero-shell { padding: 12px; }
.hero { padding: 140px 0 0; }
.hero-inner { width: 100%; text-align: center; }
.hero .mark { display: block; width: 54px; height: 54px; margin: 0 auto 26px; color: var(--forest); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(-4deg); } }
.hero h1 { max-width: 980px; margin: 22px auto 0; }
.hero .lede { font-size: 18px; color: var(--ink-2); max-width: 640px; margin-top: 26px; }

/* Hero product shot: peeks out of the bottom of the panel */
.shot {
  max-width: 1040px; margin: 64px auto 0; padding: 0 24px;
}
.shot-win {
  background: #fff; border-radius: 18px 18px 0 0; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 29, 17, 0.08), 0 30px 80px rgba(0, 29, 17, 0.18);
  display: grid; grid-template-columns: 188px 1fr; height: 430px; text-align: left;
}
.side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.side .ws { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 4px 8px 14px; }
.side .ws span { width: 22px; height: 22px; border-radius: 6px; background: var(--forest); color: var(--cream); display: grid; place-items: center; font-size: 11px; }
.side a { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); text-decoration: none; padding: 7px 10px; border-radius: 8px; }
.side a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.side a b { font-size: 11px; font-weight: 500; color: var(--green); background: var(--green-soft); border-radius: 99px; padding: 1px 7px; }
.side .sub { font-size: 11px; color: var(--muted); padding: 14px 10px 4px; letter-spacing: 0.04em; text-transform: uppercase; }
.main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.main-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.main-top h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.main-top small { font-size: 12px; color: var(--muted); }
.auto-pill { font-size: 12px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.auto-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { font-size: 11.5px; color: var(--muted); }
.kpi div { font-family: var(--serif); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: 11.5px; color: var(--green); }
.main-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; min-height: 0; }
.today { display: grid; gap: 8px; align-content: start; }
.today-h, .agents-h { font-size: 12px; color: var(--muted); }
.todo { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
.todo .mod { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.todo .mod.risk { background: var(--risk-soft); color: var(--risk); }
.todo .act { font-size: 12px; padding: 5px 10px; border-radius: 8px; background: var(--forest); color: #fff; }
.todo .act.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.agents { display: grid; gap: 8px; align-content: start; }
.agent-row { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; background: var(--surface-2); animation: logIn 0.4s var(--ease); }
.agent-row .spinner { width: 12px; height: 12px; }

/* ============ Logos ============ */
.logos { padding: 56px 0 24px; }
.logos p { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 26px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0); opacity: 0.45; transition: opacity 0.2s; }
.marquee img:hover { opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-head { text-align: center; max-width: 800px; margin: 0 auto; }
.sec-head .mark-sm { display: block; width: 36px; height: 36px; margin: 0 auto 22px; color: var(--forest); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Model comparison */
.cmp { max-width: 1000px; margin: 56px auto 0; overflow: hidden; box-shadow: var(--shadow); }
.cmp-row { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1.2fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row > * { padding: 18px 20px; font-size: 14.5px; color: var(--ink-2); }
.cmp-row > *:first-child { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.cmp-row .us { background: #F1F8F2; color: var(--ink); font-weight: 500; border-left: 1px solid rgba(29, 106, 67, 0.18); }
.cmp-row .dim { color: var(--muted); }
.cmp-head > * { font-size: 13px !important; font-family: var(--sans) !important; color: var(--muted) !important; padding-top: 22px !important; padding-bottom: 14px !important; }
.cmp-head .us { color: var(--forest) !important; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.cmp-head .us svg { width: 18px; height: 18px; }

/* Feed (systems mock + approvals) */
.feed { padding: 14px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.f-item { opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.f-item.in { opacity: 1; transform: none; }
.f-event { align-self: center; font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); text-align: center; }
.f-event.ok { color: var(--green); background: var(--green-soft); }
.f-event .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.f-agent { align-self: flex-start; max-width: 88%; font-size: 14px; color: var(--ink-2); padding: 10px 13px; border-radius: 4px 14px 14px 14px; background: var(--surface-2); }
.f-agent .who { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); margin-bottom: 3px; }
.f-agent .who svg { width: 12px; height: 12px; }
.f-out { align-self: flex-end; max-width: 86%; font-size: 14px; color: #F4F1E8; padding: 10px 13px; border-radius: 14px 4px 14px 14px; background: var(--forest); }
.f-out .who { font-size: 11px; color: rgba(245, 239, 227, 0.6); margin-bottom: 3px; }
.f-in { align-self: flex-start; max-width: 86%; font-size: 14px; padding: 10px 13px; border-radius: 4px 14px 14px 14px; background: #fff; border: 1px solid var(--line-2); }
.f-in .who { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.f-note, .f-alert { font-size: 13.5px; color: var(--ink-2); padding: 10px 13px; border-radius: 10px; border-left: 3px solid var(--amber); background: #FCF7EA; }
.f-alert { border-left-color: var(--risk); background: var(--risk-soft); }
.f-note .tag, .f-alert .tag { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #9A7322; margin-bottom: 2px; }
.f-alert .tag { color: var(--risk); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 14px; background: var(--surface-2); }
.typing.right { align-self: flex-end; background: rgba(0, 29, 17, 0.85); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA59E; animation: blink 1.1s infinite; }
.typing.right i { background: rgba(255, 255, 255, 0.6); }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* Platform workspaces */
.sys { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.sys-copy h2 { font-size: clamp(36px, 4.4vw, 56px); }
.sys-copy .lede { margin-left: 0; }
.roles { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 14px; }
.roles li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); align-items: baseline; }
.roles b { font-size: 12px; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 99px; text-align: center; }
.sys-copy .fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.frame { padding: 22px; border-radius: 28px; }
.frame .blob { filter: blur(50px); }
.app {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column; height: 600px;
}
.tabs { display: flex; gap: 2px; margin: 12px; padding: 4px; border-radius: 12px; background: var(--surface-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1; border: 0; background: transparent; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.app-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 18px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.app-meta b { color: var(--ink); font-weight: 500; }
.app-meta .auto-pill.locked::before { background: var(--forest); }
.app .feed { flex: 1; overflow: hidden; justify-content: flex-start; }
.app-foot { border-top: 1px solid var(--line); padding: 12px 18px; font-size: 12px; color: var(--muted); text-align: center; }

/* Autonomy panel */
.auto-shell { padding: 0 12px; }
.auto { padding: 110px 0 100px; }
.auto-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; margin-top: 64px; }
.approve {
  background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); width: 100%; max-width: 560px; justify-self: center;
}
.ap-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.ap-top b { color: var(--ink); font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.ap-top b svg { width: 18px; height: 18px; color: var(--forest); }
.ap-to { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.ap-to span b { color: var(--ink); font-weight: 500; }
.ap-mail { margin-top: 10px; padding: 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; color: var(--ink-2); min-height: 112px; transition: opacity 0.3s; }
.ap-mail strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.ap-ev { margin-top: 12px; display: grid; gap: 6px; }
.ap-ev div { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; }
.ap-ev div::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; transform: translateY(-1px); }
.ap-ev small { color: var(--muted); }
.ap-foot { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.conf { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-right: auto; }
.conf i { width: 64px; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; display: block; }
.conf i::after { content: ""; display: block; height: 100%; width: var(--c, 80%); background: var(--green); border-radius: 99px; }
.ap-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; cursor: default; }
.ap-btn.go { background: var(--forest); color: #fff; border-color: var(--forest); transition: transform 0.15s, background 0.3s; }
.ap-btn.go.press { transform: scale(0.95); }
.ap-btn.go.sent { background: var(--green); border-color: var(--green); }
.ap-log { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); list-style: none; padding-left: 0; display: grid; gap: 6px; margin-bottom: 0; }
.ap-log li { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); animation: logIn 0.4s var(--ease); }
.ap-log li .tick { width: 13px; height: 13px; }
.ap-log time { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; color: #9AA59E; }
@keyframes logIn { from { opacity: 0; transform: translateY(-4px); } }
.levels { display: grid; gap: 12px; }
.level {
  background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px; padding: 20px 22px; backdrop-filter: blur(10px);
}
.level.default { background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow); }
.level-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.level h3 { font-size: 24px; }
.level .badge { font-size: 11.5px; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.level p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.levels .fine { font-size: 13px; color: var(--ink-2); padding: 2px 6px; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--green); animation: spin 0.9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Learnings */
.ins { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ins-copy .lede { margin-left: 0; }
.quotes { margin-top: 30px; border-top: 1px solid var(--line); }
.q { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.q blockquote { margin: 0; font-family: var(--serif); font-size: 19px; }
.q span { font-size: 13px; color: var(--muted); }
.q .ch { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 12px; font-weight: 500; font-style: normal; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; }
.textlink { display: inline-block; margin-top: 22px; font-size: 14px; color: var(--green); text-decoration: none; font-weight: 500; }
.textlink:hover { text-decoration: underline; }
.report { padding: 22px; box-shadow: var(--shadow-lg); }
.report-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.report-head span { font-size: 12px; color: var(--muted); font-weight: 400; }
.bars { margin-top: 18px; display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; font-size: 14px; color: var(--ink-2); }
.bar-row b { font-weight: 400; font-variant-numeric: tabular-nums; }
.track { grid-column: 1 / 3; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--forest); transition: width 1.2s var(--ease); }
.bar-row:nth-child(2) .track i { background: var(--green); }
.bar-row:nth-child(3) .track i { background: #6FAE86; }
.bar-row:nth-child(4) .track i { background: var(--mint); }
.changes { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.changes h4 { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.change { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.change .tick { width: 14px; height: 14px; }
.change em { font-style: normal; font-size: 12px; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* How we work */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; }
.timeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1.5px; background: rgba(0, 29, 17, 0.18); }
.timeline .fill { position: absolute; left: 6px; top: 6px; height: 1.5px; width: 0; background: var(--forest); transition: width 1.2s var(--ease); }
.step { position: relative; }
.step .node { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(0, 29, 17, 0.45); position: relative; z-index: 1; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.step.on .node { background: var(--forest); border-color: var(--forest); }
.step.now .node { box-shadow: 0 0 0 5px rgba(217, 164, 65, 0.45); }
.step .t { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.step h3 { font-size: 23px; margin-top: 12px; }
.step p { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
.ops-note { margin: 56px auto 0; max-width: 760px; text-align: center; font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink-2); }
.ops-note em { color: var(--green); }

/* Stack */
.stack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: 980px; margin: 56px auto 0; }
.tool {
  display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.tool:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tool .mono { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.tool small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.hub {
  grid-column: 3 / 5; grid-row: 2; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--forest); color: var(--cream); border-radius: 14px; padding: 14px; font-size: 14px;
}
.hub svg { width: 26px; height: 26px; }

/* Proof */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1000px; margin: 56px auto 0; }
.stat { padding: 24px; }
.stat .num { font-family: var(--serif); font-size: 60px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.stats-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.tgrid { columns: 3 300px; column-gap: 18px; margin-top: 48px; }
.tcard { break-inside: avoid; margin: 0 0 18px; padding: 24px; }
.tcard blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink); }
.tcard .by { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard .by strong { display: block; font-size: 14px; font-weight: 500; }
.tcard .by span { font-size: 13px; color: var(--muted); }
.tcard .by img { height: 20px; width: auto; max-width: 96px; object-fit: contain; filter: brightness(0); opacity: 0.4; }

/* Trust */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; overflow: hidden; }
.pr { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.pr:first-child { border-left: 0; }
.pr .tick { width: 16px; height: 16px; }
.pr h3 { font-size: 22px; margin-top: 16px; }
.pr p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-copy h2 { font-size: clamp(36px, 4.4vw, 56px); }
.faq-copy p { color: var(--muted); max-width: 340px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-family: var(--serif); font-size: 21px;
}
summary::-webkit-details-marker { display: none; }
summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease), background 0.2s; }
details[open] summary .pm { transform: rotate(45deg); background: var(--surface-2); }
details p { margin: -6px 0 22px; color: var(--ink-2); max-width: 600px; }

/* Final CTA */
.cta-shell { padding: 0 12px 12px; }
.cta { padding: 120px 0; text-align: center; }
.cta .lede { color: var(--ink-2); }
.cta .fine { font-size: 13px; color: var(--ink-2); margin-top: 16px; }

/* Footer */
footer { padding: 72px 0 40px; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot .brand svg { height: 26px; width: auto; color: var(--forest); }
.foot .brand p { font-size: 14px; color: var(--muted); max-width: 300px; margin-top: 14px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--green); }
.legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Booking modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(11, 31, 21, 0.4); backdrop-filter: blur(6px); animation: fade 0.3s; }
.modal-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 32px; animation: rise 0.4s var(--ease); }
.modal-box.wide { max-width: 860px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; line-height: 1; }
.modal h3 { font-size: 30px; }
.modal p { color: var(--muted); margin: 8px 0 24px; }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.region { text-align: left; padding: 20px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; }
.region:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.region strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.region span { font-size: 13px; color: var(--muted); }
.back { margin-top: 12px; border: 0; background: none; color: var(--green); cursor: pointer; padding: 0; font-size: 14px; }
#bookingMount .meetings-iframe-container { min-height: 640px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.98); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .nav-links, .nav-sep, .nav-quiet { display: none; }
  .nav-menu { display: inline-flex; }
  .nav { width: calc(100% - 24px); }
  .nav-pill .btn-sm { margin-left: auto; }
  .auto-grid, .sys, .ins, .faq { grid-template-columns: 1fr; }
  .sys, .ins, .faq { gap: 40px; }
  .shot-win { grid-template-columns: 1fr; }
  .side { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before, .timeline .fill { display: none; }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .hub { grid-column: 1 / -1; grid-row: auto; order: -1; }
  .principles { grid-template-columns: 1fr 1fr; }
  .pr:nth-child(3) { border-left: 0; }
  .pr:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot .brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cmp-head { display: none !important; }
  .cmp-row { grid-template-columns: 1fr; padding: 6px 0; }
  .cmp-row > * { padding: 6px 18px; }
  .cmp-row > *:first-child { padding-top: 14px; }
  .cmp-row > [data-col]::before { content: attr(data-col); display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
  .cmp-row .us { border-left: 0; border-radius: 10px; margin: 4px 12px 10px; padding: 10px 12px; }
  .main-cols { grid-template-columns: 1fr; }
  .agents { display: none; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 84px 0; }
  .hero-shell { padding: 8px; }
  .auto-shell { padding: 0 8px; }
  .cta-shell { padding: 0 8px 8px; }
  .hero { padding: 120px 0 0; }
  .shot { padding: 0 12px; margin-top: 48px; }
  .shot-win { height: 400px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { display: none; }
  .todo { grid-template-columns: 1fr auto; }
  .todo .mod { display: none; }
  .capture { flex-direction: column; align-items: stretch; }
  .capture .btn { width: 100%; }
  .auto, .cta { padding: 80px 0; }
  .timeline { grid-template-columns: 1fr; }
  .stat .num { font-size: 48px; }
  .stack { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
  .pr { border-left: 0 !important; }
  .pr:nth-child(n+2) { border-top: 1px solid var(--line); }
  .frame { padding: 10px; border-radius: 22px; }
  .app { height: 580px; }
  .app-meta .auto-pill { display: none; }
  .roles li { grid-template-columns: 1fr; gap: 6px; }
  .roles b { justify-self: start; }
  .regions { grid-template-columns: 1fr; }
  .modal-box { padding: 24px; }
  summary { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .f-item { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* =====================================================================
   Multi-page system
   ===================================================================== */
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: none; border: 1px solid var(--line-2); }
.btn-ghost:hover { background: #fff; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mega menu ---------- */
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; color: var(--ink-2); padding: 7px 12px; border-radius: 9px; transition: background 0.2s, color 0.2s;
}
.nav-trigger svg { width: 10px; height: 10px; transition: transform 0.2s; }
.nav-item:hover .nav-trigger, .nav-item:focus-within .nav-trigger, .nav-trigger.active { background: rgba(0, 29, 17, 0.06); color: var(--ink); }
.nav-item:hover .nav-trigger svg, .nav-item:focus-within .nav-trigger svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  background: rgba(255, 255, 255, 0.98); border-radius: 18px; padding: 10px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); display: grid; gap: 4px 8px; width: max-content;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega.cols-2 { grid-template-columns: repeat(2, 260px); }
.mega.cols-3 { grid-template-columns: repeat(3, 240px); }
.mega.cols-1 { grid-template-columns: 280px; }
.mega .nav-h { margin: 8px 12px 4px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mega a { display: block; padding: 9px 12px; border-radius: 11px; text-decoration: none; transition: background 0.15s; }
.mega a:hover { background: var(--surface-2); }
.mega a b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.mega a span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.mega .mega-feature { grid-row: span 4; background: var(--forest); color: var(--cream); border-radius: 13px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.mega .mega-feature:hover { background: var(--forest-2); }
.mega .mega-feature b { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.mega .mega-feature span { color: rgba(245, 239, 227, 0.75); }
.mega .mega-feature svg { width: 28px; height: 28px; color: var(--amber); margin-bottom: 18px; }
.nav-sheet .nav-h { margin: 10px 14px 2px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.nav-sheet { max-height: calc(100svh - 90px); overflow: auto; }
.nav-sheet a { padding: 9px 14px; font-size: 15px; }

/* ---------- Sub-page hero ---------- */
.page-hero { padding: 150px 0 90px; }
.page-hero.center { text-align: center; }
.page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); margin-top: 18px; max-width: 900px; }
.page-hero.center h1 { margin-left: auto; margin-right: auto; }
.page-hero .lede { font-size: 18px; color: var(--ink-2); margin: 22px 0 0; max-width: 620px; }
.crumbs { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-hero.center .crumbs { justify-content: center; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-split .visual { min-width: 0; }

/* ---------- Generic blocks ---------- */
.sec.tight { padding: 80px 0; }
.sec.flush-top { padding-top: 0; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head.left .lede { margin-left: 0; }
.sec-head h2 + .lede { margin-top: 18px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(32px, 3.8vw, 48px); }
.split .lede { margin-left: 0; }
.split .list, .list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.list li .tick { margin-top: 4px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.feat { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-family: var(--serif); font-size: 19px; }
.feat .ic svg { width: 20px; height: 20px; }
.feat h3 { font-size: 22px; margin-top: 6px; }
.feat p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.feat a.more { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--green); text-decoration: none; font-weight: 500; }
.feat a.more:hover { text-decoration: underline; }
a.feat { text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
a.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.num-badge { font-family: var(--serif); font-size: 15px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.chip.green { background: var(--green-soft); border-color: transparent; color: var(--green); }
.metric-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; overflow: hidden; }
.metric-list > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.metric-list > div:first-child { border-left: 0; }
.metric-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.metric-list span { font-size: 13.5px; color: var(--muted); }
.panel-card { padding: 28px; }
.quote-block { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-block blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; letter-spacing: -0.01em; }
.quote-block figcaption { margin-top: 22px; font-size: 14px; color: var(--muted); }
.quote-block figcaption strong { color: var(--ink); font-weight: 500; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 32px; align-items: center; justify-items: center; margin-top: 40px; }
.logo-grid img { height: 26px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0); opacity: 0.45; }
.mini-feed { padding: 8px 0; }
.mini-feed .feed { padding: 16px 18px 20px; min-height: 380px; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.window-bar b { color: var(--ink); font-weight: 500; }

/* ---------- Next links ---------- */
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.next-grid a { display: block; padding: 22px; text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.next-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.next-grid small { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.next-grid b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; margin-top: 6px; }
.next-grid span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* ---------- Customers ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.case-card { display: flex; flex-direction: column; padding: 30px; text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s; min-height: 340px; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.case-card img { height: 28px; width: auto; max-width: 150px; object-fit: contain; object-position: left; filter: brightness(0); opacity: 0.75; }
.case-card h3 { font-size: 28px; margin-top: 26px; }
.case-card p { color: var(--ink-2); font-size: 15px; margin: 12px 0 0; }
.case-card .case-stats { display: flex; gap: 28px; margin-top: auto; padding-top: 26px; }
.case-card .case-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.case-card .case-stats span { font-size: 12.5px; color: var(--muted); }
.case-card .go { margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--green); }
.cs-layout { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.cs-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.cs-aside .card { padding: 22px; }
.cs-aside dl { margin: 0; display: grid; gap: 14px; }
.cs-aside dt { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.cs-aside dd { margin: 3px 0 0; font-size: 14.5px; }
.prose { max-width: 700px; }
.prose h2 { font-size: 34px; margin: 56px 0 0; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin: 18px 0 0; }
.prose ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.prose .pull { margin: 40px 0; padding: 26px 30px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--ink); }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; max-width: 900px; margin-left: auto; margin-right: auto; }
.person { padding: 24px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.person img { width: 96px; height: 96px; border-radius: 20px; object-fit: cover; }
.person h3 { font-size: 24px; }
.person .role { font-size: 13px; color: var(--green); font-weight: 500; margin-top: 2px; }
.person p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }
.person a { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-box { padding: 28px; }
.contact-box .regions { margin-top: 18px; }
.contact-box #inlineMount .meetings-iframe-container { min-height: 660px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-list li a, .contact-list li span { font-size: 17px; text-decoration: none; }

/* ---------- Partner tiers / table ---------- */
.ptable { margin-top: 56px; overflow: hidden; }
.ptable-row { display: grid; grid-template-columns: 1.2fr 2fr; }
.ptable-row + .ptable-row { border-top: 1px solid var(--line); }
.ptable-row > div { padding: 20px 24px; font-size: 15px; color: var(--ink-2); }
.ptable-row > div:first-child { font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1100px) {
  .nav-links .nav-trigger, .nav-links > a { padding: 7px 9px; }
}
@media (max-width: 980px) {
  .hero-split, .split, .contact-grid, .cs-layout { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .grid-3, .grid-4, .next-grid { grid-template-columns: 1fr 1fr; }
  .metric-list { grid-template-columns: 1fr 1fr; }
  .metric-list > div:nth-child(3) { border-left: 0; }
  .metric-list > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .cs-aside { position: static; }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { padding: 120px 0 64px; }
  .grid-3, .grid-4, .grid-2, .next-grid, .people { grid-template-columns: 1fr; }
  .metric-list { grid-template-columns: 1fr; }
  .metric-list > div { border-left: 0 !important; }
  .metric-list > div + div { border-top: 1px solid var(--line); }
  .person { grid-template-columns: 72px 1fr; }
  .person img { width: 72px; height: 72px; border-radius: 16px; }
  .ptable-row { grid-template-columns: 1fr; }
  .ptable-row > div:first-child { padding-bottom: 0; }
  .split + .split { margin-top: 72px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .prose h2 { font-size: 28px; }
}

/* ---------- Footer (multi-page) ---------- */
.foot-5 { grid-template-columns: 1.5fr repeat(4, 1fr); }
.foot-contact { margin-top: 18px !important; gap: 8px !important; }
.foot-contact a { color: var(--ink-2); }
@media (max-width: 980px) { .foot-5 { grid-template-columns: 1fr 1fr; } }
.hero-split .checks, .contact-grid .checks, .split .checks { justify-content: flex-start; }
/* Wide menus center under the whole nav pill so they never spill off-screen */
.nav-pill { position: relative; }
.nav-item:has(.cols-3), .nav-item:has(.cols-2) { position: static; }
.nav-sheet { background: #fff; }

/* =====================================================================
   Expanded page components
   ===================================================================== */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.ba-card { padding: 28px; }
.ba-card h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.ba-card h3 svg { width: 22px; height: 22px; color: var(--forest); }
.ba-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.ba-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.ba-card li .tick { margin-top: 4px; }
.ba-before { background: var(--surface-2); box-shadow: none; }
.ba-before li { color: var(--muted); }
.ba-before .x { width: 14px; flex: none; text-align: center; color: #A9B2AC; font-size: 16px; line-height: 1.3; }
.ba-after { background: #F1F8F2; border-color: rgba(29, 106, 67, 0.18); box-shadow: var(--shadow); }
.daylist { padding: 8px 0; }
.day-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 24px; align-items: baseline; }
.day-row + .day-row { border-top: 1px solid var(--line); }
.day-t { font-family: var(--serif); font-size: 18px; color: var(--green); }
.day-x { font-size: 15px; color: var(--ink-2); }
.ctable { margin-top: 48px; overflow: hidden; }
.ct-row { display: grid; grid-template-columns: 1fr 1.3fr 1.4fr; }
.ct-row + .ct-row { border-top: 1px solid var(--line); }
.ct-row > * { padding: 18px 22px; font-size: 14.5px; color: var(--ink-2); }
.ct-row > *:first-child { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.ct-row .dim { color: var(--muted); }
.ct-row .us { background: #F1F8F2; color: var(--ink); font-weight: 500; border-left: 1px solid rgba(29, 106, 67, 0.18); }
.ct-head > * { font-family: var(--sans) !important; font-size: 13px !important; color: var(--muted) !important; font-weight: 400 !important; }
.ct-head .us { color: var(--forest) !important; display: flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.ct-head .us svg { width: 18px; height: 18px; }
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.sig { padding: 18px 20px; }
.sig b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.sig span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.ind-logos .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 10px 0 6px; justify-items: start; }
.ind-logos .logo-grid img { height: 22px; }
.role-table { margin-top: 48px; overflow: hidden; }
.agenda { margin-top: 48px; }
.agenda .day-row { grid-template-columns: 170px 1fr; }
.agenda .day-x b { display: block; font-weight: 500; color: var(--ink); margin-bottom: 2px; }

/* ---------- Blog ---------- */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.pill { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: all 0.2s; }
.pill:hover { color: var(--ink); border-color: var(--ink-2); }
.pill.on { background: var(--forest); color: #fff; border-color: var(--forest); }
.blog-search { margin-left: auto; height: 38px; min-width: 220px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: 14px; color: var(--ink); }
.blog-search:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.feat-post { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; text-decoration: none; transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.feat-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feat-post > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1200 / 630; }
.feat-copy { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.feat-copy h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 14px; }
.feat-copy p { color: var(--ink-2); margin: 14px 0 0; }
.byline-sm { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.byline-sm img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.bmeta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--muted); }
.bmeta .bcat { color: var(--green); font-weight: 500; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.sec-head + .post-grid { margin-top: 48px; }
.pcard { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.pcard-body { padding: 20px 22px 24px; }
.pcard h3 { font-size: 22px; margin-top: 10px; }
.pcard p { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
.blog-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.subscribe { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding: 36px; }
.subscribe h2 { font-size: clamp(28px, 3vw, 38px); }
.subscribe .lede { margin-left: 0; }
.subscribe .btn-row { justify-content: flex-end; margin-top: 0; }
.art-hero { padding-bottom: 72px; }
.art-narrow { max-width: 860px; }
.art-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14.5px; color: var(--ink-2); }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline b { font-weight: 500; color: var(--ink); }
.byline a svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--muted); }
.byline small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.art-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; align-items: start; }
.art-aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.toc .nav-h { margin: 0 0 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding-left: 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.on { color: var(--green); border-left-color: var(--green); }
.ai-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ai-row span { width: 100%; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ai-row a, .share a, .share button { font-size: 12.5px; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); text-decoration: none; cursor: pointer; }
.ai-row a:hover, .share a:hover, .share button:hover { border-color: var(--green); color: var(--green); }
.share { display: flex; flex-wrap: wrap; gap: 6px; }
.art-cover { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 36px; }
.blog-prose h2 { margin-top: 48px; scroll-margin-top: 100px; }
.blog-prose a { color: var(--green); }
.blog-prose strong { color: var(--ink); font-weight: 600; }
.blog-prose blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--amber); font-family: var(--serif); font-size: 22px; color: var(--ink); }
.blog-prose ol, .blog-prose ul { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.blog-prose li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.blog-prose .table-wrap { overflow-x: auto; margin: 24px 0; }
.blog-prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.blog-prose th, .blog-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.art-tags { margin-top: 36px; }
.author-card { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 24px; margin-top: 36px; }
.author-card img { width: 80px; height: 80px; border-radius: 18px; object-fit: cover; }
.author-card h3 { font-size: 22px; }
.author-card p { margin: 6px 0 8px; font-size: 14.5px; color: var(--ink-2); }
.author-card a { font-size: 13.5px; color: var(--green); text-decoration: none; }
.art-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 26px; margin-top: 16px; background: #F1F8F2; border-color: rgba(29, 106, 67, 0.18); }
.art-cta h3 { font-size: 22px; }
.art-cta p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; justify-content: center; align-items: start; }
.legal-doc h2 { font-size: 28px; margin: 48px 0 0; scroll-margin-top: 100px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-size: 20px; margin: 26px 0 0; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-doc p { margin: 14px 0 0; }
.legal-doc ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-doc a { color: var(--green); }
.legal-doc .table-wrap { overflow-x: auto; margin-top: 16px; }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-doc th { font-weight: 500; color: var(--ink); }
.updated { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.legal-links a, .legal-links button { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; cursor: pointer; }
.legal-links a:hover, .legal-links button:hover { color: var(--ink); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 420px; padding: 18px 20px;
  background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); display: none;
}
.cookie.show { display: block; animation: rise 0.4s var(--ease); }
.cookie p { margin: 0; font-size: 14px; color: var(--ink-2); }
.cookie p a { color: var(--green); }
.cookie .btn-row { margin-top: 14px; gap: 8px; }
.cookie .btn { height: 38px; font-size: 14px; padding: 0 16px; box-shadow: none; }

@media (max-width: 980px) {
  .ba-grid, .feat-post, .subscribe, .art-layout, .legal-layout { grid-template-columns: 1fr; }
  .art-aside { position: static; order: 2; }
  .legal-layout .art-aside { order: 0; }
  .post-grid, .sig-grid { grid-template-columns: 1fr 1fr; }
  .subscribe .btn-row { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .ct-head { display: none !important; }
  .ct-row { grid-template-columns: 1fr; padding: 6px 0; }
  .ct-row > * { padding: 6px 18px; }
  .ct-row > *:first-child { padding-top: 14px; }
  .ct-row > [data-col]::before { content: attr(data-col); display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
  .ct-row .us { border-left: 0; border-radius: 10px; margin: 4px 12px 10px; padding: 10px 12px; }
}
@media (max-width: 600px) {
  .post-grid, .sig-grid { grid-template-columns: 1fr; }
  .day-row, .agenda .day-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .blog-search { margin-left: 0; width: 100%; }
  .feat-copy { padding: 24px; }
  .art-cta { flex-direction: column; align-items: flex-start; }
  .author-card { grid-template-columns: 60px 1fr; }
  .author-card img { width: 60px; height: 60px; }
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
}

/* =====================================================================
   Logos, leadership, demo and contact routes
   ===================================================================== */
/* Larger nav logo */
.nav-logo { height: 38px; padding: 0 14px 0 10px; }
.nav-logo svg { height: 30px; }
.foot .brand svg { height: 32px; }
@media (max-width: 600px) { .nav-logo svg { height: 26px; } }

/* Tool logos */
.tool .logo { width: 32px; height: 32px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; overflow: hidden; }
.tool .logo img { width: 20px; height: 20px; object-fit: contain; }
.tool-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); }
.tool-chip img { width: 16px; height: 16px; object-fit: contain; border-radius: 4px; }
.ptable-row > div:first-child .tool-chip { font-size: 13px; margin: 6px 4px 0 0; }

/* Leadership */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.leader { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.leader img, .leader .avatar { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; }
.leader .avatar { display: grid; place-items: center; background: var(--forest); color: var(--cream); font-family: var(--serif); font-size: 38px; }
.leader h3 { font-size: 24px; }
.leader .role { font-size: 13px; color: var(--green); font-weight: 500; margin-top: 3px; }
.leader p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }
.leader .li { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.leader .li svg { width: 15px; height: 15px; color: #0A66C2; }
.leader .li:hover { color: var(--green); }

/* Demo page */
.demo-split { align-items: start; }
.demo-list { margin-top: 26px; }
.meet { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.meet img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.meet img + img { margin-left: -22px; }
.demo-box { padding: 28px; box-shadow: var(--shadow-lg); }
.demo-box h3 { font-size: 28px; }
.region-hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.region.on { border-color: var(--green); background: #F1F8F2; }
.demo-box #inlineMount .meetings-iframe-container { min-height: 660px; margin-top: 16px; }
.demo-fine { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.demo-fine a { color: var(--green); }

/* Contact routes */
.routes { display: grid; gap: 8px; padding: 22px; }
.route { position: relative; display: block; padding: 14px 44px 14px 16px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.route:hover { border-color: var(--green); background: #F7FBF7; transform: translateX(2px); }
.route b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.route span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.route i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--green); }
.route-primary { background: var(--forest); border-color: var(--forest); }
.route-primary b { color: #fff; }
.route-primary span { color: rgba(245, 239, 227, 0.75); }
.route-primary i { color: var(--amber); }
.route-primary:hover { background: var(--forest-2); border-color: var(--forest-2); }

@media (max-width: 980px) { .leaders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .leaders { grid-template-columns: 1fr; } }

/* =====================================================================
   Self-improvement: loop + KPI chart
   ===================================================================== */
.improve .sec-head h2 em { white-space: nowrap; }
.imp-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; margin-top: 48px; align-items: stretch; }
.imp-loop { padding: 26px; display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; }
.loop { width: 100%; height: auto; overflow: visible; }
.lp-ring { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 4 6; }
.lp-orbit { transform-origin: 150px 150px; animation: lp-spin 8s linear infinite; }
.lp-dot { fill: var(--amber); }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-node circle { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; animation: lp-pulse 8s linear infinite; animation-delay: var(--d); }
@keyframes lp-pulse { 0%, 22% { fill: var(--forest); stroke: var(--forest); } 25%, 100% { fill: #fff; stroke: var(--line-2); } }
.lp-node text { text-anchor: middle; font-family: var(--sans); }
.lp-n { font-size: 10px; fill: var(--muted); }
.lp-l { font-size: 11px; font-weight: 500; fill: var(--ink); }
.lp-node circle { mix-blend-mode: normal; }
.lp-c1, .lp-c2 { text-anchor: middle; font-family: var(--serif); fill: var(--ink); }
.lp-c1 { font-size: 18px; }
.lp-c2 { font-size: 26px; font-style: italic; fill: var(--green); }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.lp-steps b { display: block; color: var(--ink); font-weight: 500; font-size: 14.5px; }
.lp-i { font-family: var(--serif); color: var(--green); font-size: 15px; }
.imp-tests { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; }
.imp-tests .chips { margin-top: 4px; }
.kc { padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.kc-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.kc-head b { color: var(--ink); font-weight: 500; }
.kc-legend { display: inline-flex; align-items: center; gap: 6px; }
.kc-legend i { display: inline-block; width: 16px; height: 0; border-top: 2.5px solid var(--green); margin-left: 8px; }
.kc-legend i.lg-hold { border-top: 2px dashed #A9B2AC; }
.kc-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.kc-big b { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; letter-spacing: -0.02em; }
.kc-delta { font-size: 13px; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 3px 10px; border-radius: 99px; }
.kc-from { font-size: 13px; color: var(--muted); }
.kc-svg { width: 100%; height: auto; margin-top: 10px; }
.kc-axis { stroke: var(--line-2); }
.kc-area { fill: url(#kcg); }
.kc-hold { fill: none; stroke: #A9B2AC; stroke-width: 2; stroke-dasharray: 5 5; }
.kc-line { fill: none; stroke: var(--green); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) 0.3s; }
.kc.in .kc-line { stroke-dashoffset: 0; }
.kc-mark circle { fill: var(--forest); stroke: #fff; stroke-width: 2; }
.kc-mark text { fill: #fff; font-family: var(--sans); font-size: 10px; font-weight: 600; text-anchor: middle; }
.kc-mark { opacity: 0; transition: opacity 0.4s; }
.kc.in .kc-mark { opacity: 1; transition-delay: 1.6s; }
.kc-x { font-family: var(--sans); font-size: 11px; fill: var(--muted); }
.kc-log { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.kc-log li { display: grid; grid-template-columns: 20px 62px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.kc-num { width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: #fff; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; }
.kc-wk { font-size: 12px; color: var(--muted); }
.kc-log em { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 99px; }
.imp-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.improve-strip { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; padding: 30px; background: #F1F8F2; border-color: rgba(29, 106, 67, 0.18); }
.improve-strip h3 { font-size: 28px; margin-top: 4px; }
.improve-strip p { color: var(--ink-2); margin: 10px 0 0; }
.is-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.is-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.is-step span { display: block; font-family: var(--serif); color: var(--green); font-size: 14px; }
.is-step b { font-family: var(--serif); font-weight: 400; font-size: 21px; }
/* Hero highlight for the loop on home */
.loop-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 99px; font-weight: 500; }
@media (max-width: 1100px) { .imp-loop { grid-template-columns: 1fr; } .loop { max-width: 240px; margin: 0 auto; } }
@media (max-width: 980px) { .imp-grid, .improve-strip { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .kc-log li { grid-template-columns: 20px 1fr auto; }
  .kc-wk { display: none; }
  .kc-big b { font-size: 44px; }
  .improve .sec-head h2 em { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .kc-line { stroke-dashoffset: 0; } .kc-mark { opacity: 1; } }
.imp-loop { grid-template-columns: 270px 1fr; }
.lp-node circle { r: 36px; }
.lp-n { font-size: 11px; }
.lp-l { font-size: 13px; }
.lp-c1 { font-size: 20px; }
.lp-c2 { font-size: 30px; }
@media (max-width: 1100px) { .imp-loop { grid-template-columns: 1fr; } .loop { max-width: 260px; margin: 0 auto; } }

/* =====================================================================
   Canopy x Apple theme layer. Overrides the component rules above with
   Apple's measurements; tokens live at the top of this file.
   ===================================================================== */

/* ---------- Page frame ---------- */
main { padding-top: var(--nav-h); }
.hero-shell, .auto-shell, .cta-shell { padding: 12px 12px 0; }
.cta-shell { padding-bottom: 12px; }
.sec { padding: var(--sec-pad) 0; }
.sec.flush-top { padding-top: 0; }
.sec.tight { padding: 72px 0; }
.sec-head { max-width: 860px; }
.sec-head h2 + .lede, .sec-head .lede { margin-top: 18px; }

/* ---------- Tiles (replace the old gradient mesh) ---------- */
.mesh { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--bg-alt); }
.mesh .blob, .frame .blob { display: none; }
.hero { padding: 88px 0 0; }
.page-hero { padding: 96px 0 88px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.0625; letter-spacing: -0.009em; }  /* 64/68 */
.art-hero h1 { font-size: clamp(36px, 4.6vw, 56px); }
.hero .mark { width: 48px; height: 48px; margin-bottom: 22px; animation: none; }
.hero h1 { margin-top: 20px; }
.hero .lede { font-size: 21px; color: var(--ink-2); max-width: 660px; }

/* Dark tiles: Apple's theme-dark sections, in forest */
.auto, .cta { background: var(--forest); color: #F2F5F1; }
.auto h2, .cta h2, .auto h3, .cta h3 { color: #F5F7F4; }
.auto h2 em, .cta h2 em { background: var(--grad-dark); -webkit-background-clip: text; background-clip: text; }
.auto .lede, .cta .lede { color: var(--muted-dark) !important; }
.auto .kicker, .cta .kicker { color: var(--link-dark); }
.cta .checks { color: var(--muted-dark); }
.cta .tick, .auto .tick { color: var(--mint); }
.cta .capture { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 40px rgba(0, 0, 0, 0.35); }
.auto .fine, .levels .fine { color: var(--muted-dark) !important; }
.auto .fine a, .levels .fine a { color: var(--link-dark) !important; }
.level { background: rgba(255, 255, 255, 0.06); border: 0; border-radius: var(--radius); -webkit-backdrop-filter: none; backdrop-filter: none; }
.level.default { background: rgba(255, 255, 255, 0.11); box-shadow: inset 0 0 0 1px rgba(134, 211, 162, 0.35); }
.level h3 { font-size: 21px; color: #F5F7F4; }
.level p { color: var(--muted-dark); font-size: 15px; }
.level .badge { background: rgba(134, 211, 162, 0.16); color: var(--link-dark); }
.approve { background: #fff; border: 0; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); color: var(--ink); }

/* ---------- Eyebrows and labels (Apple sentence case, semibold) ---------- */
.kicker { display: block; font-size: 17px; line-height: 1.235; font-weight: 600; letter-spacing: -0.022em; text-transform: none; color: var(--green); margin-bottom: 10px; }
.mega .nav-h, .nav-sheet .nav-h, .toc .nav-h, .ai-row span, .next-grid small, .cs-aside dt, .side .sub,
.f-agent .who, .f-note .tag, .f-alert .tag,
.cmp-row > [data-col]::before, .ct-row > [data-col]::before {
  text-transform: none; letter-spacing: -0.01em; font-size: 12px; font-weight: 600;
}
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Display numbers and titles: SF Display, semibold ---------- */
.metric-list b, .sig b, .route b, .is-step b, .next-grid b, .case-card .case-stats b, .mini .k, .kpi div,
.main-top h4, .day-t, .cmp-row > *:first-child, .ct-row > *:first-child, .ptable-row > div:first-child,
.mega-feature b, .region strong, .leader h3, .person h3, .author-card h3, .feat-copy h2, .pcard h3, summary,
.q blockquote, .tcard blockquote, .quote-block blockquote, .prose .pull, .ops-note, .lp-c1, .lp-c2, .kc-big b, .stat .num, .step h3, .ba-card h3 {
  font-family: var(--sf-display); font-weight: 600;
}
.stat .num, .kc-big b { letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat .num { font-size: 64px; }
.metric-list b { font-size: 21px; letter-spacing: 0.011em; }
.sig b, .route b { font-size: 19px; letter-spacing: 0.012em; }
.is-step b { font-size: 19px; }
.day-t { font-size: 17px; letter-spacing: -0.022em; }
.tcard blockquote { font-size: 17px; line-height: 1.47; font-weight: 400; letter-spacing: -0.022em; }
.q blockquote { font-size: 19px; letter-spacing: 0.012em; }
.quote-block blockquote { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.125; letter-spacing: 0.004em; }
.ops-note { font-size: 24px; font-weight: 600; letter-spacing: 0.009em; color: var(--ink); }
.ops-note em { font-style: normal; color: var(--muted); }
.lp-c2 { font-style: normal; }
summary { font-size: 19px; letter-spacing: 0.012em; }

/* ---------- Cards: contrast, not borders ---------- */
.card { background: var(--surface-2); border: 0; border-radius: var(--radius-lg); box-shadow: none; }
.mesh .card, .frame .card { background: #fff; }
.feat { padding: 30px; gap: 8px; }
.feat .ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--green); font-family: var(--sf-display); font-size: 15px; font-weight: 600; }
.mesh .feat .ic { background: var(--surface-2); }
.feat h3 { font-size: 21px; line-height: 1.19; letter-spacing: 0.011em; margin-top: 10px; }
.feat p { font-size: 15px; line-height: 1.47; color: var(--ink-2); letter-spacing: -0.016em; }
.feat a.more, .feat .more { color: var(--link); font-weight: 400; font-size: 15px; }
a.feat:hover, .next-grid a:hover, .case-card:hover, .pcard:hover, a.card:hover { transform: none; box-shadow: none; background: var(--surface-3); }
.mesh a.feat:hover { background: #fff; }
.panel-card { padding: 34px; }
.grid-2, .grid-3, .grid-4 { gap: 20px; }
.grid-3 { gap: 20px; }

/* Floating product UI keeps depth, like Apple's screen shots */
.app, .shot-win, .kc, .report, .demo-box, .contact-box, .ap-mail + .ap-ev { box-shadow: var(--shadow-lg); }
.kc, .report { background: #fff; }

/* ---------- Tables ---------- */
.cmp, .ctable, .ptable { background: var(--surface-2); box-shadow: none; border-radius: var(--radius-lg); }
.cmp-row + .cmp-row, .ct-row + .ct-row, .ptable-row + .ptable-row { border-top: 1px solid var(--line); }
.cmp-row > *:first-child, .ct-row > *:first-child, .ptable-row > div:first-child { font-size: 17px; letter-spacing: -0.022em; }
.cmp-row .us, .ct-row .us { background: #fff; border-left: 0; color: var(--ink); font-weight: 600; }
.cmp-head .us, .ct-head .us { color: var(--green) !important; }

/* ---------- Buttons, links, chips ---------- */
.textlink { color: var(--link); font-weight: 400; font-size: 17px; }
.textlink:hover { text-decoration: underline; }
.chip { border: 0; background: var(--surface-2); color: var(--ink-2); font-size: 13px; padding: 6px 13px; letter-spacing: -0.01em; }
.mesh .chip, .card .chip { background: #fff; }
.chip.green, .mesh .chip.green, .card .chip.green { background: var(--green-soft); color: var(--green); }
.auto-pill { border: 0; background: var(--glass-strong); box-shadow: var(--glass-edge), 0 0 0 0.5px var(--line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); font-weight: 600; }
.pill { border: 0; background: var(--surface-2); font-weight: 400; }
.pill:hover { background: var(--surface-3); color: var(--ink); }
.pill.on { background: var(--ink); color: #fff; }
.blog-search { border: 0; background: var(--surface-2); }

/* ---------- iOS segmented control ---------- */
.tabs { background: rgba(118, 118, 128, 0.12); border-radius: 9px; padding: 2px; gap: 0; }
.tab { border-radius: 7px; font-size: 13px; letter-spacing: -0.01em; padding: 7px 10px; color: var(--ink-2); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04); }

/* ---------- Messages: iMessage geometry in Canopy green ---------- */
.f-out { background: var(--green); color: #fff; border-radius: 18px 18px 4px 18px; }
.f-out .who { color: rgba(255, 255, 255, 0.7); }
.f-in { background: var(--surface-3); border: 0; border-radius: 18px 18px 18px 4px; }
.f-agent { background: var(--surface-2); border-radius: 18px 18px 18px 4px; }
.f-agent .who { color: var(--green); }
.f-note, .f-alert { border-left: 0; border-radius: 14px; box-shadow: inset 3px 0 0 var(--amber); background: #FBF5E6; }
.f-alert { box-shadow: inset 3px 0 0 var(--risk); background: var(--risk-soft); }
.f-event { background: var(--surface-2); }
.typing { border-radius: 18px; background: var(--surface-3); }
.typing.right { background: var(--green); }

/* ---------- Hero product shot as a macOS window ---------- */
.shot-win { border-radius: 18px 18px 0 0; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 0 30px 80px rgba(0, 0, 0, 0.16); }
.side { position: relative; margin: 8px 0 8px 8px; border: 0; border-radius: 14px; background: rgba(236, 239, 234, 0.9); padding-top: 38px; }
.side::before { content: ""; position: absolute; top: 14px; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: 20px 0 0 #FEBC2E, 40px 0 0 #28C840; }
.side a.on { box-shadow: none; background: rgba(0, 0, 0, 0.06); font-weight: 600; }
.kpi, .todo { border: 0; background: var(--surface-2); }
.todo .act { border-radius: var(--r-pill); background: var(--green); }
.todo .act.ghost { border: 0; background: var(--surface-3); color: var(--ink); }
.agent-row { background: var(--surface-2); border-radius: 12px; }
.main-top h4 { font-size: 22px; letter-spacing: 0.01em; }
.ap-btn { border-radius: var(--r-pill); border: 0; background: var(--surface-3); }
.ap-btn.go { background: var(--green); border: 0; }
.ap-mail { border-radius: 14px; }

/* ---------- Logos ---------- */
.logos p { font-size: 14px; }

/* ---------- Global nav flyouts (full width, like apple.com) ---------- */
.nav-pill { position: static; }
.nav-item, .nav-item:has(.cols-3), .nav-item:has(.cols-2) { position: static; height: 100%; display: flex; }
.mega {
  position: absolute; top: 100%; left: 0; right: 0; width: auto;
  transform: translateY(-8px); border-radius: 0; background: #FAFBF9;
  box-shadow: 0 24px 32px -24px rgba(0, 0, 0, 0.18);
  padding: 34px max(22px, calc((100% - 1024px) / 2)) 54px;
  display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-start;
  grid-template-columns: none;
  transition: opacity var(--dur-slow) var(--ease-ui), transform var(--dur-slow) var(--ease-ui), visibility var(--dur-slow);
}
.mega::before { top: -1px; height: 1px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { transform: none; }
.mega.cols-1 { flex-direction: column; gap: 2px; }
.mega .nav-h { margin: 0 0 12px; color: var(--muted); font-weight: 400; }
.mega a { padding: 5px 0; border-radius: 0; }
.mega a:hover { background: none; }
.mega a b { font-family: var(--sf-display); font-size: 21px; font-weight: 600; letter-spacing: 0.011em; color: #333634; transition: color var(--dur) var(--ease-ui); }
.mega a:hover b { color: var(--green); }
.mega a span { display: none; }
.mega .mega-feature { width: 300px; padding: 22px 24px; border-radius: var(--radius); background: var(--forest); align-self: stretch; }
.mega .mega-feature:hover { background: var(--forest-2); }
.mega .mega-feature b { font-size: 21px; color: #fff; }
.mega .mega-feature span { display: block; color: var(--muted-dark); font-size: 14px; margin-top: 6px; }
.mega .mega-feature svg { color: var(--amber); }

/* ---------- Local nav (Apple ac-localnav) ---------- */
.localnav { position: sticky; top: 0; z-index: 55; height: var(--ln-h); }
.localnav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}
.ln-inner { max-width: 1068px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 24px; }
.ln-title { font-family: var(--sf-display); font-size: 21px; font-weight: 600; letter-spacing: 0.011em; text-decoration: none; color: var(--ink); white-space: nowrap; margin-right: auto; }
.ln-links { display: flex; align-items: center; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.ln-links::-webkit-scrollbar { display: none; }
.ln-links a { font-size: 12px; letter-spacing: -0.01em; color: rgba(0, 0, 0, 0.8); text-decoration: none; white-space: nowrap; }
.ln-links a:hover { color: var(--green); }
.ln-links a[aria-current="page"] { color: rgba(0, 0, 0, 0.48); pointer-events: none; }
.ln-cta { min-height: 24px; padding: 3px 11px; font-size: 12px; letter-spacing: -0.01em; }

/* ---------- Footer (Apple globalfooter) ---------- */
footer { background: var(--bg-alt); padding: 44px 0 24px; margin-top: 0; }
.foot { gap: 28px; }
.foot .brand svg { height: 28px; color: var(--ink); }
.foot .brand p { font-size: 12px; line-height: 1.33; color: rgba(0, 0, 0, 0.56); max-width: 260px; }
.foot h4 { font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 10px; }
.foot ul { gap: 8px; font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.foot a { color: rgba(0, 0, 0, 0.72); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-contact a { color: rgba(0, 0, 0, 0.72); }
.legal { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.16); font-size: 12px; color: rgba(0, 0, 0, 0.56); letter-spacing: -0.01em; }
.legal-links a, .legal-links button { font-size: 12px; color: rgba(0, 0, 0, 0.72); }

/* ---------- Glass surfaces: cookie banner ---------- */
.cookie { background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), 0 0 0 0.5px var(--line), var(--shadow-lg); border-radius: 22px; }
.cookie .btn { min-height: 36px; padding: 8px 16px; font-size: 14px; }

/* ---------- Motion: Apple's quiet fade-up ---------- */
.reveal { transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .ln-links { display: none; }
}
@media (max-width: 980px) {
  .nav { width: auto; }
  .nav-links { display: none; }
  .nav-menu { display: inline-flex; margin-left: 4px; }
  .nav-pill .btn-sm { margin-left: auto; }
  .nav-sheet {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 61;
    display: none; overflow-y: auto; max-height: none; margin: 0; border-radius: 0; box-shadow: none;
    padding: 18px 40px 56px; background: #FAFBF9;
  }
  .nav.open .nav-sheet { display: block; }
  .nav-sheet .nav-h { margin: 26px 0 8px; color: var(--muted); font-weight: 400; }
  .nav-sheet a { padding: 6px 0; border-radius: 0; font-family: var(--sf-display); font-size: 24px; font-weight: 600; letter-spacing: 0.009em; color: #333634; }
  .nav-sheet a:hover { background: none; color: var(--green); }
  body:has(.nav.open) { overflow: hidden; }
}
@media (max-width: 734px) {
  :root { --nav-h: 48px; }
  .stat .num { font-size: 48px; }
  .page-hero { padding: 72px 0 64px; }
  .hero { padding: 64px 0 0; }
  .lede, .hero .lede { font-size: 19px; line-height: 1.42; }
  .feat { padding: 26px; }
  .panel-card { padding: 26px; }
  .nav-logo svg { height: 24px; }
  .ln-title { font-size: 19px; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav::after, .localnav::before, .cookie, .eyebrow, .auto-pill { background: #FAFBF9; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(232, 234, 230, 0.9); }
}
/* Fixes after first render */
.nav-item:hover .nav-trigger, .nav-item:focus-within .nav-trigger, .nav-trigger.active, .nav-links > a.active, .nav-links > a:hover { background: none; }
.imp-loop, .imp-loop { grid-template-columns: 1fr; gap: 18px; padding: 30px; }
.imp-loop .loop { max-width: 230px; margin: 0 auto; }
.lp-steps { grid-template-columns: 1fr 1fr; gap: 18px 22px; }
@media (max-width: 600px) { .lp-steps { grid-template-columns: 1fr; } }
.btn-ghost { background: transparent; color: var(--link); border: 1px solid var(--green); box-shadow: none; }
.btn-ghost:hover { background: var(--green); color: #fff; }
.auto .btn-ghost, .cta .btn-ghost { color: var(--link-dark); border-color: var(--link-dark); }
.auto .btn-ghost:hover, .cta .btn-ghost:hover { background: var(--link-dark); color: var(--forest); }
@media (max-width: 980px) {
  .nav.open { z-index: 100; }
  .nav-sheet a { display: block; text-decoration: none; }
  body.has-ln .nav-pill .btn-sm { display: none; }
  body.has-ln .nav-menu { margin-left: auto; }
}
@media (max-width: 600px) {
  .capture { border-radius: 22px; padding: 6px; }
  .capture input { height: 46px; text-align: center; }
  .capture .btn { width: 100%; }
}
/* Pages with a local nav carry the call to action there, like Apple's Buy button */
body.has-ln .nav-pill .btn-sm { display: none; }
body.has-ln .nav-links { margin-right: 92px; }
@media (max-width: 980px) { body.has-ln .nav-links { margin-right: 0; } }

/* ---------- Refinements from the HIG research ---------- */
/* Springs computed from Apple's model (mass 1, stiffness (2pi/d)^2, damping ratio 1 - bounce) */
:root {
  --spring: linear(0, 0.004 1%, 0.019 2.2%, 0.079 5%, 0.161 7.8%, 0.465 17%, 0.558 20.2%, 0.638 23.5%, 0.707 26.8%, 0.768 30.2%, 0.818 33.8%, 0.86 37.5%, 0.899 42%, 0.929 46.8%, 0.953 52.2%, 0.971 58.5%, 0.991 73.8%, 1);  /* smooth, bounce 0, 735ms */
  --spring-snappy: linear(0, 0.006 1.2%, 0.025 2.8%, 0.056 4.2%, 0.095 5.8%, 0.19 8.8%, 0.512 18%, 0.61 21.2%, 0.696 24.5%, 0.763 27.5%, 0.823 30.8%, 0.871 34%, 0.912 37.5%, 0.944 41.2%, 0.97 45.5%, 0.988 50.2%, 1 55.8%, 1.006 68%, 1);  /* bounce 0.15, 697ms */
  --dur-spring: 735ms;
  --dur-spring-snappy: 697ms;
}
@supports not (transition-timing-function: linear(0, 1)) {
  :root { --spring: cubic-bezier(0.33, 0.7, 0.12, 1); --spring-snappy: cubic-bezier(0.32, 0.61, 0.08, 1.11); }
}
.tab { transition: background var(--dur) var(--ease-ui), color var(--dur) var(--ease-ui), box-shadow var(--dur-spring-snappy) var(--spring-snappy); }
.mega { transition: opacity var(--dur-slow) var(--ease-ui), transform var(--dur-spring) var(--spring), visibility var(--dur-slow); }
.ap-btn.go.press { transform: scale(0.95); transition: transform var(--dur-spring-snappy) var(--spring-snappy); }

/* Concentric corners: inner radius = parent radius minus padding (28 - 10 = 18) */
.frame { padding: 10px; }
.frame .app { border-radius: 18px; }
.mesh .approve { border-radius: 18px; }

/* Opaque fallback where backdrop blur is unsupported (apple.com uses .92) */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav::after, .localnav::before { background: rgba(250, 251, 249, 0.94); }
  .eyebrow, .auto-pill, .cookie { background: #FAFBF9; }
}

/* Increase Contrast: darker secondary text, visible edges on tonal surfaces and glass */
@media (prefers-contrast: more) {
  :root { --muted: #4F5551; --muted-dark: #B4BCB6; --line: rgba(0, 0, 0, 0.2); --line-2: rgba(0, 0, 0, 0.35); }
  .card, .cmp, .ctable, .ptable, .capture { box-shadow: 0 0 0 1px var(--line-2); }
  .nav::after, .localnav::before { background: #FAFBF9; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.35); }
  h1 em, h2 em, h3 em, .stat .num, .kc-big b { background: none; -webkit-text-fill-color: var(--green); color: var(--green); }
  .auto h2 em, .cta h2 em { -webkit-text-fill-color: var(--link-dark); color: var(--link-dark); }
}
@media (forced-colors: active) {
  h1 em, h2 em, h3 em, .stat .num, .kc-big b { -webkit-text-fill-color: CanvasText; background: none; }
  .nav::after, .localnav::before, .eyebrow, .auto-pill, .cookie { background: Canvas; border: 1px solid CanvasText; }
}

/* ---------- Header scale (one definitive set; wins over earlier nav rules) ---------- */
.nav-logo, .foot .brand svg, .hero .mark, .sec-head .mark-sm { color: var(--green); }
.nav-links > a, .nav-links .nav-trigger {
  font-family: var(--sf-text); font-size: 14px; font-weight: 400; line-height: 1; letter-spacing: -0.016em;
  color: rgba(0, 0, 0, 0.8); padding: 0 13px; height: 100%; border-radius: 0; background: none;
}
.nav-links > a.active, .nav-links .nav-trigger.active { color: #000; font-weight: 500; }
.nav-pill .btn-sm { min-height: 32px; padding: 7px 16px; font-size: 14px; line-height: 1.2; letter-spacing: -0.016em; }
.ln-links { gap: 24px; }
.ln-links a { font-size: 13px; letter-spacing: -0.01em; }
.ln-cta { min-height: 28px; padding: 5px 14px; font-size: 13px; line-height: 1.2; letter-spacing: -0.01em; }
@media (max-width: 1100px) { .nav-links > a, .nav-links .nav-trigger { padding: 0 10px; } .ln-links { gap: 18px; } }

/* ---------- Scan fixes ---------- */
/* Minimum text size 11px (Apple's iOS minimum) */
.kc-num { width: 22px; height: 22px; font-size: 11px; }
.ap-ev small { font-size: 11.5px; }
/* Stat strips with inline 3-column grids stack on small screens */
@media (max-width: 734px) {
  .metric-list[style] { grid-template-columns: 1fr !important; }
  .metric-list[style] > div { border-left: 0 !important; }
  .metric-list[style] > div + div { border-top: 1px solid var(--line); }
}
/* Local nav menu for tablet and phone: title becomes a toggle, links drop down */
.ln-toggle { display: none; }
@media (max-width: 1068px) {
  .ln-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: -6px; margin-right: auto;
    border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%;
    transition: transform var(--dur) var(--ease-ui), background var(--dur) var(--ease-ui);
  }
  .ln-toggle:hover { background: rgba(0, 0, 0, 0.05); }
  .ln-toggle svg { width: 12px; height: 12px; }
  .ln-title { margin-right: 0; }
  .localnav.open .ln-toggle { transform: rotate(180deg); }
  .localnav .ln-links {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 22px 18px; background: #FAFBF9; box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.08), 0 18px 30px -18px rgba(0, 0, 0, 0.25);
  }
  .localnav.open .ln-links { display: flex; }
  .localnav .ln-links a { font-size: 17px; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .localnav .ln-links a:last-child { border-bottom: 0; }
}
/* Grid children may shrink below their content's natural width (prevents 320px overflow) */
.auto-grid > *, .sys > *, .ins > *, .split > *, .hero-split > *, .imp-grid > *, .contact-grid > *, .faq > *,
.cs-layout > *, .art-layout > *, .legal-layout > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .next-grid > *, .case-grid > *, .stack > *, .post-grid > * { min-width: 0; }
.stack { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 980px) { .stack { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 374px) { .stack { grid-template-columns: 1fr; } .hub { grid-column: auto; } }
.toc a, .tool span { overflow-wrap: anywhere; }

/* =====================================================================
   Section layout kit (layouts.py). Neighbouring sections never repeat the
   same layout on the same surface; build.py prints LAYOUT notes if they do.
   ===================================================================== */
:root { --on-dark: #F2F5F1; --on-dark-2: #B9C2BB; --line-dark: rgba(255, 255, 255, 0.14); }

/* ---------- Rhythm: plain sections share padding; bands always get their own ---------- */
.sec + .sec:not(.band) { padding-top: 0; }
.sec.band { margin: 12px 12px 0; padding: var(--sec-pad) 0; border-radius: var(--radius-lg); }
.band + .sec:not(.band), .band + .sec.flush-top { padding-top: var(--sec-pad); }
.sec.faq-sec { padding-top: var(--sec-pad); }
.sec + .sec.faq-sec { padding-top: 40px; }
.band + .sec.faq-sec { padding-top: var(--sec-pad); }

/* ---------- Surfaces ---------- */
.band.tint { background: var(--bg-alt); }
.band.tint .card, .band.tint .tile, .band.tint .scard, .band.tint .ptable, .band.tint .ctable { background: #fff; }
.band.tint .tile .t-ic, .band.tint .feat .ic, .band.tint .chip { background: var(--surface-2); }
.band.tint .chip.green { background: var(--green-soft); }
.band.tint .ct-row .us { background: #F1F8F2; }
.band.tint .vsteps .t, .band.tint .step .t { background: #fff; border-color: transparent; }
.band.tint .sc-ctrl button { background: #fff; }
.band.dark { background: var(--forest); color: var(--on-dark); }
.band.dark h2, .band.dark h3, .band.dark .big, .band.dark b, .band.dark strong { color: #F5F7F4; }
.band.dark h2 em, .band.dark .big em { background: var(--grad-dark); -webkit-background-clip: text; background-clip: text; }
.band.dark p, .band.dark .lede { color: var(--on-dark-2); }
.band.dark .kicker { color: var(--link-dark); }
.band.dark .textlink, .band.dark .more { color: var(--link-dark); }
.band.dark .tick { color: var(--mint); }
.band.dark .chip { background: rgba(255, 255, 255, 0.08); color: #E6ECE7; }
.band.dark .btn-ghost { color: var(--link-dark); border-color: rgba(134, 211, 162, 0.55); }
.band.dark .btn-ghost:hover { background: var(--link-dark); border-color: var(--link-dark); color: var(--forest); }
.band.dark .btn:not(.btn-ghost) { background: #F5F7F4; color: var(--forest); }
.band.dark .btn:not(.btn-ghost):hover { background: #fff; }
.band.dark .card { background: rgba(255, 255, 255, 0.06); }
.band.dark .day-row + .day-row { border-color: var(--line-dark); }
.band.dark .day-t { color: var(--link-dark); }
.band.dark .day-x { color: var(--on-dark-2); }
.band.dark .timeline::before { background: rgba(255, 255, 255, 0.2); }
.band.dark .timeline .fill { background: var(--mint); }
.band.dark .step .node { background: var(--forest); border-color: rgba(255, 255, 255, 0.5); }
.band.dark .step.on .node { background: var(--mint); border-color: var(--mint); }
.band.dark .step .t { background: rgba(255, 255, 255, 0.08); border-color: transparent; color: #E6ECE7; }
.band.dark .step p { color: var(--on-dark-2); }

/* ---------- Sticky side heading ---------- */
.lay-side { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.side-head { position: sticky; top: calc(var(--ln-h) + 52px); }
.side-head h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; letter-spacing: 0; }
.side-head .lede { margin: 18px 0 0; font-size: 19px; line-height: 1.42; max-width: 440px; }
.side-head .btn-row { justify-content: flex-start; margin-top: 28px; }
.side-head > .textlink { display: inline-block; margin-top: 22px; }
.side-head .list { margin-top: 26px; }

/* ---------- Editorial rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.rows > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.rows .n { font-family: var(--sf-display); font-size: 15px; font-weight: 600; color: var(--green); padding-top: 5px; font-variant-numeric: tabular-nums; }
.rows .n.ic { padding-top: 0; }
.rows .n svg { width: 26px; height: 26px; }
.rows h3 { font-size: 24px; line-height: 1.17; }
.rows p { margin: 8px 0 0; font-size: 17px; color: var(--ink-2); max-width: 640px; }
.rows .more { display: inline-block; margin-top: 10px; color: var(--link); font-size: 17px; text-decoration: none; }
.rows.wide { margin-top: 56px; }
.rows.wide > li { grid-template-columns: 96px minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: baseline; padding: 36px 0 38px; }
.rows.wide > li > div { display: contents; }
.rows.wide .n:not(.ic) { font-size: 44px; line-height: 1; padding: 0; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.rows.wide h3 { font-size: 28px; line-height: 1.14; }
.rows.wide p { margin: 0; }
.rows.wide .more { grid-column: 3; margin-top: -18px; }
.band.dark .rows { border-color: rgba(255, 255, 255, 0.22); }
.band.dark .rows > li { border-color: var(--line-dark); }
.band.dark .rows .n { color: var(--link-dark); }
.band.dark .rows.wide .n:not(.ic) { background: var(--grad-dark); -webkit-background-clip: text; background-clip: text; }

/* ---------- Bento tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.bento.b2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 260px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface-2); color: inherit; text-decoration: none; overflow: hidden; isolation: isolate; transition: background var(--dur) var(--ease-ui); }
.tile.w2 { grid-column: span 2; }
.tile.h2 { grid-row: span 2; }
.tile .t-ic { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green); }
.tile .t-ic svg { width: 24px; height: 24px; }
.tile .t-body { margin-top: auto; }
.tile h3 { font-size: 24px; line-height: 1.17; letter-spacing: 0.009em; }
.tile p { margin: 8px 0 0; font-size: 17px; line-height: 1.47; color: var(--ink-2); max-width: 540px; }
.tile .more { display: inline-block; margin-top: 14px; color: var(--link); font-size: 17px; text-decoration: none; }
.tile.big .t-ic { width: 64px; height: 64px; }
.tile.big .t-ic svg { width: 30px; height: 30px; }
.tile.big h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: 0; }
.tile.big p { font-size: 19px; line-height: 1.42; }
.tile.accent { background: var(--forest); color: var(--on-dark); }
.tile.accent::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(134, 211, 162, 0.3), rgba(134, 211, 162, 0) 68%); }
.tile.accent h3 { color: #F5F7F4; }
.tile.accent p { color: var(--on-dark-2); }
.tile.accent .t-ic { background: rgba(255, 255, 255, 0.1); color: var(--link-dark); }
.tile.accent .more { color: var(--link-dark); }
a.tile:hover { background: var(--surface-3); }
a.tile.accent:hover { background: var(--forest-2); }
.band.tint a.tile:not(.accent):hover { background: #FAFBF9; }
.band.tint .tile.accent { background: var(--forest); }

/* ---------- Icon row ---------- */
.icon-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; margin-top: 64px; }
.icon-row.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icon-row.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icon-row > div { padding: 0 28px; border-left: 1px solid var(--line); }
.icon-row.n2 > div:nth-child(2n+1), .icon-row.n3 > div:nth-child(3n+1), .icon-row.n4 > div:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.icon-row .r-ic { display: block; color: var(--green); }
.icon-row .r-ic svg { width: 34px; height: 34px; }
.icon-row h3 { font-size: 21px; line-height: 1.19; letter-spacing: 0.011em; margin-top: 18px; }
.icon-row p { margin: 8px 0 0; font-size: 15px; line-height: 1.47; color: var(--ink-2); }
.icon-row .more { display: inline-block; margin-top: 12px; color: var(--link); font-size: 15px; text-decoration: none; }
.icon-row .more:hover, .rows .more:hover { text-decoration: underline; }
.pulse { position: relative; display: block; width: 12px; height: 12px; margin: 6px 0 4px 2px; border-radius: 50%; background: var(--amber); }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(217, 164, 65, 0.55); animation: pulse-ring 2.4s var(--ease-ui) infinite; }
@keyframes pulse-ring { 0% { transform: scale(0.5); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.band.dark .icon-row > div { border-color: var(--line-dark); }
.band.dark .icon-row .r-ic { color: var(--link-dark); }

/* ---------- Vertical stepper ---------- */
.vsteps { list-style: none; margin: 0; padding: 0; }
.vsteps > li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding-bottom: 44px; }
.vsteps > li:last-child { padding-bottom: 0; }
.vsteps > li::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: 0; width: 1.5px; background: rgba(0, 29, 17, 0.16); }
.vsteps > li:last-child::before { display: none; }
.vsteps .node { width: 13px; height: 13px; margin-top: 5px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(0, 29, 17, 0.45); transition: background 0.4s var(--ease-ui) 0.3s, border-color 0.4s var(--ease-ui) 0.3s; }
.vsteps > li.in .node { background: var(--forest); border-color: var(--forest); }
.vsteps .t { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.vsteps h3 { font-size: 24px; line-height: 1.17; margin-top: 12px; }
.vsteps p { margin: 8px 0 0; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.band.dark .vsteps > li::before { background: rgba(255, 255, 255, 0.2); }
.band.dark .vsteps .node { background: var(--forest); border-color: rgba(255, 255, 255, 0.5); }
.band.dark .vsteps > li.in .node { background: var(--mint); border-color: var(--mint); }
.band.dark .vsteps .t { background: rgba(255, 255, 255, 0.08); color: #E6ECE7; }

/* ---------- Stat band and KPI strip ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; }
.stat-band > div { padding: 6px 32px; text-align: center; border-left: 1px solid var(--line); }
.stat-band > div:first-child { border-left: 0; }
.stat-band .num { font-family: var(--sf-display); font-weight: 600; font-size: clamp(52px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-band p { margin: 16px auto 0; max-width: 270px; font-size: 17px; color: var(--ink-2); }
.band.dark .stat-band > div { border-color: var(--line-dark); }
.band.dark .stat-band .num { background: var(--grad-dark); -webkit-background-clip: text; background-clip: text; }
.stat-band.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-band.four > div { padding: 6px 22px; }
@media (max-width: 1068px) {
  .stat-band.four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stat-band.four > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 734px) {
  .stat-band.four { grid-template-columns: 1fr; row-gap: 0; }
}
.kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 56px; }
.kpi-strip > div { padding-top: 22px; border-top: 1px solid var(--line-2); }
.kpi-strip b { display: block; font-family: var(--sf-display); font-weight: 600; font-size: 24px; line-height: 1.17; letter-spacing: 0.009em; }
.kpi-strip span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.band.dark .kpi-strip > div { border-color: rgba(255, 255, 255, 0.24); }
.band.dark .kpi-strip span { color: var(--on-dark-2); }
.kpi-strip + .stat-band { margin-top: 72px; }

/* ---------- Statement ---------- */
.statement { max-width: 980px; margin: 0 auto; text-align: center; }
.statement .kicker { margin-bottom: 20px; }
.statement .big { margin: 0; font-family: var(--sf-display); font-weight: 600; font-size: clamp(32px, 4.8vw, 60px); line-height: 1.07; letter-spacing: -0.005em; color: var(--ink); text-wrap: balance; }
.statement .big em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.statement .cap { margin: 26px auto 0; max-width: 640px; font-size: 19px; line-height: 1.42; color: var(--muted); }
.statement .cap strong { color: var(--ink); font-weight: 600; }
.statement .btn-row { justify-content: center; margin-top: 32px; }
.band.dark .statement .cap { color: var(--on-dark-2); }

/* ---------- Gallery scroller ---------- */
.scroller-wrap { margin-top: 56px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 34vw, 400px); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.scroller::-webkit-scrollbar { display: none; }
.scroller:focus-visible { outline-offset: 4px; }
.scard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 24px; min-height: 400px; padding: 34px; border-radius: var(--radius-lg); background: var(--surface-2); }
.scard .s-n { font-family: var(--sf-display); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.scard .s-body { margin-top: auto; }
.scard h3 { font-size: 28px; line-height: 1.14; }
.scard p { margin: 10px 0 0; font-size: 17px; color: var(--ink-2); }
.scard .more { display: inline-block; margin-top: 12px; color: var(--link); text-decoration: none; }
.sc-ctrl { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.sc-ctrl button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-3); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background var(--dur) var(--ease-ui), opacity var(--dur) var(--ease-ui); }
.sc-ctrl button:hover:not(:disabled) { background: #DDE0DA; }
.sc-ctrl button:disabled { opacity: 0.36; cursor: default; }
.sc-ic { width: 20px; height: 20px; }
.sc-ic.flip { transform: scaleX(-1); }
.scroller-wrap.static .sc-ctrl { display: none; }

/* ---------- Link rows ---------- */
.link-rows { margin-top: 48px; border-top: 1px solid var(--line-2); }
.link-rows a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) 28px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.link-rows b { font-family: var(--sf-display); font-weight: 600; font-size: 24px; line-height: 1.17; letter-spacing: 0.009em; transition: color var(--dur) var(--ease-ui); }
.link-rows span { font-size: 17px; color: var(--ink-2); }
.link-rows i { justify-self: end; font-style: normal; font-size: 28px; line-height: 1; color: var(--link); transition: transform var(--dur) var(--ease-ui); }
.link-rows a:hover b { color: var(--green); }
.link-rows a:hover i { transform: translateX(4px); }
.band.dark .link-rows { border-color: rgba(255, 255, 255, 0.22); }
.band.dark .link-rows a { border-color: var(--line-dark); }
.band.dark .link-rows i, .band.dark .link-rows a:hover b { color: var(--link-dark); }

/* ---------- Segmented tabs ---------- */
.segtabs { margin-top: 48px; }
.seg-bar { display: flex; justify-content: center; }
.seg { display: inline-flex; gap: 2px; max-width: 100%; padding: 3px; border-radius: 12px; background: rgba(118, 118, 128, 0.12); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; border: 0; background: transparent; padding: 8px 18px; border-radius: 9px; font-size: 14px; letter-spacing: -0.016em; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background var(--dur) var(--ease-ui), color var(--dur) var(--ease-ui); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04); }
.seg-panel { margin-top: 40px; animation: seg-in var(--dur-slow) var(--ease-ui); }
@keyframes seg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.seg-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 44px; border-radius: var(--radius-lg); background: var(--surface-2); }
.seg-card h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; }
.seg-card h3 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.seg-card .lede { margin: 16px 0 0; font-size: 17px; color: var(--ink-2); }
.seg-card .seg-q { margin: 22px 0 0; padding-left: 16px; border-left: 2px solid var(--green); font-size: 17px; color: var(--ink); }
.seg-card .btn-row { justify-content: flex-start; margin-top: 26px; }
.seg-card .rows > li { padding: 20px 0 22px; }
.seg-card .rows h3 { font-size: 19px; }
.seg-card .rows p { font-size: 15px; }

/* ---------- Small notes under a layout ---------- */
.note-line { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; max-width: 860px; margin: 40px auto 0; padding: 18px 22px; border-radius: var(--radius); background: var(--surface-2); }
.note-line p { flex: 1; min-width: 240px; margin: 0; font-size: 15px; color: var(--ink-2); }
.band.tint .note-line { background: #fff; }
.band.dark .note-line { background: rgba(255, 255, 255, 0.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .lay-side { grid-template-columns: 1fr; gap: 40px; }
  .side-head { position: static; }
  .side-head .lede { max-width: 640px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tile.fill2 { grid-column: span 2; }
  .icon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-row.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icon-row.n4 > div:nth-child(4n+1) { border-left: 1px solid var(--line); padding-left: 28px; }
  .icon-row.n4 > div:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .band.dark .icon-row.n4 > div:nth-child(4n+1) { border-color: var(--line-dark); }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .rows.wide > li { grid-template-columns: 80px minmax(0, 1fr); gap: 10px 24px; }
  .rows.wide > li > div { display: block; }
  .rows.wide .more { margin-top: 10px; }
  .rows.wide p { margin-top: 10px; }
  .seg-card { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
}
@media (max-width: 734px) {
  .sec.band { margin: 8px 8px 0; border-radius: 22px; }
  .bento, .bento.b2 { grid-template-columns: 1fr; gap: 14px; }
  .bento .tile.w2, .bento .tile.fill2 { grid-column: auto; }
  .tile.h2 { grid-row: auto; }
  .tile { min-height: 0; padding: 28px; }
  .tile.big h3 { font-size: 28px; }
  .icon-row, .icon-row.n2, .icon-row.n3 { grid-template-columns: 1fr; row-gap: 0; margin-top: 40px; }
  .icon-row > div, .icon-row.n4 > div:nth-child(4n+1), .icon-row.n4 > div:nth-child(2n+1) { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .icon-row > div:first-child { border-top: 0; padding-top: 0; }
  .band.dark .icon-row > div { border-color: var(--line-dark); }
  .stat-band { grid-template-columns: 1fr; margin-top: 40px; }
  .stat-band > div { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat-band > div:first-child { border-top: 0; padding-top: 0; }
  .band.dark .stat-band > div { border-color: var(--line-dark); }
  .kpi-strip { grid-template-columns: 1fr; }
  .rows > li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 24px 0 26px; }
  .rows.wide > li { grid-template-columns: 1fr; }
  .rows.wide .n:not(.ic) { font-size: 34px; }
  .rows h3, .rows.wide h3 { font-size: 21px; }
  .rows p { font-size: 15px; }
  .scroller { grid-auto-columns: min(82vw, 340px); gap: 14px; }
  .scard { min-height: 340px; padding: 28px; }
  .scard h3 { font-size: 24px; }
  .link-rows a { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; padding: 22px 0; }
  .link-rows b { font-size: 21px; }
  .link-rows span { grid-column: 1; grid-row: 2; font-size: 15px; }
  .link-rows i { grid-row: 1 / span 2; }
  .seg-bar { justify-content: flex-start; }
  .seg-card { padding: 26px; }
  .statement .cap { font-size: 17px; }
}
.statement.quote { max-width: 900px; }
.statement.quote .big { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; letter-spacing: 0.004em; }
.rows.ticks h3, .rows.crosses h3 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.rows.ticks > li, .rows.crosses > li { padding: 20px 0 22px; }
.rows.ticks .n svg, .rows.crosses .n svg { width: 22px; height: 22px; }
.rows.crosses .n { color: var(--muted); }
.seg-card > *, .lay-side > *, .bento > *, .icon-row > *, .stat-band > *, .kpi-strip > *, .link-rows a > *, .rows > li > * { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  .vsteps .node { background: var(--forest); border-color: var(--forest); }
  .band.dark .vsteps .node { background: var(--mint); border-color: var(--mint); }
  .pulse::after { animation: none; opacity: 0; }
}

/* =====================================================================
   Mobile pass: Apple's 44pt touch targets, no zoom-on-focus, phone footer.
   Hit areas grow with transparent borders or padding offset by negative
   margins, so nothing moves or changes size visually.
   ===================================================================== */
/* Footer columns and tables of contents are disclosures, open on desktop */
.fcol summary, .toc summary { display: block; list-style: none; cursor: default; }
.fcol summary::-webkit-details-marker, .toc summary::-webkit-details-marker { display: none; }
.fcol summary svg, .toc summary svg { display: none; }
.fcol summary { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.toc summary { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }

/* Minimum readable size */
.tool small, .level .badge { font-size: 12px; }

@media (max-width: 1068px) {
  :root { --hit: 44px; }
  /* Navigation */
  .nav-logo { height: 44px; align-self: center; }
  .nav-pill .btn-sm { border: 6px solid transparent; background-clip: padding-box; margin-right: -6px; }
  .ln-title { padding: 8px 0; margin: -8px 0; }
  .ln-toggle { width: 44px; height: 44px; border: 8px solid transparent; background-clip: padding-box; margin-left: -14px; }
  .ln-cta { border: 8px solid transparent; background-clip: padding-box; margin: -8px -8px -8px 0; }
  .nav-sheet a { padding: 9px 0; }
  /* Text links get a 44px-tall hit area without moving */
  a.textlink, a.more, .leader .li, .author-card a, .levels .fine a, .roles a {
    display: inline-flex; align-items: center; min-height: 44px; padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px;
  }
  .roles a { display: flex; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 9px; margin: -12px -9px; }
  /* Controls */
  .seg button { min-height: 44px; }
  .blog-toolbar .pill { min-height: 44px; }
  .blog-search { height: 44px; font-size: 16px; }
  .ai-row a, .share a, .share button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
  .cs-aside .chips a.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
  .cookie .btn { min-height: 44px; }
  .modal-x { width: 44px; height: 44px; }
  .toc ol { gap: 0; }
  .toc a { display: flex; align-items: center; min-height: 44px; }
  /* Footer: four columns on tablets, roomy rows */
  .foot-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-5 .brand { grid-column: 1 / -1; }
  .fcol ul { gap: 0; font-size: 13px; }
  .fcol ul a, .foot-contact a { display: flex; align-items: center; min-height: 44px; }
  .foot-contact { gap: 0 !important; }
  .legal-links { gap: 0 18px; }
  .legal-links a, .legal-links button { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 734px) {
  :root { --sec-pad: 80px; }
  /* The email field in capture forms kept collapsing to 20px: give it a fixed height */
  .capture input { flex: none; height: 46px; }
  /* Product window header wraps instead of clipping its status pill */
  .window-bar { flex-wrap: wrap; row-gap: 8px; }
  /* Footer becomes Apple's stacked disclosures */
  .foot-5 { grid-template-columns: 1fr; gap: 0; }
  .foot-5 .brand { margin-bottom: 20px; }
  .fcol { border-bottom: 1px solid rgba(0, 0, 0, 0.16); }
  .fcol summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; font-size: 14px; cursor: pointer; }
  .fcol summary svg { display: block; width: 12px; height: 12px; color: var(--muted); transition: transform var(--dur) var(--ease-ui); }
  .fcol[open] summary svg { transform: rotate(180deg); }
  .fcol ul { padding: 0 0 12px; font-size: 14px; }
  .legal { flex-direction: column; gap: 6px; margin-top: 20px; border-top: 0; padding-top: 0; }
  /* Tables of contents collapse into one row above the article */
  .toc { padding: 0 18px; border-radius: var(--radius); background: var(--surface-2); }
  .toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0; font-size: 15px; color: var(--ink); cursor: pointer; }
  .toc summary svg { display: block; width: 12px; height: 12px; color: var(--muted); transition: transform var(--dur) var(--ease-ui); }
  .toc[open] summary svg { transform: rotate(180deg); }
  .toc ol { margin-bottom: 12px; }
}
@media (max-width: 1068px) {
  .nav-pill .btn-sm { min-height: 44px; }
  .ln-cta { min-height: 44px; }
  .ln-title { padding: 9px 0; margin: -9px 0; }
  .legal-links a, .legal-links button { padding: 0 6px; margin: 0 -6px; }
}
@media (max-width: 1068px) {
  .nav-menu, .ln-toggle, .ln-cta, .nav-pill .btn-sm { flex: none; }
  .ln-title { min-width: 44px; }
}
@media (max-width: 374px) {
  .nav-pill { padding: 0 14px; gap: 4px; }
  .ln-inner { padding-left: 16px; padding-right: 16px; }
}
/* Headlines balance their lines so no single word sits alone on the last line */
h1, h2, .side-head h2, .statement .big, .tile h3, .scard h3 { text-wrap: balance; }
.lede, .cap, .rows p, .tile p { text-wrap: pretty; }
@media (max-width: 734px) {
  /* Hero product window: tighter header so it reads as an app, not a paragraph */
  .main-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-top h4 { font-size: 20px; line-height: 1.2; }
  .main-top small { display: block; line-height: 1.35; margin-top: 4px; }
  .kpi small { display: block; line-height: 1.3; }
}
/* Names in captions on dark bands stay light (they were rendering dark on forest) */
.band.dark .statement .cap strong { color: #F5F7F4; }
/* Chips inside lists never break onto two lines */
.list .chip { flex: none; white-space: nowrap; }
.case-card .case-stats span { display: block; margin-top: 6px; line-height: 1.35; }
@media (max-width: 734px) {
  /* Segmented tabs: every option visible as wrapped pills instead of a hidden sideways scroll */
  .seg-bar { justify-content: center; }
  .seg { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; background: none; overflow: visible; border-radius: 0; }
  .seg button { padding: 0 16px; border-radius: 999px; background: var(--surface-2); }
  .seg button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
  /* Blog articles: the contents list would sit after the article on phones, so it is dropped there */
  .art-layout .art-aside .toc { display: none; }
}
@media (max-width: 1068px) { .cookie .btn { height: auto; min-height: 44px; } }

/* =====================================================================
   Product showcases (build.py showcase(), site.js): real recordings of the
   demo workspace in a macOS-style window. The window tilts back as it enters
   (--sp, set on scroll), zooms toward each action (--zx/--zy/--zs) and shows
   a callout synced to the video.
   ===================================================================== */
.showcase { position: relative; margin: 0; --sp: 1; perspective: 2200px; isolation: isolate; }
.showcase[hidden] { display: none; }
.sc-glow {
  position: absolute; inset: 8% 2% -6%; z-index: -1; pointer-events: none; border-radius: 40%;
  background: radial-gradient(42% 52% at 28% 42%, rgba(29, 106, 67, 0.34), transparent 70%), radial-gradient(38% 48% at 74% 58%, rgba(217, 164, 65, 0.28), transparent 72%);
  filter: blur(46px); opacity: calc(0.3 + var(--sp) * 0.55);
  animation: sc-drift 16s ease-in-out infinite alternate;
}
@keyframes sc-drift { 0% { transform: translate3d(-3%, 2%, 0) scale(1); } 100% { transform: translate3d(3%, -3%, 0) scale(1.07); } }
.sc-win {
  position: relative; overflow: hidden; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.05), 0 30px 70px -14px rgba(0, 29, 17, 0.3);
  transform-origin: 50% 100%;
  transform: translate3d(0, calc((1 - var(--sp)) * 40px), 0) rotateX(calc((1 - var(--sp)) * 16deg)) scale(calc(0.9 + var(--sp) * 0.1));
  transition: transform 120ms linear; will-change: transform;
}
.sc-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 8px 0 14px; background: #F7F8F5; border-bottom: 0.5px solid rgba(0, 0, 0, 0.1); }
.sc-lights { display: flex; gap: 7px; flex: none; }
.sc-lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.sc-lights i:nth-child(2) { background: #FEBC2E; }
.sc-lights i:nth-child(3) { background: #28C840; }
.sc-title { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-title svg { width: 13px; height: 13px; flex: none; color: var(--green); }
.sc-title b { font-weight: 600; color: var(--ink); }
.sc-title b::before { content: "·"; margin: 0 6px 0 1px; font-weight: 400; color: var(--muted); }
.sc-badge { flex: none; font-size: 11px; font-weight: 600; letter-spacing: -0.005em; color: var(--green); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; }
.sc-toggle { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; transition: background var(--dur) var(--ease-ui); }
.sc-toggle:hover { background: rgba(0, 0, 0, 0.06); }
.sc-toggle svg { width: 13px; height: 13px; }
.showcase.is-paused .i-pause, .showcase:not(.is-paused) .i-play { display: none; }
.sc-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #F5F6F2; }
.sc-poster, .sc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-video { opacity: 0; transition: opacity 0.6s var(--ease-ui); }
.showcase.is-live .sc-video { opacity: 1; }
/* Loop: the video fades out to the poster (its own first frame), then restarts underneath */
.showcase.sc-fade .sc-video { opacity: 0; }
.sc-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 3px; background: rgba(0, 0, 0, 0.07); }
.sc-progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.sc-progress b { position: absolute; top: 0; width: 2px; height: 100%; margin-left: -1px; background: rgba(255, 255, 255, 0.9); }
/* Callout: a dark glass capsule that pops in at each action */
.sc-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 5; max-width: calc(100% - 32px);
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 11px; border-radius: 999px;
  background: rgba(14, 26, 19, 0.8); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: -0.016em; line-height: 1.2; white-space: nowrap;
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14) inset, 0 10px 30px rgba(0, 0, 0, 0.28);
  opacity: 0; transform: translate(-50%, 12px) scale(0.96); pointer-events: none;
  transition: opacity 0.25s var(--ease-ui), transform 0.25s var(--ease-ui);
}
.sc-cue.on { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity 0.45s var(--ease-ui), transform 0.6s var(--spring); }
.sc-cue-t { overflow: hidden; text-overflow: ellipsis; }
.sc-cue-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.sc-cue-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(169, 215, 182, 0.6); animation: pulse-ring 2.2s var(--ease-ui) infinite; }
.sc-cue-n { flex: none; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }

/* Product hero: the window rises out of the bottom of the hero tile */
.product-hero { padding-bottom: 0; }
.ph-stage { max-width: 1120px; margin: 64px auto 0; padding: 0 24px; }
.hero .ph-stage { margin-top: 72px; }
.ph-eyebrow { margin-bottom: 4px; }
.sc-hero .sc-win { border-radius: 18px 18px 0 0; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 -2px 30px -10px rgba(0, 29, 17, 0.18), 0 30px 80px rgba(0, 29, 17, 0.2); }
.sc-hero .sc-glow { inset: 4% -4% 0; }

/* Dark bands: brighter glow so the window glows against forest */
.auto .sc-glow, .band.dark .sc-glow { background: radial-gradient(45% 55% at 30% 45%, rgba(134, 211, 162, 0.32), transparent 70%), radial-gradient(40% 50% at 72% 60%, rgba(232, 198, 119, 0.24), transparent 72%); }
.auto .sc-win, .band.dark .sc-win { box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.18), 0 40px 90px -10px rgba(0, 0, 0, 0.55); }

/* Tabs over several recordings */
.sc-tabs { margin-top: 48px; }
.sc-seg button { position: relative; overflow: hidden; }
.sc-fill { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--green); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); opacity: 0; }
.sc-seg button[aria-selected="true"] .sc-fill { opacity: 1; }
.sc-tabs-stage { max-width: 1080px; margin: 40px auto 0; }
.sc-tab-line { max-width: 640px; margin: 26px auto 0; text-align: center; font-size: 17px; color: var(--ink-2); }
.sc-tab-line b { color: var(--ink); font-weight: 600; }
.sc-tabs + .btn-row { margin-top: 28px; }


@media (max-width: 1100px) {
}
@media (max-width: 1068px) {
  .sc-toggle { width: 48px; height: 48px; margin: -10px -10px -10px 0; }
}
@media (max-width: 734px) {
  .ph-stage { margin-top: 44px; padding: 0 10px; }
  .sc-win { border-radius: 12px; }
  .sc-hero .sc-win { border-radius: 14px 14px 0 0; }
  .sc-bar { height: 32px; gap: 8px; padding-left: 10px; }
  .sc-lights { gap: 5px; }
  .sc-lights i { width: 8px; height: 8px; }
  .sc-title { justify-content: flex-start; font-size: 11.5px; }
  .sc-badge { display: none; }
  .sc-cue { bottom: 12px; gap: 7px; padding: 6px 11px 6px 9px; font-size: 12px; }
  .sc-cue-dot { width: 6px; height: 6px; }
  .sc-cue-n { display: none; }
  .sc-glow { filter: blur(30px); }
  .sc-tabs-stage { margin-top: 28px; }
  .sc-tab-line { font-size: 15px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-win { transform: none !important; transition: none; }
  .sc-glow, .sc-cue-dot::after { animation: none; }
}
@media (max-width: 734px) {
  /* Callouts wrap to a second line on narrow phones instead of cutting off */
  .sc-cue { white-space: normal; max-width: calc(100% - 20px); width: max-content; border-radius: 14px; align-items: flex-start; }
  .sc-cue-dot { margin-top: 4px; }
}

/* ---------- Video-first sections: heading, then the product, then the detail as a row ---------- */
.sc-stage { max-width: 1080px; margin: 56px auto 0; }
.sec-head + .sc-stage { margin-top: 48px; }

/* Self-improvement: the recording leads; the loop runs underneath as four connected steps */
.imp-stage { max-width: 1080px; margin: 48px auto 0; }
.loop-row { max-width: 1080px; margin: 44px auto 0; }
.lr-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lr-top .kicker { margin: 0; }
.lr-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--green); background: var(--green-soft); padding: 6px 12px 6px 9px; border-radius: 999px; }
.lr-badge svg { width: 15px; height: 15px; animation: lr-spin 7s linear infinite; }
@keyframes lr-spin { to { transform: rotate(360deg); } }
.lr-steps { position: relative; list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.lr-steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; border-radius: 2px; background: var(--grad); opacity: 0.35; }
.lr-steps li { position: relative; min-width: 0; }
.lr-n { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--green); font-family: var(--sf-display); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1.5px rgba(29, 106, 67, 0.4); }
.lr-steps b { display: block; margin-top: 16px; font-family: var(--sf-display); font-size: 21px; font-weight: 600; line-height: 1.19; letter-spacing: 0.011em; color: var(--ink); }
.lr-steps span:not(.lr-n) { display: block; margin-top: 6px; font-size: 15px; line-height: 1.47; color: var(--ink-2); }
.imp-tests.row { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; max-width: 1080px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.imp-tests.row .kicker { margin: 0; font-size: 15px; }
.imp-tests.row .chips { margin: 0; }
.improve .imp-note { max-width: 1080px; margin-left: auto; margin-right: auto; }
.band.dark .lr-n { background: var(--forest); color: var(--link-dark); box-shadow: inset 0 0 0 1.5px rgba(134, 211, 162, 0.5); }
.band.dark .lr-badge { background: rgba(134, 211, 162, 0.14); color: var(--link-dark); }

/* Autonomy band: the recording leads; the three levels run underneath */
.auto-grid.video-first { display: block; max-width: 1080px; margin: 56px auto 0; }
.auto-grid.video-first .levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.auto-grid.video-first .levels .fine { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; }
.auto-grid.video-first .level { padding: 22px; }

/* Learnings: the recording leads; the objections it learns from run underneath */
.quotes.row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; max-width: 1080px; margin: 40px auto 0; border-top: 0; }
.quotes.row .q { grid-template-columns: 1fr; gap: 8px; padding: 22px 0 0; border-bottom: 0; border-top: 1px solid var(--line-2); }
.quotes.row .q .ch { grid-row: auto; grid-column: auto; justify-self: start; order: -1; }
.quotes.row + .btn-row { margin-top: 28px; }

@media (max-width: 1068px) {
  .lr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .lr-steps::before { display: none; }
  .auto-grid.video-first .levels { grid-template-columns: 1fr; }
  .quotes.row { grid-template-columns: 1fr; gap: 0; }
  .quotes.row .q { padding: 18px 0; }
}
@media (max-width: 734px) {
  .sc-stage, .imp-stage { margin-top: 32px; }
  .sec-head + .sc-stage { margin-top: 32px; }
  .loop-row { margin-top: 32px; }
  .lr-steps { grid-template-columns: 1fr; row-gap: 0; margin-top: 12px; }
  .lr-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .lr-steps li:last-child { border-bottom: 0; }
  .lr-n { grid-row: 1 / span 2; }
  .lr-steps b { margin-top: 6px; font-size: 19px; }
  .imp-tests.row { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .lr-badge svg { animation: none; } }

/* ---------- Small-phone fixes (320 to 360px) ---------- */
/* Grid tracks may shrink below their content, and logos scale down inside them */
.logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.logo-grid img { max-width: min(130px, 100%); }
@media (max-width: 980px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ind-logos .logo-grid, .hero-split .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.level-top { flex-wrap: wrap; gap: 8px 12px; }
@media (max-width: 1068px) {
  .auto-grid.video-first .levels { grid-template-columns: minmax(0, 1fr); }
  .auto-grid.video-first .levels > * { min-width: 0; }
}
@media (max-width: 374px) {
  /* Long button labels wrap rather than run past the edge */
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 374px) {
  .sc-brand, .sc-title b::before { display: none; }
  .nav-pill .btn-sm { white-space: nowrap; flex: none; }
}

/* ---------------- Homepage top (Oct 2026): logos with the stats band, then the problem in three lines ---------------- */
.logos.proof-strip { padding-bottom: 8px; }
.proof-strip .stat-band { margin-top: 56px; }
.problem .wrap { max-width: 1040px; }
.problem-lines { list-style: none; margin: 18px 0 0; padding: 0; }
.problem-lines li { font-family: var(--sf-display); font-weight: 600; font-size: clamp(28px, 4vw, 50px); line-height: 1.12; letter-spacing: -0.01em; color: var(--muted); text-wrap: balance; padding: 24px 0; border-top: 1px solid var(--line); }
.problem-lines li:first-child { border-top: 0; padding-top: 6px; }
.problem-lines b { display: block; font-weight: inherit; color: var(--ink); }
.problem-cap { margin: 30px 0 0; max-width: 640px; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 734px) {
  .proof-strip .stat-band { margin-top: 40px; }
  .problem-lines li { padding: 18px 0; }
  .problem-cap { font-size: 17px; }
}

/* ---------------- Launch partner calls to action (Oct 2026) ---------------- */
/* The header CTA reads the same everywhere. Phones swap the wordmark for the mark to make room,
   and on pages with a section nav the CTA moves to the top bar so it still appears once. */
.nav-logo .logo-full, .nav-logo .logo-mark { display: flex; align-items: center; }
.nav-logo .logo-mark { display: none; color: var(--green); }
@media (max-width: 600px) {
  .nav-logo .logo-full { display: none; }
  .nav-logo .logo-mark { display: flex; }
  .nav-logo .logo-mark svg { width: 26px; height: 26px; }
  body.has-ln .nav-pill .btn-sm { display: inline-flex; }
  .ln-cta { display: none; }
  .nav-pill .btn-sm { padding: 7px 12px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 374px) {
  .nav-pill .btn-sm { max-width: 168px; padding: 4px 10px; font-size: 12px; line-height: 1.15; text-align: center; white-space: normal; }
}
.capture { max-width: 540px; }
.capture .btn { white-space: nowrap; }
.capture .btn:disabled { opacity: 0.7; cursor: default; }
.capture-note { min-height: 20px; margin: 10px auto 0; font-size: 14px; line-height: 1.4; color: var(--muted); text-align: center; }
.capture-note:empty { min-height: 0; margin: 0; }
.capture-note.bad { color: #B42318; }
.cta .capture-note { color: var(--on-dark-2); }
.cta .capture-note.bad { color: #FFB4A8; }
@media (max-width: 600px) { .capture .btn { white-space: normal; } }

/* The application: HubSpot's form in a card (its own styles are injected by site.js) */
.lp-apply { max-width: 560px; margin: 34px auto 0; padding: 28px 28px 22px; text-align: left; background: var(--surface); border-radius: 28px; box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.lp-form { min-height: 300px; }
.lp-form.ready, .lp-form.blocked { min-height: 0; }
.hs-fallback .btn { margin-top: 18px; }
.lp-form iframe { display: block; width: 100%; border: 0; }
.lp-msg { margin: 0; font-size: 17px; line-height: 1.47; color: var(--ink-2); }
.lp-msg a { color: var(--link); }
.lp-fine { max-width: 560px; margin: 14px auto 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.lp-fine a { color: inherit; text-decoration: underline; }
@media (max-width: 600px) { .lp-apply { padding: 22px 18px 16px; border-radius: 22px; } }
@media (max-width: 374px) { .capture .btn { padding-left: 12px; padding-right: 12px; font-size: 16px; letter-spacing: -0.02em; } }

/* ---------------- Contact form and careers roles list (Nov 2026) ---------------- */
.contact-grid .lp-apply { margin: 0; max-width: none; }
.contact-grid .lp-fine { margin: 12px 0 0; max-width: none; text-align: left; }
#apply .lp-apply { margin: 0; max-width: none; }
#apply .lp-fine { margin: 12px 0 0; max-width: none; color: var(--on-dark-2); }
.job-board { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 64px; align-items: start; }
.roles-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.roles-side h2 { margin: 0; }
.roles-sum { margin: 14px 0 0; font-size: 17px; line-height: 1.47; color: var(--ink-2); }
.roles-filter { display: grid; gap: 2px; margin: 28px 0 0; }
.roles-filter button { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 15px; color: var(--muted); text-align: left; cursor: pointer; }
.roles-filter button:hover { color: var(--ink); background: var(--surface-2); }
.roles-filter button[aria-pressed="true"] { color: var(--ink); background: var(--surface-2); font-weight: 500; }
.roles-filter .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.roles-fine { margin: 24px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.roles-group + .roles-group { margin-top: 48px; }
.roles-group h3 { margin: 0 0 6px; font-size: 21px; }
.role-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.role-row:last-child { border-bottom: 1px solid var(--line); }
.role-row .r-title { font-size: 19px; font-weight: 500; letter-spacing: -0.012em; }
.role-row .r-meta { font-size: 15px; color: var(--muted); }
.role-row .r-go { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; color: var(--link); }
.role-row .r-go svg { width: 10px; height: 10px; }
.role-row:hover .r-title { color: var(--green); }
@media (max-width: 834px) {
  .job-board { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .roles-side { position: static; }
  .roles-filter { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (max-width: 600px) {
  .role-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
  .role-row .r-meta { grid-column: 1; grid-row: 2; font-size: 14px; }
  .role-row .r-go { grid-column: 2; grid-row: 1 / span 2; }
}

/* Comparison grids are real tables in the HTML (crawler and answer-engine readable); these rules keep the grid look */
table.cmp, table.ctable { display: block; width: auto; border-collapse: separate; border-spacing: 0; }
table.cmp > thead, table.cmp > tbody, table.ctable > thead, table.ctable > tbody { display: contents; }
.cmp-row > th, .cmp-row > td, .ct-row > th, .ct-row > td { text-align: left; vertical-align: top; font-weight: inherit; }
.cmp-row > th[scope="row"], .ct-row > th[scope="row"] { font-weight: 400; }
/* The header row sits in <thead>, so the first body row needs the divider the grid rows get from + (only while the header shows) */
@media (min-width: 981px) { table.cmp > thead + tbody > tr:first-child { border-top: 1px solid var(--line); } }
@media (min-width: 761px) { table.ctable > thead + tbody > tr:first-child { border-top: 1px solid var(--line); } }
p.nav-h { line-height: 1.3; }
.faq-copy p a { color: var(--green); }
.improve .imp-note .textlink { display: inline; margin-left: 4px; white-space: nowrap; }
/* Customers: one full-width row per industry (heading, client logos and link beside the description) */
.ind-rows { display: grid; gap: 16px; margin-top: 40px; }
.ind-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 40px; padding: 36px; }
.ind-row h3 { margin: 0 0 6px; }
.ind-row .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0 20px; justify-items: start; }
.ind-row .logo-grid img { height: 22px; }
.ind-row p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 760px) { .ind-row { grid-template-columns: 1fr; gap: 8px; padding: 24px; } .ind-row .ir-text { order: 2; } }
/* Job description pages (/careers/<role>/): role facts beside the posting, Overview and Application tabs */
.jd { padding: 40px 0 96px; }
.jd-wrap { max-width: 1068px; margin: 0 auto; padding: 0 22px; }
.jd-head h1 { margin: 22px 0 0; font-family: var(--sf-display); font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }
.jd-sub { margin: 10px 0 0; font-size: 17px; color: var(--muted); }
.jd-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; margin-top: 44px; align-items: start; }
.jd-meta { position: sticky; top: calc(var(--nav-h) + 72px); }
.jd-meta dl { margin: 0; }
.jd-meta dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.jd-meta dl > div:first-child { padding-top: 0; }
.jd-meta dt { font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }
.jd-meta dd { margin: 4px 0 0; font-size: 16px; line-height: 1.35; color: var(--ink); }
.jd-apply-btn { display: flex; justify-content: center; margin-top: 22px; }
.jd-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 72px); }
.jd-tabs button { position: relative; margin: 0; padding: 0 2px 14px; border: 0; background: none; font: inherit; font-size: 17px; color: var(--muted); cursor: pointer; }
.jd-tabs button[aria-selected="true"] { color: var(--ink); }
.jd-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--green); }
.jd-tabs button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.jd-panels { position: relative; }
.jd-panel { padding-top: 32px; }
/* The inactive panel keeps its layout so the HubSpot form inside can size itself before it is shown */
.jd-panel.jd-off { position: absolute; inset: 0 0 auto 0; visibility: hidden; pointer-events: none; height: 0; overflow: hidden; }
.jd .prose { max-width: 720px; }
.jd .prose h2 { font-size: 24px; letter-spacing: -0.01em; margin: 44px 0 0; }
.jd .prose p:first-child { margin-top: 0; }
.jd .prose ul { gap: 10px; }
.jd-end { margin-top: 36px !important; }
.jd-form-title { margin: 0; font-size: 24px; letter-spacing: -0.01em; }
.jd-form-sub { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 600px; }
.jd .lp-apply { margin: 24px 0 0; max-width: 620px; }
.jd .lp-fine { margin: 14px 0 0; max-width: 620px; }
@media (max-width: 860px) {
  .jd { padding-top: 24px; }
  .jd-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .jd-meta { position: static; }
  .jd-meta dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .jd-meta dl > div:nth-child(-n+2) { padding-top: 0; }
  .jd-apply-btn { display: none; }
}
/* Footer with the Resources column: six columns on desktop, five on tablets */
@media (min-width: 1069px) { .foot-5.foot-6 { grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); } }
@media (min-width: 735px) and (max-width: 1068px) { .foot-5.foot-6 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Hub index: jump links to each cluster or letter */
.hub-jump { justify-content: center; margin: 26px auto 0; max-width: 820px; }
.hub-jump .chip { text-decoration: none; }
.leader { scroll-margin-top: calc(var(--nav-h) + 72px); }
/* Article subheadings (published drafts use H3s under most H2s) */
.blog-prose h3 { margin: 36px 0 0; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; scroll-margin-top: 100px; }
.blog-prose h2 + h3 { margin-top: 18px; }
/* Newsletter signup: the panel on blog and resource pages, and the compact footer form */
.subscribe .nl-box { min-width: 0; }
.nl-form { margin: 0; max-width: 460px; }
.nl-fine { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.nl-fine a { color: inherit; text-decoration: underline; }
.subscribe .capture-note { margin: 10px 0 0; }
.foot-news { margin-top: 22px; max-width: 320px; }
.foot-news-h { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.nl-foot { padding: 4px; }
.nl-foot input { font-size: 14px; height: 36px; }
.nl-foot .btn-sm { white-space: nowrap; }
.foot-news .capture-note { margin: 8px 0 0; font-size: 12px; }
@media (max-width: 760px) { .subscribe { grid-template-columns: 1fr; padding: 26px 22px; } .nl-form { max-width: none; } }
.subscribe .capture-note, .foot-news .capture-note { text-align: left; }
/* Featured card: the cover keeps its 1200x630 shape (its headline sits at the left edge, so it must never be cropped) */
.feat-post > img { height: auto; align-self: center; width: calc(100% - 24px); margin: 24px 0 24px 24px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 980px) { .feat-post > img { width: 100%; margin: 0; border-radius: 0; box-shadow: none; } }
