/* ==========================================================================
   AUTOOL — Warranty registration & owner resources (condensed)
   Same design language as /amazon-1: amber #FEB511 on shop-floor black,
   zero corner radius, Barlow + Inter. Trimmed to four bands, so anything
   the shorter page does not use has been dropped from this stylesheet.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, SIL OFL) -------------------- */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlowcondensed-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('fonts/barlow-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrainsmono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --ink:        #0C0E10;   /* page ground */
  --ink-2:      #101316;   /* alternating band */
  --bay:        #14181B;   /* panel */
  --bay-2:      #171B1F;   /* raised panel */
  --amber:      #FEB511;
  --amber-deep: #E5A30F;
  --amber-lit:  #FFC83D;
  --chalk:      #F2F5F7;
  --steel:      #9AA4AC;
  --steel-dim:  #737C84;
  --line:       rgba(255,255,255,.08);
  --line-2:     rgba(255,255,255,.14);
  --go:         #49E670;
  --no:         #FF485F;

  --f-display: 'Barlow Condensed', 'Barlow Semi Condensed', Impact, sans-serif;
  --f-label:   'Barlow', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(18px, 5vw, 48px);
  --content: 1200px;
  --wrap: calc(var(--content) + var(--gutter) + var(--gutter));
  --band-y: clamp(56px, 8vw, 104px);
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (max-width: 900px) { html { scroll-padding-top: 78px; } }
body.is-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--steel);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-lit); }
h1, h2, h3, h4 { margin: 0; color: var(--chalk); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--amber); color: #14181B; padding: 10px 16px;
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em;
  transition: top .18s;
}
.skip:focus { top: 8px; color: #14181B; }

/* ---------- Type helpers ------------------------------------------------- */
.eyebrow {
  font-family: var(--f-label);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--amber);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--amber); flex: none;
}
.eyebrow.is-plain::before { display: none; }

.h-sec {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .005em;
  max-width: 26ch;
  text-wrap: balance;             /* no orphaned last word */
}
.h-panel {
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.lede { font-size: clamp(1rem, 1.6vw, 1.125rem); max-width: 62ch; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.fine { font-size: .82rem; line-height: 1.6; color: var(--steel-dim); }

/* ---------- Layout ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.masthead, .hero, .hazard, .band, .foot {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.band { padding-block: var(--band-y); border-top: 1px solid var(--line); }
.band.is-alt { background: var(--ink-2); }
.band-head { margin-bottom: clamp(32px, 5vw, 56px); }
.band-head .lede { margin-top: 18px; margin-bottom: 0; }

/* Hazard rule — used exactly once, closing the hero. */
.hazard {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg, var(--amber) 0 10px, #0C0E10 10px 20px
  );
  opacity: .9;
}

/* ---------- Panel + nameplate ------------------------------------------- */
/* Every functional block is framed like a piece of shop equipment: square,
   hairline border, with a small stamped nameplate riding the top edge. */
.panel {
  position: relative;
  background: var(--bay);
  border: 1px solid var(--line-2);
  padding: 30px 26px 26px;
}
.band.is-alt .panel { background: var(--bay-2); }
.plate {
  position: absolute; top: -8px; left: 18px;
  font-family: var(--f-label);
  font-size: .64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--steel-dim);
  background: var(--ink);
  padding: 0 9px;
  line-height: 16px;
}
.band.is-alt .plate { background: var(--ink-2); }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-label); font-weight: 600;
  font-size: .84rem; text-transform: uppercase; letter-spacing: .1em;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--amber); color: #12151A; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-lit); border-color: var(--amber-lit); color: #12151A; }
.btn-ghost { background: transparent; color: var(--chalk); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 28px; font-size: .9rem; }

