/* KADware corporate site — shared stylesheet
   Palette: deck charcoal + teal, logo purple as secondary accent, porcelain for light bands. */

:root {
  --ink: #282727;
  --ink-deep: #1e1d1d;
  --ink-raised: #323131;
  --ink-line: rgba(255, 255, 255, 0.12);
  --teal: #00b1aa;
  --teal-bright: #34d3cc;
  --teal-deep: #077773;
  --purple: #6d0cc7;
  --purple-tint: #2b2236;
  --porcelain: #f1f2f2;
  --porcelain-deep: #e3e5e5;
  --porcelain-line: rgba(40, 39, 39, 0.14);
  --text: #f4f4f2;
  --text-muted: #b6b5b1;
  --text-dim: #9a9995;
  --on-light: #282727;
  --on-light-muted: #585754;

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
  --radius: 6px;
  --radius-lg: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol.journey, ol.timeline { margin: 0; padding: 0; list-style: none; }
.nowrap { white-space: nowrap; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--text-muted); max-width: 44ch; }
.light .lead { color: var(--on-light-muted); }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.container {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

/* ---------- bands ---------- */
.band { padding: 96px 0; }
.band--tight { padding: 64px 0; }
.band--deep { background: var(--ink-deep); }
.band--raised { background: var(--ink-raised); }
.light { background: var(--porcelain); color: var(--on-light); }
.light.band--deep { background: var(--porcelain-deep); }
.band--purple { background: linear-gradient(135deg, var(--purple-tint) 0%, var(--ink) 70%); }
.band--teal { background: var(--teal); color: var(--ink); }
.band-head { max-width: 760px; margin-bottom: 48px; }
.band-head .lead { margin-top: 16px; }
.light .band-head h2 { color: var(--on-light); }

/* ---------- buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: var(--radius);
  font-weight: 500; font-size: 0.98rem; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: var(--teal-bright); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.32); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.light .btn--ghost { border-color: rgba(40, 39, 39, 0.35); color: var(--on-light); }
.light .btn--ghost:hover { border-color: var(--on-light); }
.btn--ink { background: var(--ink); color: var(--text); }
.btn--ink:hover { background: var(--ink-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid rgba(0, 177, 170, 0.6); color: var(--teal-bright);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.light .pill { border-color: rgba(7, 142, 136, 0.5); color: var(--teal-deep); }
.light .pill::before { background: var(--teal-deep); }

.textlink { color: var(--teal-bright); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.textlink:hover { border-color: currentColor; }
.light .textlink { color: var(--teal-deep); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h);
  background: rgba(40, 39, 39, 0.96);
  border-bottom: 1px solid var(--ink-line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); transition: color .15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a.btn--primary, .nav-links a.btn--primary:hover { color: var(--ink); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 18px; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px;
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0; flex-direction: column; align-items: flex-start;
    gap: 8px; padding: 24px var(--gutter); background: var(--ink-deep);
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .25s ease, visibility 0s linear .25s;
  }
  .nav-links.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .25s ease, visibility 0s; }
  .nav-links a { font-size: 1.35rem; padding: 10px 0; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { padding: 14px 24px; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: min(calc(100svh - var(--nav-h)), 820px);
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(40, 39, 39, 0.96) 0%, rgba(40, 39, 39, 0.9) 34%, rgba(40, 39, 39, 0.45) 62%, rgba(40, 39, 39, 0.2) 100%),
    linear-gradient(180deg, rgba(40, 39, 39, 0.25) 0%, rgba(40, 39, 39, 0) 30%, rgba(40, 39, 39, 0.55) 100%);
}
.hero .container { padding-top: 72px; padding-bottom: 96px; }
.hero-copy { max-width: 620px; }
.hero-copy h1 { margin: 20px 0 22px; }
.hero-copy .lead { max-width: 48ch; margin-bottom: 32px; }

/* measured-drawing overlay: draws itself once on load */
.hero-dims {
  position: absolute; right: 0; top: 0; height: 100%; width: 58%; z-index: 0;
  pointer-events: none;
}
.hero-dims svg { width: 100%; height: 100%; }
.hero-dims line, .hero-dims path { stroke: var(--teal-bright); stroke-width: 1.4; fill: none; }
.hero-dims .ext { stroke-dasharray: 4 5; opacity: 0.55; }
.hero-dims .dim { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.4, 0, .2, 1) forwards; }
.hero-dims .ext { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-ext 0.8s ease forwards; }
.hero-dims .lbl { font-family: var(--font); font-size: 13px; font-weight: 500; fill: var(--teal-bright); opacity: 0; animation: fade .5s ease forwards; }
.hero-dims .lbl-bg { fill: var(--ink); opacity: 0; animation: fade-bg .5s ease forwards; }
.hero-dims .d1 { animation-delay: .3s; } .hero-dims .d2 { animation-delay: .9s; } .hero-dims .d3 { animation-delay: 1.5s; }
.hero-dims .l1 { animation-delay: 1.2s; } .hero-dims .l2 { animation-delay: 1.8s; } .hero-dims .l3 { animation-delay: 2.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes draw-ext { to { stroke-dashoffset: 0; stroke-dasharray: 0.02 0.025; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fade-bg { to { opacity: .72; } }
@media (prefers-reduced-motion: reduce) {
  .hero-dims .dim, .hero-dims .ext, .hero-dims .lbl, .hero-dims .lbl-bg { animation: none; stroke-dashoffset: 0; }
  .hero-dims .lbl { opacity: 1; } .hero-dims .lbl-bg { opacity: .72; }
  .hero-dims .ext { stroke-dasharray: 4 5; }
}
@media (max-width: 900px) {
  .hero-dims { width: 100%; opacity: .5; }
}
@media (max-width: 760px) {
  .hero-dims { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(40,39,39,.3) 0%, rgba(40,39,39,.82) 45%, rgba(40,39,39,.97) 100%); }
  .hero-media img { object-position: 60% 50%; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 88px 0 56px; border-bottom: 1px solid var(--ink-line); }
.page-hero h1 { margin: 18px 0 18px; max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero--image { position: relative; isolation: isolate; padding: 120px 0 88px; border: 0; }
.page-hero--image img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(40,39,39,.95) 0%, rgba(40,39,39,.8) 50%, rgba(40,39,39,.35) 100%); }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); background: var(--ink-deep); }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof-item { padding: 32px 24px 32px 0; border-left: 1px solid var(--ink-line); padding-left: 24px; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { display: block; font-size: 2.3rem; font-weight: 300; line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
.proof-label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; display: block; max-width: 22ch; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink-line); padding: 24px 24px 24px 0; }
  .proof-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) { .proof-item:nth-child(5) { grid-column: 1 / -1; } .proof-num { font-size: 2rem; } }

