/* Aedium — marketing site
   Tokens: whitewash (--plaster), ink, cobalt (--brand), sunlight, clay.
   One family: Commissioner (self-hosted, Latin + Greek). */

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/commissioner-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/commissioner-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/commissioner-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;
}

:root {
  --plaster: #F4F6F9;
  --stone: #E4E9F0;
  --stone-2: #D3DAE4;
  --paper: #FFFFFF;
  --ink: #0F1B2C;
  --ink-2: #44536A;
  --ink-3: #64718A;
  --line: #D3DAE3;
  --brand: #1F4FA8;
  --brand-ink: #1A438F;
  --brand-deep: #132E66;
  --brand-tint: #DFE7F6;
  --sun: #F2B53A;
  --sun-tint: #FCEFD2;
  --clay: #B8513C;
  --clay-tint: #F6E1DB;
  --sun-deep: #D99A22;   /* heater panel lines, hover */
  --sun-ink: #7A5200;    /* text on sun-tint */
  --clay-ink: #8E3826;   /* text on clay-tint */
  --review: #FFFBF1;     /* row awaiting review */
  --metal: #9AA5B5;      /* mailboxes, aerial */
  --tank: #BCC5D2;       /* heater tanks */
  --door-frame: #3B4E6E;
  --shade: 19, 46, 102;   /* rgb, for shadows */
  --on-dark: 244, 246, 249; /* rgb, for text on dark sections */

  --font: "Commissioner", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* type scale — 1.25 for text, wider steps for display */
  --t-xs: 0.8125rem;   /* 13 */
  --t-sm: 0.9375rem;   /* 15 */
  --t-md: 1.0625rem;   /* 17 body */
  --t-lg: 1.25rem;     /* 20 */
  --t-xl: 1.5625rem;   /* 25 */
  --t-2xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);     /* 28 → 40 */
  --t-3xl: clamp(2.375rem, 1.4rem + 3.6vw, 4.25rem); /* 38 → 68 */

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 144px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow: 0 1px 1px rgba(var(--shade), 0.04), 0 8px 24px -6px rgba(var(--shade), 0.14), 0 24px 56px -24px rgba(var(--shade), 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Inline logo: a <use> of logo-symbol.svg, coloured by the CSS tokens */
.logo { display: block; height: 34px; width: auto; aspect-ratio: 6525 / 1553; overflow: visible; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--plaster);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums lining-nums; }

:focus-visible { outline: 2.5px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--plaster); padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; color: var(--plaster); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: var(--t-md); line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--plaster); }
.btn-primary:hover { background: var(--brand-deep); color: var(--plaster); }
.btn-ghost { border-color: var(--stone-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: var(--t-sm); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--plaster) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand .logo { height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--stone);
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  min-width: 40px; min-height: 32px; padding: 4px 10px; border-radius: 999px;
  font-size: var(--t-xs); font-weight: 600; color: var(--ink-2);
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(var(--shade), .14); }

.menu-btn { display: none; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav { gap: 12px; }
  .brand .logo { height: 26px; }
  .nav-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 5vw, 64px); align-items: center;
}
.hero h1 {
  font-size: var(--t-3xl); font-weight: 680; letter-spacing: -0.035em; line-height: 1.02;
  max-width: 13ch;
}
html[lang="el"] .hero h1 { letter-spacing: -0.03em; max-width: 15ch; line-height: 1.06; }
.hero-lede { margin-top: 24px; font-size: var(--t-lg); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px;
  font-size: var(--t-sm); color: var(--ink-2);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--brand); flex-shrink: 0; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}

/* ---------- Façade (signature element) ---------- */
.facade-stage {
  display: grid; grid-template-columns: 360px 272px; align-items: end;
}
.facade { position: relative; width: 360px; }

.roof { height: 46px; position: relative; }
.roof svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 46px; }

.block {
  background: var(--stone);
  border-radius: 4px 4px 0 0;
  padding: 18px 18px 0;
  box-shadow: inset 0 0 0 1px rgba(var(--shade), 0.06);
  position: relative;
}
.block::before { /* parapet */
  content: ""; position: absolute; left: -8px; right: -8px; top: -8px; height: 8px;
  background: var(--stone-2); border-radius: 3px 3px 0 0;
}
.floors { display: grid; gap: 0; }
.floor {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 10px 0 14px; position: relative;
}
.floor::after { /* balcony slab */
  content: ""; position: absolute; left: -8px; right: -8px; bottom: 0; height: 5px;
  background: var(--stone-2); border-radius: 2px;
}

