/* ============================================================
   /assets/css/qwq-house.css
   QWQ Digital Studio - SHARED HOUSE VISUAL SYSTEM (dark front-of-house)
   ------------------------------------------------------------
   This is the reusable component layer for the whole public site.
   It builds ON TOP of /assets/css/qwq-tokens.css, which owns the
   palette + the base primitives (.btn, .card, .eyebrow, .textlink).
   Load order on every page:
     1. /assets/fonts/fonts.css
     2. /assets/css/qwq-tokens.css   (palette + primitives)
     3. /assets/css/qwq-house.css    (this file - layout components)
     4. page / module CSS

   PHASE 2 INTENT
   ------------------------------------------------------------
   Every class here is written to be dropped onto ANY page, not just
   the homepage. Sections are content-agnostic wrappers; the nav,
   footer, buttons, cards, grids, pills and glow helpers are meant to
   be reused verbatim. Keep page-only composition (one-off hero art
   sizing, etc.) in the page's own <style>/CSS, not in here.

   CONTENTS
     0. Reset + document base
     1. Skip link + focus ring (a11y)
     2. Layout: .container, .section, section headers, dividers
     3. Navigation: .site-header / .site-nav / mobile drawer
     4. Buttons: size + group helpers (extend tokens .btn)
     5. Cards: feature / icon / numbered-step / industry / pricing
     6. Pills, trust row, line-icon frame
     7. Glow + media helpers (gold halo, soundmark art)
     8. Footer
     9. Motion / reduced-motion + responsive breakpoints
   ============================================================ */

/* ── BLACK-GROUND override (owner 2026-06-08) ──────────────────
   Replace the warm espresso base with a neutral black scheme.
   Keep brass accent + cream text. Loaded after qwq-tokens.css so
   these win. Applies wherever qwq-house.css is used (phase-2 = site). */
:root {
  --bg:        #000000;
  --bg-2:      #0a0a0a;
  --bg-card:   #101010;
  --bg-elev:   #171717;
  --bg-elev2:  #1f1f1f;
  --footer-bg: #000000;
  --border:    #262626;
  --border-hi: #3a3a3a;
}

/* ── 0. Reset + document base ──────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

a { color: var(--accent-text); }

:where(button) { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── 1. Skip link + global focus ring (a11y) ───────────────── */
.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 1200;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

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

/* ── 2. Layout primitives ──────────────────────────────────── */

/* Centred content column with clamped gutters. */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--inner-pad);
}
.container--wide { max-width: 1280px; }
.container--narrow { max-width: 760px; }

/* Vertical rhythm band. Add .section--alt for the lifted band colour. */
.section {
  padding-block: clamp(64px, 9vw, 116px);
  position: relative;
}
.section--alt { background: var(--bg-2); }
.section--deep { background: var(--footer-bg); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Section heading block (eyebrow + title + lede), reusable. */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-size: var(--fs-h2);
  margin: 0;
}
.section-lede {
  margin-top: 20px;
  color: var(--text-2);
  font-size: 1.075rem;
  line-height: 1.7;
  max-width: 56ch;
}
.section-head--center .section-lede { margin-inline: auto; }

/* Hairline divider with a centred brass node (house chapter rule). */
.rule {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding-inline: var(--inner-pad);
}
.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
}
.rule__node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-pale), 0 0 16px var(--accent-glow);
  flex: none;
}

/* ── 3. Navigation ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--nav-h);
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--inner-pad);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
}
.nav-brand img {
  height: 34px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .15s ease, background .15s ease;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-pale);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-left: auto;
}

/* Hamburger toggle (hidden on desktop). */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ── 4. Buttons (extend tokens .btn / .btn--gold / .btn--ghost-gold) ── */
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ── 5. Cards ──────────────────────────────────────────────── */

/* Generic responsive auto-grid (reuse for any card row). */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* Feature / capability card (extends tokens .card). */
.feature-card {
  padding: clamp(24px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0;
}
.feature-card__body {
  color: var(--text-2);
  font-size: .97rem;
  line-height: 1.65;
  margin: 0;
}

/* Round brass-tinted icon chip used at the head of feature cards. */
.icon-chip {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-pale);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent-text);
  flex: none;
}
.icon-chip svg { width: 24px; height: 24px; }

