/* ============================================================
   Givata — Signal control room
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ---------- Tokens ---------- */
:root {
  --bg:         oklch(0.165 0.008 62);
  --bg-2:       oklch(0.145 0.008 62);
  --surface:    oklch(0.205 0.010 62);
  --surface-2:  oklch(0.255 0.012 62);
  --ink:        oklch(0.965 0.006 70);
  --muted:      oklch(0.755 0.014 72);
  --faint:      oklch(0.605 0.012 70);
  --accent:     oklch(0.80 0.155 68);
  --accent-hi:  oklch(0.86 0.145 72);
  --accent-ink: oklch(0.20 0.03 60);
  --cool:       oklch(0.72 0.10 225);
  --line:       oklch(1 0 0 / 0.10);
  --line-soft:  oklch(1 0 0 / 0.06);
  --glow:       oklch(0.80 0.155 68 / 0.35);

  --font-display: "Archivo", system-ui, -apple-system, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --shell: 1160px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);         /* ease-out-quint-ish */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --z-nav: 100;
  --z-menu: 200;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 500;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: var(--r-sm); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--accent);
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  background: var(--_bg); color: var(--accent-ink);
  padding: 0.7rem 1.15rem; border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--glow); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.92rem; }
.btn--lg { padding: 0.9rem 1.5rem; font-size: 1.04rem; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: oklch(1 0 0 / 0.04); border-color: oklch(1 0 0 / 0.22); box-shadow: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--glow); }
  70% { box-shadow: 0 0 0 9px oklch(0.80 0.155 68 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.80 0.155 68 / 0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: oklch(0.165 0.008 62 / 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.24rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.wordmark__icon {
  height: 1.55em; width: auto; border-radius: 7px; display: block;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.06);
}

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-size: 0.95rem; color: var(--muted); font-weight: 500;
  position: relative; transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav .btn--sm { flex-shrink: 0; }
.nav__menu { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__menu span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

/* nav dropdown (Projects) */
.nav__drop { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 0.32em; font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s var(--ease); }
.nav__drop-btn svg { transition: transform 0.25s var(--ease); }
.nav__drop:hover .nav__drop-btn, .nav__drop:focus-within .nav__drop-btn, .nav__drop-btn[aria-expanded="true"] { color: var(--ink); }
.nav__drop:hover .nav__drop-btn svg, .nav__drop:focus-within .nav__drop-btn svg, .nav__drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 272px; padding: 6px; z-index: var(--z-menu);
  background: oklch(0.205 0.01 62 / 0.97); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 46px -18px oklch(0 0 0 / 0.65), 0 4px 12px oklch(0 0 0 / 0.35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
/* opened via JS (mouse-enter with a forgiving close delay) or keyboard focus */
.nav__drop:focus-within .nav__panel, .nav__panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
/* transparent bridge across the button-to-panel gap so the pointer never hits a dead zone */
.nav__panel::before { content: ""; position: absolute; left: -12px; right: -12px; top: -18px; height: 18px; }
.nav__drop-btn { position: relative; padding-bottom: 6px; }
.nav__panel a { display: flex; align-items: center; gap: 0.7rem; padding: 0.62rem 0.7rem; border-radius: 10px; transition: background 0.2s var(--ease); }
.nav__panel a::after { display: none; }
.nav__panel a:hover { background: var(--surface-2); }
.nav__panel .proj-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: oklch(0.55 0.19 285 / 0.16); }
.nav__panel .proj-text { display: flex; flex-direction: column; gap: 1px; }
.nav__panel .proj-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.nav__panel .proj-desc { font-size: 0.8rem; color: var(--muted); }
.nav__panel .proj-soon { opacity: 0.55; cursor: default; }
.nav__panel .proj-soon:hover { background: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 92svh, 900px);
  display: flex; align-items: center;
  padding-block: clamp(3rem, 9vh, 7rem);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 15%, transparent 40%, var(--bg) 78%),
    linear-gradient(180deg, transparent 45%, var(--bg) 96%);
}
.hero__inner { position: relative; max-width: 43rem; }
.hero .eyebrow { margin-bottom: 1.4rem; }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.9rem, 1.6rem + 6.2vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.022em;
  text-wrap: balance; margin-bottom: 1.5rem;
}
.accent-word { color: var(--accent); position: relative; white-space: nowrap; }

.hero__lede {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.55; color: var(--muted); max-width: 40ch; margin-bottom: 2.2rem;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.3rem; }
.hero__proof { font-size: 0.95rem; color: var(--faint); }
.hero__proof .mono { color: var(--accent); font-weight: 500; }