.flat {
  position: relative; aspect-ratio: 1.45 / 1;
  border: 0; padding: 0; cursor: pointer;
  background: var(--paper); border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  display: grid; place-items: center;
  font-size: var(--t-xs); font-weight: 600; color: var(--ink-3);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .2s var(--ease);
}
.flat::before { /* balcony railing */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 14%; height: 1.5px;
  background: currentColor; opacity: .28;
}
.flat::after { /* glazing bar */
  content: ""; position: absolute; top: 12%; bottom: 14%; left: 50%; width: 1.5px;
  background: currentColor; opacity: .14;
}
.flat span { position: relative; background: inherit; padding: 0 4px; border-radius: 3px; }
.flat:hover { transform: translateY(-2px); }
.flat[aria-pressed="true"] { outline: 2.5px solid var(--ink); outline-offset: 3px; }

.flat[data-state="paid"] { background: var(--brand); color: var(--plaster); box-shadow: none; }
.flat[data-state="partial"] { background: var(--sun); color: var(--ink); box-shadow: none; }
.flat[data-state="overdue"] { background: var(--clay-tint); color: var(--clay); box-shadow: inset 0 0 0 2px var(--clay); }

.ground {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 14px;
  padding-top: 16px; height: 96px;
}
.plate {
  align-self: center; justify-self: start;
  background: var(--paper); border-radius: 3px; padding: 6px 10px;
  font-size: 11px; line-height: 1.25; font-weight: 600; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plate small { display: block; font-weight: 500; color: var(--ink-3); font-size: 10px; }
.door {
  width: 64px; height: 80px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--brand-deep) 0 49%, rgba(0,0,0,.28) 49% 51%, var(--brand-deep) 51%);
  box-shadow: inset 0 0 0 4px var(--door-frame);
}
.mailboxes {
  justify-self: end; align-self: center;
  display: grid; grid-template-columns: repeat(5, 12px); gap: 3px;
}
.mailboxes i { height: 9px; background: var(--metal); border-radius: 1px; }
.street { height: 10px; background: var(--stone-2); border-radius: 0 0 4px 4px; margin-inline: -24px; }

/* Ledger card that sits over the façade */
.ledger {
  position: relative; z-index: 2;
  width: 272px; margin: 0 0 56px -10px;
  background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: 18px 20px 16px;
  font-size: var(--t-sm);
}
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.ledger-sub { white-space: nowrap; }
.ledger-title { font-weight: 650; }
.ledger-sub { color: var(--ink-3); font-size: var(--t-xs); }
.ledger-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 14px; }
.ledger-figs dt { color: var(--ink-3); font-size: var(--t-xs); }
.ledger-figs dd { margin: 0; font-size: var(--t-xl); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.ledger-figs .out dd { color: var(--clay); }
.bar { height: 6px; background: var(--stone); border-radius: 99px; margin-top: 14px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .3s linear; }
.ledger-status {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; min-height: 22px;
  color: var(--ink-2); font-size: var(--t-xs);
}
.ledger-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex-shrink: 0; margin-top: 5px; }
.ledger-status.done .dot { background: var(--brand); }
.ledger-detail {
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px;
  font-size: var(--t-xs); color: var(--ink-2); min-height: 52px;
}
.ledger-detail strong { color: var(--ink); font-weight: 600; font-size: var(--t-sm); display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: var(--t-xs); color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; }
.legend .l-paid { background: var(--brand); }
.legend .l-partial { background: var(--sun); }
.legend .l-overdue { background: var(--clay-tint); box-shadow: inset 0 0 0 1.5px var(--clay); }

@media (max-width: 1180px) {
  .facade-stage { grid-template-columns: 360px 272px; justify-content: center; }
}
@media (max-width: 700px) {
  .facade-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
  .facade { width: min(100%, 360px); }
  .ledger { width: min(100%, 360px); margin: -40px 0 0; }
}
@media (max-width: 420px) {
  .floor { gap: 10px; }
  .block { padding-inline: 12px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 40rem; }
.section-head h2 { font-size: var(--t-2xl); }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: var(--t-lg); line-height: 1.55; }
.section-head + * { margin-top: clamp(40px, 6vw, 64px); }