/* ---------- two-column compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.compare h3 { margin-bottom: 20px; }
.compare ul li { padding: 14px 0; border-top: 1px solid var(--porcelain-line); line-height: 1.45; }
.compare ul li:last-child { border-bottom: 1px solid var(--porcelain-line); }
.compare-old li { color: var(--on-light-muted); }
.compare .compare-new li { padding-left: 28px; position: relative; }
.compare-new li::before {
  content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 8px;
  border-left: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: rotate(-45deg) translateY(-3px);
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- journey (sequence) ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-num { font-size: 0.95rem; font-weight: 500; color: var(--teal-bright); display: block; margin-bottom: 10px; }
.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 20px; }
.screen { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ink-line); background: var(--ink-deep); }
.screen img { width: 100%; }
.step .screen { aspect-ratio: 4 / 3; }
.step .screen img { height: 100%; object-fit: cover; object-position: left top; }
.screen--phone { display: flex; justify-content: center; align-items: flex-start; padding: 18px 0 0; }
.screen--phone .phone { width: 124px; border-bottom: 0; border-radius: 20px 20px 0 0; }
.screen--phone .phone img { border-radius: 14px 14px 0 0; }
.phone { width: 150px; border-radius: 22px; border: 6px solid #141313; overflow: hidden; background: #141313; }
.phone img { width: 100%; display: block; border-radius: 16px; }
@media (max-width: 1000px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }

/* ---------- schedule (materials-schedule style list) ---------- */
.schedule { margin: 0; }
.schedule > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--ink-line); }
.schedule > div:last-child { border-bottom: 1px solid var(--ink-line); }
.schedule dt { font-weight: 500; }
.schedule dd { margin: 0; color: var(--text-muted); font-size: 0.98rem; line-height: 1.5; }
.light .schedule > div { border-color: var(--porcelain-line); }
.light .schedule dd { color: var(--on-light-muted); }
@media (max-width: 640px) { .schedule > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--text-wide { grid-template-columns: 1.15fr 1fr; }
.split--flip > :first-child { order: 2; }
.split h2 { margin-bottom: 16px; }
.split .lead { margin-bottom: 28px; }
.split figure { margin: 0; }
.split figcaption { font-size: 0.85rem; color: var(--text-dim); margin-top: 12px; }
.light .split figcaption { color: var(--on-light-muted); }
@media (max-width: 900px) {
  .split, .split--text-wide { grid-template-columns: 1fr; gap: 36px; }
  .split--flip > :first-child { order: 0; }
}

/* ---------- product tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  display: block; padding: 28px 26px 26px; border: 1px solid var(--ink-line); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02); transition: border-color .18s ease, background-color .18s ease;
}
.tile:hover { border-color: var(--teal); background: rgba(0, 177, 170, 0.05); }
.tile h3 { font-size: 1.25rem; margin-bottom: 2px; }
.tile .sub { color: var(--teal-bright); font-size: 0.9rem; font-weight: 500; margin-bottom: 14px; display: block; }
.tile p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 18px; line-height: 1.5; }
.tile .status { font-size: 0.8rem; color: var(--text-dim); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- partner tiles ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 20px 16px; }
.partner { text-align: center; }
.partner img, .partner .partner-text {
  width: 88px; height: 88px; margin: 0 auto 10px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(40, 39, 39, 0.1); background: #fff; object-fit: contain;
}
.partner .partner-text { background: #fff; color: var(--on-light); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.partner span.name { display: block; font-size: 0.82rem; color: var(--on-light-muted); line-height: 1.3; }
.partner-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.partner-group h3 { margin-bottom: 6px; }
.partner-group p { color: var(--on-light-muted); font-size: 0.98rem; margin-bottom: 18px; }
.partner-group .partners { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
@media (max-width: 760px) { .partner-groups { grid-template-columns: 1fr; } }

/* ---------- case study band ---------- */
.case { position: relative; isolation: isolate; overflow: hidden; }
.case img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.case .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,29,29,.96) 0%, rgba(30,29,29,.86) 45%, rgba(30,29,29,.4) 100%); }
.case-logo { height: 40px; width: auto; margin-bottom: 28px; }
.case h2 { max-width: 16ch; margin-bottom: 18px; }
.case .lead { margin-bottom: 28px; }