/* ---------- Header ------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12,14,16,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-row {
  display: flex; align-items: center; flex-wrap: wrap;
  column-gap: 22px;
  min-height: 66px;
}
.brand { display: inline-flex; align-items: center; color: var(--chalk); }
.brand:hover { color: var(--chalk); }
.brand-logo {
  display: block;
  width: auto;
  height: 50px;
  max-width: min(230px, 38vw);
  object-fit: contain;
}
.masthead-cta { margin-left: auto; }

.railnav {
  display: flex; gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.railnav::-webkit-scrollbar { display: none; }
.railnav a {
  font-family: var(--f-label); font-weight: 600;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .11em;
  color: var(--steel); white-space: nowrap;
  padding: 10px 13px;
  border-bottom: 2px solid transparent;
  transition: color .14s, border-color .14s;
}
.railnav a:hover { color: var(--chalk); }
.railnav a.is-current { color: var(--amber); border-bottom-color: var(--amber); }

.railnav-wrap { flex: 1 1 auto; min-width: 0; }

@media (min-width: 901px) {
  .masthead-row {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 118px;
    padding-block: 8px 6px;
  }
  .masthead-row > .brand { justify-content: center; }
  .masthead-row .brand-logo { height: 58px; max-width: 260px; }
  .railnav-wrap {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 0;
    padding-top: 5px;
  }
  .railnav-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    border-top: 1px solid var(--line);
    pointer-events: none;
  }
}

/* ---------- Mobile navigation -------------------------------------------
   A side-scrolling rail hides most of its items and gives small targets, so
   below 900px the nav becomes a menu button opening a full-screen sheet:
   every destination visible at once, 56px rows, current section marked.
   ------------------------------------------------------------------------ */
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--chalk);
  width: 46px; height: 46px;
  place-items: center;
  cursor: pointer; flex: none;
  transition: border-color .14s, color .14s;
}
.menu-btn:hover { border-color: var(--amber); color: var(--amber); }
.menu-btn svg { width: 20px; height: 20px; }

.sheet {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink);
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0;
  transform: translateY(-8px);
  /* visibility must step, not interpolate — mid-transition it computes as
     hidden and focus() into the panel silently fails */
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
@media (prefers-reduced-motion: reduce) { .sheet { transition: visibility 0s linear .2s; } }

.sheet-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
  min-height: 66px; flex: none;
}
.sheet-close {
  background: transparent; border: 1px solid var(--line-2); color: var(--chalk);
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  transition: border-color .14s, color .14s;
}
.sheet-close:hover { border-color: var(--amber); color: var(--amber); }
.sheet-close svg { width: 18px; height: 18px; }

