/* ==========================================================================
   ACCUVIAN, redesign concept by KWA Digital
   --------------------------------------------------------------------------
   THE IDEA:
   Accuvian's own line is the thesis: "cybersecurity must enable mission."
   So the site is light, fast and surgical, the opposite of the hooded-hacker
   dark-web cliche. Black ink, their exact azure (#0078d8), and the three
   speed-lines from their wordmark used as the recurring motif: motion,
   forward, mission first.

   - LIGHT THEME      security you can read in a government office at noon.
   - SPEED-LINES      the logo's diagonal strokes become section markers,
                      list bullets and dividers.
   - CONTROLS BOARD   the hero runs an RMF-style control check board:
                      AC-2, SI-4, CM-6 flipping to PASS, ending in ATO.
                      Their buyers live inside NIST 800-53; the homepage
                      should speak it natively.
   - THE ARC          five practices told as a lifecycle:
                      Design, Reduce, Build, Run, Prove.

   Plain HTML + CSS + one small JS file. No frameworks, no build step.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --paper:   #f6f7f9;
  --card:    #ffffff;
  --ink:     #0d1117;
  --ink-2:   #3a424e;
  --ink-3:   #5c6675;   /* muted, AA on paper */
  --line:    #e1e4e9;
  --line-2:  #cdd2da;

  --azure:   #0078d8;   /* their logo blue: graphics, lines, large text only */
  --azure-t: #005fae;   /* text-safe azure, AA at small sizes */
  --azure-w: #e8f2fc;   /* azure wash */
  --green:   #0e8a4c;
  --green-w: #e7f5ee;
  --amber:   #b26a00;

  --coal:    #0d1117;   /* dark bands + footer */
  --chalk:   #eef1f5;
  --chalk-2: #aeb6c2;
  --line-d:  #262d38;

  --sans: 'Manrope', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;

  --w: min(1160px, 92vw);
  --r: 10px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.05rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--azure-t); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #00447e; }
::selection { background: var(--azure); color: #fff; }

.wrap { width: var(--w); margin-inline: auto; }

h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 58ch; }
.dimtext { color: var(--ink-2); }

/* speed-line eyebrow: three diagonal strokes from the wordmark */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azure-t); margin-bottom: 1.1rem;
}
.speed { display: inline-flex; gap: 3px; flex: none; }
.speed i { width: 12px; height: 10px; background: var(--azure); transform: skewX(-24deg); }
.speed i:nth-child(2) { width: 9px; opacity: 0.75; }
.speed i:nth-child(3) { width: 6px; opacity: 0.5; }
.on-dark .eyebrow { color: #6fb9f2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.96rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.5rem; border-radius: var(--r);
  border: 1px solid transparent; min-height: 2.9rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.btn-fill { background: var(--azure-t); color: #fff; }
.btn-fill:hover { background: #004b8a; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #232a34; color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-paper { background: #fff; color: var(--azure-t); }
.btn-paper:hover { background: var(--azure-w); }
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 247, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem; padding: 0.9rem 0;
}
.brand { display: block; flex: none; padding-block: 0.45rem; margin-block: -0.45rem; }
.brand img { height: 26px; width: auto; }

nav.main { display: flex; align-items: center; gap: 1.6rem; }
nav.main a {
  font-size: 0.95rem; font-weight: 600; color: var(--ink-2);
  text-decoration: none; padding: 0.45rem 0.1rem;
  border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--azure-t); border-bottom-color: var(--azure); }

.hdr-cta { display: flex; align-items: center; gap: 1rem; }
.hdr-mail {
  font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2);
  text-decoration: none; white-space: nowrap; padding: 0.5rem 0.2rem;
}
.hdr-mail:hover { color: var(--azure-t); }
.hdr-cta .btn { padding: 0.62rem 1.05rem; min-height: 0; font-size: 0.88rem; }