/* Numbered step (how-it-works). */
.step {
  position: relative;
  padding: clamp(24px, 2.4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-display);
  display: block;
  margin-bottom: 18px;
  opacity: .9;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 10px;
}
.step__body {
  color: var(--text-2);
  font-size: .97rem;
  margin: 0;
}

/* Industry / solution card (neutral gradient placeholder, no fake logos). */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    linear-gradient(160deg, var(--bg-elev), var(--bg-card));
  z-index: 0;
}
.industry-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-float);
}
.industry-card > * { position: relative; z-index: 1; }
.industry-card__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0;
}
.industry-card__icon {
  width: 30px;
  height: 30px;
  color: var(--accent-text);
  margin-bottom: auto;
}

/* Pricing card. */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.2vw, 30px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hi);
}
/* Highlighted "most popular" tier. */
.price-card--featured {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, var(--accent-pale), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow-glow);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card__tier {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0;
}
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
}
.price-card__amount {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.price-card__period {
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--dim);
}
.price-card__who {
  color: var(--text-2);
  font-size: .95rem;
  margin: 0;
  min-height: 2.6em;
}
.price-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.price-card__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: .94rem;
  line-height: 1.5;
}
.price-card__list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

/* ── 6. Pills, trust row, line-icon frame ──────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-pale);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-size: 13.5px;
  font-weight: 500;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-text);
  flex: none;
}

/* ── 7. Glow + media helpers ───────────────────────────────── */

/* Soft warm gold ambient glow behind a focal element. */
.glow-wrap {
  position: relative;
  display: inline-block;
}
.glow-wrap::before {
  content: "";
  position: absolute;
  inset: -8% -8% -8% -8%;
  background: radial-gradient(closest-side,
              var(--accent-glow), transparent 72%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}
.glow-wrap > * { position: relative; z-index: 1; }

/* Page-edge ambient brass wash (decorative, behind a section). */
.glow-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.glow-field::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  top: -22%;
  right: -12%;
  background: radial-gradient(closest-side,
              color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  filter: blur(40px);
}

/* ── 8. Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 6vw, 72px) 36px;
  color: var(--text-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  color: var(--dim);
  font-size: .92rem;
  max-width: 30ch;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-2);
  text-decoration: none;
  font-size: .94rem;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--accent-text); }

.footer-base {
  margin-top: clamp(36px, 5vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--faint);
  font-size: .86rem;
}
.footer-base .made-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-base .made-in svg { width: 15px; height: 15px; color: var(--accent-text); }

/* ── 9. Motion + responsive ────────────────────────────────── */

/* Tasteful first-paint reveal (opt-in via .reveal). */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: house-rise .7s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes house-rise {
  to { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 980px) {
  .grid--4,
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile: collapse nav into a drawer + stack grids */
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  /* Center menu becomes a drawer panel under the bar. */
  .nav-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--inner-pad) 18px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-float);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-menu[data-open="true"] {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a { padding: 12px 14px; font-size: 16px; }

  /* CTA in the bar hides on mobile; it lives inside the drawer instead. */
  .nav-actions .btn { display: none; }
  .nav-menu .btn { display: inline-flex; margin-top: 10px; }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   SOFT STRUCTURALISM homepage component layer
   (homepage-redesign-spec.md v1.0, 2026-06-09)
   ------------------------------------------------------------
   Floating pill nav (sec 6), buttons (sec 6/7), sections + cards
   (sec 5/7), pricing cards (sec 7.3), CTA band + footer (sec 7.4).
   All selectors are prefixed .hp- and/or scoped under html.hp so
   they never collide with the legacy .site-nav / .price-card / .card
   / .btn components that /v7 and other pages still use. The dark
   palette is supplied by the html.hp tokens in qwq-tokens.css, so
   most dark-mode behaviour is automatic (filled buttons invert
   because they read var(--ink)/var(--bg), which swap with the theme).
   ============================================================ */

/* Document base for the homepage subtree (overrides the legacy
   espresso body colour + DM Sans family for this page only). */
html.hp body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
}
/* Bare links inherit ink so the legacy brass `a { color: var(--accent-text) }`
   rule can never leak into the homepage. Scoped to classless anchors ONLY:
   every hp component (.hp-btn, .hp-nav__cta, .hp-cta__btn, .hp-nav__links a)
   declares its own colour, and must NOT be force-inherited here -- a broad
   `html.hp a { color: inherit }` (specificity 0,1,2) used to override the
   filled buttons' `color: var(--bg)` (0,1,0), making text == background
   (white-on-white in dark, black-on-black in light). */
html.hp a:not([class]) { color: inherit; }

/* ── Skip link ─────────────────────────────────────────────── */
.hp-skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 1200;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: top .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-skip-link:focus { top: 12px; }

html.hp :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout ────────────────────────────────────────────────── */
.hp-container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(24px, 6vw, 80px);
}
.hp-container--tight { max-width: 680px; }

