/* ==========================================================================
   Xtreme Roleplay (XRP) - styles
   Re-theme the whole site by editing the variables in :root.
   ========================================================================== */

:root {
  /* Brand */
  --primary-1: #7a12e8;          /* button gradient start (violet)    */
  --primary-2: #6200cf;          /* button gradient end (deep violet) */
  --accent: #a98bf8;             /* light accent for text on dark     */
  --gold: #f2a62a;               /* "FiveM" in the headline           */
  --glow: 110, 0, 216;           /* rgb triplet used for glows        */

  /* Surfaces */
  --bg: #07060e;
  --bg-alt: #0c0b13;
  --surface: #0f0e16;
  --footer-bg: #06050b;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  /* Text */
  --text: #f6f4f7;
  --text-soft: rgba(255, 255, 255, .74);
  --muted: #9e99a4;
  --muted-2: #8a8591;

  /* Status + third-party */
  --ok: #00d492;
  --warn: #ffb020;
  --bad: #ff5a5a;
  --discord: #5865f2;

  /* Dusk sky behind the hero and the closing banner */
  --sky: linear-gradient(180deg, #0a0814 0%, #0d0a1a 8%, #130c24 22%, #1c1030 36%, #2b1640 50%, #351845 60%, #3d1744 68%, #45163f 76%, #511930 86%, #602126 94%, #6c2b22 100%);

  /* Type */
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --wrap: 1100px;
  --wrap-wide: 1362px;
  --radius: 16px;
  --nav-h: 68px;
}

/* ---------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; }
.accent { color: var(--accent); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: #fff; color: #111; font-weight: 600;
  transition: top .15s;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ nav -- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.nav.is-scrolled {
  background: rgba(7, 6, 14, .78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.nav-inner {
  width: min(var(--wrap-wide), calc(100% - 40px));
  height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.0625rem/1 var(--font-head); letter-spacing: -.01em;
}
.brand-mark { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(var(--glow), .55)); }
.brand-name { white-space: nowrap; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border: 1px solid transparent; border-radius: 10px;
  font: 700 1rem/1 var(--font-body); letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn .btn-snail { width: 26px; height: 26px; flex: none; margin-left: -3px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  box-shadow: 0 10px 30px -10px rgba(var(--glow), .8), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 14px 38px -10px rgba(var(--glow), .95), inset 0 1px 0 rgba(255, 255, 255, .22); }

.btn-discord {
  color: #fff; background: var(--discord);
  box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .85), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-discord:hover { filter: brightness(1.08); box-shadow: 0 14px 38px -10px rgba(88, 101, 242, .95), inset 0 1px 0 rgba(255, 255, 255, .22); }

.btn-ghost {
  color: #fff; background: rgba(255, 255, 255, .05); border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }

.btn-sm { --h: 36px; padding: 0 16px; gap: 8px; font-size: .875rem; border-radius: 8px; }
.btn-sm .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------- the sky --- */
.sky { position: absolute; inset: 0; overflow: hidden; background: var(--sky); pointer-events: none; z-index: 0; }
.sky-stars { position: absolute; inset: 0; background: url("../assets/stars.svg") center top / cover no-repeat; }
.sky-glow {
  position: absolute; inset: auto 0 0 0; height: 62%;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255, 112, 48, .22), transparent 70%);
}
.sky-skyline {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(230px, 38vh, 420px);
  background: url("../assets/skyline.svg") center bottom / cover no-repeat;
}
.sky-palm {
  position: absolute; bottom: 0;
  width: clamp(120px, 15vw, 270px); aspect-ratio: 280 / 420;
  background: url("../assets/palm.svg") center bottom / contain no-repeat;
}
.sky-palm--l { left: -2%; }
.sky-palm--r { right: -2%; transform: scaleX(-1); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) 20px 170px;
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }

.hero-title {
  font: 800 clamp(2.4rem, .9rem + 6.4vw, 5.5rem)/1.04 var(--font-head);
  letter-spacing: -.04em; text-wrap: balance;
}
.hero-title .line { display: block; }
/* The snail mascot sits inline beside "FiveM RP" */
.hero-title .hero-snail {
  display: inline-block; width: .66em; height: .66em; margin: 0 .12em 0 0;
  vertical-align: -.04em; object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
}
.gold {
  background: linear-gradient(180deg, #ffc749 0%, #ee9a22 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 36rem; margin: 28px auto 0;
  font-size: clamp(1rem, .94rem + .3vw, 1.1875rem); line-height: 1.6;
  color: var(--text-soft); text-wrap: pretty;
}

.pill {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(0, 212, 146, .3); background: rgba(0, 212, 146, .09);
  color: var(--ok);
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }

.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  width: 40px; height: 40px; margin-left: -20px;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .7); font-size: 22px;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-hint:hover { color: #fff; }

/* first-paint entrance (pure CSS, no JS needed) */
.hero-inner > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; }

