/* =====================================================================
   ARC — AI Portal: public site (home, subscription, contact).
   Extends style.css. The portal app itself is a fixed-height shell;
   these pages scroll normally.
   ===================================================================== */

body.site {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, var(--blue-a10) 0%, transparent 62%),
    var(--bg);
}

/* ---------- site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  /* must match .topbar exactly — see style.css — so the logo and wordmark
     stay put when moving between the portal and the public pages */
  gap: 14px;
  padding: 12px 24px;
  min-height: 62px;
  background: rgb(0 0 0 / .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.site-header .brand-name {
  font-weight: 600; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text); white-space: nowrap;
}
.site-nav { display: flex; gap: 4px; margin-left: 8px; align-items: center; }
.site-nav a {
  color: var(--text-2); text-decoration: none;
  font-size: .82rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: var(--panel); }
.site-nav a.active { color: var(--gold-bright); background: var(--panel); }

/* Leaving the portal: the three links unfurl out of where the burger sat,
   left to right, and Portal glides across into its final position. */
@keyframes navUnfurl {
  from { opacity: 0; transform: translateX(-18px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes navPortalSlide {
  from { transform: translateX(-190px); }
  to   { transform: none; }
}
/* Only plays when arriving from the portal - moving between Home, Subscription
   and Contact leaves the nav completely still. */
.nav-animate .site-nav a:not(.nav-portal) {
  animation: navUnfurl .42s cubic-bezier(.22, 1, .36, 1) both;
}
.nav-animate .site-nav a:not(.nav-portal):nth-of-type(1) { animation-delay: .06s; }
.nav-animate .site-nav a:not(.nav-portal):nth-of-type(2) { animation-delay: .13s; }
.nav-animate .site-nav a:not(.nav-portal):nth-of-type(3) { animation-delay: .20s; }

/* Portal sits last and reads as the primary action */
.site-nav a.nav-portal {
  background: var(--gold); color: var(--on-gold); font-weight: 600;
  padding: 9px 18px; border-radius: var(--r); margin-left: 6px;
}
.nav-animate .site-nav a.nav-portal {
  animation: navPortalSlide .52s cubic-bezier(.22, 1, .36, 1) both;
}
.site-nav a.nav-portal:hover { background: var(--gold-bright); color: var(--on-gold); }
.site-nav a.nav-portal.active { background: var(--gold-bright); color: var(--on-gold); }
.site-header .spacer { flex: 1; }

/* account button (right) */
.acct-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--text);
  padding: 9px 15px; border-radius: 22px; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 500; white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.acct-btn:hover { border-color: var(--gold); background: var(--panel-2); }
.acct-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.acct-modal { width: 400px; max-width: 94vw; }
.acct-lead { color: var(--text); font-size: .95rem; margin-bottom: 10px; }
.acct-email { font-size: .8rem; color: var(--muted); margin-bottom: 14px; word-break: break-all; }
.acct-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.acct-actions > * { flex: 1; text-align: center; text-decoration: none; min-width: 130px; }

/* ---------- shared section furniture ---------- */
/* Uses most of the viewport on a wide screen rather than sitting in a narrow
   column, while keeping a comfortable measure for body text. */
.wrap { width: min(92vw, 1500px); margin: 0 auto; padding: 0 clamp(24px, 3vw, 48px); }
/* Section sub-headers carry the Arc-Squared brand blue; gold stays reserved
   for actions and highlights. */
.eyebrow {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--blue-core); font-weight: 600; margin-bottom: 14px;
}
.section { padding: 92px 0; }
/* every section header is centred, matching the hero */
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
h1.display {
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  font-weight: 300; line-height: 1.06; letter-spacing: -.02em;
  color: var(--text);
}
h2.title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -.015em;
  color: var(--text);
}
.lead { font-size: 1.02rem; line-height: 1.65; color: var(--text-2); margin-top: 16px; }
.lead-sm { font-size: .92rem; line-height: 1.6; color: var(--muted); margin-top: 12px; }

