/* Taimark Assurance — cargo & freight insurance
   dark "control-tower" build, its own design language end to end.
   slate + cyan + amber. Space Grotesk / Inter / Space Mono. */

:root {
  --bg:        #0e1320;
  --surface:   #161d2e;
  --surface-2: #1e2840;
  --line:      #2a3650;
  --line-soft: #222d44;
  --fg:        #e8edf6;
  --muted:     #93a1bd;
  --muted-dim: #6b7794;

  --cyan:      #38bdf8;
  --cyan-dim:  #0e9fe0;
  --cyan-deep: #0b7fb8;
  --amber:     #f5b53d;
  --amber-dim: #d9991f;
  --ok:        #46c79a;

  --glow: 0 0 0 1px rgba(56,189,248,.35), 0 10px 40px rgba(56,189,248,.14);
  --sh:   0 16px 40px rgba(0,0,0,.45);
  --sh-sm:0 4px 14px rgba(0,0,0,.35);

  --ff-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ff-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1200px;
  --head-h: 70px;
  --r: 14px;
  --r-sm: 10px;
  --r-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(54px, 7vw, 92px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: #04121c; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 16px; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--fg); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); }
.kicker { font-family: var(--ff-mono); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: "//"; color: var(--muted-dim); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 0.95rem; padding: 13px 24px; border-radius: var(--r-sm); border: 1px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .2s ease, transform .18s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-cyan { background: var(--cyan); color: #04121c; }
.btn-cyan:hover { background: #5cc9fa; transform: translateY(-2px); box-shadow: 0 8px 26px rgba(56,189,248,.3); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-amber { background: var(--amber); color: #1e1404; }
.btn-amber:hover { background: #f7c45f; transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
:where(a,button,input,textarea,select):focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ===== Header — single dark bar, glass ===== */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(14,19,32,.82); backdrop-filter: blur(12px) saturate(140%); border-bottom: 1px solid var(--line-soft); }
.head-row { display: flex; align-items: center; gap: 22px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--ff-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.01em; color: var(--fg); }
.brand-name b { color: var(--cyan); font-weight: 600; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a { padding: 9px 14px; border-radius: 8px; font-size: 0.94rem; color: var(--muted); font-weight: 500; transition: color .15s ease, background-color .15s ease; }
.nav a:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.nav a.on { color: var(--cyan); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); transition: transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1){ top: 16px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ bottom: 16px; }
body.nav-open .burger span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2){ opacity: 0; }
body.nav-open .burger span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 920px){
  .nav { display: none; }
  .head-cta .btn-quote { display: none; }
  .burger { display: block; }
}
/* mobile menu — full overlay, fades + drops down (not a side slide) */
.m-nav { position: fixed; inset: var(--head-h) 0 0; z-index: 95; background: var(--bg); padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .24s ease, transform .24s ease, visibility .24s ease; }
body.nav-open .m-nav { opacity: 1; visibility: visible; transform: none; }
.m-nav a:not(.btn) { padding: 16px 6px; font-size: 1.18rem; font-family: var(--ff-display); border-bottom: 1px solid var(--line-soft); color: var(--fg); }
.m-nav a.on { color: var(--cyan); }
.m-nav > a.btn { margin-top: 20px; width: 100%; }

/* ===== Hero — dark deck over aerial port ===== */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,19,32,.72), rgba(14,19,32,.92) 70%, var(--bg)); }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 78% 6%, rgba(56,189,248,.16), transparent 70%); z-index: 1; }
.hero .container { position: relative; z-index: 2; padding-block: clamp(54px, 8vw, 104px); display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(34px, 5vw, 66px); align-items: center; }
@media (max-width: 940px){ .hero .container { grid-template-columns: 1fr; } }
.hero h1 { margin: 18px 0 0; }
.hero h1 b { color: var(--cyan); font-weight: 600; }
.hero .lead { margin-top: 20px; max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-ribbon { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.hero-ribbon .r b { font-family: var(--ff-mono); font-size: 1.3rem; color: var(--fg); display: block; }
.hero-ribbon .r span { font-size: 0.8rem; color: var(--muted); }

/* shipment console card */
.console { background: linear-gradient(180deg, var(--surface), #131a2a); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.console-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,.02); }
.console-top span { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.console-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(70,199,154,.15); }
.console-body { padding: 22px 20px; }
.route { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; }
.route .node { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--cyan); background: var(--bg); }
.route .node.end { background: var(--amber); border-color: var(--amber); }
.route .seg { height: 2px; background: linear-gradient(90deg, var(--cyan), var(--cyan-deep)); border-radius: 2px; position: relative; }
.route-labels { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--ff-mono); font-size: 0.72rem; color: var(--muted); }
.console-rows { margin-top: 20px; display: grid; gap: 12px; }
.console-rows .cr { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; padding-bottom: 12px; border-bottom: 1px dashed var(--line-soft); }
.console-rows .cr:last-child { border-bottom: 0; padding-bottom: 0; }
.console-rows .cr span { color: var(--muted); }
.console-rows .cr b { font-family: var(--ff-mono); color: var(--fg); }
.console-rows .cr .tag-ok { color: var(--ok); font-family: var(--ff-body); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.console-rows .cr .tag-ok svg { width: 16px; height: 16px; }

/* ===== Carrier strip ===== */
.carrier-strip { border-block: 1px solid var(--line-soft); background: rgba(255,255,255,.015); }
.carrier-strip .container { display: flex; align-items: center; gap: 26px; padding-block: 22px; }
.carrier-strip .lab { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dim); flex: none; max-width: 11ch; }
.carrier-track { display: flex; align-items: center; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.carrier-track::-webkit-scrollbar { display: none; }
.carrier-track img { height: 22px; width: auto; opacity: 0.55; filter: brightness(0) invert(1); flex: none; transition: opacity .2s ease; }
.carrier-track img:hover { opacity: 0.95; }

/* ===== Coverage bento ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 16px; margin-top: 36px; }
@media (max-width: 900px){ .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .bento { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; position: relative; overflow: hidden; }
.tile:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.5); box-shadow: var(--sh-sm); }
.tile .t-ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(56,189,248,.12); color: var(--cyan); display: grid; place-items: center; margin-bottom: 16px; }
.tile .t-ic svg { width: 23px; height: 23px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 0.93rem; }
.tile--feature { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; color: #fff; }
.tile--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; z-index: 0; }
.tile--feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(13,18,30,.85)); z-index: 1; }
.tile--feature > * { position: relative; z-index: 2; }
.tile--feature h3 { font-size: 1.5rem; }
.tile--feature .t-ic { background: rgba(56,189,248,.2); }
@media (max-width: 540px){ .tile--feature { grid-column: span 1; grid-row: span 1; } }

/* ===== Calculator (gauge console) ===== */
.calc { background: linear-gradient(180deg, var(--bg), #0c1019); }
.calc-head { max-width: 600px; }
.calc-head h2 { margin-top: 12px; }
.calc-head p { color: var(--muted); margin-top: 12px; }
.calc-shell { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 880px){ .calc-shell { grid-template-columns: 1fr; } }
.calc-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.calc-field { margin-bottom: 24px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; font-size: 0.9rem; color: var(--muted); }
.calc-field .out { font-family: var(--ff-mono); font-size: 1.1rem; color: var(--cyan); }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; margin-top: 16px; background: linear-gradient(var(--cyan), var(--cyan)) 0/var(--fill,50%) 100% no-repeat, var(--line); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--cyan); cursor: pointer; }
.rng::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--cyan); border: 3px solid var(--bg); cursor: pointer; }
.rng-ends { display: flex; justify-content: space-between; font-family: var(--ff-mono); font-size: 0.72rem; color: var(--muted-dim); margin-top: 8px; }
.carrier-seg { display: flex; gap: 8px; margin-top: 14px; }
.carrier-seg button { flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font-weight: 600; font-size: 0.86rem; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.carrier-seg button.on { border-color: var(--cyan); color: var(--cyan); background: rgba(56,189,248,.1); }
.calc-readout { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.gauge { width: 188px; height: 188px; border-radius: 50%; background: conic-gradient(var(--cyan) calc(var(--pct,0) * 1%), var(--surface-2) 0); display: grid; place-items: center; position: relative; }
.gauge::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--surface); }
.gauge .g-val { position: relative; font-family: var(--ff-mono); font-size: 2.4rem; font-weight: 700; color: var(--cyan); line-height: 1; }
.gauge .g-lab { position: relative; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.calc-cmp { display: flex; gap: 26px; margin-top: 22px; }
.calc-cmp .c { text-align: center; }
.calc-cmp .c b { font-family: var(--ff-mono); font-size: 1.1rem; display: block; }
.calc-cmp .c.carrier b { color: var(--muted); }
.calc-cmp .c.house b { color: var(--cyan); }
.calc-cmp .c span { font-size: 0.74rem; color: var(--muted-dim); }
.calc-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; width: 100%; }
.calc-mini .m { background: var(--surface-2); border-radius: 10px; padding: 14px; text-align: center; }
.calc-mini .m b { font-family: var(--ff-mono); font-size: 1.15rem; color: var(--amber); display: block; }
.calc-mini .m span { font-size: 0.72rem; color: var(--muted); }
.calc-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.calc-note { font-size: 0.78rem; color: var(--muted-dim); flex: 1; min-width: 240px; }

/* ===== Stat grid ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
@media (max-width: 700px){ .stats { grid-template-columns: 1fr 1fr; } }
.stats .s { background: var(--surface); padding: 30px 24px; }
.stats .s b { font-family: var(--ff-mono); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--cyan); display: block; line-height: 1; }
.stats .s span { color: var(--muted); font-size: 0.88rem; margin-top: 10px; display: block; }

/* ===== Claims pipeline (tracking bar) ===== */
.pipeline { margin-top: 40px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pipeline::before { content: ""; position: absolute; top: 13px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--cyan-deep)); z-index: 0; }
@media (max-width: 760px){ .pipeline { grid-template-columns: 1fr; gap: 26px; } .pipeline::before { display: none; } }
.pl-step { position: relative; z-index: 1; text-align: center; }
.pl-step .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); display: grid; place-items: center; margin: 0 auto 16px; font-family: var(--ff-mono); font-size: 0.8rem; color: var(--cyan); }
.pl-step:last-child .dot { background: var(--amber); border-color: var(--amber); color: #1e1404; }
.pl-step h3 { font-size: 1.1rem; margin-bottom: 7px; }
.pl-step p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px){ .pl-step { text-align: left; display: grid; grid-template-columns: 28px 1fr; gap: 14px; } .pl-step .dot { margin: 0; } }

