/* ============================================================
   FeirAI — Landing
   Monochrome institutional system · Instrument Sans + IBM Plex Mono
   ============================================================ */

:root {
  --black: #0A0A0A;
  --ink: #111111;
  --charcoal: #1A1A1A;
  --graphite: #2A2A2A;
  --slate: #6B6B6B;
  --pale: #E9E9E7;
  --pale-2: #F4F4F2;
  --offwhite: #FAFAF8;
  --white: #FFFFFF;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-dark: rgba(10, 10, 10, 0.12);
  --ok: #C9CEC9;
  --warn: #E8C9A0;
  --block: #C9A9A9;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--pale-2);
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: 16px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--pale-2); color: var(--black); }

/* ============================================================ TYPE */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: all 0.36s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg { padding: 0.95rem 1.6rem; font-size: 15px; }
.btn--solid { background: var(--pale-2); color: var(--black); }
.btn--solid:hover { background: var(--white); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(244,244,242,0.28); color: var(--pale-2); }
.btn--ghost:hover { border-color: var(--pale-2); background: rgba(244,244,242,0.04); }
.btn .arrow { transition: transform 0.36s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
/* On wide screens (≥ max-width + 4rem) the max-width box is centered with
   margin auto, so the 2rem horizontal padding pushes content inward while
   hero/section content sits flush to the box edge. Drop it to align. */
@media (min-width: calc(var(--max) + 4rem)) {
  .nav__inner { padding-left: 0; padding-right: 0; }
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__wm { height: 26px; width: auto; display: block; }
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a {
  font-size: 13.5px; font-weight: 500; color: rgba(244,244,242,0.66);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--pale-2); }
.nav__cta { display: flex; gap: 0.7rem; align-items: center; }
.nav__cta .btn { padding: 0.55rem 1.05rem; font-size: 13px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__inner { padding: 0.9rem 1.2rem; }
}

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 6.5rem 2rem 2.5rem;
  display: flex; flex-direction: column;
  background:
    radial-gradient(110% 80% at 80% 0%, #161616 0%, var(--black) 60%);
  overflow: hidden;
}
.hero__grid { position: absolute; inset: 0; pointer-events: none; }
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(244,244,242,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,244,242,0.028) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(130% 100% at 70% 20%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(130% 100% at 70% 20%, #000 25%, transparent 75%);
}

.hero__meta {
  position: relative; z-index: 2;
  max-width: var(--max); width: 100%;
  margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.hero__body {
  position: relative; z-index: 2;
  max-width: var(--max); width: 100%;
  margin: 0 auto;
  flex: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2.5rem 0 2rem;
}

/* LEFT column */
.hero__left {
  display: flex; flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero__wordmark {
  width: min(280px, 28vw);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fe-in 0.9s var(--ease-out) 0.1s forwards;
}
.hero__wordmark svg { filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4)); }

.hero__headline {
  font-weight: 600;
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  opacity: 0;
  animation: fe-in 0.9s var(--ease-out) 0.35s forwards;
}

.hero__sub {
  margin-top: 1.8rem;
  max-width: 44ch;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  color: rgba(244,244,242,0.62);
  line-height: 1.55;
  opacity: 0;
  animation: fe-in 0.9s var(--ease-out) 0.55s forwards;
}
.hero__cta {
  margin-top: 2.4rem;
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  opacity: 0;
  animation: fe-in 0.9s var(--ease-out) 0.75s forwards;
}

@keyframes fe-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* RIGHT column — trace-line system graphic */
.hero__right {
  display: flex; justify-content: center; align-items: center;
  height: 100%;
  min-height: 420px;
  opacity: 0;
  animation: fe-in 1.1s var(--ease-out) 0.85s forwards;
}
.trace {
  width: 100%;
  max-width: 560px;
  display: flex; flex-direction: column;
}
.trace__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 600;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(244,244,242,0.018), rgba(0,0,0,0)),
    var(--charcoal);
  overflow: hidden;
}
.trace__frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(244,244,242,0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,244,242,0.022) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.trace__svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.trace__svg .t-node { fill: var(--charcoal); stroke: rgba(244,244,242,0.55); stroke-width: 1; }
.trace__svg .t-node--active { fill: var(--pale-2); stroke: var(--pale-2); }
.trace__svg .t-line { fill: none; stroke: rgba(244,244,242,0.22); stroke-width: 1; }
.trace__svg .t-line--active { stroke: rgba(244,244,242,0.58); }
.trace__svg .t-dash { fill: none; stroke: rgba(244,244,242,0.14); stroke-width: 1; stroke-dasharray: 3 4; }
.trace__svg .t-label { fill: var(--slate); font-family: "IBM Plex Mono", monospace; font-size: 8px; letter-spacing: 0.12em; }
.trace__svg .t-dot { fill: rgba(244,244,242,0.4); }
.trace__caption {
  margin-top: 0.7rem;
  display: flex; justify-content: space-between;
  color: var(--slate);
}

