/* ==========================================================================
   Black Arc Cyber Security
   Layout concept: calm dark slate panels with one signature element, the cyan
   arc. Rounded type throughout; monospace only where it carries real data
   (code and timestamps). Edit colors, type and spacing here and every page follows.
   ========================================================================== */
:root {
  color-scheme: dark;

  /* Color */
  --void: #0D1218;          /* page background */
  --deep: #111820;          /* alternate band */
  --panel: #161F29;         /* panels and cards */
  --panel-hi: #1C2733;      /* raised panel, hover */
  --line: #24313E;          /* hairlines */
  --line-hi: #344555;       /* stronger borders */
  --text: #E8EEF2;
  --muted: #A0AEBB;
  --faint: #7A8A97;
  --arc: #3CCFE3;           /* brand cyan */
  --arc-deep: #1497AA;
  --arc-soft: rgba(60, 207, 227, .12);
  --arc-line: rgba(60, 207, 227, .28);
  --on-arc: #04181C;        /* text on cyan */

  /* Status colors (semantic, separate from brand) */
  --threat: #FF6B7D;
  --warn: #FFB952;
  --contained: #4FD69C;

  /* Product accents */
  --desk: #7B96FF;
  --auto: #FF8C66;
  --fetch: #B898FF;
  --power: #F5CF4A;

  /* Example client site on the Websites page */
  --mock-bg: #F7F1E8;
  --mock-ink: #2A2019;
  --mock-muted: #6E5D50;
  --mock-accent: #C0643A;
  --mock-soft: #EADFCF;
  --mock-line: #DCCFBE;

  /* Type */
  --font-display: "Quicksand", "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --t-xs: .8rem;
  --t-sm: .92rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.55rem;
  --t-2xl: clamp(1.9rem, 3.6vw, 2.6rem);
  --t-3xl: clamp(2.35rem, 5.2vw, 3.75rem);

  /* Shape and space */
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(3.5rem, 8vw, 6rem);
  --header-h: 4.5rem;
  --shadow: 0 18px 48px rgba(0, 0, 0, .32);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px);
  background: var(--void);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p { margin: 0; }
a { color: var(--arc); text-underline-offset: .2em; }
img, svg, canvas { max-width: 100%; }
::selection { background: var(--arc); color: var(--on-arc); }

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

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--arc); color: var(--on-arc); padding: .6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }

/* Labels and small type */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; color: var(--arc);
}
.lead { font-size: var(--t-lg); color: var(--muted); max-width: 58ch; line-height: 1.6; }
.muted { color: var(--muted); }
.note { font-size: var(--t-sm); color: var(--faint); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-arc { background: var(--arc); color: var(--on-arc); }
.btn-arc:hover { background: #5AD8E9; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-hi); }
.btn-ghost:hover { border-color: var(--arc); color: var(--arc); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 700; color: var(--arc); text-decoration: none;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .18s ease; }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 18, 24, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.brand img { width: 38px; height: 42px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .14em; }
.brand-name small { font-family: var(--font-body); font-weight: 700; font-size: .62rem; letter-spacing: .24em; color: var(--muted); margin-top: .34rem; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > a, .nav-toggle {
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--muted);
  text-decoration: none; padding: .55rem .85rem; border-radius: 999px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: color .15s ease, background-color .15s ease;
}
.nav > a:hover, .nav-toggle:hover, .nav > a[aria-current="page"], .nav-group.is-current > .nav-toggle { color: var(--text); background: var(--panel-hi); }
.nav-toggle svg { width: .8em; height: .8em; transition: transform .15s ease; }
.nav-group { position: relative; }
.nav-group[data-open="true"] .nav-toggle svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + .6rem); left: 50%; transform: translateX(-50%);
  width: 22rem; padding: .5rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-hi);
  box-shadow: var(--shadow);
  display: none;
}
.nav-group[data-open="true"] .nav-menu { display: grid; gap: .15rem; }
@media (hover: hover) and (min-width: 1001px) {
  .nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { display: grid; gap: .15rem; }
  .nav-group:hover .nav-toggle svg { transform: rotate(180deg); }
  .nav-menu::before { content: ""; position: absolute; inset: -.8rem 0 auto; height: .8rem; }
}
.nav-menu a {
  display: grid; grid-template-columns: auto 1fr; gap: .1rem .75rem; align-items: center;
  padding: .7rem .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--panel-hi); }
