/* ==========================================================================
   OrbitIoT
   Light, photo-led, industrial. One accent (signal orange), used sparingly.
   ========================================================================== */

:root {
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --white: #ffffff;
  --ink: #14181d;
  --ink-2: #3b434d;
  --mute: #6b737d;
  --line: #d9d5cc;
  --line-strong: #bdb8ad;

  --night: #0f1318;
  --night-line: #262d36;
  --night-text: #e8eaed;
  --night-mute: #8d96a1;

  --accent: #e4572e;
  --accent-dark: #b9431f;
  --cell: #2f9e6e;
  --sat: #3a74d8;
  --radio: #c48a12;
  --alert: #e4572e;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 144px);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--night { background: var(--night); color: var(--night-text); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-size: clamp(21px, 1.9vw, 26px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.section--night .lead { color: var(--night-mute); }
.muted { color: var(--mute); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.head--row { max-width: none; }
@media (min-width: 900px) { .head--row { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: var(--radius); font-size: 16px; font-weight: 500; border: 1px solid var(--ink); background: var(--ink); color: #fff; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { background: #2a313a; border-color: #2a313a; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { background: transparent; border-color: var(--ink); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--on-dark:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: #fff; transition: background .3s, color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header--solid, .site-header.is-scrolled, .site-header.is-open { background: rgba(243,241,236,.95); color: var(--ink); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.logo svg { width: 32px; height: 32px; flex: none; }
.nav { display: none; gap: 4px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; font-size: 15.5px; opacity: .85; transition: opacity .2s; }
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; width: 290px; padding: 8px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -24px rgba(20,24,29,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 4px; font-size: 15px; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--paper); }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-header:not(.is-scrolled):not(.is-open):not(.site-header--solid) .btn { background: #fff; color: var(--ink); border-color: #fff; }
.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .i-close, .is-open .menu-toggle .i-menu { display: none; }
.is-open .menu-toggle .i-close { display: block; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--paper); padding: 16px var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav > a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 500; }
.mobile-nav__sub { display: grid; padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.mobile-nav__sub a { padding: 8px 0; color: var(--ink-2); }
.mobile-nav .btn { margin-top: 24px; justify-content: center; }
body.nav-locked { overflow: hidden; }
@media (min-width: 960px) { .nav { display: flex; } .menu-toggle, .mobile-nav { display: none; } }
@media (max-width: 959px) { .header-cta .btn { display: none; } }

/* ---------- Photo hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 64px) 0 clamp(48px, 7vw, 96px); }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
/* Two layers: a left-side shade behind the text, and top/bottom shade for the header and fold.
   Keeps white text readable on busy photos while the right of the image stays visible. */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,12,15,.82) 0%, rgba(10,12,15,.66) 38%, rgba(10,12,15,.2) 72%, rgba(10,12,15,.08) 100%),
  linear-gradient(180deg, rgba(10,12,15,.55) 0%, rgba(10,12,15,0) 30%, rgba(10,12,15,0) 60%, rgba(10,12,15,.6) 100%); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(10,12,15,.6) 0%, rgba(10,12,15,.55) 40%, rgba(10,12,15,.85) 100%); } }
.hero .container { display: grid; gap: 28px; justify-items: start; }
.hero .h1, .hero .lead, .crumbs { text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.hero .lead { color: rgba(255,255,255,.92); }
.hero--short { min-height: min(80svh, 760px); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.78); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-head { padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px); }
.page-head .container { display: grid; gap: 24px; }

/* ---------- Capability list with image (home) ---------- */
.caps { display: grid; gap: 48px; }
@media (min-width: 960px) { .caps { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.caps__list { border-top: 1px solid var(--line); }
.cap { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); position: relative; }
.cap__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cap__top svg { width: 20px; height: 20px; flex: none; color: var(--mute); transition: transform .25s var(--ease), color .2s; }
.cap:hover .cap__top svg { transform: translateX(4px); color: var(--accent); }
.cap h3 { transition: color .2s; }
.cap p { color: var(--mute); margin-top: 8px; max-width: 48ch; }
.cap__img { margin-top: 20px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); }
.cap__img img { width: 100%; height: 100%; object-fit: cover; }
.caps__media { display: none; }
@media (min-width: 960px) {
  .cap__img { display: none; }
  .cap { padding: 32px 0; }
  .cap::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
  .cap.is-active::before { width: 100%; }
  .cap.is-active h3, .cap:hover h3 { color: var(--accent-dark); }
  .caps__media { display: block; position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
  .caps__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); transform: scale(1.03); }
  .caps__media img.is-active { opacity: 1; transform: none; }
}

