/* ============================================================================
   Urge web system
   Type: native system UI stack.
   Ember-on-charcoal with restrained crimson and steel accents, WCAG-minded.
   ============================================================================ */
:root {
  --bg: #0d0d0f;
  --surface: #16161a;
  --surface-2: #1c1c21;
  --elevated: #26262c;
  --border: #2a2a31;
  --border-strong: #3a3a43;
  --text: #f4f4f6;
  --text-2: #b6b6bf;       /* AA on --bg */
  --text-3: #83838d;       /* large/secondary only */
  --brand: #ff6a1a;
  --brand-bright: #ff8a34;
  --brand-deep: #d92d0b;
  --accent: #e6435f;
  --steel: #94a3b8;
  --ember: linear-gradient(135deg, #ff8a34, #ff6a1a 48%, #d92d0b);

  --font-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1260px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 14px 40px -12px rgba(0,0,0,.6);
  --ring: 0 0 0 3px rgba(255,106,26,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(900px 480px at 50% -240px, rgba(255,106,26,.10), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.marketing {
  background:
    radial-gradient(980px 560px at 84% -160px, rgba(230,67,95,.14), transparent 68%),
    radial-gradient(820px 480px at 12% -180px, rgba(255,106,26,.14), transparent 70%),
    linear-gradient(180deg, #0d0d0f 0%, #111115 48%, #0d0d0f 100%);
}
h1, h2, h3, .brand { font-family: var(--font-head); letter-spacing: -.02em; }
a { color: var(--brand-bright); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--brand); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Visible keyboard focus everywhere (WCAG 2.4.7) */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, .cat:focus-visible {
  outline: none; box-shadow: var(--ring); border-radius: var(--r-sm);
}

/* Skip link (WCAG 2.4.1) */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: #1a0a02;
  padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { left: 16px; }

/* ── Header ───────────────────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13,13,15,.72); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { position: relative; display: flex; align-items: center; gap: 18px; height: 72px; }
.nav .logo { display: flex; align-items: center; gap: 11px; color: var(--text); min-height: 44px; }
.nav .logo img { height: 40px; width: auto; object-fit: contain; }
.nav .logo .brand { font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav a { color: var(--text-2); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; display: block; width: 100%; height: 2px; margin-top: 4px;
  border-radius: 999px; background: var(--brand);
}
.nav a.open-app {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; color: #1a0a02; background: var(--ember);
  padding: 0 18px; border-radius: 999px; box-shadow: var(--shadow-1);
  transition: transform .15s var(--ease), filter .15s var(--ease);
}
.nav a.open-app:hover { transform: translateY(-1px); filter: brightness(1.05); color: #1a0a02; }
.menu-toggle, .mobile-menu { display: none; }
.menu-toggle {
  position: relative;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong);
  border-radius: 999px; background: rgba(255,255,255,.04); color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .16s var(--ease);
}
.menu-toggle:hover { border-color: rgba(255,138,52,.66); background: rgba(255,106,26,.09); }
.menu-toggle span {
  position: absolute; left: 50%; top: 50%;
  display: block; width: 16px; height: 2px; margin: -1px 0 0 -8px;
  border-radius: 999px; background: currentColor;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.menu-toggle span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle span:nth-child(3) { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(255,138,52,.7);
  background: rgba(255,106,26,.10);
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav { height: 64px; gap: 10px; }
  .nav .logo img { height: 34px; }
  .nav .logo .brand { font-size: 18px; }
  .nav-links { display: none; }
  .nav a.open-app { margin-left: auto; padding: 0 14px; font-size: 14px; }
  .menu-toggle { display: inline-flex; flex-direction: column; flex: 0 0 44px; }
  .mobile-menu {
    position: absolute; top: calc(100% + 10px); left: 18px; right: 18px; z-index: 30;
    display: grid; gap: 4px; padding: 10px;
    border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
    background: rgba(18,18,22,.96); box-shadow: 0 22px 70px -24px rgba(0,0,0,.82);
    backdrop-filter: saturate(140%) blur(18px);
    opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden; pointer-events: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease);
  }
  .mobile-menu.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .mobile-menu a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 46px; padding: 0 14px; border-radius: 11px;
    color: var(--text); font-weight: 700; font-size: 15px;
  }
  .mobile-menu a:hover, .mobile-menu a.active {
    color: var(--text); background: rgba(255,106,26,.12);
  }
  .mobile-menu a.active::after {
    content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--brand);
  }
}

@media (max-width: 360px) {
  .nav .logo .brand { display: none; }
  .nav a.open-app { padding: 0 12px; }
}

/* ── Marketing landing page ───────────────────────────────────────────────── */
.landing-hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: calc(100svh - 132px);
  padding: clamp(58px, 10vh, 96px) 0 clamp(52px, 8vh, 84px);
  background: #0d0d0f;
}
.landing-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 520px at 72% 18%, rgba(255,106,26,.18), transparent 70%),
    linear-gradient(135deg, #0d0d0f 0%, #171214 62%, #0d0d0f 100%);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0; display: block; overflow: hidden;
  background: #0d0d0f;
}
.hero-media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 82% center;
  transform: scale(1.01);
}
.landing-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(13,13,15,.96) 0%, rgba(13,13,15,.86) 38%, rgba(13,13,15,.34) 70%, rgba(13,13,15,.20) 100%),
    linear-gradient(180deg, rgba(13,13,15,.38) 0%, rgba(13,13,15,.08) 42%, rgba(13,13,15,.76) 100%);
}
.landing-grid { position: relative; z-index: 2; display: block; width: 100%; }
.hero-copy { max-width: 690px; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; min-height: 34px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: #ffd0bd;
  padding: 6px 13px; border: 1px solid rgba(255,138,52,.38);
  border-radius: 999px; background: rgba(255,106,26,.12); margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: clamp(40px, 6.3vw, 72px); line-height: .94; margin: 0 0 18px;
  font-weight: 800; letter-spacing: -.035em; max-width: 720px;
}
.hero-copy .sub {
  color: var(--text-2); font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.55; margin: 0 0 28px; max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; }
