/* KG Ai ERP — site stylesheet.
   Tokens are the shipping product's own (src/shared/design-tokens.css).
   Layout concept: instrumentation. Photography and rendered interface carry the page;
   type is the frame around them. Depth from stacked luminance, hairlines over boxes,
   one orange accent spent only on the action, every numeral in mono. */

:root {
  color-scheme: dark;

  --bg:        #0b0f14;
  --bg-2:      #121821;
  --bg-3:      #1a2030;
  --flyout:    #222236;
  --fg:        #f8fafc;
  --fg-2:      #d1d5db;
  --muted:     #9ca3af;
  --faint:     #6b7280;
  --line:      rgba(255,255,255,.06);
  --line-2:    rgba(255,255,255,.10);
  --accent:    #ff6b35;
  --accent-2:  #e55a2b;
  --accent-sm: rgba(255,107,53,.10);
  --ok:        #22c55e;
  --warn:      #eab308;
  --danger:    #ef4444;
  --idle:      #6b7280;
  --ok-bg:     rgba(34,197,94,.10);
  --warn-bg:   rgba(234,179,8,.10);
  --danger-bg: rgba(239,68,68,.10);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  --col: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: rgba(11,15,20,.94);
}

h1, h2, h3, h4 {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -.024em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--col);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.band { padding-block: 104px; }
.band--sm { padding-block: 72px; }
.band--alt { background: var(--bg-2); }
.rule-t { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow--accent { color: var(--accent); }

.lede { color: var(--muted); font-size: 17px; max-width: 64ch; }
.head { max-width: 76ch; margin-bottom: 52px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.14; margin-bottom: 16px; }

/* Two-tone statement type — the lead sentence in white, the rest receding. */
.statement {
  font-size: clamp(23px, 2.9vw, 33px);
  line-height: 1.32;
  letter-spacing: -.022em;
  color: var(--muted);
  max-width: 28ch;
  text-wrap: balance;
}
.statement b { color: var(--fg); font-weight: 600; }
.statement--wide { max-width: 40ch; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(11,15,20,.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; padding-block: 14px; }

.brand {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-weight: 700; font-size: 17px; color: var(--fg);
  letter-spacing: -.02em; text-decoration: none; white-space: nowrap;
}
.brand b { color: var(--accent); }
.brand span { font-weight: 500; color: var(--fg-2); }
.brand img { display: block; width: auto; max-width: 100%; }
.site-head .brand img { height: 28px; }
.site-foot .brand img { height: 40px; }
@media (max-width: 420px) { .site-head .brand img { height: 24px; } }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  padding-block: 4px; border-bottom: 1px solid transparent;
  transition: color 150ms var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
.site-head .btn { margin-left: auto; }
@media (min-width: 981px) { .site-head .btn { margin-left: 0; } }

/* mobile navigation */
.nav-toggle { display: none; }
@media (max-width: 980px) {
  .site-head .wrap { flex-wrap: wrap; gap: 8px; }
  .brand { margin-right: auto; }
  .site-head .brand img { height: 22px; width: auto; }
  .site-head .btn { margin-left: 0; padding: 9px 13px; font-size: 13px; white-space: nowrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 38px; padding: 0; cursor: pointer; flex: none;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line-2); border-radius: 6px; color: var(--fg);
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav {
    display: none; order: 4; width: 100%; margin-left: 0;
    flex-direction: column; gap: 0;
    border-top: 1px solid var(--line); padding-block: 4px 8px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 14px; font-size: 15.5px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 10px 18px; border-radius: 6px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.btn--primary { background: var(--accent); color: #0c111b; font-weight: 600; box-shadow: 0 0 22px rgba(255,107,53,.16); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { color: var(--fg); border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn--ghost:hover { background: rgba(255,255,255,.07); }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- photographic hero ---------- */

.phero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.phero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .30; filter: saturate(.62) contrast(1.08);
}
.phero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,20,.72) 0%, rgba(11,15,20,.46) 38%, rgba(11,15,20,.97) 100%),
    radial-gradient(120% 80% at 78% 30%, rgba(255,107,53,.10), transparent 60%);
}
.phero .wrap { position: relative; z-index: 2; padding-block: 128px 112px; }
.phero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.038em;
  margin-bottom: 26px;
  max-width: 17ch;
}
.phero h1 em { font-style: normal; color: var(--accent); }
.phero .lede { font-size: 19px; color: var(--fg-2); max-width: 56ch; }
.phero .actions { margin-top: 38px; }
.phero-note {
  margin-top: 24px; font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: .02em;
}
@media (max-width: 760px) { .phero .wrap { padding-block: 88px 76px; } }

/* page hero (interior pages) */
.phead { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.phead .wrap { padding-block: 84px 72px; }
.phead h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.034em; margin-bottom: 20px; max-width: 20ch; }
.phead .lede { font-size: 18px; }

/* ---------- trust strip ---------- */

.strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.strip .wrap {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  padding-block: 20px; align-items: center;
}
.strip span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint);
}
.strip span b { color: var(--muted); font-weight: 400; }

/* ---------- rendered product interface ---------- */

