/* ============================================================
   AVERON PRIVATE. Sub-brand layer over assets/site.css.

   Blacked-out edition of the parent brand: same structure, same
   type, chrome removed. averon.systems is blue-black with a green
   accent running through its furniture. Here the surfaces are
   neutral black and the structural marks (rules, list markers,
   numbering, borders) are grey, so green appears only where a
   verification passed.
   ============================================================ */

:root {
  /* ---- Surfaces: neutral true black, no blue cast ---- */
  --ink:        #000000;
  --ink-2:      #050506;
  --panel:      #08080A;
  --panel-2:    #0C0C0E;
  --raise:      #131315;

  /* ---- Lines: neutral white alphas ---- */
  --line:       rgba(255, 255, 255, 0.075);
  --line-2:     rgba(255, 255, 255, 0.14);
  --line-3:     rgba(255, 255, 255, 0.26);

  /* ---- Type ----
     The parent's --text-4 (#4E565E) measures 2.67:1 and fails WCAG AA
     for the 10-11px mono labels it carries here (form labels, card
     footers, captions). Both muted steps are lifted so the ramp still
     reads as a hierarchy while every step clears 4.5:1 on every
     surface:  --text-2 9.4:1 · --text-3 7.5:1 · --text-4 5.5:1
     (worst case 4.7:1, on --raise). */
  --text:       #E9ECEF;
  --text-2:     #A7B0B9;
  --text-3:     #949DA6;
  --text-4:     #7D858D;

  /* ---- Structural marks: monochrome ----
     site.css spends --sig on furniture (eyebrow rules, list markers,
     numbering, focus borders). In this edition that furniture is grey,
     which is most of what makes the page read as blacked out. */
  --sig:        #949DA6;
  --sig-dim:    rgba(255, 255, 255, 0.16);
  --sig-glow:   rgba(255, 255, 255, 0.045);

  /* ---- The one accent: a verification that passed ---- */
  --verify:     #3FA98A;
  --verify-dim: rgba(63, 169, 138, 0.34);
  --verify-bg:  rgba(63, 169, 138, 0.10);
}

/* Neutralise the parent's blue-tinted engineering grid. */
body::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
}

/* Blacked out means no ambient glow. Both radials go. */
.hero::after, .cta::after { display: none; }
.cta { background: var(--ink); }
.hdr { background: rgba(0, 0, 0, 0.86); }
.term { background: var(--ink); }

/* ---- Primary control: monochrome, not green ----
   One bright element per view, and it is the thing you click. */
.btn--primary {
  background: var(--text);
  border-color: var(--text);
  color: #000000;
}
.btn--primary:hover { background: #FFFFFF; border-color: #FFFFFF; }

/* The eyebrow index reads as the emphasis now that the rule is grey. */
.eyebrow .idx { color: var(--text); }

/* Flat lifts where the parent tinted green. */
.card--primary,
.tier--feature { background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 60%), var(--ink-2); }

/* Focus is white, so it stays visible against every surface here. */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line-3); }

/* ---- Green, and only here: a check that came back clean ---- */
.dot { background: var(--verify); box-shadow: 0 0 0 3px var(--verify-bg); }
.term__body .c-sig { color: var(--verify); }
.tag--sig { color: var(--verify); border-color: var(--verify-dim); background: var(--verify-bg); }
.callout--sig { border-left-color: var(--verify); }
.callout--sig .callout__t { color: var(--verify); }
.honest__k--sig { color: var(--verify); }
.wait__msg[data-state="ok"] { color: var(--verify); }


/* ---------- Accessibility primitives ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--text);
  color: #000000;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 0 0 2px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible, .field input:focus-visible { outline-offset: 2px; }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Sub-brand lockup ---------- */
.logo__sep {
  width: 1px;
  height: 15px;
  background: var(--line-2);
  flex: none;
  margin: 0 2px;
}
.logo__sub {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

/* ---------- Hero adjustments ---------- */
.hero__grid--wide { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 60px; align-items: center; }

/* ---------- Two-option comparison ---------- */
.opt__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.opt__t { font-size: 21px; color: var(--text); letter-spacing: -0.022em; line-height: 1.28; }
.opt__d { font-size: 15px; color: var(--text-3); line-height: 1.66; }
.opt__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.opt__list li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-3);
  line-height: 1.6;
}
.opt__list li::before {
  content: "";
  width: 9px; height: 1px;
  background: var(--alert);
  margin-top: 11px;
  opacity: 0.85;
}