/* ===== Comparison table ===== */
.vs-wrap { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vs { width: 100%; border-collapse: collapse; }
.vs th, .vs td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.vs thead th { font-family: var(--ff-display); font-size: 1rem; background: var(--surface); }
.vs thead th.taimark { color: var(--cyan); }
.vs tbody th { text-align: left; font-weight: 500; color: var(--fg); background: rgba(255,255,255,.015); }
.vs td { color: var(--muted); }
.vs td.yes { color: var(--cyan); }
.vs td.yes svg, .vs td.no svg { width: 18px; height: 18px; display: inline-block; }
.vs td.no { color: var(--muted-dim); }
.vs col.col-taimark, .vs .taimark-cell { background: rgba(56,189,248,.06); }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; }

/* ===== Industries tiles ===== */
.ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 760px){ .ind { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .ind { grid-template-columns: 1fr; } }
.ind-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; gap: 14px; align-items: flex-start; transition: border-color .18s ease; }
.ind-tile:hover { border-color: rgba(56,189,248,.5); }
.ind-tile .i { width: 40px; height: 40px; border-radius: 10px; background: rgba(245,181,61,.12); color: var(--amber); display: grid; place-items: center; flex: none; }
.ind-tile .i svg { width: 21px; height: 21px; }
.ind-tile h3 { font-size: 1.05rem; margin-bottom: 5px; }
.ind-tile p { color: var(--muted); font-size: 0.88rem; }