/* ---------- Stack marquee ---------- */
.stack { padding-block: clamp(2.5rem, 6vh, 4rem); border-top: 1px solid var(--line-soft); }
.stack__label {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 1.6rem;
}
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  letter-spacing: -0.02em; color: var(--ink);
  animation: marquee 34s linear infinite;
}
.marquee__track .sep { color: var(--accent); font-family: var(--font-body); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Section frame ---------- */
.section { padding-block: clamp(4.5rem, 11vh, 8.5rem); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.8rem, 6vh, 4.5rem); }
.section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
}
.section__intro {
  margin-top: 1.2rem; color: var(--muted);
  font-size: clamp(1.02rem, 1rem + 0.3vw, 1.18rem); max-width: 54ch; text-wrap: pretty;
}

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line-soft); }
.svc { display: grid; gap: 0; }
.svc__item {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.6rem);
  align-items: start;
  padding-block: clamp(2rem, 4vh, 2.8rem);
  border-top: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.svc__item:last-child { border-bottom: 1px solid var(--line); }
.svc__item:hover { background: linear-gradient(90deg, oklch(0.80 0.155 68 / 0.04), transparent 60%); }

.svc__glyph {
  margin-top: 0.55rem; width: 16px; height: 16px; flex-shrink: 0;
  border: 1.5px solid var(--accent); border-radius: 4px;
  position: relative; transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  transform: rotate(45deg);
}
.svc__glyph::after {
  content: ""; position: absolute; inset: 3px; border-radius: 1px;
  background: var(--accent); opacity: 0; transition: opacity 0.4s var(--ease);
}
.svc__item:hover .svc__glyph { transform: rotate(45deg) scale(1.08); }
.svc__item:hover .svc__glyph::after { opacity: 1; }

.svc__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem);
  letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 0.7rem;
}
.svc__desc { color: var(--muted); max-width: 62ch; margin-bottom: 1.1rem; text-wrap: pretty; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc__tags li {
  font-size: 0.76rem; color: var(--muted);
  padding: 0.28rem 0.6rem; border: 1px solid var(--line);
  border-radius: 100px; background: var(--surface);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.svc__item:hover .svc__tags li { border-color: oklch(1 0 0 / 0.16); color: var(--ink); }

/* ---------- AI services grid ---------- */
.svc-more { margin-top: clamp(3rem, 6vh, 4.5rem); padding-top: clamp(2.5rem, 5vh, 3.5rem); border-top: 1px solid var(--line); }
.svc-more__head { max-width: 48rem; margin-bottom: clamp(1.8rem, 4vh, 2.6rem); }
.svc-more__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.05; }
.svc-more__intro { margin-top: 0.9rem; color: var(--muted); font-size: clamp(1rem, 1rem + 0.2vw, 1.12rem); text-wrap: pretty; }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.ai-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.ai-card:hover { border-color: oklch(0.80 0.155 68 / 0.4); transform: translateY(-3px); box-shadow: 0 16px 36px -18px oklch(0 0 0 / 0.5); }
.ai-card__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: oklch(0.80 0.155 68 / 0.13); color: var(--accent); margin-bottom: 1rem; }
.ai-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.ai-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.1rem; text-wrap: pretty; }
.ai-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ai-card__tags li { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); padding: 0.26rem 0.55rem; border: 1px solid var(--line); border-radius: 100px; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.ai-card:hover .ai-card__tags li { color: var(--ink); border-color: oklch(1 0 0 / 0.16); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem);
}
.step { position: relative; padding-top: 2.4rem; }
.step__rail { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); overflow: hidden; }
.step__rail::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(var(--fill, 0)); transform-origin: left;
  transition: transform 1s var(--ease); box-shadow: 0 0 10px var(--glow);
}
.step.is-in .step__rail::before { --fill: 1; }
.step__node {
  position: absolute; top: 50%; left: 0;
  transform: translate(-1px, -50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg-2);
}
.step__k { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.02em; margin-bottom: 0.7rem; }
.step__title {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.step__desc { color: var(--muted); font-size: 0.98rem; text-wrap: pretty; }

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line-soft); }
.about__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__lead .eyebrow { margin-bottom: 1.3rem; }
.about__lead .section__title { font-size: clamp(2rem, 1.5rem + 2.3vw, 3.2rem); }
.about__body p { color: var(--muted); margin-bottom: 1.15rem; max-width: 60ch; text-wrap: pretty; }
.about__body p:first-child {
  color: var(--ink); font-size: clamp(1.08rem, 1rem + 0.4vw, 1.24rem);
}
.about__body em { color: var(--accent); font-style: italic; }
.about__facts {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: grid; gap: 0.9rem;
}
.about__facts li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
  font-size: 0.86rem; color: var(--ink); align-items: baseline;
}
.about__facts span { color: var(--faint); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; }