/* ---------- services columns ---------- */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.col h3 { margin-bottom: 10px; padding-top: 18px; border-top: 2px solid var(--teal); }
.col p { color: var(--text-muted); font-size: 0.98rem; }
.light .col p { color: var(--on-light-muted); }
@media (max-width: 900px) { .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cols { grid-template-columns: 1fr; } }

/* ---------- final CTA ---------- */
.cta-band h2 { color: var(--ink); margin-bottom: 12px; }
.cta-band p { color: rgba(40, 39, 39, 0.8); max-width: 52ch; font-size: 1.1rem; margin-bottom: 28px; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .cta-band .container { grid-template-columns: 1fr; } }

/* ---------- module sections (platform page) ---------- */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(30, 29, 29, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink-line); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  .subnav .container { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); padding-right: 56px; }
}
.subnav a { white-space: nowrap; padding: 14px 12px; font-size: 0.88rem; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--text); }
.module { padding: 88px 0; border-top: 1px solid var(--ink-line); }
.module .pill { margin-bottom: 18px; }
.module h2 { margin-bottom: 4px; }
.module .sub { display: block; color: var(--teal-bright); font-weight: 500; font-size: 1.05rem; margin-bottom: 20px; }
.module .lead { margin-bottom: 28px; max-width: 50ch; }
@media (min-width: 641px) { .module .schedule > div { grid-template-columns: 200px 1fr; } }
.badges { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.badges img { height: 40px; width: auto; }
.phones { display: flex; gap: 16px; justify-content: center; align-items: flex-end; }
.phones .phone { width: 170px; }
.phones .phone:nth-child(2) { width: 190px; }
@media (max-width: 640px) { .phones { gap: 8px; } .phones .phone { width: 29%; } .phones .phone:nth-child(2) { width: 33%; } }
@media (min-width: 901px) { .module figure { position: sticky; top: calc(var(--nav-h) + 72px); } .module .split { align-items: start; } }

/* ---------- timeline (sequence) ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline li { padding-top: 18px; border-top: 2px solid var(--ink-line); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--teal); }
.timeline .when { display: block; font-size: 0.9rem; color: var(--teal-bright); font-weight: 500; margin-bottom: 8px; }
.timeline p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- team & brands ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person .avatar { aspect-ratio: 1; border-radius: var(--radius); background: var(--ink-raised); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .avatar span { font-size: 2rem; font-weight: 300; color: var(--text-dim); }
.person h3 { font-size: 1.1rem; margin-bottom: 2px; }
.person p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.person--placeholder .avatar { border: 1px dashed var(--ink-line); background: transparent; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand { padding: 36px 28px; border: 1px solid var(--porcelain-line); border-radius: var(--radius); background: #fff; }
.brand img { height: 64px; width: auto; max-width: 100%; margin-bottom: 20px; object-fit: contain; object-position: left; }
.brand h3 { font-size: 1.1rem; margin-bottom: 6px; }
.brand p { color: var(--on-light-muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) { .brands { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; background: rgba(255,255,255,.02); }
.plan--featured { border-color: var(--teal); }
.plan h3 { margin-bottom: 6px; }
.plan .for { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; min-height: 3em; }
.plan ul { flex: 1; margin-bottom: 26px; }
.plan li { padding: 10px 0; border-top: 1px solid var(--ink-line); font-size: 0.95rem; }
.plan li.inherit { color: var(--teal-bright); font-weight: 500; }
.plan .btn { align-self: flex-start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius); font: inherit; font-size: 0.98rem;
  background: var(--ink-deep); color: var(--text); border: 1px solid rgba(255,255,255,.18);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,177,170,.25); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--text-dim); }
.form-status { font-size: 0.95rem; color: var(--teal-bright); min-height: 1.4em; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.contact-aside h3 { margin-bottom: 10px; }
.contact-aside p { color: var(--text-muted); }
.contact-aside address { font-style: normal; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- prose (legal) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- footer ---------- */
.footer { background: var(--ink-deep); border-top: 1px solid var(--ink-line); padding: 64px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-logo img { height: 22px; width: auto; margin-bottom: 16px; }
.footer p { color: var(--text-muted); margin: 0 0 8px; max-width: 34ch; }
.footer h4 { margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer li a { color: var(--text-muted); display: inline-block; padding: 4px 0; } .footer li a:hover { color: var(--text); }
.footer address { font-style: normal; color: var(--text-muted); line-height: 1.6; }
.footer-legal { border-top: 1px solid var(--ink-line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-dim); font-size: 0.82rem; }
.footer-legal a { color: var(--text-dim); } .footer-legal a:hover { color: var(--text); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  padding: 12px max(var(--gutter), env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-bottom, 0px));
  background: var(--porcelain); color: var(--on-light); border-top: 1px solid var(--porcelain-line);
  display: none; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; box-shadow: 0 -8px 30px rgba(0,0,0,.25);
}
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; font-size: 0.88rem; flex: 1 1 320px; max-width: 640px; }
.cookie .btn { padding: 9px 16px; font-size: 0.88rem; }
.cookie .btn--ghost { background: transparent; border-color: rgba(40,39,39,.5); color: var(--on-light); }
.cookie .btn--ghost:hover { border-color: var(--on-light); }
@media (max-width: 600px) { .cookie p { flex-basis: 100%; } .cookie .btn { flex: 1; } }

/* ---------- coming-soon page ---------- */
.soon { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; position: relative; isolation: isolate; }
.soon-media { position: absolute; inset: 0; z-index: -2; }
.soon-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.soon-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(40,39,39,.97) 0%, rgba(40,39,39,.9) 45%, rgba(40,39,39,.5) 100%); }
.soon-top { padding: 28px 0; }
.soon-top img { height: 26px; width: auto; }
.soon-main { display: flex; align-items: center; padding: 48px 0; }
.soon-main h1 { margin: 20px 0 20px; max-width: 17ch; }
.soon-form .btn { white-space: nowrap; }
.soon-main .lead { margin-bottom: 32px; }
.soon-form { display: flex; gap: 10px; max-width: 520px; }
.soon-form input { flex: 1; }
.soon-modules { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 600px; }
.soon-modules li { font-size: 0.9rem; color: var(--text-muted); }
.soon-foot { padding: 24px 0; font-size: 0.82rem; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.soon-foot a { color: var(--text-dim); }
@media (max-width: 600px) { .soon-form { flex-direction: column; } .soon-shade { background: rgba(40,39,39,.9); } }
