/* Aqera Australia — site styles in the Mosa design language.
   Layout: black canvas, full-bleed hero, then centred 1200px column of
   dot-labelled sections; hairline cards; segmented mono navigation. */
:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .75);
  --fg-3: rgba(255, 255, 255, .48);
  --fg-4: rgba(255, 255, 255, .3);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --panel: rgba(255, 255, 255, .02);
  --panel-2: rgba(255, 255, 255, .045);
  --ok: #5bd68a;
  --tbc: #e8c46a;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 6px;
  --wrap: 1200px;
  --header: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 300;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap {
  max-width: var(--wrap); margin-inline: auto; width: 100%;
  padding-left: max(clamp(16px, 4vw, 32px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 32px), env(safe-area-inset-right, 0px));
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: var(--r); font-family: var(--mono); font-size: 12px; }
.skip-link:focus { left: 16px; }

/* ---------------------------------------------------------------- Type */
h1, h2, h3, h4 { font-weight: 400; margin: 0; text-wrap: balance; color: var(--fg); }
p { margin: 0; color: var(--fg-2); max-width: 65ch; }
.display { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.03; letter-spacing: -.028em; max-width: 15ch; }
.page-title { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.025em; max-width: 18ch; }
.h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; letter-spacing: -.02em; max-width: 24ch; }
.dim { color: var(--fg-3); }
.h3 { font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: .01em; line-height: 1.5; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--fg-2); max-width: 58ch; }
.small { font-size: 14px; }
.mono { font-family: var(--mono); }
.eyebrow {
  display: flex; align-items: center; gap: 8px; margin: 0 0 20px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--fg-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); flex: none; }
.caption { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: var(--r);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--fg); background: rgba(0, 0, 0, .4);
  border: 1px solid var(--line-2); cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, .35); }
.btn-primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-primary:hover { background: rgba(255, 255, 255, .86); border-color: rgba(255, 255, 255, .86); }
.btn .chev { font-size: 15px; line-height: 1; margin-top: -1px; }
.btn-pair { display: inline-flex; }
.btn-pair .btn:first-child { border-radius: var(--r) 0 0 var(--r); }
.btn-pair .btn:last-child { border-radius: 0 var(--r) var(--r) 0; border-left-width: 0; }
.btn-pill { border-radius: 999px; text-transform: none; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; height: 38px; padding: 0 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(0, 0, 0, .85); }
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.brand svg { width: 26px; height: 22.6px; flex: none; }
.brand img { display: block; height: 26px; width: auto; }
.seg { display: flex; list-style: none; margin: 0; padding: 0; }
.seg > li { position: relative; }
.seg > li > a {
  display: flex; align-items: center; height: 30px; padding: 0 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-decoration: none;
  background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .15); border-left-width: 0;
  transition: background .2s;
}
.seg > li:first-child > a { border-left-width: 1px; border-radius: var(--r) 0 0 var(--r); }
.seg > li:last-child > a { border-radius: 0 var(--r) var(--r) 0; }
.seg > li > a:hover, .seg > li > a[aria-current="page"], .seg > li:focus-within > a { background: rgba(255, 255, 255, .09); }
.menu { display: none; position: absolute; top: 100%; left: 0; padding-top: 10px; min-width: 260px; }
.seg > li:last-child .menu { left: auto; right: 0; }
.menu ul { list-style: none; margin: 0; padding: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 48px rgba(0, 0, 0, .7); }
.menu a { display: block; padding: 8px 10px; border-radius: 4px; font-family: var(--mono); font-size: 12px; color: var(--fg-2); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--panel-2); color: var(--fg); }
.seg > li:hover .menu, .seg > li:focus-within .menu { display: block; }
.header-actions { display: flex; }
.header-actions .btn { height: 30px; font-size: 11px; padding: 0 14px; }