.sheet-body { overflow-y: auto; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.sheet-body a {
  display: flex; align-items: center; gap: 16px;
  padding: 15px var(--gutter);
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  color: var(--chalk);
}
.sheet-body a:hover { background: var(--bay); color: var(--chalk); }
.sheet-body a.is-current { border-left-color: var(--amber); background: var(--bay); }
.sheet-body a.is-current .s-t { color: var(--amber); }
.sheet-n {
  font-family: var(--f-mono); font-size: .68rem; color: var(--steel-dim);
  letter-spacing: .06em; flex: none; width: 20px;
}
.sheet-txt { flex: 1 1 auto; min-width: 0; }
.s-t {
  display: block;
  font-family: var(--f-display); font-size: 1.18rem;
  text-transform: uppercase; letter-spacing: .015em; line-height: 1.1;
}
.s-d {
  display: block; font-size: .8rem; color: var(--steel-dim);
  margin-top: 3px; line-height: 1.4;
}
.sheet-go { flex: none; color: var(--steel-dim); }
.sheet-go svg { width: 16px; height: 16px; }

.sheet-foot {
  flex: none; padding: 16px var(--gutter);
  border-top: 1px solid var(--line-2); background: var(--ink-2);
}
.sheet-foot .btn { width: 100%; }
.sheet-foot p {
  margin: 12px 0 0; font-family: var(--f-mono); font-size: .7rem;
  color: var(--steel-dim); letter-spacing: .03em; text-align: center;
}

@media (max-width: 900px) {
  .masthead-row {
    position: relative;
    justify-content: flex-end;
    min-height: 58px;
    column-gap: 12px;
  }
  .masthead-row > .brand,
  .sheet-top > .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .sheet-top { position: relative; justify-content: flex-end; }
  .brand-sub { display: none; }
  .railnav-wrap { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
}
@media (min-width: 901px) { .sheet { display: none; } }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  min-height: calc(100vh - 66px);
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 7vw, 92px) clamp(40px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(6,8,10,.94) 0%, rgba(6,8,10,.82) 44%, rgba(6,8,10,.62) 100%),
    linear-gradient(180deg, rgba(6,8,10,.28) 0%, rgba(6,8,10,.72) 100%),
    url("https://autoolstore.com/wp-content/uploads/2026/03/3bf321d2523fee8ad49864684760ee4b.jpg") center center / cover no-repeat;
}
.hero > .wrap { width: 100%; }
.hero .meter-panel {
  background: rgba(20,24,27,.90);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.hero .lede { color: #C4CBD0; }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.34); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 7.2vw, 4.9rem);
  line-height: .96;
  text-transform: uppercase;
  letter-spacing: .004em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Content-width items that wrap as whole units. Equal 1fr tracks either
   overflow (with nowrap) or split a label from its value (without it). */
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-facts div {
  font-family: var(--f-mono); font-size: .71rem;
  letter-spacing: .03em; color: var(--steel-dim);
  text-transform: uppercase; white-space: nowrap;
}
.hero-facts b { color: var(--chalk); font-weight: 500; }

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(6,8,10,.90) 0%, rgba(6,8,10,.84) 46%, rgba(6,8,10,.96) 100%),
      url("https://autoolstore.com/wp-content/uploads/2026/03/3bf321d2523fee8ad49864684760ee4b.jpg") center center / cover no-repeat;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 44px; max-width: min(190px, 42vw); }
}
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- SIGNATURE: the coverage meter -------------------------------- */
.meter-panel { padding: 32px 26px 26px; }
.meter-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 26px;
}
.meter-total {
  font-family: var(--f-display); font-size: 3.1rem; line-height: .85;
  color: var(--amber);
}
.meter-total span {
  font-family: var(--f-label); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; color: var(--steel-dim);
  display: block; margin-top: 8px;
}

.meter-track {
  position: relative;
  height: 38px;
  background: #0A0C0E;
  border: 1px solid var(--line-2);
  display: flex;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  width: 75%;                                    /* 36 of 48 months */
  background:
    linear-gradient(180deg, #39424A 0%, #2A3138 100%);
  border-right: 1px solid var(--line-2);
  display: flex; align-items: center; padding-left: 12px;
  font-family: var(--f-mono); font-size: .72rem; color: var(--chalk);
  letter-spacing: .04em;
  flex: none;
  overflow: hidden; white-space: nowrap;
}
@media (max-width: 420px) { .meter-fill { font-size: .62rem; padding-left: 8px; } }
.meter-bonus {
  height: 100%;
  width: 25%;                                    /* the +12 month segment */
  background: repeating-linear-gradient(
    -45deg, rgba(254,181,17,.30) 0 6px, rgba(254,181,17,.07) 6px 12px
  );
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: .7rem;
  color: var(--amber); letter-spacing: .06em;
  flex: none;
  overflow: hidden; white-space: nowrap;
  transition: background .5s ease;
}
.meter-track.is-locked .meter-bonus {
  background: linear-gradient(180deg, var(--amber-lit) 0%, var(--amber-deep) 100%);
  color: #12151A;
}
@media (prefers-reduced-motion: reduce) {
  .meter-bonus { transition: none; }
}

/* Ticks sit at exact percentages so the "36" label lands on the segment seam. */
.meter-scale {
  position: relative; height: 21px;
  font-family: var(--f-mono); font-size: .66rem; color: var(--steel-dim);
  letter-spacing: .05em;
}
.meter-scale span { position: absolute; top: 8px; transform: translateX(-50%); }
.meter-scale span::before {
  content: ''; position: absolute; left: 50%; top: -8px;
  width: 1px; height: 5px; background: var(--line-2);
}
.meter-scale .t0   { left: 0;   transform: none; }
.meter-scale .t0::before   { left: 0; }
.meter-scale .t25  { left: 25%; }
.meter-scale .t50  { left: 50%; }
.meter-scale .t75  { left: 75%; color: var(--steel); }
.meter-scale .t75::before  { background: var(--amber); height: 7px; top: -8px; }
.meter-scale .t100 { left: 100%; transform: translateX(-100%); }
.meter-scale .t100::before { left: auto; right: 0; }

.meter-rows { margin-top: 26px; border-top: 1px solid var(--line); }
.meter-rows div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .87rem;
}
.meter-rows .k { color: var(--steel); }
.meter-rows .v {
  font-family: var(--f-mono); font-size: .82rem;
  color: var(--chalk); letter-spacing: .03em; white-space: nowrap;
}
.meter-rows .v.is-amber { color: var(--amber); }