/* ===== Big pull-quote ===== */
.pull { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(34px, 5vw, 64px); position: relative; overflow: hidden; }
.pull::before { content: "\201C"; position: absolute; top: -10px; left: 26px; font-family: var(--ff-display); font-size: 9rem; color: rgba(245,181,61,.18); line-height: 1; }
.pull blockquote { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.32; max-width: 22ch; position: relative; }
.pull blockquote { max-width: 30ch; }
.pull .by { display: flex; align-items: center; gap: 13px; margin-top: 26px; }
.pull .by .av { width: 46px; height: 46px; border-radius: 11px; background: rgba(56,189,248,.14); color: var(--cyan); display: grid; place-items: center; font-family: var(--ff-mono); font-weight: 700; }
.pull .by b { display: block; }
.pull .by span { font-size: 0.86rem; color: var(--muted); }
.pull .trust { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-family: var(--ff-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; }
.pull .trust b { color: var(--cyan); }

/* ===== Careers ===== */
.careers-cta { background: linear-gradient(120deg, var(--surface), #131a2a); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
@media (max-width: 820px){ .careers-cta { grid-template-columns: 1fr; } }
.careers-cta .cc-copy { padding: clamp(28px, 4vw, 52px); }
.careers-cta .badge { display: inline-block; font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(245,181,61,.4); padding: 5px 12px; border-radius: 999px; }
.careers-cta h2 { margin: 16px 0 12px; }
.careers-cta .remote { color: var(--cyan); }
.careers-cta p { color: var(--muted); margin-bottom: 22px; }
.careers-cta .cc-media { position: relative; min-height: 240px; }
.careers-cta .cc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.careers-cta .cc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface), transparent 40%); }