/* ---------- Honest-about layout ---------- */
.honest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.honest__col { background: var(--ink-2); padding: 32px 30px 34px; }
.honest__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.honest__k--sig { color: var(--verify); }
.honest__k--alert { color: var(--alert); }
.honest__col p { font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* "we don't collect": negated check list */
.checks--x li::before {
  border-color: var(--text-4);
  background: transparent;
  position: relative;
}
.checks--x li { color: var(--text-3); }

/* ---------- Store / can't read ---------- */
.store { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.store__col { background: var(--ink-2); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.store__loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-4);
}
.store__t { font-size: 17px; color: var(--text); letter-spacing: -0.017em; line-height: 1.32; }
.store__d { font-size: 14.5px; color: var(--text-3); line-height: 1.64; }
.store__f {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-4);
}

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.tier {
  background: var(--ink-2);
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
}
.tier--feature { background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 60%), var(--ink-2); }
.tier__hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tier__n { font-size: 16px; color: var(--text); letter-spacing: -0.012em; }
.tier__price {
  font-family: var(--mono);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.tier__price .per { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-4); }
.tier__model {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-2);
}
.tier__list { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 10px; }
.tier__list li {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 11px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.55;
}
.tier__list li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--sig-dim); margin-top: 7px; }
.tier .btn { margin-top: auto; justify-content: center; }

/* ---------- Waitlist form ---------- */
.wait { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; max-width: 560px; }
.wait .field { gap: 0; }
.wait input { padding: 14px 15px; }
.wait .btn { padding: 15px 22px; }
.wait__msg {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--text-3);
  min-height: 1em;
}
.wait__msg[data-state="ok"] { color: var(--verify); }
.wait__msg[data-state="err"] { color: var(--alert); }
.wait__fine { margin-top: 20px; font-size: 13.5px; color: var(--text-4); line-height: 1.65; max-width: 54ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid--wide { grid-template-columns: 1fr; gap: 46px; }
  .honest { grid-template-columns: 1fr; }
  .store { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; }
  .wait { grid-template-columns: 1fr; }
  .honest__col { padding: 26px 22px 28px; }
  .logo__sub { font-size: 10px; letter-spacing: 0.18em; }
}

/* The terminal frame sets mono for its body; the caption underneath it is
   prose and should read as prose. */
.term .figure__cap {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--text-4);
}

/* This sub-brand carries a five-item nav and a longer CTA label than the
   parent site, so the header needs to collapse earlier than 760px or the
   button overruns the viewport. Same treatment, higher breakpoint. */
@media (max-width: 1024px) {
  .hdr__inner { flex-wrap: wrap; height: auto; padding-top: 14px; gap: 14px; }
  .nav {
    order: 3;
    width: 100%;
    margin: 0 calc(var(--pad) * -1);
    padding: 0 calc(var(--pad) - 13px);
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 11px 13px; font-size: 12.5px; }
  .strip__inner .hide-sm,
  .ftr__bar .hide-sm { display: none; }
}

/* The email field carries a label above it, so the submit button has to
   bottom-align to sit level with the input rather than the label. */
.wait .btn { align-self: end; }

/* A word priced instead of a number shouldn't shout at display size. */
.tier__price--text { font-size: 19px; letter-spacing: 0.02em; padding-top: 5px; }

/* At phone widths the sub-brand lockup plus a full-length CTA no longer share
   a row, which pushes the button onto its own line and eats the fold. Shorten
   both rather than letting the header grow to three rows. */
.btn__short { display: none; }
@media (max-width: 480px) {
  .hdr__inner { gap: 10px; }
  .logo { gap: 8px; }
  .logo__word { font-size: 13px; letter-spacing: 0.13em; }
  .logo__sub { font-size: 9px; letter-spacing: 0.14em; }
  .hdr .btn--sm { padding: 9px 12px; gap: 7px; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
}
