/* Clairdock — site styles. One file, no build step. */

/* Fonts are self-hosted (GDPR: no requests to Google). Geist & Geist Mono, SIL Open Font License 1.1. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/geist-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: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/geist-mono-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: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/geist-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F6F5F0;
  --surface: #FFFFFF;
  --ink: #15171B;
  --ink-2: #4B5059;
  --ink-3: #7D838C;
  --line: #E4E2DA;
  --line-2: #D3D0C6;
  --brand: #0D6B50;
  --brand-2: #0A5540;
  --brand-soft: #E1F0E8;
  --brand-tint: #F0F7F3;
  --warn: #B4490F;
  --warn-soft: #FCEBDD;
  --wait: #5D646E;
  --wait-soft: #EDEEF0;
  --shadow: 0 1px 2px rgba(21, 23, 27, .05), 0 8px 24px -10px rgba(21, 23, 27, .14);
  --shadow-l: 0 2px 4px rgba(21, 23, 27, .04), 0 28px 64px -24px rgba(21, 23, 27, .28);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230D6B50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons, pills, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff;
  font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; line-height: 1;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--brand-soft); color: var(--brand-2); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.wait { background: var(--wait-soft); color: var(--wait); }

.tag {
  display: inline-block; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 6px; border-radius: 4px; background: var(--wait-soft); color: var(--wait); white-space: nowrap;
}
.tag.ok { background: var(--brand-soft); color: var(--brand-2); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }

.av {
  --c: var(--ink);
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--c); color: #fff; font: 600 11px/1 var(--font); letter-spacing: .02em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 240, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled, .site-header.menu-open { border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 36px; height: 68px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 20px; letter-spacing: -.035em; text-decoration: none; color: var(--ink);
}
.logo svg { width: 28px; height: 28px; color: var(--brand); }
.nav-links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font: 500 12px/1 var(--mono); }
.lang a { text-decoration: none; color: var(--ink-3); padding: 6px; border-radius: 6px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px;
  background: transparent; cursor: pointer; place-items: center;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s, top .2s;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { display: none; padding: 8px 0 20px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: block; padding: 12px 0; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; margin-top: 16px; }
@media (max-width: 900px) {
  .nav-links, .nav-end .btn { display: none; }
  .menu-btn { display: grid; }
  .menu-open .mobile-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-block: 72px 112px;
  background:
    linear-gradient(to bottom, rgba(246, 245, 240, 0) 0%, var(--paper) 92%),
    linear-gradient(to right, rgba(21, 23, 27, .045) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(to bottom, rgba(21, 23, 27, .045) 1px, transparent 1px) 0 0 / 80px 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.045em; line-height: 1.02;
  margin-top: 24px; max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); margin-top: 24px; max-width: 34ch; line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; flex: none; border-radius: 50%;
  background: var(--brand-soft) var(--check) center / 12px no-repeat;
}
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: 14px; color: var(--ink-2); }
.hero-points li::before { margin-top: 2px; }

.hero-visual { position: relative; }
.pcard {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-l); padding: 20px;
}
.pcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard-head small { display: block; font-size: 13px; color: var(--ink-3); }
.pcard-head strong { font-size: 18px; letter-spacing: -.02em; font-weight: 600; }
.vtag { font: 500 12px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--ink); color: #fff; white-space: nowrap; }
.thumb {
  margin-top: 16px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden;
  background: #FBF7F1; aspect-ratio: 16 / 9; display: grid; grid-template-rows: 7% 13% 1fr 24%;
}
.thumb .t-hours { background: #2A211C; }
.thumb .t-nav { display: flex; align-items: center; gap: 6%; padding: 0 5%; }
.thumb .t-nav i { height: 18%; background: #2A211C; border-radius: 2px; opacity: .25; flex: 0 0 7%; }
.thumb .t-nav i:first-child { opacity: 1; flex-basis: 14%; height: 26%; }
.thumb .t-nav b { margin-left: auto; height: 40%; flex: 0 0 13%; background: #C0532F; border-radius: 99px; }
.thumb .t-hero { background: #F1E7D8; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; padding: 0 5%; gap: 6%; }
.thumb .t-copy i { display: block; height: 9px; background: #2A211C; border-radius: 2px; margin-bottom: 6px; }
.thumb .t-copy i:nth-child(2) { width: 70%; }
.thumb .t-copy i:nth-child(3) { width: 40%; height: 12px; margin-top: 12px; background: #C0532F; border-radius: 99px; }
.thumb .t-art { aspect-ratio: 1; height: 80%; justify-self: center; border-radius: 50%; background: #C0532F; }
.thumb .t-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; padding: 3% 5%; }
.thumb .t-cards i { background: #fff; border: 1px solid #EEE5D9; border-radius: 4px; }
.signoff { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.signoff li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.who b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.who small { display: block; font-size: 12px; color: var(--ink-3); }
.pcard-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-2);
}
.float-chip {
  position: absolute; left: -32px; bottom: -52px;
  display: flex; gap: 12px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 16px 12px 12px;
  font-size: 13px; line-height: 1.35; box-shadow: var(--shadow-l);
}
.float-chip .ck { width: 28px; height: 28px; border-radius: 50%; background: var(--brand) var(--check-w) center / 16px no-repeat; flex: none; }
.float-chip small { display: block; color: rgba(255, 255, 255, .6); font-family: var(--mono); font-size: 11px; }
@media (max-width: 960px) {
  .hero { padding-block: 48px 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .float-chip { left: 16px; }
}
@media (max-width: 480px) {
  .signoff li { grid-template-columns: auto 1fr; }
  .signoff .pill { grid-column: 2; justify-self: start; }
}

.made-for { border-top: 1px solid var(--line); padding-block: 28px; }
.made-for .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.made-for p { font-size: 15px; color: var(--ink-2); }
.label { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding-block: 112px; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.eyebrow { grid-column: 1 / -1; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.04em; line-height: 1.05; }
.sec-lead { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .section { padding-block: 72px; } .sec-head { margin-bottom: 32px; } }

/* ---------- Demo ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .25s, border-color .25s, color .25s;
}
.steps .num {
  width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font: 500 12px/1 var(--mono);
}
.steps li.done { border-color: #B9DCCB; background: var(--brand-tint); color: var(--brand-2); }
.steps li.done .num { border-color: var(--brand); color: transparent; background: var(--brand) var(--check-w) center / 14px no-repeat; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.app { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-l); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #EFEDE7; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #D6D3CA; }
.url {
  flex: 0 1 380px; margin-inline: auto; height: 26px; min-width: 0; padding: 0 10px;
  border-radius: 7px; background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font: 12px/1 var(--mono); color: var(--ink-3); white-space: nowrap; overflow: hidden;
}
.url svg { width: 12px; height: 12px; flex: none; }
.app-bar .spacer { width: 42px; flex: none; }
.app-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--ink-3); margin-right: auto; min-width: 0; }
.crumbs b { color: var(--ink); font-weight: 600; }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; height: 30px; padding: 0 12px; border-radius: 7px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px var(--line); }
.seg .cur { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.seg .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--warn); color: #fff; font: 600 11px/18px var(--font); text-align: center; }

.app-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.canvas {
  position: relative; min-width: 0; padding: 28px;
  background: #ECEAE3 radial-gradient(rgba(21, 23, 27, .09) 1px, transparent 1px) 0 0 / 16px 16px;
  border-right: 1px solid var(--line);
}
.canvas { max-height: 720px; overflow: auto; }
.old-banner { position: sticky; top: 0; z-index: 6; }
.stage { position: relative; margin-inline: auto; cursor: crosshair; }
.stage.is-old { cursor: not-allowed; }
.pins { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.pin {
  --c: var(--ink);
  position: absolute; transform: translate(-2px, calc(-100% + 2px));
  width: 28px; height: 28px; border-radius: 14px 14px 14px 3px; border: 2px solid #fff;
  background: var(--c); color: #fff; font: 600 12px/1 var(--font);
  display: grid; place-items: center; pointer-events: auto; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .15s, box-shadow .15s;
}
.pin:hover, .pin.is-active { transform: translate(-2px, calc(-100% + 2px)) scale(1.18); box-shadow: 0 0 0 4px rgba(13, 107, 80, .25), 0 4px 12px rgba(0, 0, 0, .25); }
.pin.is-resolved { background: #9BA1A9; }
.pin.is-draft { background: var(--brand); animation: pop .2s ease-out; }
@keyframes pop { from { transform: translate(-2px, calc(-100% + 2px)) scale(.4); } }
.composer {
  position: absolute; z-index: 5; width: 264px; padding: 10px; cursor: default;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-l);
}
.composer textarea {
  display: block; width: 100%; min-height: 76px; resize: vertical; padding: 8px 10px;
  border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; line-height: 1.45; background: var(--surface);
}
.composer textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.composer .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.old-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px;
  max-width: 760px; margin: 0 auto 16px; padding: 10px 10px 10px 16px;
  background: var(--ink); color: #fff; border-radius: 10px; font-size: 14px; line-height: 1.4;
}
.old-banner .btn { background: #fff; color: var(--ink); border-color: #fff; }
.old-banner.flash { animation: flash .45s; }
@keyframes flash { 30% { transform: translateX(-5px); } 60% { transform: translateX(5px); } }
.canvas-hint { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 16px; }

.side { display: flex; flex-direction: column; min-width: 0; }
.so { padding: 16px; border-bottom: 1px solid var(--line); }
.so-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.so-head b { font-size: 14px; font-weight: 600; }
.so-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.so-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; font-size: 14px; line-height: 1.35; }
.so-list .av { width: 30px; height: 30px; font-size: 10px; }
.so-list b { font-weight: 600; }
.so-list small { color: var(--ink-3); font-size: 12px; }
.so-list .meta { display: block; font-size: 12px; color: var(--ink-3); }
.so-list .meta.ok { color: var(--brand-2); }
.so-list .meta.warn { color: var(--warn); }
.so-sub { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.so-actions { display: grid; gap: 8px; margin-top: 14px; }
.so-note { font-size: 12px; color: var(--ink-3); text-align: center; }
.so-box { margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--paper); font-size: 13px; line-height: 1.5; }
.so-box textarea {
  display: block; width: 100%; min-height: 72px; margin-top: 8px; padding: 8px 10px; resize: vertical;
  border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-size: 14px;
}
.so-box .row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.so-box.is-ok { background: var(--brand-tint); color: var(--brand-2); }
.so-box.is-warn { background: var(--warn-soft); color: var(--warn); }
.linkbtn { border: 0; background: none; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; }

.tabs { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.tabs button {
  border: 0; background: none; padding: 12px 0 10px; font-size: 13px; font-weight: 500; color: var(--ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.panel { padding: 14px 16px 16px; overflow: auto; max-height: 440px; }
.vnotes { background: var(--paper); border-radius: 10px; padding: 12px; font-size: 13px; margin-bottom: 12px; }
.vnotes b { display: block; font-weight: 600; }
.vnotes span { display: block; font-size: 12px; color: var(--ink-3); }
.vnotes ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.citem {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s;
}
.citem:hover { border-color: var(--line-2); }
.citem.is-active { border-color: var(--ink-3); background: #FCFCFA; }
.cnum {
  --c: var(--ink);
  width: 22px; height: 22px; border-radius: 11px 11px 11px 3px; background: var(--c); color: #fff;
  display: grid; place-items: center; font: 600 11px/1 var(--font);
}
.citem.is-resolved .cnum { background: #9BA1A9; }
.ctop { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 12px; color: var(--ink-3); }
.ctop b { font-size: 13px; color: var(--ink); font-weight: 600; }
.citem p { font-size: 14px; line-height: 1.45; margin-top: 4px; }
.citem.is-resolved p { color: var(--ink-3); }
.empty { font-size: 13px; color: var(--ink-3); padding: 8px 2px; }
.alist { list-style: none; margin: 0; padding: 0; }
.alist li { position: relative; padding: 0 0 16px 22px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.alist li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.alist li::after { content: ""; position: absolute; left: 7px; top: 16px; bottom: 2px; width: 1px; background: var(--line); }
.alist li:last-child::after { display: none; }
.alist li.mine { color: var(--ink); }
.alist li.mine::before { background: var(--brand); }
.alist time { display: block; font-size: 12px; color: var(--ink-3); }
.side-foot { margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-3); }

.demo-done {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px;
  margin-top: 16px; padding: 20px 24px; border-radius: 14px; background: var(--ink); color: #fff;
  animation: rise .35s ease-out;
}
.demo-done p { max-width: 60ch; }
.demo-done b { display: block; font-size: 17px; }
.demo-done span { color: rgba(255, 255, 255, .7); font-size: 15px; }
.demo-done .btn { background: #fff; color: var(--ink); border-color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 960px) {
  .app-body { grid-template-columns: 1fr; }
  .canvas { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; max-height: none; }
  .canvas[data-view="mobile"] { max-height: 70vh; }
  .panel { max-height: none; }
}
@media (max-width: 560px) {
  .app-top { padding: 12px; }
  .crumbs { flex-basis: 100%; }
  .crumbs .crumb-extra { display: none; }
  .app-bar .spacer, .dots { display: none; }
}

/* ---------- Mock-up inside the demo (fictional client: Halden Coffee) ---------- */
.mk {
  --c-bg: #FBF7F1; --c-ink: #2A211C; --c-acc: #C0532F; --c-cream: #F1E7D8;
  position: absolute; top: 0; left: 0; width: 1200px; transform-origin: 0 0;
  background: var(--c-bg); color: var(--c-ink); font-family: var(--font); line-height: 1.5;
  border-radius: 6px; overflow: hidden; user-select: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 20px 44px -20px rgba(0, 0, 0, .35);
}
.mk[data-v="1"] [data-show]:not([data-show*="1"]),
.mk[data-v="2"] [data-show]:not([data-show*="2"]),
.mk[data-v="3"] [data-show]:not([data-show*="3"]) { display: none !important; }
.mk-hours { background: var(--c-ink); color: var(--c-cream); text-align: center; font-size: 13px; padding: 9px 16px; letter-spacing: .01em; }
.mk-nav { display: flex; align-items: center; gap: 44px; padding: 22px 56px; border-bottom: 1px solid rgba(42, 33, 28, .1); }
.mk-logo { display: flex; align-items: center; gap: 8px; font: 700 18px/1 var(--serif); letter-spacing: .2em; }
.mk-logo svg { width: 20px; height: 20px; }
.mk[data-v="3"] .mk-logo { font-size: 27px; gap: 10px; }
.mk[data-v="3"] .mk-logo svg { width: 30px; height: 30px; }
.mk-links { display: flex; gap: 28px; font-size: 15px; }
.mk-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.mk-cart { width: 22px; height: 22px; }
.mk-burger { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; box-shadow: inset 0 0 0 1px rgba(42, 33, 28, .2); }
.mk-burger svg { width: 18px; height: 18px; }
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px;
  background: var(--c-acc); color: #fff; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.mk-btn-s { height: 38px; padding: 0 18px; font-size: 14px; }