.nav-toggle {
  display: none; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 0.55rem 0.65rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  nav.main {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line-2);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.4rem 4vw 1rem;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  nav.main a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav-toggle { display: inline-flex; }
  .hdr-mail { display: none; }
}
@media (max-width: 460px) {
  header.site .wrap { gap: 0.7rem; }
  .brand img { height: 21px; }
  .hdr-cta .btn { font-size: 0.8rem; padding: 0.55rem 0.75rem; white-space: nowrap; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 460px at 85% -10%, rgba(0, 120, 216, 0.07), transparent 60%),
    repeating-linear-gradient(115deg, rgba(0, 120, 216, 0.03) 0 2px, transparent 2px 130px);
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(3.2rem, 7vw, 5.8rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero h1 em { font-style: normal; color: var(--azure-t); }
.hero .lead { margin-top: 1.15rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.4rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* the controls board */
.board {
  background: var(--coal); color: var(--chalk);
  border-radius: 14px; overflow: hidden;
  border: 1px solid #1a212c;
  box-shadow: 0 40px 80px -40px rgba(13, 17, 23, 0.55);
}
.board-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.8rem 1.15rem; border-bottom: 1px solid var(--line-d);
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk-2);
}
.board-head b { color: var(--chalk); font-weight: 500; }
.board-head .live { display: inline-flex; align-items: center; gap: 0.45rem; color: #56c88b; }
.board-head .live i { width: 7px; height: 7px; border-radius: 50%; background: #56c88b; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.2; } }

.board-rows { padding: 0.35rem 0; }
.ctl {
  display: grid; grid-template-columns: 5.2rem 1fr auto; gap: 0.9rem; align-items: center;
  padding: 0.52rem 1.15rem;
  font-family: var(--mono); font-size: 0.78rem;
  border-bottom: 1px solid rgba(146, 174, 220, 0.07);
}
.ctl:last-child { border-bottom: 0; }
.ctl .cid { color: #6fb9f2; font-weight: 500; }
.ctl .cname { color: var(--chalk-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctl .st {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em;
  padding: 0.26rem 0.55rem; border-radius: 4px; white-space: nowrap;
}
.ctl .st.wait { color: var(--chalk-2); border: 1px solid var(--line-d); }
.ctl .st.scan { color: #ffcb66; border: 1px solid rgba(255, 203, 102, 0.35); }
.ctl .st.pass { color: #56c88b; border: 1px solid rgba(86, 200, 139, 0.4); background: rgba(86, 200, 139, 0.08); }
.board-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.75rem 1.15rem; border-top: 1px solid var(--line-d);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--chalk-2);
}
.board-foot b { color: #56c88b; font-weight: 500; }
.board-foot .ato {
  border: 1.5px solid #56c88b; color: #56c88b; border-radius: 5px;
  padding: 0.3rem 0.6rem; font-weight: 500; letter-spacing: 0.16em;
  opacity: 0; transform: rotate(-6deg) scale(1.3);
}
.board-foot .ato.on { opacity: 1; transform: rotate(-6deg) scale(1); transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.4); }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .board { max-width: 540px; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
section.band { padding: clamp(3.2rem, 7vw, 5.4rem) 0; }
section.band.white { background: var(--card); border-block: 1px solid var(--line); }
section.band.dark { background: var(--coal); color: var(--chalk); }
section.band.dark h2 { color: #fff; }
section.band.dark .lead { color: var(--chalk-2); }

.sec-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head h2 { margin-bottom: 0.8rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* mission statement band */
.mission { border-left: 4px solid var(--azure); padding-left: clamp(1.2rem, 3vw, 2.2rem); }
.mission p {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.4;
  letter-spacing: -0.015em; max-width: 30ch; color: var(--ink);
}
.mission p em { font-style: normal; color: var(--azure-t); }
.mission .who { margin-top: 1rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- practice cards (the arc) ---------- */
.arc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; }
.pr {
  position: relative; display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.35rem 1.2rem 1.2rem; text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.pr:hover { transform: translateY(-4px); border-color: var(--azure); box-shadow: 0 18px 34px -20px rgba(0, 63, 116, 0.25); }
.pr .step {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--azure-t);
}
.pr h3 { font-size: 1.04rem; color: var(--ink); }
.pr p { font-size: 0.87rem; color: var(--ink-2); line-height: 1.55; flex: 1; }
.pr .go { font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--azure-t); margin-top: 0.4rem; min-height: 1.5rem; display: inline-flex; align-items: center; }
@media (max-width: 1080px) { .arc { grid-template-columns: repeat(3, 1fr); } .arc .pr:nth-child(n+4) { grid-column: span 1; } }
@media (max-width: 1080px) and (min-width: 641px) {
  .arc { grid-template-columns: repeat(6, 1fr); }
  .arc .pr { grid-column: span 2; }
  .arc .pr:nth-child(4) { grid-column: 2 / span 2; }
  .arc .pr:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 640px) { .arc { grid-template-columns: 1fr; } .arc .pr { grid-column: auto !important; } }

/* ---------- capability deep sections ---------- */
.cap-sec { padding: clamp(2.2rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--line); }
.cap-sec:first-of-type { border-top: 0; padding-top: 0; }
.cap-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 4vw, 3.6rem); align-items: start; }
.cap-grid .k { position: sticky; top: 5.6rem; }
.cap-grid .k .step { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--azure-t); display: block; margin-bottom: 0.5rem; }
.cap-grid h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cap-grid .body p { color: var(--ink-2); max-width: 60ch; }
.cap-grid .body p + p { margin-top: 0.8rem; }
.includes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.chip {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 0.42rem 0.8rem;
  background: var(--card);
}
@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid .k { position: static; }
}

/* ---------- founder ---------- */
.founder {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.avatar {
  width: 108px; height: 108px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--ink), #2a3442);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 2rem; letter-spacing: 0.02em;
  border: 3px solid var(--azure);
}
.founder h3, .founder h2 { font-size: 1.35rem; }
.founder .role { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--azure-t); margin: 0.25rem 0 0.9rem; }
.founder p { color: var(--ink-2); font-size: 0.97rem; max-width: 64ch; }
.creds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } }

/* ---------- values / row list ---------- */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.val { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.35rem; }
.val .speed { margin-bottom: 0.8rem; }
.val h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.val p { font-size: 0.92rem; color: var(--ink-2); }
@media (max-width: 860px) { .vals { grid-template-columns: 1fr; } }

/* ---------- news ---------- */
.post-card {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.4rem 1.5rem; flex-wrap: wrap;
}
.post-card .date { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.post-card h3, .post-card h2 { margin-top: 0.3rem; font-size: 1.2rem; }

/* ---------- careers ---------- */
.pitchbox { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.6rem, 4vw, 2.4rem); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

form.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form.cform .full { grid-column: 1 / -1; }
form.cform label {
  display: block; font-family: var(--mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.45rem;
}
form.cform label em { color: var(--azure-t); font-style: normal; }
form.cform input, form.cform textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 0.85rem 1rem;
}
form.cform input::placeholder, form.cform textarea::placeholder { color: #8a93a1; }
form.cform input:focus, form.cform textarea:focus { outline: 2px solid var(--azure); outline-offset: 1px; border-color: var(--azure); }
form.cform textarea { min-height: 9rem; resize: vertical; }
form.cform .form-note { font-size: 0.86rem; color: var(--ink-3); }
@media (max-width: 600px) { form.cform { grid-template-columns: 1fr; } }

.c-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.25rem 1.3rem; margin-bottom: 1rem;
}
.c-card .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--azure-w); border: 1px solid #bcd8f2; display: flex; align-items: center; justify-content: center; color: var(--azure-t); }
.c-card .ic svg { width: 20px; height: 20px; }
.c-card h2 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.c-card p, .c-card a { font-size: 0.93rem; color: var(--ink-2); }
.c-card a { display: inline-block; padding: 0.25rem 0; text-decoration: none; color: var(--ink); }
.c-card a:hover { color: var(--azure-t); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--coal); color: var(--chalk); }
.cta-band .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 2rem; align-items: center;
  padding: clamp(2.8rem, 6vw, 4.4rem) 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: var(--chalk-2); max-width: 54ch; }