.nav-menu .dot { grid-row: span 2; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c, var(--arc)); }
.nav-menu b { font-family: var(--font-display); font-size: 1rem; }
.nav-menu span:last-child { font-size: var(--t-sm); color: var(--muted); line-height: 1.35; }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-cta .btn { min-height: 2.6rem; padding: .5rem 1.2rem; font-size: .95rem; }
.menu-btn {
  display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line-hi); background: var(--panel); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 1.25rem; height: 1.25rem; }

@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .15rem;
    padding: .75rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.25rem max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--void); border-bottom: 1px solid var(--line);
    display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-header[data-menu="open"] .nav { display: flex; }
  .nav > a, .nav-toggle { font-size: 1.1rem; padding: .8rem .9rem; justify-content: space-between; width: 100%; border-radius: var(--radius-sm); }
  .nav-menu { position: static; transform: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 .25rem .5rem; display: grid; gap: .1rem; }
  .nav-toggle svg { display: none; }
  .nav > a.btn-arc { margin-top: .75rem; justify-content: center; border-radius: 999px; background: var(--arc); color: var(--on-arc); }
  .nav > a.btn-arc:hover { background: var(--arc); color: var(--on-arc); }
}
@media (min-width: 1001px) { .nav .btn { display: none; } }

/* --------------------------------------------------------------------------
   Sections and shared blocks
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section.alt { background: var(--deep); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; }
.section-head.split > :first-child { display: grid; gap: .9rem; max-width: 46rem; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: 1fr; } }
.section-head p { color: var(--muted); font-size: var(--t-lg); max-width: 60ch; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

.icon {
  width: 2.75rem; height: 2.75rem; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--arc-soft); color: var(--arc); border: 1px solid var(--arc-line);
}
.icon svg { width: 1.35rem; height: 1.35rem; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .65rem; align-items: start; color: var(--text); }
.checks li::before {
  content: ""; width: 1.05rem; height: 1.05rem; margin-top: .3rem; border-radius: 50%;
  background: var(--arc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%233CCFE3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
  border: 1px solid var(--arc-line);
}
.checks.boxed { padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); align-content: start; }

.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--t-sm); font-weight: 600;
  padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line-hi); color: var(--muted); background: var(--panel);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 70rem; height: 70rem; right: -32rem; top: -46rem; border-radius: 50%;
  border: 1px solid rgba(60, 207, 227, .16);
  box-shadow: 0 0 0 6rem rgba(60, 207, 227, .018);
}
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero .copy { display: grid; gap: 1.25rem; min-width: 0; }
.page-hero.solo .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero.even .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .page-hero .wrap, .page-hero.even .wrap { grid-template-columns: 1fr; } }

.crumbs { font-size: var(--t-sm); color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--arc); }

/* CTA band */
.cta-band { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-box {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(120% 140% at 100% 0%, rgba(60, 207, 227, .12), transparent 55%), var(--panel);
  border: 1px solid var(--arc-line);
}
.cta-box > div:first-child { display: grid; gap: .6rem; flex: 1 1 22rem; max-width: 40rem; min-width: 0; }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-box p { color: var(--muted); }
@media (min-width: 760px) { .cta-box .btn-row { flex-shrink: 0; } }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero .copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }
.hero h1 em { font-style: normal; color: var(--arc); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: var(--t-sm); font-weight: 600; color: var(--faint); }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta span::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--contained); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The Arc Scope demo */
.console { overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1.1rem; border-bottom: 1px solid var(--line);
}
.console-bar b { font-family: var(--font-display); font-size: 1rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  font-size: var(--t-xs); font-weight: 700; color: var(--muted);
  padding: .2rem .65rem; border-radius: 999px; border: 1px solid var(--line-hi);
}
.pill.live::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--contained); }