.mnav { display: none; }
.mnav > summary { list-style: none; height: 32px; font-size: 11px; }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav-panel {
  position: fixed; top: calc(var(--header) + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0;
  overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line);
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px));
  display: grid; gap: 28px; align-content: start;
}
.mnav-panel h2 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.mnav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mnav-panel a { display: block; padding: 8px 0; text-decoration: none; font-size: 17px; }
@media (max-width: 1040px) {
  .seg, .header-actions { display: none; }
  .mnav { display: block; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  min-height: min(860px, max(640px, 94vh));
  padding-top: calc(var(--header) + 40px); padding-bottom: clamp(40px, 6vw, 64px);
  background: var(--bg);
}
.flow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 92%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 28px; }
.hero .lead { font-size: clamp(15px, 1.5vw, 17px); max-width: 52ch; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.built-for { font-family: var(--mono); font-size: 12px; color: var(--fg-2); display: grid; gap: 6px; justify-items: end; text-align: right; }
.built-for > span:last-child > span + span::before { content: "/"; color: var(--fg-4); margin: 0 10px; }
.built-for .caption { justify-self: end; }
@media (max-width: 720px) { .built-for { justify-items: start; text-align: left; } .built-for .caption { justify-self: start; } }

.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  padding-top: calc(var(--header) + clamp(64px, 10vw, 120px)); padding-bottom: clamp(48px, 7vw, 88px);
}
.page-hero .flow { opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 18%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .2)); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 2; display: grid; gap: 22px; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-split > div { display: grid; gap: 22px; min-width: 0; }
@media (max-width: 900px) { .hero-split { grid-template-columns: minmax(0, 1fr); } }
.status-line { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.status-line strong { color: var(--fg); font-weight: 500; }

/* ---------------------------------------------------------------- Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; }
@media (max-width: 900px) { .section-head.split { grid-template-columns: minmax(0, 1fr); } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1001px) {
  .g3 > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .g3 > :last-child:nth-child(3n+2) { grid-column: span 2; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .g3 > :last-child:nth-child(odd), .g4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 641px) { .g2 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: clamp(22px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); transition: border-color .3s, background .3s;
}
a.card { text-decoration: none; }
.card:hover { border-color: rgba(255, 255, 255, .2); background: var(--panel-2); }
.card .more { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
a.card:hover .more { color: var(--fg); }
.icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--fg); flex: none; }
.icon svg { width: 17px; height: 17px; }

/* Product grid: 3 across then 2 across */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-grid > * { grid-column: span 2; }
.product-grid > :nth-child(4), .product-grid > :nth-child(5) { grid-column: span 3; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: minmax(0, 1fr); } .product-grid > * { grid-column: auto !important; } }
.product-card { padding: 0; overflow: hidden; gap: 0; }
.product-card .mock { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.product-card .body { display: grid; gap: 10px; padding: 24px 26px 26px; }

/* ---------------------------------------------------------------- Mock UI panels (illustrative) */
.mock {
  position: relative; display: grid; place-items: center; min-height: 230px; padding: 34px 22px 22px;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background:
    radial-gradient(110% 80% at 75% -10%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 60%),
    radial-gradient(70% 60% at 0% 110%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 48px),
    #050505;
}
.mock.tall { min-height: 340px; }
.mock-tag { position: absolute; top: 12px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-4); }
.ui {
  width: 100%; max-width: 440px; display: grid; gap: 8px; padding: 14px;
  background: rgba(8, 8, 8, .88); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .7);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.45; color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.ui-head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; color: var(--fg); font-weight: 500; }
.ui-head span:last-child { color: var(--fg-3); font-weight: 400; }
.ui-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, .02); }
.ui-row .sub { color: var(--fg-3); }
.ui-row .bar { grid-column: 1 / -1; }
.bar { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--fg); }
.ui-note { display: flex; align-items: center; gap: 8px; color: var(--fg-3); padding: 2px 2px 0; }
.ui-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tbc); flex: none; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--line-2); font-size: 10px; letter-spacing: .04em; color: var(--fg-2); white-space: nowrap; }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip.warn { border-color: rgba(232, 196, 106, .5); color: var(--tbc); }
.chain { display: grid; gap: 6px; }
.chain .node { padding: 9px 10px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, .02); }
.chain .node b { display: block; font-weight: 500; color: var(--fg); }
.chain .arrow { text-align: center; color: var(--fg-4); line-height: 1; }
.pillars { display: grid; gap: 7px; }
.pillars div { display: grid; grid-template-columns: 92px minmax(0, 1fr) 30px; gap: 10px; align-items: center; }
.pillars div span:last-child { text-align: right; color: var(--fg); }
.log { display: grid; gap: 5px; }
.log div { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; }
.log .t { color: var(--fg-4); }
.log .ok { color: var(--ok); }
.ui-actions { display: flex; justify-content: flex-end; gap: 6px; padding-top: 4px; }

/* ---------------------------------------------------------------- Tabs */
.tablist { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 32px; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px;
  padding: 12px 0; cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--fg-3); white-space: nowrap;
}
.tab:hover { color: var(--fg-2); }
.tab[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tabpanel > div:last-child { display: grid; gap: 18px; align-content: center; }
.tabpanel h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; letter-spacing: -.01em; }
@media (max-width: 900px) { .tabpanel { grid-template-columns: minmax(0, 1fr); } }
.tabpanel[hidden], [hidden] { display: none !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--fg-2); }
.chips a:hover { color: var(--fg); border-color: rgba(255, 255, 255, .4); }