.primary-cta, .secondary-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800;
  transition: transform .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.primary-cta { color: #1a0a02; background: var(--ember); box-shadow: 0 16px 34px -20px rgba(255,106,26,.82); }
.primary-cta:hover { color: #1a0a02; transform: translateY(-2px); }
.secondary-cta { color: var(--text); border: 1px solid var(--border-strong); background: rgba(255,255,255,.04); }
.secondary-cta:hover { color: var(--text); border-color: rgba(255,138,52,.7); background: rgba(255,106,26,.08); transform: translateY(-2px); }

.signal-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: clamp(56px, 8vw, 92px);
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--border);
}
.signal-strip div { padding: 22px; background: rgba(22,22,26,.92); }
.signal-strip strong { display: block; font-family: var(--font-head); font-size: 18px; color: var(--text); margin-bottom: 6px; }
.signal-strip span { display: block; color: var(--text-2); font-size: 14px; line-height: 1.5; }

.landing-section { padding: 0 24px clamp(64px, 8vw, 100px); }
.section-head { max-width: 680px; margin-bottom: 26px; }
.section-head h2, .safety-grid h2, .final-cta h2 {
  font-family: var(--font-head); font-size: clamp(30px, 4.5vw, 50px);
  line-height: 1.02; margin: 0; letter-spacing: -.03em;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid var(--border); border-radius: 18px; padding: 24px; min-height: 236px;
}
.feature-card .step {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 14px; background: rgba(148,163,184,.12); color: var(--steel);
  font-family: var(--font-head); font-weight: 800; margin-bottom: 22px;
}
.feature-card h3 { font-size: 22px; margin: 0 0 10px; letter-spacing: -.02em; }
.feature-card p { color: var(--text-2); margin: 0; font-size: 15px; line-height: 1.62; }

.safety-band {
  padding: clamp(66px, 8vw, 104px) 0;
  background:
    radial-gradient(680px 360px at 78% 20%, rgba(230,67,95,.10), transparent 72%),
    linear-gradient(180deg, #111115 0%, #16161a 100%);
  color: var(--text);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(62px, 8vw, 102px);
}
.safety-band .section-eyebrow { color: var(--brand-bright); }
.safety-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1fr); gap: clamp(34px, 6vw, 86px); align-items: center; }
.safety-grid h2 { color: var(--text); margin-bottom: 18px; }
.safety-grid p { color: var(--text-2); font-size: 17px; line-height: 1.72; margin: 0; max-width: 630px; }
.safety-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.safety-list a {
  display: block; min-height: 132px; padding: 20px; border-radius: 16px; color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.025));
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px -34px rgba(0,0,0,.85);
}
.safety-list a:hover { color: var(--text); border-color: rgba(255,138,52,.55); background: rgba(255,106,26,.070); }
.safety-list strong { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 8px; }
.safety-list span { display: block; color: var(--text-2); font-size: 14px; line-height: 1.48; }

.final-cta { text-align: center; max-width: 800px; }
.final-cta p:not(.section-eyebrow) { color: var(--text-2); margin: 14px auto 26px; max-width: 620px; }
.final-cta .hero-actions { justify-content: center; }