/* ---------- hero (centred) ---------- */
.hero { padding: 104px 0 84px; position: relative; text-align: center; }
.hero .hero-logo { height: 88px; width: auto; margin: 0 auto 30px; display: block; }
.hero h1 {
  max-width: none;
  /* sized so the headline holds a single line on desktop */
  font-size: clamp(1.9rem, 4.4vw, 4.2rem);
  margin: 0 auto;
}
@media (min-width: 900px) { .hero h1 { white-space: nowrap; } }
/* wide enough to settle on two lines on a desktop screen */
.hero .lead { max-width: 1180px; font-size: 1.12rem; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; justify-content: center; }
.btn-gold {
  background: var(--gold); color: var(--on-gold);
  padding: 14px 26px; border-radius: var(--r);
  font-size: .92rem; font-weight: 600; text-decoration: none;
  display: inline-block; border: 0; cursor: pointer;
  transition: background .15s;
}
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost {
  background: transparent; color: var(--text);
  padding: 14px 26px; border-radius: var(--r);
  border: 1px solid var(--line-2);
  font-size: .92rem; font-weight: 500; text-decoration: none;
  display: inline-block; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--gold-a40); background: var(--panel); }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 60px; justify-content: center; }
.hero-stat .n { font-size: 1.9rem; font-weight: 300; color: var(--text); letter-spacing: -.02em; }
.hero-stat .l { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 6px; }

/* ---------- workflow strip ----------
   Same Miami scene walked through every stage of the loop, so a visitor gets
   the whole story in one glance before scrolling into the tool detail below.
   Horizontal on desktop, vertical on phone. */
.workflow {
  list-style: none;
  margin: 0 0 56px; padding: 22px 22px;
  display: grid; align-items: center;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.workflow-step {
  min-width: 0; display: flex; flex-direction: column; gap: 10px;
}
.workflow-step figure {
  margin: 0; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--bg);
}
.workflow-step img {
  display: block; width: 100%;
  aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .3s ease;
}
.workflow-step figure:hover img { transform: scale(1.03); }
.workflow-label {
  display: flex; align-items: baseline; gap: 8px;
  font-size: .82rem; color: var(--text);
  padding: 0 2px;
}
.workflow-label b { font-weight: 500; letter-spacing: -.005em; }
.workflow-num {
  font-size: .62rem; letter-spacing: .14em; font-weight: 700;
  color: var(--gold);
}
.workflow-arrow {
  color: var(--gold);
  font-size: 1.4rem;
  padding: 0 4px;
  align-self: center;
  line-height: 1;
  transform: translateY(-10px);        /* nudge up to sit at image midline */
  user-select: none;
}
@media (max-width: 900px) {
  .workflow {
    grid-template-columns: 1fr;
    gap: 4px; padding: 22px;
  }
  .workflow-arrow {
    transform: none;
    text-align: center;
    padding: 4px 0;
    font-size: 1.2rem;
  }
  .workflow-step figure img { aspect-ratio: 16 / 9; }   /* wider on mobile */
}

/* ---------- tool cards ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.tool {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s;
}
.tool:hover { border-color: var(--gold-a40); transform: translateY(-2px); }
.tool .num {
  font-size: .66rem; letter-spacing: .14em; font-weight: 600;
  color: var(--gold); margin-bottom: 16px;
}
.tool h3 { font-size: 1.12rem; font-weight: 500; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.tool p { font-size: .89rem; line-height: 1.6; color: var(--text-2); }
.tool ul { margin-top: 14px; padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
.tool li { font-size: .83rem; color: var(--muted); line-height: 1.5; }

/* --- Stacked tool rows.
   Following the Research.md system: inverse weight rule (light on the display
   headline, semibold on the small eyebrow), sentence case, one accent, tight
   radii, no glow. Rows have identical geometry - no alternating sides - so
   the page reads as authored rather than assembled. --- */
.tools-stacked {
  grid-template-columns: 1fr;
  gap: 28px;
}
.tools-stacked .tool {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding: 48px 52px;
  align-items: stretch;                    /* both columns match height */
}
.tools-stacked .tool:hover { transform: none; }
/* the ::after "View examples" hint from the card grid is redundant here -
   the row has its own explicit CTA */
.tools-stacked .tool[data-stage]::after { content: none; }