/* Before / after */
.contrast { border-top: 1px solid var(--line); }
.contrast-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px clamp(24px, 5vw, 72px);
  padding-block: 22px; border-bottom: 1px solid var(--line);
}
.contrast-head { padding-block: 0 14px; font-size: var(--t-sm); font-weight: 600; color: var(--ink-3); }
.contrast-head span:last-child { color: var(--brand); }
.contrast-row p { display: flex; gap: 14px; align-items: flex-start; }
.contrast-row .before { color: var(--ink-2); }
.contrast-row .after { color: var(--ink); font-weight: 500; }
.contrast-row svg { flex-shrink: 0; margin-top: 4px; }
.contrast-row .before svg { color: var(--ink-3); }
.contrast-row .after svg { color: var(--brand); }
@media (max-width: 720px) {
  .contrast-row { grid-template-columns: 1fr; gap: 8px; }
  .contrast-head { display: none; }
}

/* Directory board (modules) */
.board-section { background: var(--brand-deep); color: var(--plaster); }
.board-section .section-head p { color: rgba(var(--on-dark), 0.74); }
.board {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid rgba(var(--on-dark), 0.16);
}
.board li {
  display: grid; grid-template-columns: minmax(9.5rem, 0.8fr) 1.6fr; gap: 20px;
  padding-block: 22px; border-bottom: 1px solid rgba(var(--on-dark), 0.16);
}
.board h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.005em; line-height: 1.45; }
.board p { color: rgba(var(--on-dark), 0.74); font-size: var(--t-sm); line-height: 1.6; }
.board .floor-no { color: var(--sun); font-variant-numeric: tabular-nums; margin-right: 10px; font-weight: 600; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .board li { grid-template-columns: 1fr; gap: 6px; } }

/* Showcases */
.showcase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.showcase + .showcase { margin-top: clamp(96px, 12vw, 160px); }
.showcase.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.showcase.flip .showcase-copy { order: 2; }
.showcase-copy h2 { font-size: var(--t-2xl); max-width: 16ch; }
html[lang="el"] .showcase-copy h2 { max-width: 20ch; }
.showcase-copy > p { margin-top: 18px; color: var(--ink-2); font-size: var(--t-lg); line-height: 1.55; max-width: 32em; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { color: var(--brand); flex-shrink: 0; margin-top: 5px; }
@media (max-width: 900px) {
  .showcase, .showcase.flip { grid-template-columns: 1fr; }
  .showcase.flip .showcase-copy { order: 0; }
}

/* UI mock surfaces */
.ui {
  background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow);
  font-size: var(--t-sm); overflow: hidden;
}
.ui-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.ui-bar strong { font-weight: 650; }
.ui-bar small { display: block; color: var(--ink-3); font-size: var(--t-xs); }
.ui-meter { display: flex; align-items: center; gap: 10px; font-size: var(--t-xs); color: var(--ink-2); }
.ui-meter .bar { width: 120px; margin: 0; }
.ui-meter .bar i { width: 92%; }

.txns { width: 100%; border-collapse: collapse; }
.txns th { text-align: left; font-weight: 500; font-size: var(--t-xs); color: var(--ink-3); padding: 10px 20px 8px; border-bottom: 1px solid var(--line); }
.txns td { padding: 12px 20px; border-bottom: 1px solid var(--stone); vertical-align: middle; }
.txns tr:last-child td { border-bottom: 0; }
.txns td.amt, .txns th.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.txns .who { font-weight: 550; }
.txns .ref { display: block; color: var(--ink-3); font-size: var(--t-xs); font-variant-numeric: tabular-nums; }
.txns tr.review { background: var(--review); }
@media (max-width: 560px) {
  .txns th:nth-child(1), .txns td:nth-child(1) { display: none; }
  .txns td, .txns th { padding-inline: 14px; }
}

.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; font-size: var(--t-xs); font-weight: 600;
}
.chip-paid { background: var(--brand-tint); color: var(--brand-ink); }
.chip-review { background: var(--sun-tint); color: var(--sun-ink); }
.chip-overdue { background: var(--clay-tint); color: var(--clay-ink); }

