@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-500.woff2') format('woff2'); }
/* Zuma Labs — site styles
   Palette: pure white, forest green and its tones, near-black green for text.
   Lighting: one light source, upper left. Illuminated surfaces run light → forest → shadow toward the lower right.
   Spacing scale: 4 8 12 16 24 32 48 64 96 */

:root {
  --white: #ffffff;
  --green-100: #e3ece7;    /* hairlines and quiet borders */
  --green-300: #6f9a88;    /* light highlight (artwork only) */
  --green-500: #2c5e4e;    /* lit forest */
  --forest: #183930;       /* brand anchor */
  --green-800: #0f271f;    /* deep forest */
  --green-950: #07140f;    /* near-black green */
  --forest-dark: #0f271f;
  --ink: #07140f;          /* body text: near-black green */
  --text-2: #4a5852;       /* secondary text: 7.6:1 on white */
  --line: #dde6e1;
  --error: #b42318;        /* validation only */
  --lit-panel: linear-gradient(135deg, #2c5e4e 0%, #214d3f 26%, #183930 52%, #112c24 78%, #0b1e18 100%);
  --lit-footer: radial-gradient(90% 120% at 0% 0%, rgba(111, 154, 136, .20) 0%, rgba(111, 154, 136, 0) 60%),
                linear-gradient(160deg, #1d4538 0%, #183930 32%, #0f271f 68%, #07140f 100%);
  --lit-button: linear-gradient(135deg, #25503f 0%, #183930 55%, #132f27 100%);
  --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 48px;
  --section: 96px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 50;
  padding: 12px 16px; background: var(--forest); color: #fff; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type roles ---------- */
.t-display {
  font-size: 72px; line-height: 1.04; font-weight: 500; letter-spacing: -0.03em;
  text-wrap: balance;
}
.t-h1 { font-size: 52px; line-height: 1.08; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.t-h2 {
  font-size: 40px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em;
  max-width: 20ch; text-wrap: balance;
}
.t-h3 { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -0.005em; }
.t-lede { font-size: 20px; line-height: 1.55; max-width: 30em; text-wrap: pretty; }
.t-body { font-size: 18px; line-height: 1.6; max-width: 36em; text-wrap: pretty; }
.t-small { font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.t-meta { font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  font: 500 16px/1 var(--font); color: var(--white); text-decoration: none;
  background-color: var(--forest); background-image: var(--lit-button); border: 0; border-radius: 2px; cursor: pointer;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .14);
  transition: background-color .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(.88); }
.btn-white { background: var(--white); background-image: none; color: var(--forest); box-shadow: none; }
.btn-white:hover { filter: none; color: var(--green-950); }
.btn-secondary { background: var(--white); background-image: none; color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.btn-secondary:hover { filter: none; background: var(--white); color: var(--green-950); box-shadow: inset 0 0 0 2px var(--forest); }
.on-dark :focus-visible { outline-color: var(--white); }
.btn .arr { display: inline-block; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { cursor: progress; opacity: .7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header > .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font-size: 13px; line-height: 1; font-weight: 500; letter-spacing: .16em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink);
}
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { display: flex; width: 100%; margin: 24px 0; }

/* ---------- Hero ---------- */
.hero .container {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center; column-gap: 64px;
  padding-top: 64px; padding-bottom: 48px;
}
.hero .t-lede { margin-top: 24px; }
.hero-origin { text-wrap: balance; margin-top: 16px; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--forest); }
.hero .btn { margin-top: 40px; }
.hero-visual { width: 100%; max-width: 520px; justify-self: end; }
#zuma-orbit-preview .zu-footer { padding: 0; margin-top: -8px; }

/* Motion controls (globe and divider): quiet text buttons with a 44px target */
#zuma-orbit-preview .zu-motion, .divider-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 4px;
  font: 500 13px/1 var(--font); color: var(--text-2);
  background: transparent; border: 0; border-radius: 0; cursor: pointer;
}
#zuma-orbit-preview .zu-motion:hover, .divider-toggle:hover { color: var(--forest); background: transparent; }
#zuma-orbit-preview .zu-stage { background: var(--white); }
#zuma-orbit-preview .zu-motion:focus-visible, .divider-toggle:focus-visible { outline: 2px solid var(--forest); outline-offset: 0; }
#zuma-orbit-preview .zu-motion::before, .divider-toggle::before {
  content: ""; width: 8px; height: 10px; flex: none;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box;
}
#zuma-orbit-preview .zu-motion[aria-label^="Play"]::before, .divider-toggle[aria-label^="Play"]::before {
  width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-intro { margin-top: 16px; }

/* Opportunity */
.benefits {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px;
  margin-top: 48px;
}
.benefit img { width: 32px; height: 32px; }
.benefit h3 { margin-top: 16px; }
.benefit p { margin-top: 4px; max-width: 30ch; }

/* Divider: quiet transition into Projects */
.divider { position: relative; height: 112px; overflow: hidden; }
.divider svg { width: 100%; height: 100%; }
.divider-toggle { position: absolute; bottom: 0; right: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))); }
.projects { padding-top: 32px; }