/* ------------------------------------------------------------ stats bar -- */
.statbar { background: var(--bg-alt); border-block: 1px solid var(--line); }
.statbar-inner {
  width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto;
  padding: 22px 0 24px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px clamp(28px, 6vw, 72px);
}
.stat { text-align: center; min-width: 120px; }
.stat-label {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.stat-label .icon { width: 14px; height: 14px; }
.stat-value {
  display: block; margin: 10px auto 0;
  font: 700 1.625rem/1.1 var(--font-head); letter-spacing: -.02em; color: var(--text);
}
.stat-value.ok { color: var(--ok); }
.stat-value.warn { color: var(--warn); }
.stat-value.bad { color: var(--bad); }

.copy { position: relative; background: none; border: 0; padding: 0; cursor: pointer; }
.copy::after {
  content: "Click to copy";
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
  padding: 6px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  background: #1b1620; border: 1px solid var(--line-strong);
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .04em; color: var(--text-soft);
  opacity: 0; transition: opacity .15s, transform .15s;
}
.copy:hover::after, .copy:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.copy.copied::after { content: "Copied!"; opacity: 1; transform: translate(-50%, 0); color: var(--ok); }

/* ------------------------------------------------------------- sections -- */
.section { padding: 88px 0; }
.section--first { padding-top: 64px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  padding-left: .32em;
  font: 700 .75rem/1 var(--font-head); letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
}
.section-head h2 {
  margin-top: 18px;
  font: 700 clamp(2rem, 1.2rem + 2.6vw, 3.25rem)/1.1 var(--font-head);
  letter-spacing: -.035em; text-wrap: balance;
}
.section-sub { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }

/* ------------------------------------------------------------ role cards - */
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.role {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.role:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 50%, transparent);
  box-shadow: 0 22px 60px -26px color-mix(in srgb, var(--c) 65%, transparent);
}
.role-media { position: relative; height: 160px; overflow: hidden; }
.role-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .7s ease; }
.role:hover .role-media img { transform: scale(1.06); }
.role-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 14, .1) 0%, rgba(7, 6, 14, .2) 45%, var(--surface) 100%);
}
.role-body { padding: 8px 24px 28px; }
.role-tag {
  display: inline-flex; align-items: center; gap: 8px; color: var(--c);
  font: 700 .75rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase;
}
.role-tag .icon { width: 14px; height: 14px; }
.role h3 { margin-top: 14px; font: 700 1.5rem/1.2 var(--font-head); letter-spacing: -.02em; }
.role-desc { margin-top: 10px; font-size: .9375rem; line-height: 1.65; color: var(--muted); text-wrap: pretty; }

/* -------------------------------------------------------- feature cards -- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature.span-2 { grid-column: span 2; }
.feature--photo { position: relative; isolation: isolate; overflow: hidden; }
.feature--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/photos/neon-aventador.webp") 50% 48% / cover no-repeat;
  opacity: .6; transition: transform .8s ease, opacity .3s;
}
.feature--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 14, 22, .94) 0%, rgba(15, 14, 22, .62) 52%, rgba(15, 14, 22, .25) 100%);
}
.feature--photo:hover::before { transform: scale(1.05); opacity: .75; }
.feature .icon { width: 28px; height: 28px; color: var(--ic, var(--accent)); }
.feature h3 { margin-top: 20px; font: 700 1.25rem/1.25 var(--font-head); letter-spacing: -.02em; }
.feature p { margin-top: 10px; font-size: .9375rem; line-height: 1.65; color: var(--muted); text-wrap: pretty; }

/* ----------------------------------------------------------------- steps - */
.steps {
  width: min(976px, calc(100% - 40px)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start;
}
.step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 37px; left: 100%; width: 24px; height: 1px; background: var(--line-strong);
}
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px;
  background: rgba(var(--glow), .14); border: 1px solid rgba(var(--glow), .42);
  font: 700 1.125rem/1 var(--font-mono); color: var(--accent);
}
.step h3 { margin-top: 18px; font: 700 1.25rem/1.25 var(--font-head); letter-spacing: -.02em; }
.step p { margin-top: 8px; font-size: .9375rem; line-height: 1.65; color: var(--muted); }
.step code { font: 500 .875em var(--font-mono); color: var(--text); }
.step-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .9375rem; font-weight: 600; color: var(--accent); transition: gap .18s ease, color .18s ease;
}
.step-link .icon { width: 15px; height: 15px; }
.step-link:hover { gap: 10px; color: #fff; }

/* ------------------------------------------------------- closing banner -- */
.cta {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(96px, 12vw, 140px) 20px clamp(180px, 24vw, 250px);
}
.cta .sky-skyline { height: clamp(170px, 58%, 300px); }
.cta .sky-palm { width: clamp(100px, 12vw, 220px); }
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.cta h2 { font: 800 clamp(2.25rem, 1.2rem + 4vw, 4rem)/1.08 var(--font-head); letter-spacing: -.04em; text-wrap: balance; }
.cta p { margin: 18px auto 0; max-width: 34rem; font-size: 1.125rem; color: var(--text-soft); text-wrap: pretty; }

/* --------------------------------------------------------------- footer -- */
.footer { background: var(--footer-bg); border-top: 1px solid var(--line); }
.footer-inner { width: min(var(--wrap-wide), calc(100% - 40px)); margin-inline: auto; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 48px 0 40px; }
.footer-brand p { margin-top: 12px; max-width: 26rem; font-size: .8125rem; color: var(--muted); }
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 { margin-bottom: 16px; font: 600 .6875rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .875rem; color: #cfcad4; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 22px 0 30px; border-top: 1px solid var(--line);
  font-size: .75rem; color: var(--muted-2);
}

/* ------------------------------------------------- placeholder pages ----- */
.stub {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--nav-h) + 40px) 20px 190px;
}
.stub-inner { position: relative; z-index: 2; max-width: 640px; }
.stub h1 { margin-top: 18px; font: 800 clamp(2.25rem, 1.2rem + 4vw, 3.75rem)/1.08 var(--font-head); letter-spacing: -.035em; text-wrap: balance; }
.stub .lead { margin-top: 20px; }