/* Assembly mock */
.quorum { padding: 20px; display: grid; gap: 18px; }
.quorum-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.quorum-big { font-size: 2.75rem; font-weight: 680; letter-spacing: -0.03em; line-height: 1; }
.quorum-big small { font-size: var(--t-sm); font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.qbar { position: relative; height: 14px; border-radius: 99px; background: var(--stone); }
.qbar i { position: absolute; inset: 0 auto 0 0; width: 63.4%; border-radius: inherit; background: var(--brand); }
.qbar b { position: absolute; top: -6px; bottom: -6px; left: 50%; width: 2px; background: var(--ink); border-radius: 2px; }
.qbar-label { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--ink-3); margin-top: 8px; }
.attend { display: grid; border-top: 1px solid var(--line); }
.attend li { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--stone); }
.attend li:last-child { border-bottom: 0; }
.attend .unit { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.attend .share { color: var(--ink-3); font-size: var(--t-xs); font-variant-numeric: tabular-nums; }
.vote-row { display: grid; gap: 8px; padding: 16px 20px; background: var(--plaster); border-top: 1px solid var(--line); }
.vote-row p { font-weight: 600; }
.vote-bars { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; font-size: var(--t-xs); color: var(--ink-2); }
.vote-bars .vb { height: 8px; border-radius: 99px; background: var(--stone); overflow: hidden; }
.vote-bars .vb i { display: block; height: 100%; background: var(--brand); }
.vote-bars .vb.no i { background: var(--ink-3); }

/* Owner portal phone */
.phone-wrap { display: grid; place-items: center; }
.phone {
  width: 300px; max-width: 100%; border-radius: 40px; padding: 10px;
  background: var(--ink); box-shadow: var(--shadow);
}
.phone-screen { background: var(--plaster); border-radius: 31px; overflow: hidden; min-height: 560px; }
.phone-top { display: flex; justify-content: center; padding-top: 10px; }
.phone-top i { width: 84px; height: 22px; background: var(--ink); border-radius: 99px; }
.p-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 6px; }
.p-head .logo { height: 18px; }
.p-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.p-hello { padding: 8px 18px 14px; font-size: var(--t-sm); color: var(--ink-2); }
.p-hello strong { display: block; color: var(--ink); font-size: var(--t-lg); font-weight: 650; letter-spacing: -0.01em; }
.p-card { margin: 0 12px 10px; background: var(--paper); border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(var(--shade), .08); }
.p-card .lbl { color: var(--ink-3); font-size: 12px; }
.p-due { font-size: 1.9rem; font-weight: 680; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.p-ref { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-2); }
.p-ref b { color: var(--ink); font-variant-numeric: tabular-nums; }
.p-btn { margin-top: 12px; display: block; text-align: center; background: var(--brand); color: var(--plaster); border-radius: 12px; padding: 10px; font-size: 13px; font-weight: 600; }
.p-vote p { font-size: 13px; font-weight: 600; line-height: 1.35; margin-top: 2px; }
.p-vote .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.p-vote .opts span { text-align: center; font-size: 12px; font-weight: 600; padding: 8px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line); }
.p-vote .opts span:first-child { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-ink); background: var(--brand-tint); }
.p-docs li { display: flex; justify-content: space-between; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--stone); }
.p-docs li:last-child { border-bottom: 0; }
.p-docs span { color: var(--ink-3); }