.cta-band .mono-note { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chalk-2); margin-top: 1rem; }
.cta-band .mono-note a { color: #6fb9f2; text-decoration: none; display: inline-block; padding: 0.55rem 0.15rem; margin: -0.55rem -0.15rem; }
@media (max-width: 780px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   SUBPAGE HERO
   ========================================================================== */
.page-hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 90% -20%, rgba(0, 120, 216, 0.08), transparent 60%);
}
.page-hero .wrap { position: relative; padding: clamp(2.8rem, 6vw, 4.4rem) 0 clamp(2.2rem, 4.6vw, 3.2rem); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero .lead { margin-top: 1rem; }
.crumb {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.2rem; display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.crumb a { color: var(--ink-3); text-decoration: none; padding: 0.3rem 0; margin: -0.3rem 0; }
.crumb a:hover { color: var(--azure-t); }
.crumb span { color: var(--ink-2); padding: 0.3rem 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site { background: var(--coal); color: var(--chalk); }
.ft-top { padding: clamp(2.6rem, 5vw, 3.8rem) 0 1.8rem; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.ft-grid h2 {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk-2);
  margin-bottom: 0.9rem;
}
.ft-grid p, .ft-grid li { font-size: 0.92rem; color: var(--chalk-2); line-height: 1.75; }
.ft-grid ul { list-style: none; }
.ft-grid a { color: var(--chalk-2); text-decoration: none; display: inline-block; padding: 0.28rem 0; min-height: 2rem; }
.ft-grid a:hover { color: #6fb9f2; }
.ft-brand img { height: 24px; width: auto; margin-bottom: 1rem; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ft-grid { grid-template-columns: 1fr; } }

.ft-legal { border-top: 1px solid var(--line-d); padding: 1.1rem 0 1.3rem; font-size: 0.8rem; color: var(--chalk-2); }
.ft-legal .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ft-legal a { color: var(--chalk-2); display: inline-block; padding: 0.35rem 0.1rem; margin: -0.35rem -0.1rem; }
.ft-legal a:hover { color: var(--chalk); }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv2 { transition-delay: 0.08s; } .rv3 { transition-delay: 0.16s; } .rv4 { transition-delay: 0.24s; } .rv5 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .board-head .live i { animation: none; }
}

.pad-link { display: inline-block; padding: 0.42rem 0.1rem; margin: -0.42rem -0.1rem; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--azure-t); color: #fff; padding: 0.7rem 1.1rem;
  font-family: var(--mono); font-size: 0.8rem; text-decoration: none;
}
.skip:focus { left: 0; }