.scope { position: relative; aspect-ratio: 16 / 9.4; max-width: 100%; background: radial-gradient(90% 120% at 50% 100%, rgba(60, 207, 227, .07), transparent 60%); }
.scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scope-count { position: absolute; right: 1.1rem; top: .9rem; text-align: right; font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.scope-count b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.1; }

.scope-caption { display: grid; gap: .75rem; padding: .95rem 1.1rem 1.1rem; border-top: 1px solid var(--line); }
.scope-caption p { font-size: var(--t-sm); color: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.legend li { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-sm); font-weight: 700; }
.legend i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }

/* Coverage strip */
.strip { border-bottom: 1px solid var(--line); background: var(--deep); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip li { display: grid; gap: .25rem; padding: 1.5rem 1.5rem 1.5rem 0; }
.strip li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.strip b { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; }
.strip span { font-size: var(--t-sm); color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .strip ul { grid-template-columns: 1fr; }
  .strip li, .strip li + li { padding: 1.1rem 0; border-left: 0; }
  .strip li + li { border-top: 1px solid var(--line); }
}

/* Service doors */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.door {
  position: relative; overflow: hidden; display: grid; gap: 1.1rem; align-content: start;
  padding: clamp(1.5rem, 3vw, 2.1rem); border-radius: calc(var(--radius) + 2px);
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: border-color .2s ease, background-color .2s ease;
}
.door:hover { border-color: var(--line-hi); background: var(--panel-hi); }
.door::after {
  content: ""; position: absolute; width: 18rem; height: 18rem; right: -8rem; bottom: -12rem; border-radius: 50%;
  border: 1px solid var(--arc-line); opacity: .7; pointer-events: none;
}
.door .top { display: flex; align-items: center; gap: .9rem; }
.door h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.door p { color: var(--muted); }
.door .link-arrow { margin-top: .25rem; }
@media (max-width: 1000px) { .doors { grid-template-columns: 1fr; } .door { max-width: 46rem; } }

/* Product cards */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.app-card {
  --c: var(--arc);
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .9rem;
  padding: 1.4rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); position: relative; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.app-card::before {
  content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--c), transparent);
}
.app-card:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .app-card, .app-card:hover { transition: none; transform: none; } }
.desk { --c: var(--desk); }
.auto { --c: var(--auto); }
.fetch { --c: var(--fetch); }
.power { --c: var(--power); }
.app-card .head { display: flex; align-items: center; gap: .85rem; }
.app-mark {
  width: 2.9rem; height: 2.9rem; border-radius: 14px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  color: var(--c, var(--arc)); background: color-mix(in srgb, var(--c, var(--arc)) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c, var(--arc)) 35%, transparent);
}
.app-mark svg { width: 1.45rem; height: 1.45rem; }
.app-card h3 { font-size: 1.3rem; }
.kind { display: block; font-size: var(--t-sm); font-weight: 700; color: var(--c, var(--arc)); line-height: 1.3; }
.app-card p { color: var(--muted); font-size: .98rem; }
.app-card .link-arrow { color: var(--c); }
@media (max-width: 1100px) { .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .more { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .apps { grid-template-columns: 1fr; } }

/* Numbered sequence (real order only) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: .55rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--line-hi); position: relative; }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--c, var(--arc)); background: color-mix(in srgb, var(--c, var(--arc)) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c, var(--arc)) 32%, transparent);
}
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 2px; background: var(--c, var(--arc)); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(var(--md, 1), minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Security page
   -------------------------------------------------------------------------- */
.coverage { padding: 1.25rem; display: grid; gap: .25rem; }
.coverage h3 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 0 .25rem .6rem; }
.coverage ul { list-style: none; margin: 0; padding: 0; }
.coverage li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .25rem; border-top: 1px solid var(--line); }
.coverage li span:first-child { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; }
.coverage li span:first-child svg { width: 1.15rem; height: 1.15rem; color: var(--muted); }
.status { font-size: var(--t-xs); font-weight: 700; color: var(--contained); display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.status::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }

.service { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .intro { display: grid; gap: 1rem; align-content: start; }
.service .intro .top { display: flex; align-items: center; gap: .9rem; }
.service .abbr { font-size: var(--t-xs); font-weight: 800; letter-spacing: .1em; color: var(--arc); text-transform: uppercase; }
.service h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service .intro p { color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

/* Incident timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1.5rem minmax(0, 1fr); gap: 1rem; position: relative; }
.timeline time { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--muted); padding-top: .15rem; font-variant-numeric: tabular-nums; text-align: right; }
.timeline .node { position: relative; display: flex; justify-content: center; }
.timeline .node::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-hi); }
.timeline li:first-child .node::before { top: .55rem; }
.timeline li:last-child .node::before { bottom: auto; height: .55rem; }
.timeline .node i { position: relative; width: .85rem; height: .85rem; margin-top: .3rem; border-radius: 50%; background: var(--void); border: 2px solid var(--c, var(--arc)); }
.timeline .body { display: grid; gap: .3rem; padding-bottom: 1.75rem; }
.timeline .body h4 { font-size: 1.15rem; }
.timeline .body p { color: var(--muted); max-width: 60ch; }
.timeline .detect { --c: var(--threat); }
.timeline .triage { --c: var(--warn); }
.timeline .contain { --c: var(--contained); }
.timeline .notify { --c: var(--desk); }
.timeline .report { --c: var(--arc); }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1.25rem minmax(0, 1fr); gap: .85rem; }
  .timeline time { grid-column: 2; grid-row: 1; text-align: left; padding: 0; font-size: var(--t-xs); }
  .timeline .node { grid-column: 1; grid-row: 1 / span 2; }
  .timeline .body { grid-column: 2; }
}

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.compare { width: 100%; min-width: 34rem; border-collapse: collapse; }
.compare th, .compare td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: var(--t-sm); font-weight: 800; color: var(--muted); background: var(--deep); }
.compare thead th.us { color: var(--arc); }
.compare td:first-child { color: var(--text); font-weight: 700; }
.compare td { color: var(--muted); }
.compare td.yes, .compare td.no, .compare td.part { text-align: center; width: 9rem; }
.compare th:not(:first-child) { text-align: center; }
.compare .yes svg { width: 1.2rem; height: 1.2rem; color: var(--contained); }
.compare .no { color: var(--faint); }
.compare .part { font-size: var(--t-sm); }
.compare .us-col { background: rgba(60, 207, 227, .04); }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.faq details[open] { border-color: var(--line-hi); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--arc); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--muted); max-width: 64ch; }

/* --------------------------------------------------------------------------
   Development page
   -------------------------------------------------------------------------- */
.builds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.builds > div { background: var(--panel); padding: 1.6rem; display: grid; gap: .75rem; align-content: start; }
.builds h3 { font-size: 1.2rem; }
.builds p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .builds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .builds { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .copy { display: grid; gap: 1.1rem; min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* App list (development hero) */
.app-list { padding: .6rem; display: grid; gap: .2rem; box-shadow: var(--shadow); min-width: 0; }
.app-list h3 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: .7rem .8rem .4rem; }
.app-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); }
.app-list a:hover { background: var(--panel-hi); }
.app-list b { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.app-list a > span:nth-child(2) > span { display: block; font-size: var(--t-sm); color: var(--muted); line-height: 1.4; }
.app-list a > svg { width: 1.1rem; height: 1.1rem; color: var(--c); }

/* Code panel */
.code {
  font-family: var(--font-mono); font-size: .76rem; line-height: 1.75; color: var(--muted);
  padding: 1.25rem 1.4rem; overflow-x: auto; white-space: pre; margin: 0;
}
.code .k { color: var(--desk); }
.code .s { color: var(--contained); }
.code .c { color: var(--faint); }
.code .f { color: var(--arc); }
.stack { display: grid; gap: .6rem; padding: 1.25rem; border-top: 1px solid var(--line); }

/* Product rows */
.app-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--line); }
.app-row:first-of-type { border-top: 0; padding-top: 0; }
.app-row .copy { display: grid; gap: 1rem; min-width: 0; }
.app-row h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.app-row p { color: var(--muted); }
.app-row .link-arrow { color: var(--c); }
@media (max-width: 900px) { .app-row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Product pages and app screens
   -------------------------------------------------------------------------- */
.product .page-hero::before { border-color: color-mix(in srgb, var(--c) 24%, transparent); box-shadow: 0 0 0 6rem color-mix(in srgb, var(--c) 2.5%, transparent); }
.product .eyebrow { color: var(--c); }
.product .btn-arc { background: var(--c); color: #0B0E12; }
.product .btn-arc:hover { background: color-mix(in srgb, var(--c) 82%, white); }
.product .icon { background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.product .checks li::before { background-color: color-mix(in srgb, var(--c) 14%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.product .cta-box { background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--c) 13%, transparent), transparent 55%), var(--panel); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.product .more .app-card .link-arrow { color: var(--c); }
.product-title { display: flex; align-items: center; gap: 1rem; }
.product-title .app-mark { width: 3.5rem; height: 3.5rem; border-radius: 16px; }
.product-title .app-mark svg { width: 1.8rem; height: 1.8rem; }
.product-title .name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }

.screen { overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: var(--deep); }
.screen-bar .title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-body { padding: 1rem; }
.screen .sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: .9rem; }
.screen .sum div { padding: .65rem .8rem; border-radius: var(--radius-sm); background: var(--deep); border: 1px solid var(--line); min-width: 0; }
.screen .sum span { display: block; font-size: .74rem; font-weight: 700; color: var(--faint); line-height: 1.3; }
.screen .sum b { font-family: var(--font-display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }

/* Ticket lists (ArcDesk, Power Track ONE) */
.tickets { display: grid; gap: .45rem; }
.ticket { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .2rem .8rem; align-items: center; padding: .65rem .8rem; border-radius: var(--radius-sm); background: var(--deep); border: 1px solid var(--line); border-left: 3px solid var(--pc, var(--line-hi)); }
.ticket .id { font-size: .78rem; font-weight: 700; color: var(--faint); grid-row: span 2; font-variant-numeric: tabular-nums; }
.ticket .subj { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ticket .meta { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ticket .sla { grid-row: span 2; text-align: right; font-size: .8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ticket .sla b { display: block; font-size: .74rem; font-weight: 800; color: var(--pc); }
@media (max-width: 560px) { .ticket .subj { white-space: normal; } }
.p1 { --pc: var(--threat); }
.p2 { --pc: var(--warn); }
.p3 { --pc: var(--desk); }
.p4 { --pc: var(--faint); }
.pw { --pc: var(--power); }

/* AutoSoft board */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.board .col { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.board .col > span { font-size: .74rem; font-weight: 800; color: var(--faint); display: flex; justify-content: space-between; }
.ro { padding: .55rem .65rem; border-radius: var(--radius-sm); background: var(--deep); border: 1px solid var(--line); display: grid; gap: .15rem; min-width: 0; }
.ro b { font-size: .8rem; line-height: 1.25; }
.ro span { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.ro small { font-size: .7rem; font-weight: 600; color: var(--faint); }
.ro.hot { border-color: color-mix(in srgb, var(--auto) 55%, transparent); }
.ro.hot small { color: var(--auto); }
@media (max-width: 560px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ArcFetch route */
.route { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: .8rem; align-items: start; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stops li { display: grid; grid-template-columns: 2.9rem 1rem minmax(0, 1fr); gap: .6rem; }
.stops time { font-size: .78rem; font-weight: 700; color: var(--muted); padding-top: .1rem; font-variant-numeric: tabular-nums; }
.stops .pin { position: relative; display: flex; justify-content: center; }
.stops .pin::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-hi); }
.stops li:first-child .pin::before { top: .45rem; }
.stops li:last-child .pin::before { bottom: auto; height: .45rem; }
.stops .pin i { position: relative; width: .7rem; height: .7rem; margin-top: .25rem; border-radius: 50%; background: var(--void); border: 2px solid var(--sc, var(--line-hi)); }
.stops .done { --sc: var(--contained); }
.stops .now { --sc: var(--fetch); }
.stops .now .pin i { background: var(--fetch); }
.stops .stop { padding-bottom: .8rem; min-width: 0; }
.stops .stop b { display: block; font-size: .86rem; }
.stops .stop span { display: block; font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stops .stop em { font-style: normal; font-size: .72rem; font-weight: 800; color: var(--sc, var(--faint)); }
.texts { display: grid; gap: .5rem; align-content: start; padding: .75rem; border-radius: var(--radius-sm); background: var(--deep); border: 1px solid var(--line); }
.texts > span { font-size: .74rem; font-weight: 800; color: var(--faint); }
.bubble { font-size: .8rem; line-height: 1.4; padding: .5rem .65rem; border-radius: 12px 12px 12px 4px; background: var(--panel-hi); color: var(--text); }
.bubble.me { border-radius: 12px 12px 4px 12px; background: color-mix(in srgb, var(--fetch) 22%, var(--panel)); justify-self: end; }
.bubble small { display: block; font-size: .68rem; color: var(--faint); margin-top: .2rem; }
@media (max-width: 560px) { .route { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature { display: grid; gap: .8rem; align-content: start; padding: 1.5rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.fit > .panel { padding: 1.75rem; display: grid; gap: 1rem; }
.fit .panel-head { display: flex; align-items: center; gap: .85rem; }
.fit .panel-head h3 { font-size: 1.35rem; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Websites page: example client site in a browser and a phone
   -------------------------------------------------------------------------- */
.site-mock { position: relative; padding: 0 3.25rem 2.25rem 0; min-width: 0; }
.browser { overflow: hidden; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-hi); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; background: var(--deep); border-bottom: 1px solid var(--line); }
.browser-bar .url { flex: 1; min-width: 0; display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .75rem; white-space: nowrap; overflow: hidden; }
.browser-bar .url svg { width: .85rem; height: .85rem; color: var(--contained); flex: none; }

.mock { background: var(--mock-bg); color: var(--mock-ink); font-family: var(--font-body); }
.mock-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 1rem; border-bottom: 1px solid var(--mock-line); font-size: .72rem; }
.mock-brand { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.mock-brand i { width: .95rem; height: .95rem; border-radius: 50%; background: var(--mock-accent); box-shadow: inset 0 0 0 3px var(--mock-bg), 0 0 0 1.5px var(--mock-accent); }
.mock-links { display: flex; gap: .85rem; color: var(--mock-muted); font-weight: 600; }
.mock-btn { display: inline-block; background: var(--mock-accent); color: #FFFFFF; font-weight: 800; font-size: .7rem; padding: .35rem .7rem; border-radius: 999px; white-space: nowrap; }
.mock-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1rem; align-items: center; padding: 1.25rem 1rem; }
.mock-hero .txt { display: grid; gap: .55rem; justify-items: start; min-width: 0; }
.mock-hero small { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mock-accent); }
.mock-hero strong { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.12; font-weight: 700; }
.mock-hero p { font-size: .74rem; color: var(--mock-muted); line-height: 1.45; }
.mock-photo {
  aspect-ratio: 4 / 3.2; max-width: 100%; border-radius: 12px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 72% 30%, #F6D3A1 0 13%, transparent 14%),
    radial-gradient(120% 70% at 30% 105%, #8C4A2F 0 48%, transparent 49%),
    radial-gradient(110% 60% at 85% 110%, #A9603B 0 50%, transparent 51%),
    linear-gradient(180deg, #E9B98E, #D48F62);
}
.mock-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; padding: 0 1rem 1.1rem; }
.mock-cards div { background: #FFFFFF; border: 1px solid var(--mock-line); border-radius: 10px; padding: .6rem .65rem; display: grid; gap: .2rem; min-width: 0; }
.mock-cards b { font-size: .74rem; }
.mock-cards span { font-size: .66rem; color: var(--mock-muted); line-height: 1.35; }
.mock-cards i { width: 1.3rem; height: 1.3rem; border-radius: 6px; background: var(--mock-soft); margin-bottom: .15rem; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 9.75rem;
  border-radius: 24px; padding: 6px; background: var(--panel-hi); border: 1px solid var(--line-hi);
  box-shadow: var(--shadow);
}
.phone .mock { border-radius: 18px; overflow: hidden; }
.phone .mock-nav { padding: .5rem .6rem; }
.phone .mock-brand { font-size: .68rem; }
.phone .mock-burger { width: .9rem; height: .55rem; border-block: 2px solid var(--mock-ink); position: relative; }
.phone .mock-body { display: grid; gap: .45rem; padding: .6rem; }
.phone .mock-photo { aspect-ratio: 4 / 2.6; border-radius: 9px; }
.phone strong { font-family: var(--font-display); font-size: .82rem; line-height: 1.15; }
.phone .mock-btn { justify-self: start; font-size: .6rem; }
.phone .mock-row { background: #FFFFFF; border: 1px solid var(--mock-line); border-radius: 8px; padding: .4rem .5rem; font-size: .6rem; color: var(--mock-muted); }
.phone .mock-row b { display: block; color: var(--mock-ink); font-size: .64rem; }
.mock-tag { position: absolute; left: .9rem; bottom: .2rem; }
@media (max-width: 560px) {
  .site-mock { padding: 0; }
  .mock-links { display: none; }
  .mock-hero { grid-template-columns: 1fr; }
  .mock-hero .mock-photo { display: none; }
  .mock-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-cards div:nth-child(3) { display: none; }
  .phone { display: none; }
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 1rem; }
.info { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.info .icon { grid-row: span 3; }
.info .label { font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.info .value { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.info a.value:hover { color: var(--arc); }
.info .actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .35rem; }
.copy-btn {
  font-family: var(--font-body); font-size: var(--t-sm); font-weight: 700;
  background: none; border: 0; padding: 0; color: var(--arc); cursor: pointer; text-decoration: none;
}
.copy-btn:hover { text-decoration: underline; }

.form-panel { padding: clamp(1.5rem, 3.5vw, 2.25rem); display: grid; gap: 1.5rem; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: var(--t-sm); font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.form label span { color: var(--faint); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--deep); border: 1px solid var(--line-hi); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23A0AEBB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1rem; padding-right: 2.5rem; }
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--arc); box-shadow: 0 0 0 4px var(--arc-soft); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: var(--t-sm); color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: var(--contained); }
.form-status.err { color: var(--warn); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--deep); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4rem) 2rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot .about { display: grid; gap: 1rem; align-content: start; max-width: 22rem; }
.foot .about p { color: var(--muted); font-size: var(--t-sm); }
.foot h4 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot a { color: var(--muted); text-decoration: none; font-size: .98rem; }
.foot a:hover { color: var(--arc); }
.foot address { font-style: normal; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--faint); }
@media (max-width: 900px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .about { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 480px) { .foot { grid-template-columns: 1fr; } }