/* Steps (a real sequence, so numbered) */
.steps-section { background: var(--stone); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; position: relative; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--plaster); color: var(--brand); font-weight: 680; font-size: var(--t-lg);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.steps li::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -20px; height: 1.5px; background: var(--stone-2);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--t-lg); letter-spacing: -0.01em; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: var(--t-sm); line-height: 1.6; }
.steps-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--stone-2); color: var(--ink-2); max-width: 46rem; }
.steps-note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Audiences */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.audience { border-top: 3px solid var(--brand); padding-top: 28px; }
.audience:last-child { border-top-color: var(--sun); }
.audience h3 { font-size: var(--t-xl); }
.audience > p { margin-top: 14px; color: var(--ink-2); max-width: 32em; }
.audience .ticks { margin-top: 22px; }
@media (max-width: 820px) { .audiences { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.pricing .section-head + * { margin-top: 32px; }
.calc { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 36px); }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.calc-units { display: flex; align-items: center; gap: 8px; }
.calc-units input {
  width: 6.5rem; text-align: right; font-size: var(--t-lg); font-weight: 650; font-variant-numeric: tabular-nums;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; background: var(--plaster);
}
.calc-units input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.calc-units span { color: var(--ink-3); font-weight: 500; font-size: var(--t-sm); }
input[type="range"] { width: 100%; margin: 22px 0 8px; accent-color: var(--brand); height: 28px; }
.range-scale { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cycle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--stone); margin-top: 28px; }
.cycle button { border: 0; background: transparent; cursor: pointer; padding: 8px 16px; min-height: 38px; border-radius: 999px; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
.cycle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(var(--shade), .14); }
.cycle em { font-style: normal; color: var(--brand); font-weight: 600; }
.calc-out { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.calc-total { font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: 680; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-per { color: var(--ink-2); font-size: var(--t-sm); text-align: right; }
.calc-note { grid-column: 1 / -1; color: var(--ink-3); font-size: var(--t-xs); margin-top: 6px; }
.included { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: var(--t-sm); }
.included li { display: flex; gap: 10px; align-items: flex-start; }
.included svg { color: var(--brand); margin-top: 4px; flex-shrink: 0; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .included { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 112px; }
.faq-grid .section-head + * { margin-top: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0; font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 40em; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
}

/* Early access */
.access-section { background: var(--brand-deep); color: var(--plaster); }
.access { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.access .section-head p { color: rgba(var(--on-dark), 0.78); }
.access .section-head + * { margin-top: 0; }
.access-points { margin-top: 32px; display: grid; gap: 14px; color: rgba(var(--on-dark), 0.86); }
.access-points li { display: flex; gap: 12px; align-items: flex-start; }
.access-points svg { color: var(--sun); flex-shrink: 0; margin-top: 4px; }
.talk { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(var(--on-dark), 0.16); }
.talk-title { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; }
.talk-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.talk-links:not(:has(a:not([hidden]))) { display: none; }
.btn-light { background: var(--plaster); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline-light { border-color: rgba(var(--on-dark), 0.4); color: var(--plaster); }
.btn-outline-light:hover { border-color: var(--plaster); color: var(--plaster); }
.access-contact { margin-top: 18px; font-size: var(--t-sm); color: rgba(var(--on-dark), 0.74); }
.access-contact a { color: var(--plaster); }

.form { background: var(--plaster); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field > label, .field legend { font-weight: 600; font-size: var(--t-sm); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  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='%2364718A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--clay); }
.field input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--clay); outline-offset: 2px; }
.field .err { color: var(--clay); font-size: var(--t-xs); font-weight: 500; min-height: 0; }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: var(--t-sm); cursor: pointer;
  transition: background-color .15s var(--ease), box-shadow .15s var(--ease);
}
.check-pill input:checked + span { background: var(--brand-tint); box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-ink); font-weight: 600; }
.check-pill input:focus-visible + span { outline: 2.5px solid var(--sun); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-msg { font-size: var(--t-sm); font-weight: 500; }
.form-msg.is-error { color: var(--clay); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: left; display: grid; gap: 14px; padding-block: 24px; }
.form-done .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: var(--plaster); display: grid; place-items: center; }
.form-done h3 { font-size: var(--t-xl); }
.form-done p { color: var(--ink-2); }
@media (max-width: 900px) { .access { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding-block: 56px 40px; font-size: var(--t-sm); color: var(--ink-2); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .logo { height: 28px; }
.foot p { margin-top: 14px; max-width: 26em; }
.foot h2 { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--brand); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-3); }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* Simple content pages (privacy, 404) */
.page { padding-block: clamp(48px, 8vw, 96px); }
.prose { max-width: 42rem; }
.prose h1 { font-size: var(--t-2xl); }
.prose .meta { margin-top: 12px; color: var(--ink-3); font-size: var(--t-sm); }
.prose h2 { font-size: var(--t-lg); margin-top: 40px; letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Print: prospects sometimes print or save as PDF */
@media print {
  .site-header, .access-section form, .lang, .skip, .talk-links { display: none !important; }
  body { background: #fff; }
  .board-section, .access-section { background: #fff; color: var(--ink); }
  .board p, .board-section .section-head p, .access .section-head p, .access-points { color: var(--ink-2); }
}