@media (max-width: 860px) {
  .landing-hero { min-height: calc(100svh - 116px); }
  .hero-media img { object-position: 72% center; }
  .landing-hero::after {
    background:
      linear-gradient(90deg, rgba(13,13,15,.96) 0%, rgba(13,13,15,.86) 54%, rgba(13,13,15,.58) 100%),
      linear-gradient(180deg, rgba(13,13,15,.28) 0%, rgba(13,13,15,.12) 42%, rgba(13,13,15,.82) 100%);
  }
  .safety-grid { grid-template-columns: 1fr; }
  .signal-strip, .feature-grid, .safety-list { grid-template-columns: 1fr; }
  .landing-section { padding-left: 18px; padding-right: 18px; }
}

/* ── Hero + search ────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: clamp(48px, 9vw, 96px) 0 clamp(28px, 5vw, 48px); }
.hero .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
  padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 6.4vw, 58px); font-weight: 800; line-height: 1.02; margin: 0 0 14px; letter-spacing: -.03em; }
.hero .sub { color: var(--text-2); font-size: clamp(15px, 2.2vw, 18px); margin: 0 auto 30px; max-width: 540px; }

.search { max-width: 640px; margin: 0 auto; position: relative; }
.section-search { margin: 16px 0 8px; }
.search input {
  width: 100%; height: 58px; padding: 0 18px 0 52px; font-size: 16px; font-family: var(--font-body);
  color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 16px; outline: none; box-shadow: var(--shadow-1);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.search input::placeholder { color: var(--text-3); }
.search input:focus { border-color: var(--brand); box-shadow: var(--ring); }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
#results { max-width: 640px; margin: 10px auto 0; text-align: left; padding: 0; list-style: none; }
#results li { padding: 0; }
#results li a {
  display: block; padding: 13px 16px; color: var(--text); border: 1px solid var(--border);
  border-radius: var(--r-sm); margin-top: 8px; background: var(--surface); transition: border-color .15s var(--ease), background .15s var(--ease);
}
#results li a:hover { border-color: var(--brand); background: var(--surface-2); }

/* ── Category tiles ───────────────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); margin: 8px 0 16px;
}
.cats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 56px;
}
@media (min-width: 860px) { .cats { grid-template-columns: repeat(4, 1fr); } }
.cat {
  position: relative; display: flex; flex-direction: column; gap: 14px; text-align: left;
  padding: 24px; min-height: 168px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); color: var(--text); overflow: hidden;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.cat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0, rgba(255,106,26,.10), transparent 55%);
  opacity: 0; transition: opacity .18s var(--ease);
}
.cat:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--text); }
.cat:hover::after { opacity: 1; }
.cat .ic {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--ember); color: #1a0a02; box-shadow: 0 6px 18px -6px rgba(255,106,26,.6);
}
.cat .ic svg { width: 24px; height: 24px; }
.cat .t { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.cat .desc { color: var(--text-2); font-size: 13.5px; line-height: 1.5; margin-top: -4px; }
.cat .go { margin-top: auto; color: var(--brand); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.cat .go span { transition: transform .18s var(--ease); }
.cat:hover .go span { transform: translateX(4px); }

/* ── Popular articles ─────────────────────────────────────────────────────── */
.popular { margin: 0 auto 72px; }
.pop-grid { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
@media (min-width: 720px) { .pop-grid { grid-template-columns: 1fr 1fr; } }
.pop-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; color: var(--text); border-bottom: 1px solid var(--border); min-height: 44px;
  transition: background .15s var(--ease);
}
.pop-grid a:hover { background: var(--surface-2); color: var(--text); }
.pop-grid a::after { content: "→"; color: var(--brand); opacity: .8; }
@media (min-width: 720px) { .pop-grid a:nth-child(odd) { border-right: 1px solid var(--border); } }