.frame {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.frame-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.frame-bar .dot { width: 9px; height: 9px; border-radius: 9999px; background: var(--line-2); }
.frame-bar .path {
  font-family: var(--mono); font-size: 11.5px; color: var(--faint);
  letter-spacing: .04em; margin-left: 6px;
}
.frame-bar .tag {
  margin-left: auto; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--line-2);
  padding: 3px 8px; border-radius: 9999px;
}
.frame-body { display: grid; grid-template-columns: 186px 1fr; min-height: 300px; }
.frame-rail { border-right: 1px solid var(--line); padding: 16px 12px; background: var(--bg-2); min-width: 0; }
.frame-rail .grp {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); padding: 12px 10px 6px;
}
.frame-rail a, .frame-rail span.i {
  display: block; padding: 7px 10px; border-radius: 6px;
  font-size: 13px; color: var(--muted); text-decoration: none;
}
.frame-rail .i--on { background: var(--accent-sm); color: var(--accent); font-weight: 500; }
.frame-main { padding: 18px 20px 22px; min-width: 0; overflow-x: auto; }
@media (max-width: 720px) {
  .frame-body { grid-template-columns: 1fr; }
  .frame-rail { display: none; }
}

.ftitle { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ftitle h4 { font-size: 15px; }
.ftitle .sub { font-family: var(--mono); font-size: 11px; color: var(--faint); }

table.grid { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
table.grid th {
  text-align: left; font-family: var(--mono); font-weight: 400;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line);
}
table.grid td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--fg-2); }
table.grid tr:last-child td { border-bottom: 0; }
table.grid .num { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); }
table.grid .dim { color: var(--muted); }
table.grid tr.flag td { background: var(--danger-bg); }
table.grid tr.warnrow td { background: var(--warn-bg); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 9999px; white-space: nowrap;
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 9999px; background: currentColor; }
.pill--ok { color: var(--ok); background: var(--ok-bg); }
.pill--warn { color: var(--warn); background: var(--warn-bg); }
.pill--bad { color: var(--danger); background: var(--danger-bg); }
.pill--idle { color: var(--idle); background: rgba(107,114,128,.12); }

.callout {
  margin-top: 16px; padding: 12px 14px; border-radius: 8px;
  background: var(--danger-bg); border: 1px solid rgba(239,68,68,.22);
  font-size: 13px; color: var(--fg-2); display: flex; gap: 10px; align-items: flex-start;
}
.callout svg { flex: none; color: var(--danger); margin-top: 2px; }
.callout b { color: var(--fg); font-weight: 500; }

/* ---------- ledger (provenance) ---------- */

.ledger { border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); overflow: hidden; }
.ledger-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint);
}
.lrow {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px;
  padding: 13px 18px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.lrow:last-child { border-bottom: 0; }
.lrow .k { font-size: 14px; color: var(--fg-2); }
.lrow .v { font-family: var(--mono); font-size: 13.5px; color: var(--fg); font-variant-numeric: tabular-nums; }
.lrow .src {
  grid-column: 1 / -1; font-family: var(--mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
}
.src--measured { color: var(--ok); }
.src--read { color: var(--warn); }
.src--entered { color: var(--muted); }
.src--missing { color: var(--danger); }
.lrow--stop { background: var(--danger-bg); }
.lrow--stop .v { color: var(--danger); }

/* ---------- generic grids ---------- */

.cells {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.cells > * { background: var(--bg-2); padding: 26px 22px; min-width: 0; }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.cells--3 { grid-template-columns: repeat(3, 1fr); }
.cells--2 { grid-template-columns: repeat(2, 1fr); }
.cells h3 { font-size: 16px; margin-bottom: 7px; }
.cells p { font-size: 14px; color: var(--muted); line-height: 1.58; }
.cells .who { font-family: var(--mono); font-size: 11px; color: var(--faint); margin: -3px 0 12px; }
.cells .ico { color: var(--accent); display: block; margin-bottom: 15px; }
@media (max-width: 900px) { .cells--4 { grid-template-columns: repeat(2, 1fr); } .cells--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cells--4, .cells--3, .cells--2 { grid-template-columns: 1fr; } }

.pull {
  margin-top: 40px; padding-left: 22px; border-left: 2px solid var(--accent);
  font-size: 19px; color: var(--fg); max-width: 58ch; line-height: 1.5;
}

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--narrow { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 920px) { .split, .split--narrow { grid-template-columns: 1fr; gap: 44px; } }

/* feature rows */
.frow { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding-block: 72px; border-top: 1px solid var(--line); }
.frow:first-child { border-top: 0; }
.frow--flip > :first-child { order: 2; }
.frow h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; margin-bottom: 14px; }
.frow .edge { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.frow .edge b { color: var(--fg); font-weight: 500; }
@media (max-width: 920px) {
  .frow { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
  .frow--flip > :first-child { order: 0; }
}

/* photo blocks */
.photo { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }

figure.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); box-shadow: 0 16px 48px rgba(0,0,0,.45); }
figure.shot img { display: block; width: 100%; height: auto; }
figure.shot figcaption { padding: 13px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
figure.shot figcaption b { color: var(--fg-2); font-weight: 500; }

/* steps */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.flow > div { background: var(--bg-2); padding: 24px 20px; min-width: 0; }
.flow .n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .12em; margin-bottom: 12px; }
.flow h3 { font-size: 14.5px; margin-bottom: 6px; }
.flow p { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.rules > div { border-top: 2px solid var(--accent); padding-top: 20px; min-width: 0; }
.rules h3 { font-size: 17px; margin-bottom: 9px; }
.rules p { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { .rules { grid-template-columns: 1fr; gap: 28px; } }

.also { margin-top: 30px; font-size: 14px; color: var(--faint); line-height: 1.85; max-width: 92ch; }
.also strong { color: var(--muted); font-weight: 500; }

/* ---------- closing CTA ---------- */

.close { text-align: center; }
.close h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin-bottom: 18px; }
.close .lede { margin-inline: auto; }
.close .actions { justify-content: center; margin-top: 34px; }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line); padding-block: 48px 60px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 400; margin-bottom: 14px; }
.foot-grid a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; padding-block: 5px; }
.foot-grid a:hover { color: var(--fg); }
.foot-contact { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 16px; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); line-height: 1.75; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- workflow map ---------- */

