/* Organic — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
/* Fonts are served from this origin, not from fonts.googleapis.com. A webfont
   import is a request to Google carrying the visitor's IP on every page view —
   a third party we would otherwise have to name in the privacy statement, for
   two typefaces that total 53 KB. Figtree ships as one variable file per subset,
   so a single face covers 400–700. */
@font-face {
  font-family: 'Caprasimo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/caprasimo-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: 'Caprasimo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/caprasimo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/figtree-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 700; font-display: swap;
  src: url(fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-400: #c0b6a5;
  --color-neutral-500: #a19786;
  --color-neutral-600: #82796a;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-300: #ffc6a5;
  --color-accent-400: #f6a06b;
  --color-accent-500: #d67f48;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-400: #aebf92;
  --color-accent-2-500: #8fa073;
  --color-accent-2-600: #728157;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-1: 4.4px;
  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;
  --space-6: 26.4px;
  --space-8: 35.2px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #171613;
  --color-surface: #211f1b;
  --color-text: #f4eadc;
  --color-accent: #e9955d;
  --color-accent-2: #a4b986;
  --color-divider: color-mix(in srgb, #f4eadc 16%, transparent);
  --color-neutral-100: #24211d;
  --color-neutral-200: #302c26;
  --color-neutral-300: #423c33;
  --color-neutral-400: #5b5347;
  --color-neutral-500: #786e5f;
  --color-neutral-600: #9a8f7e;
  --color-neutral-700: #bdb1a0;
  --color-neutral-800: #ddd3c5;
  --color-neutral-900: #f5eee5;
  --color-accent-100: #332118;
  --color-accent-200: #4a2d1d;
  --color-accent-300: #704126;
  --color-accent-400: #a45f37;
  --color-accent-500: #d47d49;
  --color-accent-600: #e9955d;
  --color-accent-700: #f3aa78;
  --color-accent-800: #ffd0ae;
  --color-accent-900: #ffe7d5;
  --color-accent-2-100: #1f2a19;
  --color-accent-2-200: #2b3a22;
  --color-accent-2-300: #3d512e;
  --color-accent-2-400: #58703f;
  --color-accent-2-500: #78945a;
  --color-accent-2-600: #94ad73;
  --color-accent-2-700: #b2c995;
  --color-accent-2-800: #d1e4b8;
  --color-accent-2-900: #eaf3df;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 32%);
  --shadow-md: 0 4px 14px rgb(0 0 0 / 36%);
  --shadow-lg: 0 16px 38px rgb(0 0 0 / 48%);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.washed{filter:saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94)}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover:not(:disabled) { background: var(--color-accent-600); }
.btn-primary:active:not(:disabled) { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover:not(:disabled) { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active:not(:disabled) { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }
.tag-muted {
  background: transparent; color: var(--color-neutral-500);
  border: 1px dashed var(--color-neutral-300);
}

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* ══════════════════════════════════════════════════════════════════════════
   Site components — the parts every page shares.

   These started life inside <style> blocks in index.html and onboarding.html.
   With ten pages in two languages, a component defined per page drifts: .fine
   and .brand had already grown two definitions apiece. Anything used by more
   than one page lives here; anything genuinely local to a page (the hero, the
   onboarding screens, the provisioning bar) stays in that page.
   ══════════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }
body { overflow-x: clip; text-wrap: pretty; }
a:hover { color: var(--color-accent-600); }
input::placeholder { color: color-mix(in srgb, var(--color-text) 40%, transparent); }

/* — page chrome — */
.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 26px);
  padding: 14px clamp(24px, 5vw, 72px);
  background: color-mix(in srgb, var(--color-bg) 84%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
/* The onboarding head sits inside the flow rather than over it: a sticky bar
   above a step counter reads as two competing headers. */
.site-head.flat { position: relative; backdrop-filter: none; background: none; }
.brand {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  text-decoration: none; color: inherit;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand span { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 19px; }
.site-head.flat .brand img { width: 30px; height: 30px; }
.site-head.flat .brand span { font-size: 18px; }
.link { color: inherit; text-decoration: none; font-size: 14px; }
.link:hover { color: var(--color-accent); }
.site-head .btn { white-space: nowrap; }
.step-count { font-size: 13px; color: color-mix(in srgb, var(--color-text) 58%, transparent); }

.site-theme-toggle {
  width: 34px; height: 34px; padding: 0; flex: none;
  display: grid; place-items: center;
  border: 1px solid transparent; border-radius: 50%;
  background: transparent; color: color-mix(in srgb, var(--color-text) 72%, transparent);
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.site-theme-toggle:hover {
  background: var(--color-neutral-100);
  border-color: var(--color-neutral-300);
  color: var(--color-text);
}
.site-theme-toggle:focus-visible { outline: 2px solid var(--color-accent-600); outline-offset: 3px; }
.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }

.lang {
  display: inline-flex; align-items: center; gap: 2px; font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.lang a { color: inherit; text-decoration: none; padding: 2px 6px; border-radius: 999px; }
.lang a:hover { color: var(--color-accent); }
.lang a[aria-current='true'] { color: var(--color-text); background: color-mix(in srgb, var(--color-text) 8%, transparent); }

.site-foot {
  --foot-bg: #1b1b19;
  --foot-text: #fff5e7;
  --foot-muted: #bdb2a4;
  --foot-line: rgb(255 245 231 / 15%);
  --foot-accent: #ff7a2f;
  --foot-content-width: 1260px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(72px, 10vw, 132px) 0 0;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 5vw, 72px);
  border: 1px solid rgb(255 255 255 / 8%);
  border-inline: 0;
  border-radius: clamp(34px, 5vw, 58px) clamp(34px, 5vw, 58px) 0 0;
  background:
    radial-gradient(circle at 88% -10%, rgb(255 122 47 / 18%), transparent 34%),
    radial-gradient(circle at -4% 72%, rgb(160 188 117 / 11%), transparent 28%),
    var(--foot-bg);
  box-shadow: 0 30px 90px rgb(32 30 29 / 18%);
  color: var(--foot-text);
  font-size: 14px;
}
.site-foot::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: clamp(-72px, -4vw, -30px);
  bottom: -98px;
  width: clamp(210px, 25vw, 310px);
  aspect-ratio: 1;
  background: url("/assets/brand/marks/hands-mark-transparent-512.png?v=718481afae") center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}
.site-foot > * {
  position: relative;
  z-index: 1;
  width: min(100%, var(--foot-content-width));
  margin-inline: auto;
}
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { color: #ff9b62; }

.foot-community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--foot-line);
}
.foot-community-copy { max-width: 690px; }
.foot-kicker,
.foot-column > span {
  display: block;
  margin-bottom: 14px;
  color: #ff9b62;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.foot-community h2 {
  max-width: 19ch;
  margin: 0;
  color: var(--foot-text);
  font-size: clamp(27px, 3.4vw, 43px);
  line-height: 1.08;
}
.foot-community p {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--foot-muted);
  font-size: 14px;
  line-height: 1.65;
}
.foot-community-signup {
  width: min(430px, 42vw);
  min-width: 310px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.foot-community-signup > [hidden] { display: none !important; }
.foot-community-form { width: 100%; }
.foot-community-label {
  display: block;
  margin: 0 0 8px;
  color: var(--foot-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.foot-community-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgb(255 245 231 / 20%);
  border-radius: 19px;
  background: rgb(255 255 255 / 5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
}
.foot-community-fields input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--foot-text);
  font: inherit;
  font-size: 14px;
}
.foot-community-fields input::placeholder { color: rgb(255 245 231 / 42%); }
.foot-community-fields input:focus { box-shadow: inset 0 -2px 0 #ff9b62; }
.foot-community-fields input[aria-invalid="true"] { box-shadow: inset 0 -2px 0 #ff805f; }
.foot-community-fields button {
  min-height: 44px;
  padding: 10px 15px;
  border: 0;
  border-radius: 13px;
  background: var(--foot-accent);
  color: #211914;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 12px;
  white-space: nowrap;
}
.foot-community-fields button:hover { background: #ff965d; }
.foot-community-fields button:disabled { cursor: wait; opacity: .72; }
.foot-community-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.foot-community .foot-community-consent {
  margin: 9px 4px 0;
  color: rgb(255 245 231 / 50%);
  font-size: 10.5px;
  line-height: 1.45;
}
.foot-community-consent a { text-decoration: underline; text-underline-offset: 2px; }
.foot-community .foot-community-status {
  min-height: 18px;
  margin: 7px 4px 0;
  color: #cfe5ae;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.foot-community .foot-community-status:empty { min-height: 0; margin-top: 0; }
.foot-community .foot-community-status.is-error { color: #ffad91; }
.foot-community-signup.is-success .foot-community-form {
  padding: 15px 17px;
  border: 1px solid rgb(160 188 117 / 38%);
  border-radius: 18px;
  background: rgb(160 188 117 / 10%);
}
.foot-community-signup.is-success .foot-community-label,
.foot-community-signup.is-success .foot-community-fields,
.foot-community-signup.is-success .foot-community-consent { display: none; }
.foot-community-signup.is-success .foot-community-status { margin: 0; }

.foot-community-cta {
  min-height: 52px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--foot-accent);
  cursor: pointer;
  color: #211914 !important;
  font-family: var(--font-heading);
  font-size: 14px;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}
.foot-community-cta:hover { background: #ff965d; transform: translateY(-2px); }
.foot-community-cta svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foot-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(120px, .7fr));
  gap: clamp(28px, 4.5vw, 62px);
  padding: clamp(34px, 5vw, 58px) 0;
}
.foot-brand-lockup {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.foot-brand-lockup img { width: 46px; height: 46px; object-fit: contain; }
.foot-brand-lockup span {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--foot-text);
}
.foot-brand > p {
  max-width: 34ch;
  margin: 22px 0 10px;
  color: var(--foot-muted);
  line-height: 1.65;
}
.foot-brand > b { color: var(--foot-text); font-size: 13px; }
.foot-brand > small {
  display: block;
  margin-top: 10px;
  color: rgb(255 245 231 / 48%);
  font-size: 10.5px;
}

.foot-socials { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.foot-social {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 245 231 / 20%);
  border-radius: 50%;
  background: rgb(255 255 255 / 4%);
  color: var(--foot-text);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
a.foot-social:hover {
  border-color: rgb(255 155 98 / 72%);
  background: rgb(255 122 47 / 12%);
  color: var(--foot-text);
  transform: translateY(-3px);
}
.foot-social.is-planned { color: rgb(255 245 231 / 62%); cursor: help; }
.foot-social.is-planned::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 6px;
  height: 6px;
  border: 2px solid var(--foot-bg);
  border-radius: 50%;
  background: #a0bc75;
}
.foot-social svg,
.foot-social img { width: 18px; height: 18px; object-fit: contain; }
.foot-social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.foot-social[data-social="youtube"] svg path,
.foot-social[data-social="linkedin"] svg rect,
.foot-social[data-social="linkedin"] svg circle,
.foot-social[data-social="linkedin"] svg path { fill: currentColor; stroke: none; }
.foot-social[data-social="x"] svg { stroke-width: 1.45; }

.foot-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.foot-column > span { margin-bottom: 3px; color: var(--foot-text); }
.foot-column a {
  color: var(--foot-muted);
  line-height: 1.45;
}
.foot-column a:hover { color: #ff9b62; }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--foot-line);
  color: rgb(255 245 231 / 58%);
  font-size: 11.5px;
}
.foot-bottom a { color: rgb(255 245 231 / 72%); }

/* — layout — */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 72px); }
/* Reading width for long-form pages. Narrower than .wrap on purpose: legal
   text at 1140px is unreadable. */
.page { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vh, 72px) clamp(24px, 5vw, 40px) 40px; }
.actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.form-col { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; max-width: 420px; }
.row-2 { display: flex; gap: 14px; flex-wrap: wrap; }
.row-2 > * { flex: 1 1 160px; }

/* App-page frame. Shared by onboarding and account, and it clips: the blob below
   is deliberately larger than the viewport and hangs off the right edge, which
   on a phone counts as page width unless something contains it. */
.shell { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: clip; }

/* Decorative wash behind the app pages. */
.blob {
  position: absolute; right: -160px; top: -220px; width: 430px; height: 430px;
  border-radius: 50%; background: var(--color-accent-2-200); z-index: 0; pointer-events: none;
}

/* — display typography — */
.title-xl { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: clamp(36px, 5vw, 54px); line-height: 1.08; margin: 0 0 0 -0.028em; }
.title-lg { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; margin: 0 0 0 -0.028em; }
.lede { font-size: 17px; line-height: 1.65; margin: 24px 0 0; max-width: 46ch; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.sub  { font-size: 15px; line-height: 1.6;  margin: 18px 0 0; max-width: 50ch; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.fine { font-size: 13px; line-height: 1.55; margin: 14px 0 0; max-width: 48ch; color: color-mix(in srgb, var(--color-text) 58%, transparent); }
.label { font-size: 14px; font-weight: 600; margin: 32px 0 10px; }
.eyebrow {
  display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; color: var(--color-accent-700); margin-bottom: 22px;
}

/* — long-form reading, for the legal and help pages — */
.prose { font-size: 15.5px; line-height: 1.7; }
.prose > * + * { margin-top: var(--space-3); }
.prose h2 { font-size: 25px; margin: var(--space-8) 0 var(--space-2); }
.prose h3 { font-size: 19px; margin: var(--space-6) 0 var(--space-1); }
.prose ul, .prose ol { padding-left: 22px; margin: 0; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: var(--space-3); }
.prose th, .prose td { text-align: left; padding: var(--space-2); border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.prose th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.prose code { font-size: 0.92em; background: var(--color-neutral-100); border-radius: 8px; padding: 2px 6px; }
.prose .meta { font-size: 13px; color: color-mix(in srgb, var(--color-text) 58%, transparent); }
/* An unresolved gap in a legal text must be impossible to miss, or it ships. */
.gap {
  display: inline-block; background: var(--color-accent-200); color: var(--color-accent-900);
  border-radius: 8px; padding: 1px 8px; font-size: 0.9em; font-weight: 600;
}

/* — button sizes — */
.btn-lg { font-size: 16px; padding: 13px 30px; }
.btn-md { font-size: 15px; padding: 11px 26px; }
.btn-copy { flex: none; font-size: 12px; padding: 6px 14px; }

/* — feedback — */
.msg { font-size: 13px; line-height: 1.5; margin-top: 12px; padding: 10px 16px; border-radius: 16px; display: none; }
.msg.show { display: block; }
.msg.err { background: var(--color-accent-200); color: var(--color-accent-900); }
.msg.ok  { background: var(--color-accent-2-100); color: var(--color-accent-2-900); }
.spinner {
  width: 15px; height: 15px; flex: none; border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--color-accent-2-900) 25%, transparent);
  border-top-color: var(--color-accent-2-900); animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.bar {
  height: 8px; margin: 14px 0 12px; border-radius: 999px; overflow: hidden;
  background: color-mix(in srgb, var(--color-accent-2-900) 14%, transparent);
}
.bar-fill {
  display: block; height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent-2-600), var(--color-accent-2-500));
  transition: width 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative; overflow: hidden;
}
/* A slow sheen, so a long wait still reads as alive even when the bar is
   sitting between two steps. */
.bar-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, #fff 45%, transparent), transparent);
  transform: translateX(-100%); animation: sheen 2.1s ease-in-out infinite;
}
@keyframes sheen { to { transform: translateX(100%); } }

.done-pill {
  display: flex; align-items: center; gap: 10px; margin-top: 30px;
  background: var(--color-accent-2-100); border-radius: 999px; padding: 12px 22px;
  max-width: fit-content; color: var(--color-accent-2-900); font-size: 14px; font-weight: 600;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
  background: var(--color-neutral-200); color: var(--color-neutral-800);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.live    { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.badge.asleep  { background: var(--color-neutral-200); color: var(--color-neutral-700); }
.badge.waiting { background: var(--color-accent-100); color: var(--color-accent-800); }

/* A section whose backend does not exist yet says so plainly. It is not a
   preview of a feature and must never be mistaken for one. */
.empty {
  border: 1px dashed var(--color-divider); border-radius: 26px;
  padding: 22px 24px; font-size: 14px; line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}
.empty b { display: block; color: var(--color-text); font-size: 15px; margin-bottom: 4px; }

/* — content blocks — */
.note { background: var(--color-accent-2-100); border-radius: 26px; padding: 20px 24px; margin-top: 20px; max-width: 560px; }
.note p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--color-accent-2-900); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { cursor: pointer; border: none; font-size: 12px; padding: 5px 13px; }
.chip:hover { background: var(--color-neutral-300); }
.panel {
  background: var(--color-neutral-100); border-radius: 26px; padding: 20px 24px;
}
.panel + .panel { margin-top: 14px; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { font-size: 20px; margin: 0; margin-right: auto; }

/* Credentials: a URL and a key, side by side, on both onboarding and account. */
.cred {
  display: flex; flex-direction: column; gap: 10px; margin-top: 22px; max-width: 560px;
  background: var(--color-neutral-100); border: 1px solid var(--color-divider);
  border-radius: 26px; padding: 18px 22px;
}
.cred-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cred-label { font-size: 12px; font-weight: 600; width: 96px; flex: none; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.cred code {
  flex: 1; min-width: 200px; font-size: 13px; word-break: break-all;
  background: var(--color-bg); border-radius: 12px; padding: 8px 12px;
}
.cred code.masked { letter-spacing: 0.12em; }

.signed-in {
  display: flex; align-items: center; gap: 12px; background: var(--color-neutral-100);
  border-radius: 26px; padding: 16px 20px; margin-top: 24px; max-width: 420px;
}
.signed-in .who { margin-right: auto; }
.signed-in .who b { display: block; font-size: 15px; }
.signed-in .who span { font-size: 13px; color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.tool-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-heading); font-size: 18px; }
.tool-ico.has-logo {
  border: 1px solid var(--color-divider); border-radius: 13px; padding: 8px;
  background: var(--color-bg);
}
.tool-ico img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* — sign-in — */
.gbtn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid var(--color-divider); border-radius: 999px;
  padding: 12px 20px; font: inherit; font-size: 15px; font-weight: 600; color: #3c4043;
  cursor: pointer; transition: background 0.2s, box-shadow 0.2s;
}
.gbtn:hover:not(:disabled) { background: #f7f7f7; box-shadow: var(--shadow-sm); }
.gbtn:disabled { opacity: 0.5; cursor: not-allowed; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: color-mix(in srgb, var(--color-text) 45%, transparent); font-size: 13px; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--color-divider); }
.switch-line { font-size: 13px; margin-top: 16px; color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.switch-line button {
  background: none; border: none; padding: 0; font: inherit; font-size: 13px;
  color: var(--color-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* — questions and answers — */
.faq { margin-top: var(--space-6); }
.faq details { border-bottom: 1px solid var(--color-divider); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--color-accent); }
.faq .answer { padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.faq .answer > * + * { margin-top: var(--space-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 2.4s; }
  .bar-fill { transition: none; }
  .bar-fill::after { animation: none; }
  .faq summary::after { transition: none; }
}

/* — rounded frame: everything softens, small controls go pill — */
.card, .dialog { border-radius: calc(var(--radius-lg) * 1.15); }
.btn, .tag, .seg, .input { border-radius: 999px; }
.input { padding-inline: 14px; }

/* The mobile header keeps the conversion action visible and puts every other
   destination — including the session-aware Sign in / Account link — in one
   explicit menu. This avoids silently hiding authentication on small screens. */
.mobile-nav { display: none; }

@media (max-width: 760px) {
  .site-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand primary menu";
    gap: 10px;
    padding: 12px clamp(16px, 4vw, 24px);
  }
  .site-head > .link,
  .site-head > .lang { display: none; }
  .site-head > .brand {
    grid-area: brand; min-width: 0; margin-right: 0;
  }
  .site-head > .btn {
    grid-area: primary; justify-self: end;
    font-size: 13px; padding: 9px 16px;
  }
  .brand span {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 17px;
  }
  .brand img { width: 28px; height: 28px; flex: none; }

  .mobile-nav {
    grid-area: menu; display: block; position: relative; justify-self: end;
  }
  .mobile-nav-toggle {
    width: 44px; height: 44px; padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    list-style: none; cursor: pointer;
    color: var(--color-text); background: color-mix(in srgb, var(--color-bg) 88%, white);
    border: 1px solid color-mix(in srgb, var(--color-text) 16%, transparent);
    border-radius: 999px;
  }
  .mobile-nav-toggle::-webkit-details-marker { display: none; }
  .mobile-nav-toggle > span {
    width: 18px; height: 2px; flex: none;
    border-radius: 999px; background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }
  .mobile-nav[open] .mobile-nav-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-nav[open] .mobile-nav-toggle > span:nth-child(2) { opacity: 0; }
  .mobile-nav[open] .mobile-nav-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-nav:not([open]) > .mobile-nav-panel { display: none; }
  .mobile-nav-panel {
    position: absolute; z-index: 1; top: calc(100% + 10px); right: 0;
    width: min(280px, calc(100vw - 24px)); padding: 10px;
    display: grid; gap: 4px;
    background: var(--color-bg);
    border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 48px color-mix(in srgb, var(--color-text) 18%, transparent);
  }
  .mobile-nav-panel > a {
    min-height: 44px; padding: 10px 12px;
    display: flex; align-items: center;
    color: var(--color-text); text-decoration: none;
    border-radius: var(--radius-md);
  }
  .mobile-nav-panel > a:hover { background: var(--color-surface); }
  .mobile-nav-panel > .mobile-nav-auth {
    color: white; font-weight: 700; background: var(--color-accent);
  }
  .mobile-nav-panel > .mobile-nav-auth:hover {
    color: white; background: var(--color-accent-600);
  }
  .mobile-nav-preference,
  .mobile-nav-language {
    min-height: 44px; padding: 8px 6px 8px 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
    color: color-mix(in srgb, var(--color-text) 62%, transparent);
    font-size: 13px;
  }
  .mobile-nav-preference .site-theme-toggle { width: 32px; height: 32px; }
  .mobile-nav-language .lang { display: inline-flex; flex: none; }

  .site-foot {
    margin-top: 76px;
    padding: 30px max(24px, 5vw);
    border-radius: 34px 34px 0 0;
  }
  .foot-community {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }
  .foot-community h2 { max-width: 22ch; }
  .foot-community-signup { width: min(100%, 520px); min-width: 0; justify-content: flex-start; }
  .foot-community-cta { justify-self: start; }
  .foot-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .page { padding-inline: clamp(18px, 5vw, 28px); }
  .prose { font-size: 15px; }
  /* A table of three columns of prose does not survive 390px; let it scroll
     inside its own box rather than pushing the page sideways. */
  .prose table { display: block; overflow-x: auto; white-space: normal; }
  .cred-label { width: auto; }
  .actions .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .site-foot {
    padding: 28px 22px;
    border-radius: 30px 30px 0 0;
  }
  .foot-community h2 { font-size: 28px; }
  .foot-community-cta { width: 100%; }
  .foot-community-fields { grid-template-columns: 1fr; }
  .foot-community-fields button { width: 100%; }
  .foot-main { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .foot-socials { gap: 8px; }
}

@media (max-width: 400px) {
  .site-head { gap: 8px; padding-inline: 12px; }
  .site-head .brand span { font-size: 15px; }
  .site-head > .btn { padding-inline: 13px; }
}

@media (max-width: 340px) {
  .site-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand menu"
      "primary primary";
  }
  .site-head > .btn { justify-self: stretch; justify-content: center; width: 100%; }
  .mobile-nav-panel { top: calc(100% + 54px); }
}

/* A link to a specific question must arrive with it open, or the reader lands on
   a closed row and assumes the page is wrong. */
.faq details:target { background: color-mix(in srgb, var(--color-accent) 6%, transparent); }

/* Brand marks with explicit theme variants. Keep this global so onboarding,
   account surfaces and future connector views all use the same rule. */
.brand-logo-dark { display: none !important; }
:root[data-theme="dark"] .brand-logo-light.has-dark-variant,
:root[data-theme="dark"] .has-logo > .brand-logo-light + .brand-logo-dark { display: none !important; }
:root[data-theme="dark"] .brand-logo-dark { display: block !important; }