.hero__footer {
  max-width: var(--max);
  width: 100%; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--slate);
}

@media (max-width: 980px) {
  .hero__body { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__right { min-height: 340px; }
  .hero__wordmark { margin-bottom: 2rem; }
}
@media (max-width: 600px) {
  .hero__headline { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero__footer { font-size: 9.5px; }
  .hero__meta { font-size: 9.5px; }
}

/* ============================================================ SECTION SCAFFOLD */
.section {
  position: relative;
  padding: 7rem 2rem;
  border-top: 1px solid var(--line);
}
.section__rail {
  max-width: var(--max); margin: 0 auto 2.5rem;
  color: var(--slate);
  letter-spacing: 0.16em;
}
.section__head { max-width: var(--max); margin: 0 auto 3.5rem; }
.section__head--centered { text-align: center; }
.section__title {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 600;
  max-width: 28ch;
  letter-spacing: -0.028em;
  line-height: 1.08;
}
.section__title--xl { font-size: clamp(2.2rem, 4.4vw, 3.8rem); max-width: 24ch; }
.section__head--centered .section__title { margin: 0 auto; }
.section__lede {
  margin-top: 1.4rem;
  max-width: 62ch;
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  color: rgba(244,244,242,0.62);
  line-height: 1.6;
}
.section__head--centered .section__lede { margin-left: auto; margin-right: auto; }
.section__lede--muted { color: rgba(244,244,242,0.45); margin-top: 1rem; }
.eyebrow { color: var(--slate); display: inline-block; margin-bottom: 1.2rem; letter-spacing: 0.18em; }

/* ============================================================ PROBLEM */
.section--problem { background: var(--black); }
.problem__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.problem__card {
  padding: 2.2rem 1.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.3s var(--ease);
}
.problem__card:hover { background: rgba(244,244,242,0.02); }
.problem__index { display: block; margin-bottom: 1.2rem; color: var(--slate); }
.problem__card h3 {
  font-size: 1.14rem; font-weight: 600; margin-bottom: 0.7rem; letter-spacing: -0.02em;
}
.problem__card p { color: rgba(244,244,242,0.55); font-size: 0.96rem; line-height: 1.55; }
@media (max-width: 980px) { .problem__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem__grid { grid-template-columns: 1fr; } }

/* ============================================================ FEIROS */
.section--feiros { background: var(--ink); }
.feiros__layout {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 4rem; align-items: start;
}
.stack { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.stack__layer {
  display: grid; grid-template-columns: 0.5fr 1.5fr 1.7fr;
  gap: 1rem; align-items: center;
  padding: 1.4rem 1.5rem;
  background: var(--charcoal);
  transition: background 0.3s var(--ease), transform 0.4s var(--ease);
}
.stack__layer:nth-child(1) { background: #1F1F1F; }
.stack__layer:hover { background: #2A2A2A; transform: translateX(4px); }
.stack__layer > span:nth-child(2) {
  font-family: "Instrument Sans", sans-serif; font-size: 1.05rem; font-weight: 500; color: var(--pale-2);
}
.stack__layer > span:nth-child(3) { color: rgba(244,244,242,0.4); }

@media (max-width: 900px) {
  .feiros__layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================ PILLARS */
.section--pillars { background: var(--black); }
.pillars {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.pillar {
  padding: 2rem 1.9rem 0;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 280px;
  background: transparent;
  transition: background 0.3s var(--ease);
}
.pillar:hover { background: rgba(244,244,242,0.02); }
.pillar__id { color: var(--slate); margin-bottom: 1.5rem; }
.pillar__title { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.pillar__text { color: rgba(244,244,242,0.56); font-size: 0.96rem; line-height: 1.55; margin-bottom: 1.6rem; }
.pillar__diagram { margin-top: auto; height: 56px; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================ FLOW */
.section--flow { background: var(--ink); }
.flow { max-width: var(--max); margin: 0 auto; position: relative; }
.flow__track {
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--line);
}
.flow__line {
  position: absolute; left: 0; top: -1px; height: 3px;
  width: 0%; background: var(--pale-2);
  transition: width 1.6s var(--ease-out);
}
.flow__line.is-drawn { width: 100%; }
.flow__steps {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem; padding-top: 2.2rem;
}
.flow__step { position: relative; }
.flow__node {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  margin-bottom: 1rem;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.flow__step.is-active .flow__node { border-color: var(--pale-2); background: var(--graphite); }
.flow__node .mono { color: var(--slate); font-size: 10px; }
.flow__step.is-active .flow__node .mono { color: var(--pale-2); }
.flow__tag { color: var(--pale-2) !important; display: block; margin-bottom: 0.5rem; font-size: 10px; }
.flow__label p { font-size: 0.86rem; color: rgba(244,244,242,0.5); line-height: 1.5; max-width: 16ch; }
@media (max-width: 980px) {
  .flow__steps { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding-top: 1.5rem; }
}
@media (max-width: 600px) {
  .flow__steps { grid-template-columns: 1fr; }
}

/* ============================================================ PRODUCT SURFACE */
.section--product { background: var(--black); }
.surface {
  max-width: var(--max); margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.surface__chrome {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.2rem;
  padding: 0.75rem 1.1rem;
  background: #161616;
  border-bottom: 1px solid var(--line);
}
.surface__dots { display: flex; gap: 0.4rem; }
.surface__dots span { width: 9px; height: 9px; border-radius: 50%; background: #2A2A2A; }
.surface__title { color: var(--slate); }
.surface__nav { display: flex; gap: 1.2rem; color: var(--slate); font-size: 10.5px; }
.surface__nav span { cursor: pointer; transition: color 0.2s var(--ease); }
.surface__nav span:hover { color: var(--pale-2); }
.surface__nav .is-active { color: var(--pale-2); border-bottom: 1px solid var(--pale-2); padding-bottom: 0.15rem; }

.surface__body {
  display: grid; grid-template-columns: 1fr 1.5fr 1.1fr;
  background: var(--charcoal);
  min-height: 460px;
}
.surface__panel { border-right: 1px solid var(--line); padding: 1.2rem 1.1rem; display: flex; flex-direction: column; }
.surface__panel:last-child { border-right: none; }
.surface__panel-head {
  color: var(--slate); padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft); margin-bottom: 1rem;
  letter-spacing: 0.16em; font-size: 10.5px;
}

.agent-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 0.9rem; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.agent-row:last-child { border-bottom: none; }
.agent-row__id { color: var(--slate); font-size: 10.5px; }
.agent-row__name { color: var(--pale-2); font-weight: 500; }
.state {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px; letter-spacing: 0.12em;
  padding: 0.15rem 0.45rem; border-radius: 2px;
  border: 1px solid;
}
.state--ok { color: #AFC0A6; border-color: rgba(175,192,166,0.4); background: rgba(175,192,166,0.06); }
.state--warn { color: #D9C39A; border-color: rgba(217,195,154,0.4); background: rgba(217,195,154,0.06); }
.state--block { color: #D4ABAB; border-color: rgba(212,171,171,0.4); background: rgba(212,171,171,0.06); }

.surface__audit { font-family: "IBM Plex Mono", monospace; font-size: 11px; line-height: 1.6; }
.audit-row {
  display: grid; grid-template-columns: 0.9fr 0.7fr 1fr 0.8fr;
  gap: 0.6rem; padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(244,244,242,0.05);
  color: rgba(244,244,242,0.55);
}
.audit-row:first-child { padding-top: 0; }
.audit-row .ev-id { color: var(--slate); }
.audit-row .ev-st-approved { color: #AFC0A6; }
.audit-row .ev-st-blocked { color: #D4ABAB; }
.audit-row .ev-st-pending { color: #D9C39A; }

.surface__block { margin-bottom: 1.6rem; }
.surface__panel-foot { margin-top: 0.7rem; color: var(--slate); font-size: 10px; }

.matrix { width: 100%; border-collapse: collapse; }
.matrix th { text-align: left; padding: 0.35rem 0.4rem; color: var(--slate); font-size: 9.5px; font-weight: normal; }
.matrix td { padding: 0.35rem 0.4rem; border-top: 1px solid var(--line-soft); font-size: 10.5px; color: rgba(244,244,242,0.7); }
.matrix .cell--on { color: var(--pale-2); text-align: center; }
.matrix .cell--off { color: var(--slate); text-align: center; }

.meter { display: flex; align-items: end; gap: 4px; height: 64px; }
.meter__bar { width: 100%; height: 100%; display: flex; align-items: end; background: transparent; }
.meter__bar span { display: block; width: 100%; background: linear-gradient(180deg, #3A3A3A, #2A2A2A); border-top: 1px solid #4A4A4A; transition: height 0.6s var(--ease); }
.meter__bar:nth-child(3) span, .meter__bar:nth-child(10) span { background: linear-gradient(180deg, #5A5A5A, #3A3A3A); }

.risk__row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 0.6rem; align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
}
.risk__row:last-child { border-bottom: none; }
.risk__id { color: var(--slate); font-size: 10px; }
.risk__state { font-size: 9.5px; }
.risk__state--ok { color: #AFC0A6; }
.risk__state--warn { color: #D9C39A; }
.risk__state--block { color: #D4ABAB; }

@media (max-width: 980px) {
  .surface__body { grid-template-columns: 1fr; }
  .surface__panel { border-right: none; border-bottom: 1px solid var(--line); }
  .surface__nav { display: none; }
}

/* ============================================================ ASSURANCE */
.section--assurance { background: var(--ink); }
.assurance {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 4rem; align-items: start;
}
.assurance__right {
  list-style: none; border-top: 1px solid var(--line);
}
.assurance__right li {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.4rem; align-items: baseline;
  padding: 1.5rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.assurance__num { color: var(--slate); font-size: 11px; }
@media (max-width: 900px) { .assurance { grid-template-columns: 1fr; } }

/* ============================================================ HIERARCHY */
.section--hierarchy { background: var(--black); }
.hierarchy { max-width: var(--max); margin: 0 auto; }
.hierarchy__row {
  display: grid; grid-template-columns: 1fr auto 2fr;
  gap: 2.5rem; align-items: start;
}
.hierarchy__parent {
  border: 1px solid var(--line); padding: 1.8rem; background: var(--charcoal);
  border-radius: 3px;
}
.hierarchy__parent span { color: var(--slate); display: block; margin-bottom: 0.6rem; letter-spacing: 0.16em; font-size: 10.5px; }
.hierarchy__parent h3 { font-size: 1.8rem; margin-bottom: 0.6rem; letter-spacing: -0.025em; }
.hierarchy__parent p { color: rgba(244,244,242,0.55); font-size: 0.95rem; line-height: 1.55; }
.hierarchy__branch {
  width: 1px; background: var(--line); align-self: stretch;
  min-height: 100%;
}
.hierarchy__children { display: flex; flex-direction: column; gap: 1.5rem; }
.hierarchy__child--primary {
  border: 1px solid var(--line); padding: 1.5rem 1.8rem; background: var(--charcoal); border-radius: 3px;
}
.hierarchy__child--primary span { color: var(--slate); letter-spacing: 0.16em; font-size: 10.5px; display: block; margin-bottom: 0.5rem; }
.hierarchy__child--primary h4 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.hierarchy__child--primary p { color: rgba(244,244,242,0.55); font-size: 0.95rem; }
.hierarchy__layers { display: flex; flex-direction: column; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.layer-row {
  display: grid; grid-template-columns: 0.4fr 1.4fr 1.7fr;
  gap: 1rem; padding: 1rem 1.2rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  align-items: center;
}
.layer-row > span:nth-child(2) { font-size: 1rem; color: var(--pale-2); font-weight: 500; }
.layer-row > span:nth-child(3) { color: var(--slate); }
@media (max-width: 980px) {
  .hierarchy__row { grid-template-columns: 1fr; }
  .hierarchy__branch { display: none; }
}

/* ============================================================ CTA */
.section--cta { background: var(--ink); border-top: 1px solid var(--line); }
.cta {
  max-width: var(--max); margin: 0 auto;
  text-align: center;
  padding: 2rem 0 1rem;
}
.cta__meta { color: var(--slate); margin-bottom: 2rem; }
.cta__title {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 600; letter-spacing: -0.032em;
  max-width: 22ch; margin: 0 auto; line-height: 1.05;
}
.cta__sub {
  margin: 1.8rem auto 2.4rem;
  max-width: 56ch; color: rgba(244,244,242,0.62); line-height: 1.6;
}
.cta__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta__record {
  margin-top: 3rem; color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem; display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap;
}

/* ============================================================ FOOTER */
.footer { background: var(--black); border-top: 1px solid var(--line); padding: 4rem 2rem 2rem; }
.footer__top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 2.2fr; gap: 3rem;
}
.footer__brand svg { display: block; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer__col-head { color: var(--slate); margin-bottom: 1.2rem; letter-spacing: 0.16em; font-size: 10.5px; }
.footer__col a { display: block; color: rgba(244,244,242,0.65); font-size: 0.92rem; padding: 0.35rem 0; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--pale-2); }
.footer__link-dis {
  display: block;
  color: rgba(244,244,242,0.28);
  font-size: 0.92rem;
  padding: 0.35rem 0;
  cursor: not-allowed;
  user-select: none;
  -webkit-user-select: none;
}
.footer__rule { max-width: var(--max); margin: 3rem auto 1.4rem; height: 1px; background: var(--line); }
.footer__bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--slate);
}
@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}