/* ==========================================================================
   Gen IO — site.css  (v2)

   Language: Apple typographic discipline × Kuasa palette.
   - Type: native SF Pro → Inter stack, 600-weight display, tight tracking,
     big scale, one idea per section, generous vertical rhythm.
   - Colour: Kuasa tokens — ink #0B1D3A, blue #2563FF, soft band #F2F4F7,
     night #020b19. One accent only.
   - Surfaces, not boxes: soft fills + hairlines, no border soup, no glows.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --accent: #f80040;        /* brand pink, sampled from the logo */
  --accent-btn: #d10038;    /* button fill — white text at 5.57:1 */
  --accent-ink: #ffffff;

  --t-xs: 13px;
  --t-sm: 15px;
  --t-body: 18px;
  --t-lede: clamp(20px, 1.7vw, 23px);
  --t-h3: clamp(22px, 2.1vw, 27px);
  --t-h2: clamp(32px, 4.8vw, 56px);
  --t-h1: clamp(40px, 6.8vw, 80px);

  --gutter: 22px;
  --maxw: 1120px;
  --narrow: 780px;
  --section-y: clamp(72px, 9vw, 132px);
}

[data-theme='light'] {
  --bg: #ffffff;
  --bg-soft: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --text: #0b1d3a;
  --text-muted: #4b5870;
  --text-faint: #616d80;
  --border: #e5e7eb;
  --border-strong: #d4d9e2;
  --header-bg: rgba(255, 255, 255, .82);
  --shadow: 0 34px 70px -28px rgba(11, 29, 58, .28), 0 4px 14px rgba(11, 29, 58, .05);
  --shadow-sm: 0 10px 30px -14px rgba(11, 29, 58, .2);
  --chip-bg: #eef2f7;
  --accent-text: #c40033;
  --accent-soft: rgba(248, 0, 64, .07);
  --nav-ink: #4b5870;
  --hairline: rgba(11, 29, 58, .1);
  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #020b19;
  --bg-soft: #0a1c31;
  --surface: #12253f;
  --surface-2: #172d4a;
  --text: #f4f7fb;
  --text-muted: #9aa3b2;
  --text-faint: #8b95a5;
  --border: #2a3b57;
  --border-strong: #3f5373;
  --header-bg: rgba(2, 11, 25, .8);
  --shadow: 0 34px 70px -28px rgba(0, 0, 0, .8), 0 4px 14px rgba(0, 0, 0, .4);
  --shadow-sm: 0 10px 30px -14px rgba(0, 0, 0, .7);
  --chip-bg: #0d2038;
  --accent-text: #ff4d78;
  --accent-soft: rgba(248, 0, 64, .12);
  --nav-ink: #9aa3b2;
  --hairline: rgba(255, 255, 255, .1);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display); margin: 0;
  font-weight: 600; line-height: 1.06; letter-spacing: -.032em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(248, 0, 64, .16); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.band-soft { background: var(--bg-soft); }
.band-dark { background: #020b19; color: #f4f7fb; }
.band-dark .text-muted, .band-dark .muted { color: #9aa3b2; }

.center { text-align: center; }
.center .lede, .center p { margin-inline: auto; }
.lede { font-size: var(--t-lede); line-height: 1.45; color: var(--text-muted); max-width: 62ch; letter-spacing: -.014em; }
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint);
}
.hr { height: 1px; border: 0; background: var(--border); margin: 0; }