/* Projects */
.projects-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px;
  margin-top: 48px;
}
.project-media { border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(7, 20, 15, .08); background: var(--white); }
.project-media img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.project-body { margin-top: 24px; }
.project-body h3 { line-height: 0; }
.project-body h3 img { width: auto; height: 28px; }
.project-body h3 img[data-logo="ledgerline"] { height: 26px; }
.project-body .t-small { margin-top: 12px; color: var(--ink); max-width: 42ch; }
.project-body .t-meta { margin-top: 8px; }

/* Selection */
.selection > .container::before { content: ""; display: block; height: 1px; margin-bottom: var(--section); background: var(--line); }
.selection { padding-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.step-num { font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--forest); }
.step h3 { margin-top: 4px; }
.step p { margin-top: 8px; max-width: 30ch; }

/* ---------- Plain pages (apply, privacy) ---------- */
.page { padding-top: 64px; padding-bottom: var(--section); }
.page-narrow { max-width: 720px; }
.page h1 { font-size: 52px; line-height: 1.08; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.page .t-body { margin-top: 16px; }
.prose p + p { margin-top: 16px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Form ---------- */
.notice { margin-top: 32px; padding: 16px 20px 16px 18px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--forest); font-size: 15px; line-height: 1.55; }
.notice strong { font-weight: 500; }
.notice:focus { outline: 2px solid var(--forest); outline-offset: 2px; }
.notice-success { border-color: var(--forest); }
.notice-error, .error-summary { background: var(--white); border: 1px solid var(--error); }
.error-summary { margin-top: 32px; padding: 16px 20px; }
.error-summary h2 { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--error); }
.error-summary ul { margin-top: 8px; display: grid; gap: 4px; }
.error-summary a { color: var(--error); font-size: 15px; text-underline-offset: 3px; }
.error-summary { border-width: 2px; }
.error-summary:focus { outline: none; }

.form { margin-top: 48px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form fieldset + fieldset { margin-top: 64px; }
.form legend { padding: 0; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.req-note { margin-bottom: 32px; }
.fields { display: grid; gap: 24px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 15px; line-height: 1.4; font-weight: 500; }
.req { color: var(--forest); margin-left: 2px; }
.optional { font-weight: 400; color: var(--text-2); }
.hint { font-size: 14px; line-height: 1.5; color: var(--text-2); margin-top: -2px; }
.input {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 16px/1.5 var(--font); color: var(--ink);
  background: #fff; border: 1px solid #86968f; border-radius: 0; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #8a8a8a; }
.input:hover { border-color: var(--green-500); }
.input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
textarea.input { min-height: 120px; resize: vertical; }
select.input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--error); }
.field-error:empty { display: none; }
.field-error::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; line-height: 16px; text-align: center; }

