/* Barclo marketing site. Tokens from Barclo Brand Guidelines v1.0; components from the design handoff. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-800-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: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-var-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;
}
/* Metric-matched fallbacks so the swap doesn't shift the layout */
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'); size-adjust: 102%; ascent-override: 93%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Bricolage Fallback'; src: local('Arial Black'), local('Arial Bold'), local('Arial'); size-adjust: 92%; ascent-override: 100%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --green: #2e6b47;
  --green-deep: #1f4f33;
  --green-tint: #e6f0e9;
  --green-wash: #f3f8f4;
  --ink: #1d211e;
  --body: #3b3f3a;
  --muted: #62665f;
  --subtle: #a19f97;
  --line: #e1ddd3;
  --line-strong: #cfc9bb;
  --page: #f6f4ef;
  --card: #ffffff;
  --neutral-tint: #efece5;
  --pos-ink: #1f6b3a; --pos-tint: #e3f1e7;
  --warn-ink: #8a5a0a; --warn-tint: #fbefd5;
  --danger-ink: #a12a1f; --danger-tint: #fbe7e4;
  --trial: #fbf0cc; --trial-border: #f0dc9a; --trial-ink: #5c430c;
  --font-display: 'Bricolage Grotesque', 'Bricolage Fallback', 'Figtree', sans-serif;
  --font-body: 'Figtree', 'Figtree Fallback', system-ui, sans-serif;
  --press: inset 0 -2px 0 rgba(0,0,0,.2);
  --wrap: 1160px;
  --gutter: 24px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-deep); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 80px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--green); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Layout */
.sec { container-type: inline-size; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.bg-page { background: var(--page); }
.bg-white { background: var(--card); }
.bg-tint { background: var(--green-tint); }
.bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; }

/* Type */
.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin: 0; }
.eyebrow.muted { color: var(--muted); }
.display { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.h1-home { font-size: clamp(42px, 5.2cqi, 64px); line-height: 1.0; }
.h1-product { font-size: clamp(40px, 4.8cqi, 60px); line-height: 1.0; }
.h1-simple { font-size: clamp(38px, 4.6cqi, 58px); line-height: 1.02; }
.h2-lg { font-size: clamp(32px, 3.8cqi, 46px); }
.h2-md { font-size: clamp(30px, 3.6cqi, 44px); line-height: 1.05; }
.h2-sm { font-size: clamp(26px, 2.8cqi, 34px); }
.sub { margin: 0; font-size: clamp(18px, 1.6cqi, 20px); line-height: 1.55; color: var(--body); }
.lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.body { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.small { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border-radius: 999px; white-space: nowrap;
  font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--press); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--green-deep); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 0 24px; }
.btn-secondary:hover { border-color: var(--subtle); color: var(--ink); }
.btn-secondary:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.btn-white { background: #fff; color: var(--green-deep); }
.btn-white:hover { background: var(--green-tint); color: var(--green-deep); }
.btn-white:focus-visible { outline-color: #fff; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), max-content)); gap: 12px; }
.btn-row .btn { width: 100%; }
@media (max-width: 599.98px) { .btn-row { grid-template-columns: 1fr; } }
.trust { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust li { display: inline-flex; gap: 10px; }
.trust li:not(:last-child)::after { content: '·'; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--green); text-decoration: none; align-self: flex-start; }
.arrow-link:hover { color: var(--green-deep); text-decoration: underline; }
.ico { flex: none; }

/* Tick list (pricing, deep dives) */
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.45; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--green); transform: rotate(-6deg); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* Icon tiles */
.tile { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--green-tint); color: var(--green-deep); display: flex; align-items: center; justify-content: center; }
.tile.h0 { background: oklch(0.94 0.045 240); color: oklch(0.42 0.09 240); }
.tile.h1 { background: oklch(0.94 0.045 30); color: oklch(0.42 0.09 30); }
.tile.h2 { background: oklch(0.94 0.045 70); color: oklch(0.42 0.09 70); }
.tile.h3 { background: oklch(0.94 0.045 320); color: oklch(0.42 0.09 320); }
.tile.h4 { background: oklch(0.94 0.045 150); color: oklch(0.42 0.09 150); }
.tile.h5 { background: oklch(0.94 0.045 110); color: oklch(0.42 0.09 110); }
.num { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-family: var(--font-display); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }

/* Badges (never tappable) */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.badge.pos { background: var(--pos-tint); color: var(--pos-ink); }
.badge.warn { background: var(--warn-tint); color: var(--warn-ink); }
.badge.neutral { background: var(--neutral-tint); color: var(--muted); }

/* Photos */
.photo { position: relative; width: 100%; overflow: hidden; background: var(--neutral-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SiteHeader ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--page); border-bottom: 1px solid var(--line); transition: background-color .2s ease, box-shadow .2s ease; }
.hdr.scrolled { background: #fff; box-shadow: 0 8px 24px -16px rgba(29,33,30,.3); }
.hdr-in { max-width: 1208px; margin: 0 auto; padding: 0 24px; height: var(--header-h); display: flex; align-items: center; gap: 28px; transition: height .2s ease; }
.hdr.scrolled .hdr-in { height: 64px; }
.hdr-logo { display: flex; align-items: center; flex: none; min-height: 44px; }
.hdr-logo img { height: 28px; width: auto; }
.hdr-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.hdr-link, .hdr-drop > summary { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.hdr-link:hover, .hdr-drop > summary:hover, .hdr-drop[open] > summary { background: var(--neutral-tint); color: var(--ink); }
.hdr-link[aria-current="page"] { color: var(--green-deep); }
.hdr-drop { position: relative; }
.hdr-drop > summary svg { transition: transform .2s ease; }
.hdr-drop[open] > summary svg { transform: rotate(180deg); }
.hdr-panel { position: absolute; top: 100%; left: 0; padding-top: 8px; }
.hdr-panel-in { width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 16px 40px -16px rgba(29,33,30,.25); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.hdr-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hdr-col .eyebrow { color: var(--muted); padding: 4px 12px 8px; }
.hdr-col a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.hdr-col a:hover { background: var(--green-wash); color: var(--green-deep); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-login { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.hdr-login:hover { background: var(--neutral-tint); color: var(--ink); }
.hdr-m { display: none; }
@media (max-width: 959.98px) {
  .hdr-in { height: 64px; padding: 0 16px; gap: 12px; }
  .hdr-nav, .hdr-login { display: none; }
  .hdr-actions { margin-left: auto; gap: 4px; }
  .hdr-actions .btn { padding: 0 18px; }
  .hdr-m { display: block; }
  .hdr-m > summary { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
  .hdr-m[open] > summary { background: var(--neutral-tint); }
  .hdr-m .i-close, .hdr-m[open] .i-menu { display: none; }
  .hdr-m[open] .i-close { display: block; }
  .hdr-sheet { position: absolute; left: 0; right: 0; top: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 8px 24px 24px; display: flex; flex-direction: column; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: 0 16px 24px -16px rgba(29,33,30,.3); }
  .hdr-sheet details { border-bottom: 1px solid var(--page); }
  .hdr-sheet summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 700; font-size: 17px; }
  .hdr-sheet details[open] summary svg { transform: rotate(180deg); }
  .hdr-sheet .grp { display: flex; flex-direction: column; padding: 0 0 8px 12px; }
  .hdr-sheet .grp a { display: flex; align-items: center; min-height: 44px; color: var(--body); text-decoration: none; font-weight: 600; font-size: 16px; }
  .hdr-sheet > a { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--page); }
  .hdr-sheet .btn { margin-top: 20px; width: 100%; }
}
@media (max-width: 359.98px) { .hdr-actions .btn { padding: 0 14px; font-size: 14px; } }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 4px; min-width: 0; }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---------- Heroes ---------- */
.hero-in { display: flex; flex-wrap: wrap; gap: clamp(32px, 5cqi, 72px); align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; }
.hero-home { padding: clamp(32px, 6cqi, 88px) var(--gutter) clamp(48px, 7cqi, 104px); }
.hero-home .hero-copy { gap: clamp(20px, 2.4cqi, 28px); }
.hero-home .sub { max-width: 520px; }
.hero-visual { flex: 1 1 420px; min-width: 0; max-width: 560px; width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; }
@media (min-width: 960px) { .hero-visual { aspect-ratio: 5 / 6; } }
.hero-visual > .photo, .ab-visual > .photo { height: 100%; }
.hero-home.no-photo .hero-copy, .hero-product.no-photo .hero-copy { max-width: 760px; }
.hero-product { padding: clamp(12px, 2cqi, 24px) var(--gutter) clamp(48px, 7cqi, 96px); }
.hero-product > .wrap { display: flex; flex-direction: column; gap: clamp(16px, 3cqi, 40px); }
.hero-product .hero-copy { gap: clamp(18px, 2.2cqi, 26px); }
.hero-product .sub { max-width: 540px; }
.hero-product .hero-visual { max-width: 540px; }
.hero-phone { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; padding: 8px 0; }
.hero-simple { padding: clamp(12px, 2cqi, 24px) var(--gutter) clamp(40px, 6cqi, 72px); }
.hero-simple > .wrap { display: flex; flex-direction: column; gap: clamp(20px, 3cqi, 40px); }
.hero-simple .hs-copy { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.hero-simple.flush { padding: 0 0 8px; background: transparent; }
.hero-simple.no-crumbs { padding-top: clamp(32px, 5cqi, 72px); }
.hero-simple .meta { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0; }

/* ---------- PainPoints ---------- */
.pain { padding: clamp(48px, 6cqi, 80px) var(--gutter); }
.pain > .wrap { display: flex; flex-direction: column; gap: clamp(28px, 3cqi, 40px); }
.pain-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.pain-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.pain-cards li { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 20px; background: var(--page); }
.pain-cards p { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; }
.pain-num { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px 32px; }
.pain-num li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.pain-num p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.pain-num b { color: var(--ink); font-weight: 800; }
.pain-close { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 600; max-width: 720px; }

/* ---------- DemoSection (layout; the phone screens live in demos.css) ---------- */
.demo { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.demo-in { display: flex; flex-wrap: wrap; gap: clamp(36px, 5cqi, 72px); align-items: center; justify-content: center; }
.demo.left .demo-in { flex-direction: row-reverse; }
.demo-copy { flex: 1 1 440px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.demo-copy .h2-md { font-size: clamp(32px, 3.8cqi, 46px); }
.beats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.beat { border-radius: 14px; border: 1px solid transparent; position: relative; overflow: hidden; }
.beat button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 14px; }
.beat button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.beat .bn { flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--neutral-tint); color: var(--muted); font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; transition: background-color .2s ease, color .2s ease; }
.beat .bt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.beat .bt b { font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.beat .bt span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.demo-js .beat:not(.on) .bt span { display: none; }
.beat.on { background: #fff; border-color: var(--line); box-shadow: 0 6px 18px -12px rgba(29,33,30,.25); }
.beat.on .bn { background: var(--green); color: #fff; }
.beat .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--green); }
.demo-ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.demo-ctl .btn { height: 48px; }
.demo-toggle { display: none; }
.demo-js .demo-toggle { display: inline-flex; }
.demo-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.demo-stage { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 640px; }
@media (max-width: 767.98px) { .demo-stage { min-height: 600px; } }

/* ---------- DayTimeline ---------- */
.timeline { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.timeline > .wrap, .fgrid > .wrap, .why > .wrap, .values > .wrap { display: flex; flex-direction: column; gap: clamp(32px, 4cqi, 48px); }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.tl-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.tl-steps li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.tl-top { display: flex; align-items: center; gap: 10px; }
.tl-n { width: 28px; height: 28px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.tl-time { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-size: 13px; font-weight: 700; }
.tl-steps h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; }
.tl-steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.tl-close { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2cqi, 28px); letter-spacing: -0.02em; line-height: 1.2; }

/* ---------- FeatureDeepDive ---------- */
.dd { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.dd-in { display: flex; flex-wrap: wrap; gap: clamp(36px, 5cqi, 72px); align-items: center; }
.dd.left .dd-in { flex-direction: row-reverse; }
.dd-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dd-visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.mock { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-title { font-weight: 700; font-size: 16px; }
.mock-sub { font-size: 13.5px; color: var(--muted); }
.mock-av { width: 44px; height: 44px; border-radius: 14px; background: oklch(0.93 0.05 70); color: oklch(0.40 0.08 70); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.mock-lines { background: var(--green-wash); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.mock-lines .tot { font-weight: 800; padding-top: 6px; border-top: 1px solid var(--line); }
.mock-btns { display: flex; gap: 8px; }
.mock-btns span { flex: 1; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.mock-btns .no { background: #fff; border: 1px solid var(--line); }
.mock-btns .yes { background: var(--green); color: #fff; box-shadow: var(--press); }
.mock-stack { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.mock-toast { align-self: flex-end; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; max-width: 320px; font-size: 13.5px; line-height: 1.4; color: var(--body); }
.mock-toast .t-ic { width: 28px; height: 28px; border-radius: 9px; background: var(--green-tint); color: var(--green-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.mock-toast b { color: var(--ink); }
.slot { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.slot b { font-size: 15px; }
.slot .r { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.slot.full { background: var(--page); border-color: var(--page); color: var(--muted); }
.report-mock .rm-head { display: flex; gap: 12px; align-items: center; }
.report-mock .rm-note { background: var(--page); border-radius: 14px; padding: 12px 14px; color: var(--body); line-height: 1.5; }
.report-mock .rm-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.report-mock .rm-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-size: 13px; font-weight: 700; }

/* ---------- FeatureGrid ---------- */
.fgrid { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.fg-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fg-item { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; background: var(--page); }
.fgrid.bg-page .fg-item { background: #fff; }
.fg-item h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; }
.fg-item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.fg-item .arrow-link { margin-top: auto; font-size: 15px; }
.fg-more { align-self: flex-start; }
.fgrid + .fgrid { border-top: 0; }

/* ---------- WhyBarclo ---------- */
.why { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.why.short { padding: clamp(48px, 5cqi, 64px) var(--gutter); }
.why.short > .wrap { gap: 28px; }
.why-items { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 32px; }
.why.short .why-items { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; }
.why-item { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.why.short .why-item { flex-direction: row; }
.why-item h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; }
.why-item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.why.short .why-item p { font-size: 15px; }
.why-item .stack { gap: 6px; min-width: 0; }

/* ---------- VerticalCards ---------- */
.vcards { padding: clamp(56px, 7cqi, 96px) 0; }
.vcards > .wrap { max-width: 1208px; display: flex; flex-direction: column; gap: clamp(28px, 3.4cqi, 40px); }
.vc-head { padding: 0 var(--gutter); }
.vc-list { margin: 0; padding: 0 var(--gutter) 4px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.vc-card { height: 100%; display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; }
.vc-card:hover { border-color: var(--green); color: var(--ink); }
.vc-card .photo { aspect-ratio: 3 / 2; border-bottom: 1px solid var(--line); }
.vc-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.vc-body h3 { margin: 0; font-size: 19px; font-weight: 800; }
.vc-body p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--body); }
.vc-body .more { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 15px; font-weight: 700; color: var(--green); margin-top: auto; }
@media (max-width: 639.98px) {
  .vc-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); }
  .vc-list li { scroll-snap-align: start; }
}

/* ---------- Pricing ---------- */
.pricing { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.pr-in { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.pr-main { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.pr-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 7cqi, 88px); line-height: 1; letter-spacing: -0.04em; }
.pr-per { font-size: 18px; font-weight: 600; color: var(--body); }
.pr-lock { display: flex; flex-direction: column; gap: 4px; margin-top: -8px; }
.pr-lock b { font-size: 16px; font-weight: 700; color: var(--green-deep); }
.pr-lock span { font-size: 14px; color: var(--muted); }
.pr-line { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 420px; }
.pr-cta { display: flex; flex-direction: column; gap: 12px; }
.pr-cta .btn { align-self: stretch; max-width: 320px; }
.pr-inc { flex: 1.3 1 440px; min-width: 0; background: var(--page); border-radius: 24px; padding: clamp(22px, 3cqi, 36px); display: flex; flex-direction: column; gap: 22px; }
.pr-inc h3 { margin: 0; font-size: 17px; font-weight: 800; }
.pr-inc .ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px 24px; font-size: 15.5px; }
.pr-stripe { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Faq ---------- */
.faq { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.faq-in { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.faq-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-head a { font-weight: 700; text-underline-offset: 3px; }
.faq-list { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.faq-list summary:focus-visible { outline-offset: 2px; border-radius: 8px; }
.faq-list summary h3 { margin: 0; font: inherit; }
.faq-ic { flex: none; transition: transform .2s ease; }
.faq-list details[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 40px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.faq-a p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.faq-a .arrow-link { font-size: 15px; }
.faq.in-col { padding: 0; background: transparent; border: 0; }

/* ---------- AppBand ---------- */
.appband { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.ab-in { display: flex; flex-wrap: wrap; gap: 36px 64px; align-items: center; }
.ab-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ab-copy .lead { max-width: 480px; }
.ab-visual { flex: 1 1 380px; min-width: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: inline-flex; border-radius: 10px; min-height: 44px; align-items: center; }
.badges img { height: 52px; width: auto; }
.badges.sm img { height: 44px; }

/* ---------- CtaBand ---------- */
.ctaband { padding: 0 var(--gutter) clamp(56px, 7cqi, 96px); }
.ctaband.top { padding-top: clamp(56px, 7cqi, 96px); }
.cta-box { background: var(--green); border-radius: 28px; padding: clamp(40px, 6cqi, 80px) clamp(24px, 5cqi, 64px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; color: #fff; }
.cta-box .eyebrow { color: #fff; }
.cta-box .display { font-size: clamp(34px, 4.4cqi, 56px); line-height: 1.02; }
.cta-box p { margin: 0; font-size: 18px; line-height: 1.55; max-width: 480px; }
.cta-box .btn { width: min(100%, 300px); margin-top: 8px; }
.cta-box .trust { color: #fff; }

/* ---------- CrossLinks ---------- */
.xlinks { padding: clamp(40px, 5cqi, 64px) var(--gutter); }
.xl-box { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding: clamp(24px, 3cqi, 32px); border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.xl-box h2 { margin: 0; font-size: 20px; font-weight: 800; flex: 1 1 240px; }
.xl-box ul { display: flex; flex-wrap: wrap; gap: 8px; flex: 2 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.xl-box a { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.xl-box a:hover { border-color: var(--green); color: var(--green-deep); }
.xl-box a:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }

/* ---------- WidePhoto ---------- */
.widephoto { padding: clamp(32px, 4cqi, 56px) clamp(12px, 2cqi, 24px); }
.widephoto .photo { max-width: 1256px; margin: 0 auto; aspect-ratio: 21 / 9; border-radius: 32px; }
@media (max-width: 767.98px) { .widephoto { display: none; } }

/* ---------- PhotoGallery ---------- */
.gallery { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.gallery > .wrap { display: flex; flex-direction: column; gap: clamp(28px, 3.4cqi, 44px); }
.gal-lede { margin: 0; font-size: clamp(17px, 1.5cqi, 19px); line-height: 1.55; color: var(--body); }
.gal-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2cqi, 24px); }
@media (min-width: 768px) { .gal-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gal-items figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gal-items .photo { aspect-ratio: 4 / 5; border-radius: 20px; }
.gal-items figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- FounderStory ---------- */
.founder { padding: clamp(48px, 6cqi, 88px) var(--gutter); }
.fs-in { display: flex; flex-wrap: wrap; gap: clamp(32px, 5cqi, 72px); align-items: flex-start; }
.fs-photo { margin: 0; flex: 1 1 380px; min-width: 0; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.fs-photo .photo { aspect-ratio: 4 / 5; border-radius: 24px; }
.fs-photo figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); }
.fs-copy { flex: 1.2 1 440px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.fs-copy p { margin: 0; font-size: clamp(17px, 1.5cqi, 19px); line-height: 1.65; color: var(--body); }

/* ---------- ValuesGrid ---------- */
.values { padding: clamp(56px, 7cqi, 96px) var(--gutter); }
.values > .wrap { gap: clamp(28px, 3.4cqi, 44px); }
.v-items { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.v-items li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: var(--page); }
.v-items h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.v-items p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }

/* ---------- ContactBlocks ---------- */
.contact { padding: 0 var(--gutter) clamp(56px, 7cqi, 96px); }
.contact > .wrap { display: flex; flex-direction: column; gap: 16px; }
.cb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.cb-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3cqi, 32px); border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.cb-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.cb-mail { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: 16px; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; align-self: flex-start; }
.cb-mail:hover { background: #d3e6d9; color: var(--green-deep); }
.cb-note-sm { font-size: 14px; line-height: 1.45; color: var(--muted); }
.cb-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--page); font-size: 14px; color: var(--muted); margin: 0; }
.cb-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cb-note { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--page); font-size: 14.5px; line-height: 1.55; color: var(--body); }
.cb-row { display: flex; flex-wrap: wrap; gap: 16px; }
.cb-row > div { flex: 1 1 320px; min-width: 0; padding: 24px; border-radius: 20px; display: flex; flex-direction: column; gap: 10px; }
.cb-row h2 { margin: 0; font-size: 17px; font-weight: 800; }
.cb-company { background: #fff; border: 1px solid var(--line); }
.cb-company address { font-style: normal; font-size: 15.5px; line-height: 1.6; color: var(--body); display: flex; flex-direction: column; }
.cb-using { background: var(--green-tint); color: var(--green-deep); }
.cb-using p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.cb-using a { color: var(--green-deep); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Help layout, sidebar, hub ---------- */
.help { padding: clamp(12px, 2vw, 24px) var(--gutter) clamp(56px, 7vw, 96px); }
.help.hub { padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.help-in { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-start; }
.help-aside { flex: 1 1 100%; min-width: 0; }
.help-main { flex: 1 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.help.hub .help-main { max-width: none; }
@media (min-width: 960px) {
  .help-aside { flex: 0 1 260px; position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; }
}
.hs-nav { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.hs-grp { display: flex; flex-direction: column; gap: 2px; }
.hs-grp .eyebrow { color: var(--muted); padding: 0 12px 6px; }
.hs-nav a.g { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.hs-nav a.g:hover { background: var(--green-wash); color: var(--green-deep); }
.hs-nav a.g .n { flex: none; width: 22px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.hs-nav a.g[aria-current="page"] { font-weight: 700; color: var(--green-deep); background: var(--green-tint); }
.hs-nav a.g[aria-current="page"] .n { color: var(--green); }
.hs-box { background: var(--green-tint); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--green-deep); }
.hs-box b { font-size: 16px; font-weight: 800; }
.hs-box p { margin: 0; font-size: 14px; line-height: 1.5; }
.hs-box a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--green-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.hs-m { display: none; }
@media (max-width: 959.98px) {
  .hs-wide { display: none; }
  .hs-m { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .hs-m > summary { min-height: 56px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
  .hs-m > summary:focus-visible { outline-offset: -2px; }
  .hs-m > summary .lbl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .hs-m > summary .lbl b { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hs-m > summary .chev { transition: transform .2s ease; }
  .hs-m[open] > summary .chev { transform: rotate(180deg); }
  .hs-m .hs-nav { border-top: 1px solid var(--line); padding: 12px 8px 16px; gap: 14px; }
  .hs-m .hs-box { margin: 0 4px; }
}
.hub-groups { container-type: inline-size; display: flex; flex-direction: column; gap: clamp(32px, 4cqi, 48px); }
.hub-grp { display: flex; flex-direction: column; gap: 14px; }
.hub-grp h2 { margin: 0; font-size: 20px; font-weight: 800; }
.hub-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.hub-card { height: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-height: 88px; }
.hub-card:hover { border-color: var(--green); color: var(--ink); }
.hub-card .n { flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.hub-card .t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hub-card .t b { font-weight: 700; font-size: 16px; line-height: 1.3; }
.hub-card .t span { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- ArticleBody ---------- */
.article { container-type: inline-size; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.article.wide-wrap { margin: 0 auto; }
.article > h2 { margin: 20px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4cqi, 32px); line-height: 1.1; letter-spacing: -0.025em; scroll-margin-top: 96px; }
.article > h3, .article .h3 { margin: 8px 0 0; font-size: 20px; font-weight: 800; line-height: 1.3; }
.article > p, .article li { font-size: 17px; line-height: 1.65; color: var(--body); }
.article > p { margin: 0; }
.article > ul, .article > ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article li { padding-left: 4px; line-height: 1.6; }
.article a { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article strong, .article b { color: var(--ink); }
.article code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .88em; color: var(--ink); background: var(--neutral-tint); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; overflow-wrap: anywhere; }
.article .steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; }
.article .steps > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 16px; padding: 0 0 24px; position: relative; }
.article .steps > li::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.article .steps > li:last-child::after { display: none; }
.article .steps .sn { width: 40px; height: 40px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.article .steps .sb { display: flex; flex-direction: column; gap: 6px; padding-top: 7px; min-width: 0; }
.article .steps h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.35; }
.article .steps p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--body); }
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid; }
.callout svg { margin-top: 2px; }
.callout .cb { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.55; min-width: 0; }
.callout .cb p { margin: 0; }
.callout a { color: inherit; font-weight: 700; }
.callout.tip { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-deep); }
.callout.note { background: var(--page); border-color: var(--line); color: var(--ink); }
.callout.warning { background: var(--trial); border-color: var(--trial-border); color: var(--trial-ink); }
.tbl { position: relative; max-width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.tbl > div { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.tbl > div:focus-visible { outline-offset: -2px; }
.tbl table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.tbl th { text-align: left; padding: 12px 16px; background: var(--page); font-weight: 800; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--page); color: var(--body); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.guide-wrap { padding: 0 var(--gutter) clamp(48px, 6vw, 80px); }

/* ---------- GuidePager ---------- */
.pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pager a { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager a:hover { border-color: var(--green); color: var(--ink); }
.pager a[rel="next"] { grid-column: -2; justify-content: flex-end; text-align: right; }
.pager .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pager .t span { font-size: 13px; font-weight: 600; color: var(--muted); }
.pager .t b { font-weight: 700; font-size: 16px; }

/* ---------- Legal ---------- */
.legal { padding: 0 var(--gutter) clamp(56px, 7cqi, 96px); }
.legal-in { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.legal-toc { flex: 0 1 280px; min-width: 0; width: 100%; }
@media (min-width: 960px) { .legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; } }
.toc-wide { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.toc-wide .eyebrow { color: var(--muted); padding: 0 0 10px 16px; }
.toc-wide a { display: flex; gap: 8px; min-height: 44px; align-items: center; padding: 4px 0 4px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; font-size: 14.5px; line-height: 1.35; font-weight: 500; color: var(--body); }
.toc-wide a:hover { color: var(--green); }
.toc-wide a.on { border-left-color: var(--green); color: var(--green-deep); font-weight: 700; }
.toc-wide .n, .toc-m .n { flex: none; width: 22px; color: var(--muted); font-weight: 700; }
.toc-m { display: none; }
@media (max-width: 959.98px) {
  .toc-wide { display: none; }
  .toc-m { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  .toc-m > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px; font-weight: 700; font-size: 16px; }
  .toc-m[open] > summary svg { transform: rotate(180deg); }
  .toc-m nav { border-top: 1px solid var(--line); padding: 8px 16px 12px; display: flex; flex-direction: column; }
  .toc-m a { display: flex; gap: 8px; min-height: 44px; align-items: center; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--page); }
}
.legal-body { flex: 1 1 520px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4cqi, 48px); }
.legal-body .updated { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0; }
.legal-body section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 96px; }
.legal-body h2 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.3; padding-left: 34px; text-indent: -34px; }
.legal-body h2 .n { display: inline-block; width: 34px; text-indent: 0; color: var(--green); }
.legal-body h3 { margin: 6px 0 0; font-size: 17px; font-weight: 800; }
.legal-body p, .legal-body li { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--body); }
.legal-body ul, .legal-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-body a { font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body strong { color: var(--ink); }
.legal-body .tbl table { min-width: 460px; font-size: 14.5px; }

/* ---------- NotFound ---------- */
.nf { padding: clamp(56px, 9cqi, 128px) var(--gutter); }
.nf-in { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.nf-tile { width: 72px; height: 72px; border-radius: 20px; background: var(--green-tint); color: var(--green-deep); transform: rotate(-4deg); display: flex; align-items: center; justify-content: center; }
.nf .display { font-size: clamp(36px, 4.4cqi, 52px); }
.nf .btn-row { width: 100%; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), max-content)); margin-top: 8px; }

/* ---------- PhoneFrame (static screens used by heroes and deep dives) ---------- */
.phone { position: relative; width: var(--pw, 300px); max-width: 100%; }
.phone-body { border-radius: 44px; background: #1d211e; padding: 10px; box-shadow: 0 30px 60px -30px rgba(29,33,30,.55); }
.phone-screen { border-radius: 34px; overflow: hidden; background: var(--page); aspect-ratio: 9 / 19.5; position: relative; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------- SiteFooter ---------- */
.ftr { background: #fff; border-top: 1px solid var(--line); container-type: inline-size; }
.ftr-in { max-width: 1208px; margin: 0 auto; padding: clamp(48px, 6cqi, 72px) 24px 32px; display: flex; flex-direction: column; gap: 48px; }
.ftr-top { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.ftr-brand { flex: 1 1 260px; min-width: 0; max-width: 340px; display: flex; flex-direction: column; gap: 20px; }
.ftr-brand > a { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
.ftr-brand > a img { height: 28px; width: auto; }
.ftr-tag { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.ftr-cols { flex: 3 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 24px; }
.ftr-cols nav { display: flex; flex-direction: column; min-width: 0; }
.ftr-cols h2 { margin: 0; padding-bottom: 6px; }
.ftr-cols ul { margin: 0; padding: 0; list-style: none; }
.ftr-cols a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.ftr-cols a:hover { color: var(--green); text-decoration: underline; }
.ftr-legal { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .btn:active { transform: none; }
}
.cb-mailwrap { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ftr-app { display: flex; flex-direction: column; gap: 10px; }
.mock-row.start { justify-content: flex-start; gap: 12px; }
.pos-ink { color: var(--pos-ink); }
.dd-visual .photo { max-width: 540px; aspect-ratio: 4 / 3; border-radius: 24px; }
/* Linked feature cards: the title link covers the whole card, so the tap target is the card. */
.fg-item { position: relative; }
.fg-item h3 a { color: var(--ink); text-decoration: none; }
.fg-item h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.fg-item h3 a svg { display: inline-block; vertical-align: -3px; margin-left: 6px; color: var(--green); }
.fg-item:hover h3 a { color: var(--green-deep); text-decoration: underline; }
.fg-item:has(a:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.fg-item h3 a:focus-visible { outline: none; }
.fs-photo .photo { aspect-ratio: auto; max-width: 460px; }