/* Copy column: content vertically centred, CTA pinned bottom-right */
.tool-copy {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-bottom: 28px;                    /* room for the CTA */
  min-width: 0;
}
.tools-stacked .tool-copy .num {
  font-size: .68rem; letter-spacing: .14em; font-weight: 700;
  color: var(--gold); margin-bottom: 18px;
}
.tools-stacked .tool-copy h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 300;                        /* inverse weight - big + light */
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: 14px;
  max-width: 22ch;
}
.tools-stacked .tool-copy p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 0;
  max-width: 56ch;
}
.tools-stacked .tool-copy ul {
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
}
.tools-stacked .tool-copy li {
  font-size: .86rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.tools-stacked .tool-copy li::before {
  content: ""; position: absolute;
  left: 0; top: .7em;
  width: 8px; height: 1px;
  background: var(--gold);
}
.tool-cta {
  position: absolute; bottom: 0; right: 0;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600; color: var(--gold-bright);
  transition: transform .18s;
}
.tools-stacked .tool:hover .tool-cta { transform: translateX(3px); }

.tool-shots {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  min-width: 0;
  align-self: center;                      /* match vertical centring of copy */
}
.tool-shots figure {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.tool-shots img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2;
  display: block; background: var(--bg);
  transition: transform .3s ease;
}
.tool-shots figure:hover img { transform: scale(1.02); }
.tool-shots figcaption {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); font-weight: 600;
  padding: 9px 12px 10px; border-top: 1px solid var(--line);
  background: var(--panel-2);
}
/* Populate has only one image today - let it fill the space. */
.tool-shots:has(figure:only-child) { grid-template-columns: 1fr; }

@media (max-width: 860px) {
  .tools-stacked .tool { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
  .tool-copy { padding-bottom: 40px; }
  .tool-cta { right: auto; left: 0; }      /* CTA left-aligned when stacked */
}

/* clickable stage cards */
.tool[data-stage] { cursor: pointer; position: relative; padding-bottom: 52px; }
.tool[data-stage]::after {
  content: "View examples →";
  position: absolute; left: 24px; bottom: 22px;
  font-size: .74rem; letter-spacing: .06em; font-weight: 600;
  color: var(--gold-bright); opacity: .75;
  transition: opacity .18s, transform .18s;
}
.tool[data-stage]:hover::after { opacity: 1; transform: translateX(3px); }
.tool[data-stage]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.stage-modal { width: 760px; max-width: 94vw; max-height: 88vh; }
.stage-body { overflow-y: auto; font-size: .87rem; line-height: 1.6; color: var(--text-2); }
.stage-img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-2); border-radius: var(--r);
  margin-bottom: 20px; background: var(--bg);
}