/* ---------- Registration form ------------------------------------------- */
.reg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.reg-grid > .reg-copy,
.reg-grid > .form-panel {
  align-self: center;
}
@media (max-width: 940px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-copy .band-head { margin-bottom: 28px; }
.reg-copy .band-head .h-sec { max-width: 18ch; }

.rules li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.rules li:last-child { border-bottom: 0; }
.rules .n {
  font-family: var(--f-mono); font-size: .72rem; color: var(--amber);
  flex: none; padding-top: 3px; letter-spacing: .04em;
}
.rules b { color: var(--chalk); font-weight: 600; }

.form-panel { border-top: 2px solid var(--amber); padding: 34px 28px 30px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--f-label); font-weight: 600;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--steel); margin-bottom: 8px;
}
.field label .req { color: var(--amber); }
.field label .opt { color: var(--steel-dim); letter-spacing: .1em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%;
  background: #0A0C0E;
  border: 1px solid var(--line-2);
  color: var(--chalk);
  font-family: var(--f-body); font-size: .95rem;
  padding: 14px 15px;
  border-radius: 0;
  transition: border-color .14s, background .14s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #4E565D; }
.field input:focus { outline: none; border-color: var(--amber); background: #0C0F12; }
.field input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.field input.is-mono { font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.field .hint { font-size: .76rem; color: var(--steel-dim); margin-top: 7px; }
.field .err {
  display: none;
  font-size: .78rem; color: var(--no); margin-top: 7px;
  align-items: center; gap: 7px;
}
.field .err svg { width: 14px; height: 14px; flex: none; }
.field.has-error input { border-color: var(--no); }
.field.has-error .err { display: flex; }

/* Two short optional fields share a row on anything wider than a phone. */
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 520px) { .field-pair { grid-template-columns: 1fr; } }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; margin-bottom: 22px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  font-size: .82rem; line-height: 1.55;
}
.consent input[type="checkbox"] {
  flex: none; width: 18px; height: 18px; margin: 2px 0 0;
  accent-color: var(--amber);
}
.consent.has-error { border-color: var(--no); }

.form-foot {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 10px;
}
.form-foot svg { width: 15px; height: 15px; color: var(--steel-dim); flex: none; margin-top: 2px; }

.notice {
  display: flex; gap: 13px; align-items: flex-start;
  margin-top: 26px; padding: 18px 20px;
  border: 1px solid rgba(254,181,17,.32);
  background: rgba(254,181,17,.05);
  font-size: .88rem;
}
.notice svg { width: 19px; height: 19px; color: var(--amber); flex: none; margin-top: 2px; }
.notice b { color: var(--chalk); }

/* ---------- Resource tiles ----------------------------------------------- */
/* Four destinations, one grid, hairline seams. Each is a whole-card link so
   the tap target is the tile rather than the heading. */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.action {
  background: var(--ink-2);
  color: var(--steel);            /* it is an <a>; don't inherit link amber */
  padding: 30px 24px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .16s;
}
.action:hover h3 { color: var(--amber); }
.action:hover { background: var(--bay-2); }
.action-ico { color: var(--amber); }
.action-ico svg { width: 26px; height: 26px; }
.action h3 {
  font-family: var(--f-display); font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: .01em; line-height: 1.1;
}
.action p { font-size: .89rem; margin: 0; }
.action-meta {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .7rem;
  color: var(--steel-dim); letter-spacing: .04em; text-transform: uppercase;
}
.action-meta svg { width: 13px; height: 13px; flex: none; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .grid-4 { grid-template-columns: 1fr; } }

/* Secondary destinations: same idea, one line each. */
.linkrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.linkrow a {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-2);
  padding: 11px 15px;
  color: var(--steel);
  font-family: var(--f-label); font-weight: 600;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  transition: border-color .14s, color .14s, background .14s;
}
.linkrow a:hover { border-color: var(--amber); color: var(--amber); background: rgba(254,181,17,.06); }
.linkrow svg { width: 15px; height: 15px; flex: none; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.faq-grid > .faq-copy,
.faq-grid > .contact-panel {
  align-self: center;
}
@media (max-width: 940px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-copy .band-head { margin-bottom: 28px; }
.faq-copy .band-head .lede { max-width: 48ch; }

details.qa { border-bottom: 1px solid var(--line); }
details.qa:first-of-type { border-top: 1px solid var(--line-2); }
details.qa summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; cursor: pointer;
  color: var(--chalk); font-size: .95rem; font-weight: 500;
  list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { color: var(--amber); }
details.qa .chev {
  width: 16px; height: 16px; flex: none; margin: 4px 0 0 auto;
  color: var(--steel-dim); transition: transform .2s;
}
details.qa[open] .chev { transform: rotate(180deg); color: var(--amber); }
details.qa .qa-body { padding: 0 34px 20px 0; font-size: .89rem; }
details.qa .qa-body p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { details.qa .chev { transition: none; } }

/* ---------- Contact ------------------------------------------------------ */
.contact-panel { position: static; }
.contact-list { border-top: 1px solid var(--line); margin: 18px 0 0; }
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.contact-list svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 3px; }
.contact-list .k {
  font-family: var(--f-label); font-weight: 600; font-size: .64rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--steel-dim);
  display: block; margin-bottom: 3px;
}
.contact-list .val { color: var(--chalk); font-size: .9rem; display: block; }
.contact-list .val.mono { font-size: .84rem; letter-spacing: .02em; }
.contact-list a.val:hover { color: var(--amber); }
@media (max-width: 940px) { .contact-panel { position: static; } }