.disclosure { border: 1px solid var(--line); }
.disclosure summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 12px 16px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 500;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s ease; }
.disclosure[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.disclosure .fields { margin: 0; padding: 8px 16px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }

.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.consent input {
  width: 24px; height: 24px; margin: 0; appearance: none; border: 1px solid #86968f; background: #fff; cursor: pointer;
  display: grid; place-content: center;
}
.consent input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--forest); border-color: var(--forest); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.consent input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.consent label { font-size: 15px; line-height: 1.55; font-weight: 400; }
.consent .field-error, .consent .consent-hint { grid-column: 2; }
.consent-hint { margin-top: 0; }
.consent-hint a { color: var(--ink); text-underline-offset: 3px; }
.form-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }


/* ---------- Closing call to action (home) ---------- */
.closing { padding-bottom: var(--section); }
.closing-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 48px;
  padding: 64px; border-radius: 4px; color: var(--white);
  background-color: var(--forest); background-image: var(--lit-panel);
  /* edges facing the light catch a highlight; the far edges fall into shadow */
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .16), inset -1px -1px 0 rgba(0, 0, 0, .28);
}
.closing-panel .t-h2 { color: var(--white); max-width: 18ch; }
.closing-panel p { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { color: var(--white); background-color: var(--green-800); background-image: var(--lit-footer); }
.site-footer a { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-main {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px 32px;
  padding-top: 72px; padding-bottom: 56px;
}
.footer-main.no-social { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
.footer-brand .brand { gap: 14px; }
.brand-tile { display: grid; place-items: center; width: 44px; height: 44px; background: var(--white); border-radius: 4px; }
.brand-tile img { width: 36px; height: 36px; }
.footer-brand .brand span { color: var(--white); }
.footer-origin { margin-top: 20px; max-width: 24ch; font-size: 16px; line-height: 1.55; }
.footer-col h2 { font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: .01em; }
.footer-col ul { margin-top: 12px; display: grid; gap: 2px; }
.footer-col a { overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 36px; font-size: 16px; text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover, .footer-bottom button:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.social { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; margin-left: -12px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; transition: background-color .15s ease; }
.social a:hover { background: rgba(255, 255, 255, .08); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
  padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px; line-height: 1.5;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-legal a, .footer-legal button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  font: inherit; color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer;
}

/* ---------- Sub pages ---------- */
.page-header { padding-top: 72px; padding-bottom: 48px; }
.page-header .t-body { margin-top: 20px; }
.page-section { padding-bottom: 72px; }
.page-section + .page-section { padding-top: 0; }
.page-section h2 { font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; }
.page-section .t-body, .page-section .t-small { margin-top: 12px; }
.stack > * + * { margin-top: 48px; }
.empty-state { margin-top: 24px; padding: 32px; border: 1px solid var(--line); border-radius: 4px; max-width: 640px; }
.empty-state h2, .empty-state h3 { font-size: 20px; line-height: 1.4; font-weight: 500; }
.empty-state p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.big-link { display: inline-block; margin-top: 12px; font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; color: var(--forest); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.big-link:hover { text-decoration-thickness: 2px; }
.text-link { color: var(--forest); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.prose h2 { margin-top: 48px; font-size: 24px; line-height: 1.3; font-weight: 500; }
.prose h2 + p { margin-top: 12px; }
.prose ul.bullets { margin-top: 12px; padding-left: 20px; list-style: disc; max-width: 36em; font-size: 18px; line-height: 1.6; }
.prose ul.bullets li + li { margin-top: 6px; }
.updated { margin-top: 12px; }

/* ---------- Cookie choices ---------- */
.cc-banner {
  position: fixed; z-index: 60; left: 24px; bottom: 24px; width: min(420px, calc(100% - 48px));
  padding: 20px 20px 16px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 2px rgba(7, 20, 15, .06), 0 10px 28px rgba(7, 20, 15, .10);
}
.cc-banner[hidden] { display: none; }
.cc-banner h2 { font-size: 16px; line-height: 1.4; font-weight: 500; }
.cc-banner p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cc-banner p a { color: var(--ink); text-underline-offset: 3px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cc-actions .btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
.cc-link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0;
  font: 500 14px/1 var(--font); color: var(--forest); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.cc-dialog {
  width: min(540px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 20px 48px rgba(7, 20, 15, .20);
}
.cc-dialog::backdrop { background: rgba(7, 20, 15, .45); }
.cc-dialog-inner { padding: 28px; }
.cc-dialog h2 { font-size: 22px; line-height: 1.3; font-weight: 500; padding-right: 40px; }
.cc-dialog .cc-intro { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.cc-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
.cc-cats { margin-top: 20px; border-top: 1px solid var(--line); }
.cc-cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cc-cat h3 { font-size: 16px; line-height: 1.4; font-weight: 500; }
.cc-cat p { grid-column: 1; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cc-cat .cc-state { grid-row: 1; grid-column: 2; align-self: center; font-size: 13px; font-weight: 500; color: var(--forest); }
.switch { grid-row: 1 / span 2; grid-column: 2; align-self: center; position: relative; display: inline-flex; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch span { width: 44px; height: 26px; border-radius: 13px; background: #86968f; position: relative; transition: background-color .15s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .15s ease; }
.switch input:checked + span { background: var(--forest); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--forest); outline-offset: 3px; }
.cc-dialog .cc-actions { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.cc-dialog .cc-actions .btn-save { grid-column: 1 / -1; }
.cc-none { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--text-2); }

@media (max-width: 1023px) {
  .footer-main, .footer-main.no-social { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .closing-panel { padding: 48px; }
}
@media (max-width: 767px) {
  .closing-panel { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; }
  .footer-main, .footer-main.no-social { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-top: 56px; padding-bottom: 40px; }
  #footer-social { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .footer-legal { gap: 0 20px; }
  .page-header { padding-top: 48px; padding-bottom: 32px; }
}
@media (max-width: 359px) {
  .footer-main, .footer-main.no-social { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 599px) {
  .cc-banner {
    left: 0; right: 0; bottom: 0; width: 100%; border-radius: 0; border-width: 1px 0 0;
    padding: 16px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .cc-dialog-inner { padding: 24px 20px; }
  .cc-dialog .cc-actions { grid-template-columns: minmax(0, 1fr); }
  .empty-state { padding: 24px; }
  .big-link { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .switch span, .switch span::after, .social a { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .t-display { font-size: 60px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 32px; --section: 80px; }
  .hero .container { grid-template-columns: minmax(0, 1fr); padding-top: 56px; }
  .hero-visual { justify-self: start; max-width: 400px; margin-top: 40px; }
  .t-display { font-size: 56px; }
  .t-h2 { font-size: 34px; }
  .t-h1, .page h1 { font-size: 44px; }
  .benefits { gap: 32px 24px; }
  .projects-grid { gap: 48px 24px; }
  .steps { gap: 24px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 12px; }
  .benefits, .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .benefit { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
  .benefit img { grid-row: span 2; }
  .benefit h3 { margin-top: 2px; }
  .benefit p, .step p { max-width: none; }
  .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .divider { height: 88px; }
  .disclosure .fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  :root { --gutter: 20px; --section: 64px; }
  .t-display { font-size: 42px; line-height: 1.08; }
  .t-h2 { font-size: 30px; line-height: 1.2; }
  .t-lede { font-size: 18px; }
  .t-body { font-size: 17px; }
  .hero .container { padding-top: 40px; }
  .hero .btn, .closing .btn, .form-actions .btn { width: 100%; }
  .hero-visual { max-width: 360px; margin-top: 40px; justify-self: center; }
  .project-body { margin-top: 20px; }
  .project-body h3 img { height: 26px; }
  .project-body h3 img[data-logo="ledgerline"] { height: 24px; }
  .page { padding-top: 40px; }
  .page h1, .t-h1 { font-size: 36px; }
  .form fieldset + fieldset { margin-top: 48px; }
  .form legend { font-size: 22px; }
}
@media (max-width: 359px) {
  .t-display { font-size: 36px; }
  .site-header .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn .arr, .input, .disclosure summary::after { transition: none; }
}