/* ---------- nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 13, 26, .82);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 34px -16px rgba(0, 0, 0, .45);
  color: #f4f7fb;
}
.nav {
  height: 64px; display: flex; align-items: center; gap: 26px;
  font-size: 14.5px; letter-spacing: -.008em;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 29px; width: auto; display: block; }
.brand__logo--dark { display: none; }
[data-theme='dark'] .brand__logo--light { display: none; }
[data-theme='dark'] .brand__logo--dark { display: block; }
.footer .brand__logo { height: 22px; }
.nav--over { box-shadow: none; background: rgba(2, 11, 25, .45); }
.nav--over.is-scrolled {
  background: rgba(6, 13, 26, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 34px -16px rgba(0, 0, 0, .45);
}
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__links a { color: #b3bcca; font-weight: 400; transition: color .18s; }
.nav__links a:hover { color: #ffffff; }
.nav__links a[aria-current='page'] { color: #ffffff; font-weight: 500; }
.nav__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__links + .nav__right { margin-left: 0; }
.theme-toggle {
  width: 34px; height: 34px; display: grid; place-items: center; flex: none;
  background: transparent; border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
  color: #b3bcca; cursor: pointer; transition: color .18s, border-color .18s;
}
.theme-toggle:hover { color: #ffffff; border-color: rgba(255,255,255,.4); }
.theme-toggle svg { width: 15px; height: 15px; }
[data-theme='light'] .theme-toggle .i-sun { display: none; }
[data-theme='dark'] .theme-toggle .i-moon { display: none; }
.nav-toggle { display: none; }
.nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--accent-btn); color: #fff;
  font-size: 14.5px; font-weight: 500; letter-spacing: -.01em;
  transition: filter .18s, transform .1s;
}
.nav__cta:hover { filter: brightness(1.08); }
.nav__cta:active { transform: scale(.975); }

/* language switch */
.lang {
  display: inline-flex; align-items: center; gap: 1px; flex: none;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 2px;
  margin-right: 2px;
}
.lang a {
  font-size: 12.5px; font-weight: 500; letter-spacing: .06em;
  color: #b3bcca; padding: 4px 10px; border-radius: 999px; line-height: 1.5;
}
.lang a:hover { color: #ffffff; }
.lang a[aria-current='true'] { background: #ffffff; color: #0a1220; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px; padding: 12px 26px;
  font-size: 16.5px; font-weight: 500; letter-spacing: -.012em;
  border: 1px solid transparent; cursor: pointer; min-height: 50px; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .1s, filter .18s;
}
.btn:active { transform: scale(.975); }
.btn-primary { background: var(--accent-btn); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--text); }
.btn-quiet { background: var(--chip-bg); color: var(--text); }
.btn-quiet:hover { filter: brightness(.97); }
.btn-sm { padding: 9px 18px; font-size: 15px; min-height: 38px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.text-link { color: var(--accent-text); font-size: 17px; font-weight: 400; display: inline-flex; align-items: center; gap: 5px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link svg { width: 14px; height: 14px; transition: transform .18s; }
.text-link:hover svg { transform: translateX(2px); }

/* ---------- hero ---------- */
/* Full-bleed navy band. Gives the page mass and contrast without stock
   photography. To add a real photo: put it at assets/img/hero.jpg and add
   class "hero-band--photo" to the section — the scrim keeps text legible. */
.hero-band {
  --bg: #04101f;
  --bg-soft: #071528;
  --surface: #12253f;
  --surface-2: #172d4a;
  --text: #f4f7fb;
  --text-muted: #b3bcca;
  --text-faint: #93a0b3;
  --border: #2a3b57;
  --border-strong: #4a5d7a;
  --hairline: rgba(255, 255, 255, .12);
  background-color: #020b19;
  background-image:
    radial-gradient(ellipse 78% 62% at 50% 30%, rgba(2, 11, 25, .78) 0%, rgba(2, 11, 25, .45) 55%, rgba(2, 11, 25, 0) 78%),
    linear-gradient(180deg, rgba(2, 11, 25, .92) 0%, rgba(2, 11, 25, .5) 24%, rgba(2, 11, 25, 0) 44%),
    url("/assets/img/city.jpg");   /* Kuala Lumpur, CC0 (Wikimedia Commons) — duotone graded */
  background-size: cover, cover, cover;
  background-position: center center, center top, center bottom;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat;
  color: var(--text);
  position: relative;
}
/* the panel hangs over the band's lower edge — a designed handoff, not a seam */
.hero-band {
  margin-top: -61px;          /* slide under the sticky nav — one continuous surface */
  padding-top: 61px;
}
.hero-band .hero { padding-block: clamp(92px, 9.5vw, 132px) clamp(150px, 17vw, 235px); }
.hero-panel { padding-top: clamp(52px, 6vw, 78px); border-top: 0; }
.hero-band--photo {
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(4,16,31,.86) 0%, rgba(2,11,25,.94) 100%),
    url("/assets/img/city.jpg");   /* Kuala Lumpur, CC0 (Wikimedia Commons) — duotone graded */
  background-size: cover;
  background-position: center 35%;
}
.hero-band .hero__sub { color: #ccd6e4; }
.hero-band .hero__meta { color: #c3ccd9; text-shadow: 0 1px 12px rgba(2, 11, 25, .9); }
.hero-band .hero__meta span + span::before { background: var(--border-strong); }
.hero-band .visual { box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .75); }
.hero-band .btn-secondary { border-color: var(--border-strong); color: var(--text); }
.hero-band .btn-secondary:hover { border-color: var(--text); }
.hero { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px); }
.hero h1 { font-size: var(--t-h1); letter-spacing: -.038em; line-height: 1.02; max-width: 17ch; margin-inline: auto; }
.hero__sub { margin-top: 24px; font-size: var(--t-lede); line-height: 1.4; color: var(--text-muted); max-width: 46ch; margin-inline: auto; letter-spacing: -.015em; }
.hero .btn-row { margin-top: 32px; }
.hero__meta {
  margin-top: 28px; font-size: 14.5px; color: var(--text-faint);
  display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span + span::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }

/* ---------- product visual (hero artifact) ---------- */
.visual {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.visual__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 15px 22px; border-bottom: 1px solid var(--hairline);
  font-size: 13.5px; color: var(--text-faint); letter-spacing: .01em;
}
.visual__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.visual__bar .label { margin-left: 6px; }
.visual__bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.visual__body { display: grid; grid-template-columns: repeat(3, 1fr); }
.lane { padding: 34px 30px; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 10px; }
.lane:last-child { border-right: 0; }
.lane__k { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.lane__t { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.lane__m { font-size: 16.5px; line-height: 1.55; color: var(--text-muted); }
.lane__list { display: grid; gap: 9px; margin-top: 6px; }
.lane__list li { font-size: 16px; color: var(--text-muted); display: flex; gap: 8px; align-items: baseline; }
.lane__list li::before { content: '·'; color: var(--accent-text); font-weight: 700; }
.visual__foot {
  padding: 14px 22px; border-top: 1px solid var(--hairline); background: var(--surface-2);
  font-size: 15.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between;
}
.visual__foot strong { color: var(--text); font-weight: 500; }

/* ---------- section heads ---------- */
.shead { max-width: 62ch; }
.shead.center { margin-inline: auto; }
.shead h2 { font-size: var(--t-h2); }
.shead p { margin-top: 16px; font-size: var(--t-lede); color: var(--text-muted); line-height: 1.45; }
.shead + .feature, .shead + .tiles, .shead + .rows, .shead + .steps { margin-top: clamp(44px, 5vw, 68px); }

/* ---------- alternating feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 7vw, 96px); }
.feature--flip .feature__media { order: -1; }
.feature__copy h3 { font-size: var(--t-h3); }
.feature__copy p { margin-top: 14px; color: var(--text-muted); font-size: var(--t-body); max-width: 44ch; }
.feature__copy .text-link { margin-top: 18px; }
.feature__media {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hairline);
}
.panel-row { display: grid; grid-template-columns: 42% 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
.panel-row:last-child { border-bottom: 0; }
.panel-row .k { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.panel-row .v { font-weight: 500; text-align: right; }
.panel-head { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding-bottom: 10px; }
.panel-note { margin-top: 16px; font-size: 13.5px; color: var(--text-faint); line-height: 1.5; }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 3;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.tile--wide { grid-column: span 4; }
.tile--narrow { grid-column: span 2; }
.tile--full { grid-column: 1 / -1; }
.tile--third { grid-column: span 2; }
.tile--third h3 { min-height: 2.3em; }
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.tile h3 { font-size: var(--t-h3); letter-spacing: -.025em; }
.tile p { color: var(--text-muted); font-size: 17.5px; line-height: 1.6; }
.tile__k { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tag {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .01em;
  color: var(--text-muted); background: var(--chip-bg);
  border-radius: 999px; padding: 5px 12px;
}

/* ---------- case study tile ---------- */
.case {
  background: linear-gradient(160deg, #0b1d3a 0%, #04122a 100%);
  color: #f4f7fb; border: 0;
}
.case h3 { color: #f4f7fb; }
.case p { color: #9aa3b2; }
.case .tile__k { color: #6b7688; }
.case .tag { background: rgba(255,255,255,.07); color: #9aa3b2; }
.case .text-link { color: #ff4d78; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.fact__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #6b7688; }
.fact__v { font-size: 16px; font-weight: 500; margin-top: 5px; line-height: 1.4; color: #e8eef8; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step__n { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; color: var(--accent-text); }
.step h3 { font-size: var(--t-h3); margin-top: 12px; }
.step p { margin-top: 10px; font-size: 17px; color: var(--text-muted); line-height: 1.55; }

/* ---------- dark CTA band ---------- */
.darkband { background: #020b19; color: #f4f7fb; }
[data-theme='dark'] .darkband { background: #0a1c31; border-block: 1px solid var(--border); }
.darkband h2 { font-size: var(--t-h2); max-width: 24ch; }
.darkband p { color: #9aa3b2; margin-top: 18px; max-width: 54ch; font-size: var(--t-lede); line-height: 1.45; }
.darkband .btn-row { margin-top: 30px; }
.darkband .btn-secondary { border-color: #2a3852; color: #f4f7fb; }
.darkband .btn-secondary:hover { border-color: #ff4d78; color: #ff4d78; }
.darkband .btn-primary { background: var(--accent-btn); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 52px 34px; font-size: 14px; color: var(--text-muted); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 28px; }
.footer__brand .brand { font-size: 15px; }
.footer__brand p { margin-top: 12px; max-width: 30ch; line-height: 1.6; }
.footer h4 { font-size: 13px; font-weight: 500; color: var(--text); letter-spacing: -.005em; }
.footer ul { margin-top: 12px; display: grid; gap: 8px; }
.footer ul a { font-size: 15px; }
.footer ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  color: var(--text-faint); font-size: 13px;
}
.footer__legal a:hover { color: var(--text-muted); }
.footer__credit { flex-basis: 100%; font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- page head ---------- */
.phead { padding-block: clamp(56px, 7vw, 96px) clamp(28px, 3vw, 40px); }
.phead h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.035em; max-width: 24ch; }
.phead .lede { margin-top: 20px; }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 52px; letter-spacing: -.028em; }
.prose h3 { font-size: 20px; margin-top: 34px; }
.prose p { margin-top: 18px; color: var(--text-muted); line-height: 1.68; }
.prose p strong, .prose li strong { color: var(--text); font-weight: 500; }
.prose ul { margin-top: 16px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--text-muted); line-height: 1.65; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.prose ol { margin-top: 16px; display: grid; gap: 12px; counter-reset: n; }
.prose ol li { position: relative; padding-left: 30px; color: var(--text-muted); counter-increment: n; line-height: 1.6; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: 12px; color: var(--accent-text); }
.prose blockquote {
  margin: 28px 0 0; padding: 22px 24px; border-radius: var(--r);
  background: var(--bg-soft); color: var(--text); font-size: 21px; line-height: 1.5; letter-spacing: -.015em;
}
.spec { margin-top: 26px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.spec__row { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.spec__row:last-child { border-bottom: 0; }
.spec__row dt { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; padding-top: 4px; }
.spec__row dd { margin: 0; color: var(--text); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--text-muted); }
.field label .req { color: var(--accent-text); }
.input, .select, .textarea {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  padding: 14px 16px; font-family: var(--font-body); font-size: 17px; letter-spacing: -.01em;
  transition: border-color .18s, box-shadow .18s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); opacity: .8; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3.5px rgba(248, 0, 64, .16);
}
.textarea { min-height: 132px; resize: vertical; }
.form__note { font-size: 13.5px; color: var(--text-faint); line-height: 1.6; }
.form__status { font-size: 15px; border-radius: var(--r-sm); padding: 13px 15px; display: none; }
.form__status[data-state='ok'] { display: block; background: rgba(34,197,94,.09); border: 1px solid rgba(34,197,94,.35); color: var(--text); }
.form__status[data-state='err'] { display: block; background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.32); color: var(--text); }
.form__status[data-state='busy'] { display: block; background: var(--chip-bg); color: var(--text-muted); }

/* ---------- contact split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
.contact-list a:first-child, .contact-list div:first-child { border-top: 1px solid var(--border); }
.contact-list .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.contact-list .v { font-weight: 500; }
.contact-list a:hover .v { color: var(--accent-text); }

/* ---------- misc ---------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }
.note { margin-top: 24px; padding: 15px 18px; border: 1px dashed var(--border-strong); border-radius: var(--r-sm); font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.center-404 { text-align: center; padding-block: clamp(70px, 13vw, 160px); }
.center-404 .code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--accent-text); }
.center-404 h1 { font-size: var(--t-h2); margin-top: 16px; }
.center-404 p { color: var(--text-muted); margin-top: 16px; }
.center-404 .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .feature, .split, .footer__grid { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .tile--wide, .tile--narrow { grid-column: span 3; }
  .visual__body { grid-template-columns: 1fr; }
  .lane { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .lane:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 60px;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #0a1c31; border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px var(--gutter) 16px;
  }
  .nav__links.open { display: flex; }
  .nav__links.open a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .nav__links.open a:last-child { border-bottom: 0; }
  .nav-toggle {
    display: grid; place-items: center; width: 38px; height: 38px;
    background: transparent; border: 1px solid rgba(255,255,255,.16); border-radius: 9px;
    color: #b3bcca; cursor: pointer;
  }
  .nav-toggle svg { width: 15px; height: 15px; }
  .nav__cta { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--narrow, .tile--third { grid-column: 1 / -1; }
  .tile--third h3 { min-height: 0; }
  .lane { padding: 26px 22px; }
  .steps { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 1fr; gap: 4px; }
  .footer__legal { flex-direction: column; }
  .hero__meta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
  .visual__bar .live { display: none; }
  .hero-band .hero { padding-block: clamp(64px, 8vw, 92px) clamp(104px, 15vw, 150px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  a.tile:hover { transform: none; }
}

/* ---------- print ---------- */
@media print {
  .nav-wrap, .footer, .darkband, .btn, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding-block: 20pt; page-break-inside: avoid; }
  a { text-decoration: underline; }
}

/* ---------- reading-size test switch (?read=large) ----------
   For reviewing type on real screens. Not a product feature. */
html.read-large {
  --t-body: 19px;
  --t-lede: clamp(21px, 1.8vw, 24px);
  --t-h3: clamp(23px, 2.2vw, 28px);
}
html.read-large .lane__m, html.read-large .lane__list li,
html.read-large .tile p, html.read-large .step p { font-size: 17px; }
html.read-large .panel-row, html.read-large .spec__row { font-size: 16.5px; }
html.read-large .tag, html.read-large .lane__k,
html.read-large .tile__k, html.read-large .panel-head { font-size: 13.5px; }
html.read-large .footer { font-size: 15px; }
html.read-large .footer ul a { font-size: 16px; }