/* Square icon buttons — the social row, repeated in the footer. */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social a {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  color: var(--steel);
  transition: border-color .14s, color .14s, background .14s;
}
.social a:hover { border-color: var(--amber); color: var(--amber); background: rgba(254,181,17,.07); }
.social svg { width: 20px; height: 20px; }

/* ---------- Footer ------------------------------------------------------- */
.foot { border-top: 1px solid var(--line-2); padding-block: 52px 40px; background: var(--ink); }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 34px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 {
  font-family: var(--f-label); font-weight: 600;
  font-size: .66rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--steel-dim); margin-bottom: 14px;
}
.foot-links li { padding: 6px 0; }
.foot-links a { color: var(--steel); font-size: .88rem; }
.foot-links a:hover { color: var(--amber); }
.foot-bottom {
  position: relative;
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: center;
  text-align: center;
}
.foot-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
}
/* ---------- Modal -------------------------------------------------------- */
dialog.modal {
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--amber);
  background: var(--bay);
  color: var(--steel);
  padding: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  margin: auto;
  border-radius: 0;
  overflow: hidden;               /* .modal-inner does the scrolling */
}
dialog.modal::backdrop { background: rgba(6,8,9,.86); backdrop-filter: blur(3px); }
.modal-inner { padding: 32px 30px 28px; overflow-y: auto; max-height: min(88vh, 900px); }
@media (max-width: 560px) {
  .modal-inner { padding: 24px 20px 24px; }
  .modal-inner h2 { font-size: 1.6rem; }
  .receipt { margin: 16px 0 20px; }
  .receipt div { padding: 8px 0; }
}