/* ------------------------------------------- signed-in bits (demo session) */
.nav-actions { display: flex; align-items: center; }
.user-menu { position: relative; }
.user-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 6px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(21, 19, 33, .85);
  color: #fff; font: 600 .875rem/1 var(--font-body); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.user-chip:hover { border-color: rgba(255, 255, 255, .28); background: rgba(30, 27, 46, .92); }
.user-chip .icon { width: 16px; height: 16px; color: var(--muted); }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #1b1830; }
.menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 200px; padding: 6px;
  display: grid; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: #100f19;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85);
}
.menu a, .menu button {
  display: flex; align-items: center; height: 40px; padding: 0 12px; border: 0; border-radius: 8px;
  background: none; color: var(--text-soft); font: 500 .875rem var(--font-body); text-align: left; cursor: pointer;
}
.menu a:hover, .menu button:hover { background: rgba(255, 255, 255, .07); color: #fff; }

.cta-stack { margin: 32px auto 0; display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: fit-content; max-width: 100%; }
.cta-stack .cta-row { margin-top: 0; }
.btn-wide { width: 100%; }

.demo-note {
  margin: 28px auto 0; max-width: 34rem; display: flex; gap: 10px; align-items: flex-start; text-align: left;
  padding: 12px 14px; border: 1px solid rgba(245, 165, 36, .28); border-radius: 12px;
  background: rgba(245, 165, 36, .07); color: #e9d4a6; font-size: .8125rem; line-height: 1.5;
}
.demo-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #f5a524; }
.form-error { margin-top: 14px; color: #ff8a8a; font-size: .875rem; }

/* ------------------------------------------- sign-in page: what the app can see */
.consent { margin: 26px auto 0; max-width: 34rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.consent > div { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(15, 14, 22, .72); }
.consent h2 { margin: 0 0 10px; font: 700 .75rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.consent ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: .8125rem; line-height: 1.45; color: var(--text-soft); }
.consent li { position: relative; padding-left: 20px; }
.consent li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.consent .no li::before { content: "\2715"; color: #ff7a7a; }
@media (max-width: 560px) { .consent { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- motion -- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }
/* once revealed, hover transitions should be quick */
.js .role.reveal.in, .js .feature.reveal.in { transition-delay: 0ms; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .7s ease; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 146, .55); }
  70% { box-shadow: 0 0 0 8px rgba(0, 212, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 146, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-inner > *, .scroll-hint, .pill-dot { animation: none; }
  .btn, .role, .role-media img, .feature, .step-link { transition: none; }
  .btn:hover, .role:hover, .feature:hover { transform: none; }
}

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.span-2 { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; width: min(520px, calc(100% - 40px)); }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section--first { padding-top: 44px; }
  .section-head { margin-bottom: 36px; }
  .role-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 170px; }
  .hero .sky-skyline { height: clamp(170px, 26vh, 260px); }
  .cta-row { flex-direction: column; align-items: center; }
  .cta-row .btn { width: min(100%, 320px); }
  .stat-value { font-size: 1.375rem; }
  .stat { min-width: 100px; }
  .footer-top { flex-direction: column; gap: 32px; padding: 40px 0 32px; }
  .footer-cols { gap: 48px; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature--photo::after { background: rgba(15, 14, 22, .8); }
  .brand { font-size: 1rem; }
  .brand-mark { width: 32px; height: 32px; }
  .user-chip [data-user-name] { display: none; }
  .user-chip { padding: 0 10px 0 6px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 350px) {
  .brand-portal { display: none; }
}