/* Gallery strip: all example shots for the tool, at the top of the popup */
.stage-gallery {
  display: grid; gap: 10px; margin-bottom: 22px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stage-gallery figure {
  margin: 0; border: 1px solid var(--line-2); border-radius: var(--r);
  overflow: hidden; background: var(--bg);
}
.stage-gallery img {
  width: 100%; height: 100%; display: block;
  aspect-ratio: 3 / 2; object-fit: cover;
}

/* An example that carries its own image gets a wider row and a thumbnail */
.help-ex li.has-shot {
  display: flex; gap: 12px; align-items: stretch;
  padding: 0; overflow: hidden;
  font-style: normal;
  background: var(--bg);
}
.help-ex li.has-shot img {
  width: 140px; flex-shrink: 0;
  object-fit: cover; aspect-ratio: 3 / 2;
  border-right: 1px solid var(--line);
}
.help-ex li.has-shot span {
  padding: 12px 14px; align-self: center;
  color: var(--text-2); font-style: italic; font-size: .86rem; line-height: 1.5;
}
@media (max-width: 520px) {
  .help-ex li.has-shot { flex-direction: column; }
  .help-ex li.has-shot img { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
}
.stage-body h4 {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-bright); font-weight: 600; margin: 20px 0 9px;
}
.stage-body ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.stage-body .help-ex { padding-left: 0; }
.stage-cta { margin-top: 24px; }
.stage-cta .btn-gold { display: inline-block; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.step { border-top: 1px solid var(--line-2); padding-top: 18px; }
.step .n {
  font-size: .66rem; letter-spacing: .14em; font-weight: 600;
  color: var(--gold); margin-bottom: 12px;
}
.step h4 { font-size: 1rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.step p { font-size: .86rem; line-height: 1.6; color: var(--text-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.plan.popular { border-color: var(--gold); }
.plan .tag {
  position: absolute; top: -10px; left: 24px;
  background: var(--gold); color: var(--on-gold);
  font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
}
.plan .pname { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-2); font-weight: 600; }
.plan .pprice { font-size: 2.2rem; font-weight: 300; color: var(--text); letter-spacing: -.02em; margin-top: 12px; }
.plan .pprice small { font-size: .82rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.plan .pcredits { font-size: .92rem; color: var(--gold-bright); margin-top: 8px; font-weight: 500; }
.plan .pgens { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.plan .pblurb { font-size: .86rem; color: var(--text-2); line-height: 1.55; margin-top: 16px; }
.plan ul { margin-top: 18px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan li { font-size: .85rem; color: var(--text-2); padding-left: 20px; position: relative; line-height: 1.45; }
.plan li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }
.plan .btn-gold, .plan .btn-ghost { margin-top: 24px; text-align: center; padding: 12px; }
.plan .save { font-size: .72rem; color: var(--gold); margin-top: 6px; letter-spacing: .04em; }

.topups { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 22px; }
.topup {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px;
  text-align: center; cursor: pointer;
  transition: border-color .15s;
}
.topup:hover { border-color: var(--gold-a40); }
.topup .t-price { font-size: 1.4rem; font-weight: 300; color: var(--text); }
.topup .t-credits { font-size: .82rem; color: var(--gold-bright); margin-top: 6px; }

/* choose-your-own amount */
.topup-custom { cursor: default; display: flex; flex-direction: column; gap: 4px; }
.t-custom-label {
  font-size: .62rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); font-weight: 600;
}
.t-custom-row { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 2px; }
.t-currency { font-size: 1.4rem; font-weight: 300; color: var(--text-2); }
.topup-custom input {
  width: 92px; text-align: center;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  border-radius: var(--r-sm); padding: 4px 6px;
  font: inherit; font-size: 1.3rem; font-weight: 300;
}
.topup-custom input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-a14); }
/* strip the spinner so the tile stays clean */
.topup-custom input::-webkit-outer-spin-button,
.topup-custom input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.topup-custom input[type=number] { -moz-appearance: textfield; }
.t-custom-go { margin-top: 12px; padding: 8px 14px; font-size: .8rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); font-weight: 600; }
.contact-info dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-top: 22px; }
.contact-info dd { font-size: .95rem; color: var(--text); margin-top: 6px; }
.contact-info a { color: var(--gold-bright); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  margin-top: 40px;
}
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a, .footer-links button {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--muted); font-size: .82rem; text-decoration: none;
  font-family: inherit;
  transition: color .15s;
}
.footer-links a:hover, .footer-links button:hover { color: var(--gold-bright); }
.footer-copy { font-size: .78rem; color: var(--muted); }
.footer-addr { font-size: .78rem; color: var(--muted); }
.footer-addr::before { content: ""; display: block; }

/* ---------- checkout gate ---------- */
.checkout-modal { width: 500px; max-width: 94vw; }
.checkout-modal h2 { font-size: 1.05rem; font-weight: 600; }
.checkout-sub {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-bright); font-weight: 600; margin: 6px 0 22px;
}
.check-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); margin-bottom: 10px;
  font-size: .87rem; line-height: 1.5; color: var(--text-2);
  cursor: pointer;
}
.check-row input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.check-row:has(input:checked) { border-color: var(--gold-a40); }
.linky {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--gold-bright);
  text-decoration: underline; text-underline-offset: 2px;
}

/* ---------- legal popup ---------- */
.legal-modal { width: 720px; max-width: 94vw; max-height: 86vh; }
.legal-body { overflow-y: auto; font-size: .87rem; line-height: 1.65; color: var(--text-2); padding-right: 6px; }
.legal-body h3 {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--gold-bright); font-weight: 600; margin: 24px 0 9px;
}
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 11px; }
.legal-body ul { padding-left: 20px; margin-bottom: 11px; display: flex; flex-direction: column; gap: 6px; }
.legal-body b { color: var(--text); font-weight: 600; }
.legal-body .updated { font-size: .78rem; color: var(--muted); margin-bottom: 20px; }
.legal-body table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: .82rem; }
.legal-body th, .legal-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { color: var(--text); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .site-header { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; padding-bottom: 2px; }
  .site-nav a { white-space: nowrap; padding: 8px 12px; }
  .site-nav a.nav-portal { padding: 8px 16px; margin-left: 2px; }
  .site-header .spacer { display: none; }
  .acct-btn { margin-left: auto; padding: 8px 13px; font-size: .76rem; }
  .site-header .brand-name { font-size: .68rem; letter-spacing: .1em; }
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 60px 0 56px; }
  .hero .hero-logo { height: 58px; }
  .hero-stats { gap: 28px; margin-top: 44px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 18px; }
}