/* Soft edge while there is more of the confirmation below the fold. */
dialog.modal::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 54px;
  background: linear-gradient(to top, var(--bay) 12%, rgba(20,24,27,0));
  pointer-events: none; opacity: 1; transition: opacity .2s;
}
dialog.modal.is-end::after { opacity: 0; }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: 1px solid var(--line-2);
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--steel); cursor: pointer; transition: color .14s, border-color .14s;
}
.modal-close:hover { color: var(--amber); border-color: var(--amber); }
.modal-close svg { width: 15px; height: 15px; }

.modal-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-label); font-weight: 600;
  font-size: .66rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--go); margin-bottom: 14px;
}
.modal-badge svg { width: 16px; height: 16px; }
.modal-inner h2 {
  font-family: var(--f-display); font-size: clamp(1.8rem, 4.6vw, 2.2rem);
  text-transform: uppercase; line-height: 1; letter-spacing: .01em;
  margin-bottom: 10px;
}
.modal-inner > p { font-size: .9rem; margin-bottom: .8em; }

.receipt { border-top: 1px solid var(--line); margin: 18px 0 24px; }
.receipt div {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: .85rem;
}
.receipt div[hidden] { display: none; }
.receipt .v {
  font-family: var(--f-mono); font-size: .84rem; color: var(--chalk);
  letter-spacing: .05em; text-align: right;
}
.receipt .v.is-amber { color: var(--amber); }
.copy-btn {
  background: transparent; border: 1px solid var(--line-2);
  color: var(--steel); cursor: pointer;
  padding: 5px 10px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-label); font-size: .64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  transition: color .14s, border-color .14s;
}
.copy-btn:hover { color: var(--amber); border-color: var(--amber); }
.copy-btn svg { width: 12px; height: 12px; }

.modal-sub {
  font-family: var(--f-label); font-weight: 600;
  font-size: .66rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--steel-dim); margin: 0 0 14px;
}
.next-steps li {
  display: flex; gap: 11px; font-size: .85rem; padding: 6px 0;
}
.next-steps svg { width: 15px; height: 15px; color: var(--amber); flex: none; margin-top: 4px; }

.modal-fine { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }

/* Meter inside the modal, compact */
.modal .meter-track { height: 30px; }
.modal .meter-scale span { font-size: .62rem; }

@media (min-width: 901px) {
  .hero { min-height: calc(100vh - 104px); }
}

/* Desktop midpoint alignment: each left/right block is centered on the same vertical axis. */
@media (min-width: 941px) {
  #register .reg-grid,
  #faq .faq-grid {
    align-items: center !important;
  }
  #register .reg-grid > .reg-copy,
  #register .reg-grid > .form-panel,
  #faq .faq-grid > .faq-copy,
  #faq .faq-grid > .contact-panel {
    align-self: center !important;
    margin-block: 0;
  }
}

/* --------------------------------------------------------------------------
   Registration: server-side failures
   A field-level problem stays on its field; this carries the ones that are not
   about a single field — the network dropped, or the server said no.
   -------------------------------------------------------------------------- */
.form-panel .form-err {
  display: none;
  align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 11px 13px;
  font-size: .82rem; line-height: 1.45; color: var(--no);
  background: rgba(255, 72, 95, .08);
  border-left: 2px solid var(--no);
}
.form-panel .form-err svg { width: 15px; height: 15px; flex: none; }
.form-panel .form-err.is-on { display: flex; }

/* The submit button while the request is in flight. */
.form-panel .btn[type="submit"] { white-space: nowrap; }
.btn[aria-busy="true"] { opacity: .62; cursor: progress; }

@media (max-width: 420px) {
  .form-panel .btn[type="submit"] {
    gap: 7px;
    padding-inline: 14px;
    font-size: .78rem;
    letter-spacing: .075em;
  }
  .form-panel .btn[type="submit"] svg { width: 16px; height: 16px; }
}