.fm-rail {
  display: grid; grid-template-columns: repeat(6, 1fr);
  position: relative; gap: 4px;
}
.fm-rail::before {
  content: ""; position: absolute; left: 9%; right: 9%; top: 34px;
  height: 1px; background: var(--line-2);
}
.fm-node {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  background: none; border: 0; padding: 0 6px; cursor: pointer;
  font-family: var(--sans); text-align: center;
}
.fm-badge {
  width: 68px; height: 68px; border-radius: 9999px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--muted);
  transition: border-color 200ms var(--ease), background 200ms var(--ease),
              color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.fm-node:hover .fm-badge { border-color: var(--line-2); color: var(--fg-2); background: var(--bg-3); }
.fm-node[aria-selected="true"] .fm-badge {
  border-color: var(--accent); background: var(--accent-sm);
  color: var(--accent); box-shadow: 0 0 26px rgba(255,107,53,.18);
}
.fm-n {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  color: var(--faint); transition: color 200ms var(--ease);
}
.fm-node[aria-selected="true"] .fm-n { color: var(--accent); }
.fm-lbl { font-size: 13px; line-height: 1.35; color: var(--muted); transition: color 200ms var(--ease); }
.fm-node[aria-selected="true"] .fm-lbl { color: var(--fg); font-weight: 500; }
.fm-node:focus-visible { outline: none; }
.fm-node:focus-visible .fm-badge { outline: 2px solid var(--accent); outline-offset: 3px; }

.fm-loop { margin-top: 30px; border-top: 1px dashed rgba(255,107,53,.38); position: relative; height: 0; }
.fm-loop span {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  background: var(--bg); padding: 0 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); white-space: nowrap;
}
.band--alt .fm-loop span { background: var(--bg-2); }
.fm-loop::before {
  content: ""; position: absolute; left: 9%; top: -4px;
  width: 8px; height: 8px; border-left: 1px solid rgba(255,107,53,.6);
  border-bottom: 1px solid rgba(255,107,53,.6); transform: rotate(45deg);
}

.fm-panel {
  margin-top: 52px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--bg); padding: 30px 32px;
}
.fm-panel h3 { font-size: 21px; margin-bottom: 6px; }
.fm-panel .fm-sub { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-bottom: 26px; }
.fab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.fab > div { background: var(--bg); padding: 0 26px 0 0; min-width: 0; }
.fab > div + div { padding-left: 26px; }
.fab-k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.fab p + p { font-size: 14.5px; color: var(--fg-2); line-height: 1.62; }

@media (max-width: 900px) {
  .fm-rail { grid-template-columns: repeat(3, 1fr); gap: 26px 4px; }
  .fm-rail::before, .fm-loop { display: none; }
  .fab { grid-template-columns: 1fr; gap: 24px; background: none; }
  .fab > div, .fab > div + div { padding: 0; }
  .fab > div + div { border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 520px) {
  .fm-rail { grid-template-columns: repeat(2, 1fr); }
  .fm-panel { padding: 24px 20px; }
}

/* ---------- demo form ---------- */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 6px; padding: 11px 13px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 88px; }
/* iOS Safari zooms the whole page in when a focused field is under 16px. */
@media (max-width: 980px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--faint); }
.sent { border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); padding: 28px; }
.sent h3 { font-size: 19px; margin-bottom: 12px; }
.sent p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.sent .contact {
  font-family: var(--mono); font-size: 14px; color: var(--fg);
  background: var(--bg-3); border-radius: 8px; padding: 14px 16px;
  user-select: all; line-height: 1.9;
}
.draft-flag {
  margin-top: 18px; padding: 12px 14px; border-radius: 8px;
  background: var(--warn-bg); border: 1px solid rgba(234,179,8,.22);
  font-size: 13px; color: var(--fg-2);
}
.draft-flag b { color: var(--fg); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