.mk-btn-o { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.mk-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding: 72px 56px; background: var(--c-cream); }
.mk-kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-acc); font-weight: 600; }
.mk-h { font: 500 60px/1.04 var(--serif); letter-spacing: -.02em; margin-top: 16px; }
.mk-p { font-size: 18px; line-height: 1.55; margin-top: 20px; max-width: 460px; opacity: .78; }
.mk-ctas { display: flex; gap: 12px; margin-top: 32px; }
.mk-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.mk-art::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: var(--c-acc); }
.mk-art svg { position: relative; width: 50%; height: auto; filter: drop-shadow(0 18px 24px rgba(42, 33, 28, .35)); color: #F1E7D8; }
.mk-products { padding: 56px; }
.mk-products h4 { font: 500 30px/1.1 var(--serif); letter-spacing: -.01em; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.mk-card { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid rgba(42, 33, 28, .08); }
.mk-card .ph { height: 190px; border-radius: 10px; background: var(--c-cream); display: grid; place-items: center; }
.mk-card .ph svg { height: 150px; width: auto; }
.mk-card b { display: block; margin-top: 14px; font-size: 17px; }
.mk-card small { display: block; font-size: 13px; opacity: .6; }
.mk-card .notes { font-size: 14px; margin-top: 6px; }
.mk-card .price { margin-top: 10px; font-weight: 600; font-size: 15px; }
.mk-foot { padding: 22px 56px; font-size: 13px; opacity: .55; border-top: 1px solid rgba(42, 33, 28, .1); }
/* version 1: the dark first direction */
.mk[data-v="1"] { --c-acc: #8A6A4F; }
.mk[data-v="1"] .mk-hero { grid-template-columns: 1fr; text-align: center; background: #2A1C15; color: #F1E7D8; padding: 116px 56px; }
.mk[data-v="1"] .mk-h { font-size: 68px; }
.mk[data-v="1"] .mk-p { margin-inline: auto; }
.mk[data-v="1"] .mk-ctas { justify-content: center; }
.mk[data-v="1"] .mk-btn { border-radius: 2px; }
.mk[data-v="1"] .mk-btn-o { color: #F1E7D8; box-shadow: inset 0 0 0 1.5px #F1E7D8; }
.mk[data-v="1"] .mk-card .ph { background: #EDE9E4; }
/* phone layout */
.mk[data-view="mobile"] { width: 390px; border-radius: 30px; }
.mk[data-view="mobile"] .mk-hours { font-size: 10px; padding: 7px 10px; }
.mk[data-view="mobile"] .mk-nav { padding: 16px 20px; gap: 12px; }
.mk[data-view="mobile"] .mk-links,
.mk[data-view="mobile"] .mk-right .mk-btn { display: none; }
.mk[data-view="mobile"] .mk-burger { display: grid; }
.mk[data-view="mobile"][data-v="3"] .mk-logo { font-size: 22px; }
.mk[data-view="mobile"][data-v="3"] .mk-logo svg { width: 24px; height: 24px; }
.mk[data-view="mobile"] .mk-hero { grid-template-columns: 1fr; padding: 40px 20px 44px; gap: 28px; }
.mk[data-view="mobile"][data-v="1"] .mk-hero { padding: 72px 20px; }
.mk[data-view="mobile"] .mk-h { font-size: 38px; }
.mk[data-view="mobile"] .mk-p { font-size: 16px; }
.mk[data-view="mobile"] .mk-ctas { flex-direction: column; }
.mk[data-view="mobile"] .mk-art { max-width: 280px; width: 100%; margin-inline: auto; }
.mk[data-view="mobile"] .mk-products { padding: 36px 20px; }
.mk[data-view="mobile"] .mk-products h4 { font-size: 26px; }
.mk[data-view="mobile"] .mk-cards { grid-template-columns: 1fr; }
.mk[data-view="mobile"] .mk-foot { padding: 18px 20px; }

/* ---------- How it works ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.how-num { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.how h3 { font-size: 22px; margin-top: 18px; }
.how p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.mini {
  margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.mini-box { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; min-width: 0; }
.mini-box b { display: block; font-weight: 600; font-size: 13px; }
.mini-box small { display: block; color: var(--ink-3); font-size: 12px; }
.ficon { width: 36px; height: 44px; flex: none; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: end center; padding-bottom: 6px; font: 600 9px/1 var(--mono); color: var(--brand); }
.mini-box .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.mini-box svg { width: 16px; height: 16px; flex: none; color: var(--brand); }
.copy { font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: #fff; flex: none; }
.mini .btn { pointer-events: none; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.feature { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.feature svg { width: 24px; height: 24px; color: var(--brand); }
.feature h3 { font-size: 17px; margin-top: 16px; letter-spacing: -.015em; }
.feature p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature:not(:nth-child(3n + 1)) { padding: 24px 24px 24px 0; border-left: 0; }
  .feature:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- Project overview + compare ---------- */
.ov { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.ov-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.ov-head small { display: block; font-size: 12px; color: var(--ink-3); }
.ov-head b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.ov-progress { min-width: 220px; font-size: 13px; color: var(--ink-2); }
.bar { height: 6px; border-radius: 3px; background: var(--wait-soft); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.table-scroll { overflow-x: auto; }
.ov table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 680px; }
.ov th { text-align: left; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 14px 24px; background: #FBFAF7; border-bottom: 1px solid var(--line); }
.ov td { padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ov tr:last-child td { border-bottom: 0; }
.ov td:first-child { font-weight: 600; }
.ov td small { display: block; color: var(--ink-3); font-size: 12px; }
.ov .muted { color: var(--ink-3); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.cmp { border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.cmp h3 { font-size: 18px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.cmp ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.cmp li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.cmp li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; }
.cmp-before { background: transparent; }
.cmp-before li::before { background: var(--wait-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%237D838C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cmp-after { background: var(--brand-tint); border-color: #CFE5DA; }
.cmp-after li { color: var(--ink); }
.cmp-after li::before { background: var(--brand-soft) var(--check) center / 12px no-repeat; }
.cmp code { font-family: var(--mono); font-size: 13px; background: var(--surface); border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .cmp { padding: 22px; } }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.use-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.use-top svg { width: 26px; height: 26px; color: var(--ink); }
.use h3 { font-size: 18px; letter-spacing: -.02em; margin-top: 8px; }
.use p { color: var(--ink-2); font-size: 15px; }
.use .fmt { margin-top: auto; padding-top: 10px; font: 500 12px/1 var(--mono); color: var(--ink-3); }
.use.is-soon { background: transparent; border-style: dashed; }
@media (max-width: 900px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.price-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-top h3 { font-size: 20px; }
.price-top .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 28px; font-size: 72px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.price .cur { font-size: 36px; letter-spacing: 0; }
.price .per { font-size: 16px; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, .6); margin-left: 4px; }
.price-sub { color: rgba(255, 255, 255, .7); margin-top: 12px; }
.price-card .ticks { margin: 28px 0 32px; }
.price-card .ticks li::before { background-color: rgba(255, 255, 255, .12); background-image: var(--check-w); }
.price-card .btn { margin-top: auto; background: #fff; color: var(--ink); border-color: #fff; }
.price-card .btn:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.fine { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 14px; }
.price-side { border: 1px solid var(--line); border-radius: 20px; padding: 36px; background: var(--surface); display: flex; flex-direction: column; }
.price-side h3 { font-size: 22px; letter-spacing: -.025em; }
.price-side > p { color: var(--ink-2); margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: auto 0 0; padding-top: 32px; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: 34px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.facts dd { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 860px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card, .price-side { padding: 28px; }
}
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; }
.faq .sec-head { display: block; margin: 0; position: sticky; top: 100px; align-self: start; }
.faq .sec-head h2 { margin-top: 20px; }
.faq .sec-lead { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-2); padding: 0 40px 24px 0; max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Beta form ---------- */
.beta { background: var(--surface); }
.beta-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.beta-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.045em; margin-top: 20px; }
.beta-copy > p { color: var(--ink-2); font-size: 17px; margin-top: 20px; max-width: 44ch; }
.beta-copy .ticks { margin-top: 28px; font-size: 15px; }
.contact-line { margin-top: 32px; font-size: 14px; color: var(--ink-3); }
.contact-line a { color: var(--ink); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .legend { font-size: 14px; font-weight: 500; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--surface); font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field select {
  appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2315171B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat;
}
.field textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input:user-invalid { border-color: var(--warn); }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.form .btn { grid-column: 1 / -1; height: 52px; font-size: 16px; }
.form-error { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.form-ok { background: var(--brand-tint); border: 1px solid #CFE5DA; border-radius: 20px; padding: 40px 32px; }
.form-ok .ck { width: 44px; height: 44px; border-radius: 50%; background: var(--brand) var(--check-w) center / 24px no-repeat; }
.form-ok h3 { font-size: 26px; margin-top: 20px; letter-spacing: -.03em; }
.form-ok p { color: var(--ink-2); margin-top: 10px; }
.form-ok:focus { outline: none; }
@media (max-width: 900px) { .beta-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-block: 64px 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo svg { color: #4FBF95; }
.foot-tag { margin-top: 14px; max-width: 30ch; }
.site-footer h4 { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); }
.site-footer ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .45); }
.site-footer .lang a { color: rgba(255, 255, 255, .5); }
.site-footer .lang a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Legal pages ---------- */
.legal { padding-block: 72px 112px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.04em; }
.legal .updated { color: var(--ink-3); margin-top: 12px; font-size: 14px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 44px; }
.legal p, .legal ul { color: var(--ink-2); margin-top: 14px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal address { font-style: normal; color: var(--ink); margin-top: 14px; line-height: 1.7; }
.legal a { color: var(--brand); }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 96px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.045em; }
.notfound p { color: var(--ink-2); margin-top: 16px; }
.notfound .cta-row { justify-content: center; }