/* ---------------------------------------------------------------- Steps */
.how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .how { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; gap: 6px; padding: 16px 0 16px 24px; border-left: 1px solid var(--line); transition: border-color .2s; }
.steps li:hover { border-left-color: var(--fg); }
.steps .h3 { display: flex; align-items: center; gap: 10px; }
.steps .h3 svg { width: 16px; height: 16px; color: var(--fg-2); }
.steps p { font-size: 15px; }
.phases li { padding-block: 22px; }

/* ---------------------------------------------------------------- Evidence */
.stat { font-family: var(--mono); font-size: clamp(34px, 4vw, 44px); line-height: 1; color: var(--fg); letter-spacing: -.01em; }
.case-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.case-foot .who { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--fg); }
.case-foot a { font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.case-foot a:hover { color: var(--fg); }

/* ---------------------------------------------------------------- Alignment cells */
.cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cells > * { display: grid; place-items: center; gap: 6px; min-height: 120px; padding: 24px 18px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.cells b { display: block; font-weight: 500; color: var(--fg); font-size: 13px; }
.cells svg { width: 26px; height: 26px; color: var(--fg-2); }
@media (max-width: 1000px) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cells > :last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .cells { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Pricing */
.plan { gap: 18px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-family: var(--mono); font-weight: 400; font-size: 40px; line-height: 1; color: var(--fg); }
.plan .price span { font-size: 13px; color: var(--fg-3); }
.plan.featured { border-color: rgba(255, 255, 255, .32); background: var(--panel-2); }
.badge { position: absolute; top: 18px; right: 18px; padding: 3px 8px; border-radius: 4px; background: var(--fg); color: var(--bg); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.divider-label { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.divider-label::before, .divider-label::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 14px; color: var(--fg-2); }
.checks svg { width: 16px; height: 16px; margin-top: 3px; color: var(--fg); }
.plan .btn { align-self: flex-start; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.qa-list { display: grid; gap: 12px; }
details.qa { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); transition: border-color .3s; }
details.qa:hover, details.qa[open] { border-color: rgba(255, 255, 255, .16); }
details.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; color: var(--fg); font-weight: 400; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font-family: var(--mono); font-size: 14px; color: var(--fg-2); }
details.qa[open] summary::after { content: "\2212"; }
details.qa .a { padding: 0 22px 22px; display: grid; gap: 10px; }

/* ---------------------------------------------------------------- CTA panel */
.cta-panel {
  position: relative; overflow: hidden; display: grid; justify-items: center; gap: 20px; text-align: center;
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 64px);
  border: 1px solid var(--line); border-radius: var(--r); background: #030303;
}
.cta-panel .flow { opacity: .8; }
.cta-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(0, 0, 0, .75), rgba(0, 0, 0, .15)); pointer-events: none; }
.cta-panel > :not(canvas) { position: relative; z-index: 2; }
.cta-panel .h2 { max-width: 20ch; }
.cta-panel p { max-width: 52ch; }

/* ---------------------------------------------------------------- Tables, lists, forms */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--fg-2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--fg); }
.dl { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 10px 24px; margin: 0; }
.dl dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
.dl dd { margin: 0; color: var(--fg-2); }
@media (max-width: 520px) { .dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .dl dd { margin-bottom: 10px; } }
.list { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--fg-2); }
.list li::marker { color: var(--fg-4); }
.list strong, p strong { color: var(--fg); font-weight: 500; }
.prose { display: grid; gap: 16px; }
.prose a, p a, .list a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
input, select, textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 15px; color: var(--fg);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fg); }
select option, select optgroup { background: var(--bg-2); color: var(--fg); }
.form-status { font-family: var(--mono); font-size: 12px; color: var(--fg-2); min-height: 1.5em; }
.form-note { font-size: 13px; color: var(--fg-3); }

/* Draft markers: items awaiting the owner's confirmation */
.tbc { display: inline-block; padding: 1px 7px; border: 1px dashed rgba(232, 196, 106, .55); border-radius: 4px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; line-height: 1.6; color: var(--tbc); vertical-align: baseline; }

/* ---------------------------------------------------------------- Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 72px; padding-bottom: max(32px, env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand p { font-size: 14px; max-width: 34ch; }
.foot-col h2 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--fg-2); text-decoration: none; }
.foot-col a:hover { color: var(--fg); }
.join { display: flex; max-width: 340px; }
.join input { border-radius: var(--r) 0 0 var(--r); font-family: var(--mono); font-size: 12px; padding: 9px 12px; min-width: 0; }
.join .btn { border-radius: 0 var(--r) var(--r) 0; height: auto; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--fg-3); }
.foot-bottom .dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--ok); vertical-align: middle; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