.hp-section { padding-block: clamp(80px, 10vw, 120px); }
.hp-section--alt { background: var(--bg-2); }

/* ── Eyebrow + section heading ─────────────────────────────── */
.hp-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.hp-h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

/* ── Buttons ───────────────────────────────────────────────── */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 14px 24px;
  cursor: pointer;
  /* Filled ink button: inverts automatically in dark mode because
     --ink and --bg swap with the theme. */
  background: var(--ink);
  color: var(--bg);
  transition: transform .18s cubic-bezier(0.16, 1, 0.3, 1),
              background .18s cubic-bezier(0.16, 1, 0.3, 1),
              border-color .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}
.hp-btn--ghost:hover { border-color: var(--ink); }
.hp-btn--block { display: flex; width: 100%; }
.hp-btn:active { transform: scale(0.97); }

/* Quiet underlined text link (hero secondary action). */
.hp-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .hp-btn:hover { transform: scale(0.98); }
}

/* ── Floating pill nav (spec sec 6) ────────────────────────── */
.hp-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.hp-nav__logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: 4px;
}
.hp-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* `html.hp` prefix lifts specificity to (0,2,2) so these win over the
   bare-link reset `html.hp a:not([class])` (0,2,1) and keep the spec
   `--ink-2` nav-link colour. */
html.hp .hp-nav__links a {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s cubic-bezier(0.16, 1, 0.3, 1);
}
html.hp .hp-nav__links a:hover { color: var(--ink); }
.hp-nav__toggle {
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition: background .15s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-nav__toggle:hover { background: var(--border); }
.hp-nav__toggle svg { width: 16px; height: 16px; }
.hp-nav__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: transform .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-nav__cta:active { transform: scale(0.97); }

/* ── Pricing cards (spec sec 7.3) ──────────────────────────── */
.hp-price {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.hp-price--pro {
  border: 2px solid var(--blue);
  background: var(--blue-pale);
}
.hp-price__badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.hp-price__tier {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}
.hp-price__amount-row { display: flex; align-items: baseline; gap: 5px; }
.hp-price__amount {
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hp-price__mo { font-size: 1rem; color: var(--dim); }
.hp-price__tagline {
  font-size: 14px;
  color: var(--ink-2);
  margin: 10px 0 20px;
  line-height: 1.4;
}
.hp-price__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.hp-price__list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink);
  line-height: 2.2;
}
.hp-price__list li::before {
  content: "\2014";
  color: var(--dim);
  flex: none;
}
.hp-price .hp-btn { margin-top: auto; }
.hp-price__note {
  font-size: 13px;
  color: var(--dim);
  text-align: center;
  margin: 28px 0 0;
}

/* ── CTA band + footer (always-dark, spec sec 7.4) ─────────── */
.hp-cta {
  background: #111111;
  padding: 80px 0 0;
}
.hp-cta__content { text-align: center; }
.hp-cta__label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 22px;
}
.hp-cta__h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #F0EFE9;
  margin: 0;
}
.hp-cta__sub {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 16px 0 32px;
}
.hp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  background: #F0EFE9;
  color: #111111;
  border: none;
  border-radius: 8px;
  padding: 15px 32px;
  cursor: pointer;
  transition: transform .18s cubic-bezier(0.16, 1, 0.3, 1),
              background .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-cta__btn:hover { background: #ffffff; }
.hp-cta__btn:active { transform: scale(0.98); }
.hp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Scroll reveal (spec sec 8) ────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hp-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1),
                transform .7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hp-reveal.visible { opacity: 1; transform: none; }
}

/* ── Homepage responsive (spec sec 6/7) ────────────────────── */
@media (max-width: 768px) {
  .hp-nav {
    top: 12px;
    padding: 8px 8px 8px 18px;
    max-width: calc(100vw - 24px);
  }
  .hp-nav__links { display: none; }
  .hp-footer { flex-direction: column; gap: 10px; text-align: center; }
}