/* ---------- Chain (how it works) ---------- */
.chain { display: grid; gap: 0 40px; grid-template-columns: 1fr; position: relative; border-top: 1px solid var(--line-strong); }
@media (min-width: 700px) { .chain { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .chain { grid-template-columns: repeat(4, 1fr); } }
.chain::after { content: ""; position: absolute; top: -2px; left: 0; width: 12%; height: 3px; background: var(--accent); animation: travel 5s var(--ease) infinite; }
.chain__node { display: grid; gap: 10px; align-content: start; padding: 28px 0 32px; }
.chain__n { font-family: var(--mono); font-size: 13px; color: var(--accent-dark); }
.chain__node p { color: var(--mute); max-width: 32ch; }
@media (max-width: 699px) { .chain__node + .chain__node { border-top: 1px solid var(--line); } }
@keyframes travel { from { left: 0; } to { left: 88%; } }

/* ---------- Industry photo tiles ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile-img { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; color: #fff; isolation: isolate; background: var(--paper-2); }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,15,0) 45%, rgba(10,12,15,.78) 100%); transition: background .4s; }
.tile-img:hover img { transform: scale(1.04); }
.tile-img__body { position: absolute; left: 24px; right: 72px; bottom: 22px; display: grid; gap: 4px; }
.tile-img__name { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.tile-img__short { font-size: 15px; color: rgba(255,255,255,.82); }
.tile-img__go { position: absolute; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); transition: background .25s, border-color .25s; }
.tile-img__go svg { width: 18px; height: 18px; }
.tile-img:hover .tile-img__go { background: var(--accent); border-color: var(--accent); }
@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles--mosaic { grid-template-columns: repeat(12, 1fr); }
  .tiles--mosaic .tile-img { aspect-ratio: auto; height: clamp(320px, 34vw, 460px); grid-column: span 5; }
  .tiles--mosaic .tile-img:nth-child(4n + 1), .tiles--mosaic .tile-img:nth-child(4n + 4) { grid-column: span 7; }
}

/* ---------- Split feature ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; } .split--flip > :first-child { order: 2; } }
.split__copy { display: grid; gap: 20px; align-content: start; }
.split__img { aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split + .split { margin-top: clamp(72px, 10vw, 128px); }
.plain-list { display: grid; border-top: 1px solid var(--line); }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.section--night .plain-list, .section--night .plain-list li { border-color: var(--night-line); color: var(--night-text); }

/* rule illustration */
.rule-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 28px; }
.rule-card__row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.rule-card__row:last-child { border-bottom: 0; }
.rule-card__row span { font-family: var(--mono); font-size: 13px; color: var(--accent-dark); text-transform: uppercase; }

/* failover illustration */
.net-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.net-card__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--mute); margin-bottom: 14px; }
.net { display: grid; gap: 10px; }
.net__row { display: grid; grid-template-columns: 1fr 120px 96px; gap: 16px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-size: 15px; transition: border-color .4s, opacity .4s; }
.net__row.is-live { border-color: var(--accent); }
.net__row.is-down { opacity: .5; }
.net__meter { height: 4px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.net__meter i { display: block; height: 100%; background: var(--accent); transition: width .8s var(--ease); }
.net__state { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--mute); }
.net__row.is-live .net__state { color: var(--accent-dark); }
.net__log { margin-top: 14px; font-size: 14px; color: var(--ink-2); min-height: 2.8em; }
@media (max-width: 520px) { .net__row { grid-template-columns: 1fr 84px; } .net__meter { display: none; } }