/* ── Category / article pages ─────────────────────────────────────────────── */
.page { padding: 36px 0 88px; }
.page h1 { font-size: clamp(26px, 4.5vw, 36px); font-weight: 700; margin: 0 0 8px; }
.crumb { color: var(--text-3); font-size: 14px; margin-bottom: 22px; }
.crumb a { color: var(--text-2); }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 4px 48px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.sec h2 { font-family: var(--font-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 30px 0 4px; }

/* Accordion article */
details { border-bottom: 1px solid var(--border); }
details > summary {
  list-style: none; cursor: pointer; padding: 16px 0; color: var(--text); min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 500;
  transition: color .15s var(--ease);
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; font-family: var(--font-head); color: var(--brand); font-weight: 700; font-size: 20px; line-height: 1; }
details[open] > summary::after { content: "–"; }
details > summary:hover { color: var(--brand-bright); }
details .body { padding: 0 0 18px; color: var(--text-2); max-width: 64ch; }
details .body p { margin: 0 0 10px; }
details .body ul { margin: 0 0 10px; padding-left: 18px; }
details .body b { color: var(--text); font-weight: 600; }

/* ── Legal doc pages ──────────────────────────────────────────────────────── */
.doc { padding: 40px 0 88px; max-width: 760px; }
.doc h1 { font-size: clamp(26px, 4.5vw, 34px); font-weight: 700; }
.doc h2 { font-family: var(--font-head); font-size: 19px; margin-top: 32px; color: var(--brand); }
.doc p, .doc li { color: var(--text-2); }
.doc .updated { color: var(--text-3); font-size: 14px; }
.doc .disclaimer { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; color: var(--text-2); }

/* ── Support page ─────────────────────────────────────────────────────────── */
.support-page {
  background:
    radial-gradient(760px 420px at 18% -160px, rgba(255,106,26,.12), transparent 72%),
    radial-gradient(680px 360px at 88% 18%, rgba(230,67,95,.09), transparent 74%),
    var(--bg);
}
.support-hero {
  padding: clamp(54px, 8vw, 96px) 24px clamp(28px, 4vw, 46px);
}
.support-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: .95;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -.035em;
}
.support-hero .updated {
  color: var(--text-2);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 720px;
  margin: 0 0 24px;
}
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding-bottom: clamp(72px, 8vw, 112px);
}
.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.support-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.026)),
    var(--surface);
  box-shadow: 0 20px 48px -38px rgba(0,0,0,.85);
  overflow: hidden;
}
.support-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(360px 190px at 100% 0%, rgba(255,106,26,.085), transparent 68%);
  opacity: .9;
}
.support-card.urgent {
  border-color: rgba(255,106,26,.42);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(230,67,95,.11), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.028)),
    var(--surface);
}
.support-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a0a02;
  background: var(--ember);
  border-radius: 15px;
  margin-bottom: 22px;
  box-shadow: 0 16px 32px -22px rgba(255,106,26,.86);
}
.support-icon svg { width: 24px; height: 24px; }
.support-card h2 {
  position: relative;
  z-index: 1;
  font-size: 23px;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--text);
}
.support-card p {
  position: relative;
  z-index: 1;
  color: var(--text-2);
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.65;
}
.support-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand-bright);
  font-weight: 800;
}
.support-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform .16s var(--ease);
}
.support-link:hover::after { transform: translateX(4px); }
.support-aside {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(380px 220px at 100% 0%, rgba(255,106,26,.11), transparent 72%),
    var(--surface);
}
.support-aside h2 {
  font-size: 28px;
  line-height: 1;
  margin: 0 0 18px;
}
.support-aside a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 0;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.support-aside a:hover { color: var(--brand-bright); }
.support-aside a span { font-weight: 700; }
.support-aside a b {
  color: var(--text-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

@media (max-width: 980px) {
  .support-layout { grid-template-columns: 1fr; }
  .support-aside { position: static; }
}

@media (max-width: 680px) {
  .support-hero { padding-top: 42px; }
  .support-actions .primary-cta,
  .support-actions .secondary-cta { width: 100%; }
  .support-cards { grid-template-columns: 1fr; }
  .support-card { min-height: auto; }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--text-3); font-size: 14px; background: var(--surface); }
.footer-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-row a { color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; }
.footer-row a:hover { color: var(--text); }
.footer-row .spacer { flex: 1; }
.no-results { color: var(--text-2); padding: 24px 0; display: none; }

/* One orchestrated page-load reveal: staggered rise-in. */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .sub, .hero .search,
.section-eyebrow, .cat, .popular { animation: riseIn .6s var(--ease) both; }
.hero h1 { animation-delay: .06s; }
.hero .sub { animation-delay: .12s; }
.hero .search { animation-delay: .18s; }
.cats .cat:nth-child(1) { animation-delay: .22s; }
.cats .cat:nth-child(2) { animation-delay: .29s; }
.cats .cat:nth-child(3) { animation-delay: .36s; }
.cats .cat:nth-child(4) { animation-delay: .43s; }
.popular { animation-delay: .5s; }

/* ── 404 page ─────────────────────────────────────────────────────────────── */
.notfound { text-align: center; padding: clamp(72px, 14vw, 160px) 24px; }
.notfound-code {
  font-family: var(--font-head); font-weight: 800; color: var(--brand);
  background: var(--ember); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: clamp(72px, 16vw, 140px); line-height: 1; margin: 0 0 10px; letter-spacing: -.04em;
  display: inline-block;
}
.notfound h1 { font-size: clamp(26px, 4.5vw, 40px); font-weight: 700; margin: 0 0 10px; letter-spacing: -.02em; }
.notfound .sub { color: var(--text-2); margin: 0 0 28px; }
.notfound .hero-actions { justify-content: center; }

/* Respect users who prefer less motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