.careers-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 52px); align-items: start; margin-top: 38px; }
@media (max-width: 880px){ .careers-layout { grid-template-columns: 1fr; } }
.careers-list { display: grid; gap: 10px; margin: 14px 0 26px; }
.careers-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--fg); }
.careers-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); margin-top: 9px; flex: none; }
.careers-details h3 { margin: 22px 0 10px; }
.careers-details img { border-radius: var(--r); margin-top: 22px; width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ===== Forms ===== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.form-field { margin-bottom: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px){ .form-2 { grid-template-columns: 1fr; } }
.form-card label { display: block; font-weight: 500; font-size: 0.86rem; margin-bottom: 6px; color: var(--muted); }
.form-card input, .form-card select, .form-card textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--fg); }
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--muted-dim); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }
.form-card textarea { min-height: 120px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.78rem; color: var(--muted-dim); margin-top: 10px; }
.bad input, .bad select, .bad textarea { border-color: #e0584a !important; } /* invalid state beats focus ring */
.form-ok { background: rgba(70,199,154,.1); border: 1px solid rgba(70,199,154,.4); border-radius: var(--r); padding: 22px 24px; margin-top: 16px; }
.form-ok[hidden] { display: none; }
.form-ok h4 { font-size: 1.15rem; }
.form-ok p { color: var(--muted); margin-top: 6px; }

/* ===== Page hero (interior) ===== */
.page-hero { border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 80% -10%, rgba(56,189,248,.14), transparent 70%); }
.page-hero .container { position: relative; padding-block: clamp(44px, 6vw, 76px); }
.crumbs { font-family: var(--ff-mono); font-size: 0.76rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { color: var(--muted-dim); margin: 0 7px; }
.page-hero h1 b { color: var(--cyan); font-weight: 600; }
.page-hero .lead { margin-top: 14px; max-width: 62ch; }

/* generic split + cards for inner pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split--rev .split-media { order: -1; }
@media (max-width: 820px){ .split, .split--rev { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } }
.split-media img { width: 100%; border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 12px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px){ .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .cards-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card .ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(56,189,248,.12); color: var(--cyan); display: grid; place-items: center; margin-bottom: 15px; }
.card .ic svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: var(--r-sm); padding: 18px 22px; margin-top: 28px; }
.callout p { margin: 0; color: var(--muted); }
.callout b { color: var(--fg); }

/* ===== Prose ===== */
.prose { max-width: 760px; margin-inline: auto; }
.prose .updated { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--muted-dim); margin-bottom: 28px; }
.prose h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.prose p { margin-bottom: 13px; color: var(--fg); }
.prose ul { list-style: none; padding-left: 0; margin-bottom: 15px; display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.prose code { font-family: var(--ff-mono); font-size: 0.85em; background: var(--surface); padding: 2px 6px; border-radius: 5px; color: var(--amber); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.9rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--surface); }

/* ===== CTA deck (pre-footer) ===== */
.cta-deck { position: relative; }
.cta-deck .box { background: linear-gradient(120deg, #131c30, #101626); border: 1px solid rgba(56,189,248,.3); border-radius: var(--r-lg); padding: clamp(34px, 5vw, 60px); text-align: center; box-shadow: var(--glow); }
.cta-deck h2 { max-width: 20ch; margin: 0 auto; }
.cta-deck p { color: var(--muted); margin: 14px auto 26px; max-width: 52ch; }

/* ===== Footer ===== */
.site-foot { border-top: 1px solid var(--line-soft); background: #0b0f18; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 36px; padding-block: 54px 32px; }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand { margin-bottom: 13px; }
.foot-tag { font-size: 0.9rem; color: var(--muted); max-width: 32ch; }
.foot-col h4 { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { font-size: 0.92rem; color: var(--muted); }
.foot-col a:hover { color: var(--cyan); }
.foot-contact { font-size: 0.92rem; color: var(--muted); line-height: 1.9; }
.foot-contact a:hover { color: var(--cyan); }
.foot-bottom { border-top: 1px solid var(--line-soft); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 0.82rem; color: var(--muted-dim); }
.foot-bottom nav { display: flex; gap: 20px; }
.foot-bottom a:hover { color: var(--cyan); }

/* ===== Cookie — slim dark bottom bar ===== */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: rgba(13,18,30,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.cookie.show { transform: translateY(0); }
.cookie .container { display: flex; align-items: center; gap: 16px 24px; padding-block: 14px; flex-wrap: wrap; }
.cookie p { font-size: 0.84rem; color: var(--muted); flex: 1; min-width: 230px; }
.cookie a { color: var(--cyan); text-decoration: underline; }
.cookie .acts { display: flex; gap: 10px; }
.cookie .btn { padding: 9px 18px; font-size: 0.84rem; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 70px; }
.nf .code { font-family: var(--ff-mono); font-weight: 700; font-size: clamp(4.5rem, 15vw, 9rem); color: var(--cyan); line-height: 0.9; letter-spacing: -0.04em; }
.nf .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 22px; margin: 26px auto 0; max-width: 360px; display: flex; gap: 14px; align-items: center; text-align: left; }
.nf .card svg { width: 28px; height: 28px; color: var(--amber); flex: none; }
.nf .card b { display: block; } .nf .card span { font-size: 0.84rem; color: var(--muted); }

.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}