/* architecture */
.arch { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(16px, 3vw, 40px); overflow-x: auto; }
.arch svg { min-width: 760px; width: 100%; height: auto; }
.arch .b { fill: var(--paper); stroke: var(--line-strong); }
.arch .b--core { fill: #fff4ef; stroke: var(--accent); }
.arch .t { font-family: var(--font); font-size: 15px; fill: var(--ink); }
.arch .t-s { font-family: var(--mono); font-size: 12px; fill: var(--mute); }
.arch .w { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.arch .w-a { stroke: var(--accent); stroke-width: 1.5; fill: none; stroke-dasharray: 4 8; animation: dash2 1.2s linear infinite; }
@keyframes dash2 { to { stroke-dashoffset: -12; } }

/* ---------- Platform overview ---------- */
.wide-img { aspect-ratio: 2 / 1; border-radius: var(--radius); overflow: hidden; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 100%; }
@media (max-width: 700px) { .wide-img { aspect-ratio: 4 / 3; } }
.detail { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) { .detail { grid-template-columns: 1fr 1fr; gap: 88px; } }
.detail__head { display: grid; gap: 16px; align-content: start; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: start; }
.pair-grid h3 { font-size: 15px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pair-grid p { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Industry page ---------- */
.problems { border-top: 1px solid var(--line); }
.problem { display: grid; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .problem { grid-template-columns: 1fr 1fr; gap: 64px; } }
.problem__from { color: var(--mute); font-size: 18px; }
.problem__to h3 { margin-bottom: 6px; }
.problem__to p { color: var(--ink-2); }
.cols-head { display: none; font-size: 14px; color: var(--mute); }
@media (min-width: 900px) { .cols-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 12px; } }

.timeline { border-left: 1px solid var(--line-strong); margin-left: 6px; max-width: 760px; }
.tl { position: relative; padding: 0 0 36px 32px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.tl--alert::before { background: var(--accent); border-color: var(--accent); }
.tl--ok::before { background: var(--cell); border-color: var(--cell); }
.tl h3 { margin-bottom: 4px; }
.tl p { color: var(--ink-2); max-width: 56ch; }

.inline-assets { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-assets span { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 260px 1fr; gap: 88px; align-items: start; } }
.faq-nav { display: none; }
@media (min-width: 960px) {
  .faq-nav { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
  .faq-nav ul { display: grid; border-left: 1px solid var(--line-strong); }
  .faq-nav a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--mute); transition: color .2s, border-color .2s; }
  .faq-nav a:hover, .faq-nav a.is-current { color: var(--ink); border-left-color: var(--accent); }
}
.faq-groups { display: grid; gap: clamp(48px, 6vw, 72px); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group__title { font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--mute); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 32px; gap: 12px; align-items: center; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__n { font-family: var(--mono); font-size: 13px; color: var(--accent-dark); }
.faq-item__q { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.35; transition: color .2s; }
.faq-item summary:hover .faq-item__q { color: var(--accent-dark); }
.faq-item__icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, border-color .2s, color .2s; }
.faq-item__icon svg { width: 15px; height: 15px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item p { padding: 0 44px 26px 56px; color: var(--ink-2); max-width: 68ch; }
@media (max-width: 600px) { .faq-item summary { grid-template-columns: 34px 1fr 32px; } .faq-item p { padding: 0 0 22px 46px; } }

/* ---------- Closing band ---------- */
.closing { display: grid; gap: 28px; }
@media (min-width: 900px) { .closing { grid-template-columns: 1.4fr 1fr; align-items: end; } .closing .btn-row { justify-content: flex-end; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; max-width: 720px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--white); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,24,29,.08); }
.field.has-error input, .field.has-error textarea { border-color: var(--accent); }
.field__error { font-size: 14px; color: var(--accent-dark); }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; color: var(--accent-dark); }
.form-status:empty { display: none; }
.form-done { display: none; max-width: 720px; padding: 32px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.form-wrap.is-sent .form { display: none; }
.form-wrap.is-sent .form-done { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-mute); padding: 64px 0 32px; font-size: 15px; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer .logo { color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 14px; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.not-found { min-height: 80svh; display: grid; align-content: center; padding-top: var(--header-h); }
.not-found .container { display: grid; gap: 24px; justify-items: start; }
.mt-48 { margin-top: 48px; }