/* ---------- CTA ---------- */
.cta { border-top: 1px solid var(--line-soft); }
.cta__panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 85% 10%, oklch(0.80 0.155 68 / 0.14), transparent 55%),
    var(--surface);
  padding: clamp(2.5rem, 6vw, 5.5rem);
}
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.6; }
.cta__content { position: relative; max-width: 40rem; }
.cta__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
  line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; margin-bottom: 1.2rem;
}
.cta__lede { color: var(--muted); font-size: clamp(1.02rem, 1rem + 0.3vw, 1.18rem); margin-bottom: 2rem; max-width: 50ch; text-wrap: pretty; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3rem; }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem;
}
.footer .wordmark { font-size: 1.15rem; }
.footer__tag { font-size: 0.8rem; color: var(--faint); }
.footer__links { display: flex; gap: 1.5rem; margin-left: auto; }
.footer__links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__legal { flex-basis: 100%; color: var(--faint); font-size: 0.82rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }

/* ---------- Subpage header ---------- */
.subhead { padding-block: clamp(3rem, 8vh, 5.5rem) clamp(1.5rem, 3vh, 2.5rem); border-bottom: 1px solid var(--line-soft); }
.subhead__k { color: var(--accent); margin-bottom: 1rem; font-size: 0.82rem; letter-spacing: 0.04em; }
.subhead h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.02;
  text-wrap: balance;
}
.subhead p { margin-top: 1rem; color: var(--muted); max-width: 60ch; }

/* ---------- Logo / brand page ---------- */
.brand { padding-block: clamp(2.5rem, 6vh, 4.5rem); }
.brand__stage {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin-bottom: 3rem;
}
.brand__cell {
  display: grid; place-items: center; gap: 1rem;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface);
  text-align: center;
}
.brand__cell--light { background: oklch(0.96 0.006 80); }
.brand__cell--tile { background: repeating-conic-gradient(oklch(0.24 0.008 62) 0% 25%, oklch(0.2 0.008 62) 0% 50%) 50% / 22px 22px; }
.brand__cell img { width: 108px; height: 108px; }
.brand__cell .cap { font-family: var(--font-mono); font-size: 0.76rem; color: var(--faint); letter-spacing: 0.03em; }
.brand__lockup { display: inline-flex; align-items: center; gap: 0.85rem; }
.brand__lockup img { width: 56px; height: 56px; }
.brand__lockup span { font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: -0.025em; }

.downloads { border-top: 1px solid var(--line); padding-top: 2.5rem; }
.downloads h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.downloads p { color: var(--muted); margin-bottom: 1.6rem; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.9rem; }
.dl {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface);
  text-align: left; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.dl:hover { border-color: oklch(0.80 0.155 68 / 0.5); transform: translateY(-2px); background: var(--surface-2); }
.dl__name { font-weight: 600; font-size: 0.98rem; }
.dl__meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); margin-top: 0.15rem; }
.dl__ic { color: var(--accent); flex-shrink: 0; }

/* ---------- Legal ---------- */
.legal { padding-block: clamp(2.5rem, 6vh, 4rem) clamp(4rem, 9vh, 6rem); }
.legal__wrap { max-width: 46rem; }
.legal__meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.legal h2 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem);
  letter-spacing: -0.02em; margin-top: 2.6rem; margin-bottom: 0.9rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); margin-bottom: 1rem; max-width: 70ch; text-wrap: pretty; }
.legal ul { display: grid; gap: 0.5rem; margin: 0 0 1.4rem; padding-left: 1.1rem; list-style: disc; }
.legal li { margin-bottom: 0.3rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .note { font-size: 0.85rem; color: var(--faint); border-top: 1px solid var(--line-soft); padding-top: 1.5rem; margin-top: 2.5rem; }

/* ---------- Reveal ----------
   Content is visible by default. Only when JS is active (.js on <html>)
   do we hide-then-reveal, so a no-JS or headless render never ships blank. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .about__grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav .btn--sm { display: none; }
  .nav__menu { display: flex; }
  .nav__links.is-open {
    display: flex; position: fixed; inset: 68px 0 auto 0; z-index: var(--z-menu);
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 0.5rem var(--pad) 1.5rem;
  }
  .nav__links.is-open > a { padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav__links.is-open .nav__drop { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__links.is-open .nav__drop-btn { width: 100%; justify-content: space-between; padding: 0.9rem 0; font-size: 1.05rem; }
  .nav__links.is-open .nav__panel { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; min-width: 0; background: none; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 0 0.7rem; }
  .svc__item { grid-template-columns: 1fr; gap: 0.8rem; }
  .svc__glyph { margin-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .about__facts li { grid-template-columns: 1fr; gap: 0.15rem; }
  .footer__links { margin-left: 0; flex-basis: 100%; flex-wrap: wrap; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .eyebrow__pulse { animation: none; }
  .step .step__rail::before { --fill: 1; transition: none; }
}
