/* GunDash — design tokens from .staging/mockup.png */
:root {
  --ink: #120d0b;
  --smoke: #1f1714;
  --wood: #3a2a22;
  --red: #d93a2b;
  --red-deep: #b8301f;
  --bone: #f2efea;
  --ash: #9a918a;

  --font-display: "Archivo Black", Impact, "Arial Narrow", sans-serif;
  --font-body: "Oswald", "Arial Narrow", Arial, sans-serif;

  --gutter: 16px;
  --max: 1160px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 80% 60% at 75% 0%, var(--wood) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(58, 42, 34, 0.5) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* Wordmark */
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: skewX(-8deg);
  padding-left: 1.05em;
}
.logo__speed {
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.95em;
  height: 0.62em;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    to bottom,
    var(--bone) 0 0.12em,
    transparent 0.12em 0.25em
  );
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
          mask-image: linear-gradient(to right, transparent, #000 60%);
}
.logo__gun { color: var(--bone); }
.logo__dash { color: var(--red); }
.logo--sm { font-size: 26px; }
.logo--lg { font-size: clamp(36px, 13vw, 96px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 13, 11, 0.88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.site-header__home { text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--bone);
  color: var(--bone);
  background: transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--bone); color: var(--ink); }
.btn--primary {
  background: var(--red-deep);
  border-color: var(--red-deep);
}
.btn--primary:hover { background: var(--red); border-color: var(--red); color: var(--bone); }
.site-header .btn { min-height: 40px; padding: 6px 14px; font-size: 14px; }

/* Typography utilities */
.eyebrow {
  font-weight: 600;
  font-size: clamp(14px, 3.6vw, 20px);
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.brush {
  display: block;
  height: 8px;
  width: min(100%, 420px);
  margin: 14px 0 26px;
  border-radius: 8px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 12%, var(--red) 80%, transparent 100%);
  transform: rotate(-2deg);
  transform-origin: left center;
}

/* Sections */
.section { padding: 72px 0; }
.section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hero */
.hero { padding: 48px 0 72px; }
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero__copy { min-width: 0; }
.hero__tagline { margin-top: 18px; }
.hero__headline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(34px, 8vw, 60px);
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 14ch;
}
.hero__sub {
  margin-top: 18px;
  max-width: 36ch;
  color: var(--bone);
  opacity: 0.85;
  font-size: 20px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 768px) {
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.3fr 1fr; }
}

/* Phone mock */
.phone {
  justify-self: center;
  width: min(100%, 300px);
  aspect-ratio: 9 / 18;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(160deg, #3d332e, #1a1412);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(242, 239, 234, 0.08);
  transform: rotate(3deg);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 18px 18px;
  border-radius: 34px;
  background: #0b0807;
  position: relative;
  overflow: hidden;
}
.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 80px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #1a1412;
}
.phone__label { color: var(--ash); font-size: 13px; letter-spacing: 0.3em; }
.phone__eta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.1;
  color: var(--red);
}
.phone__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
.phone__status { font-size: 14px; color: var(--bone); }
.phone__track {
  height: 6px;
  margin: 14px 0 18px;
  border-radius: 6px;
  background: var(--smoke);
  overflow: hidden;
}
.phone__track span { display: block; width: 72%; height: 100%; background: var(--red); }
.phone__rows li {
  margin-bottom: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: var(--smoke);
  font-size: 15px;
}
.phone__stars { color: var(--ash); }
.phone__cta {
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  background: var(--red-deep);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 14px;
}

/* How it works */
.steps {
  display: grid;
  gap: 40px;
  padding: 0;
  list-style: none;
}
.step__icon { width: 56px; height: 56px; color: var(--bone); margin-bottom: 16px; }
.step__title {
  font-weight: 700;
  font-size: clamp(36px, 8vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.step p { color: var(--ash); max-width: 32ch; }

/* Use cases */
.uses .section__title { max-width: 18ch; margin-bottom: 36px; }
.cards { display: grid; gap: 20px; }
.card {
  padding: 28px 24px;
  background: var(--smoke);
  border-top: 4px solid var(--red);
}
.card__title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.card p { color: var(--ash); }

/* Premium */
.premium__grid { display: grid; gap: 40px; align-items: center; }
.premium__badge {
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(70vw, 280px);
  aspect-ratio: 1;
  background: var(--red-deep);
  clip-path: polygon(50% 0%, 61% 13%, 77% 6%, 79% 23%, 96% 25%, 89% 40%, 100% 52%, 87% 62%, 92% 79%, 75% 80%, 69% 96%, 55% 88%, 42% 100%, 34% 85%, 17% 90%, 17% 73%, 2% 66%, 11% 52%, 0% 38%, 15% 30%, 12% 13%, 29% 14%, 38% 0%);
  transform: rotate(-8deg);
}
.premium__badge span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 8vw, 40px);
  color: var(--bone);
}
.premium__copy { margin-top: 18px; max-width: 40ch; color: var(--ash); }

/* Features bar */
.features {
  background: var(--smoke);
  border-top: 1px solid rgba(242, 239, 234, 0.08);
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
}
.features__list { display: grid; }
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}
.feature + .feature { border-top: 1px solid rgba(242, 239, 234, 0.12); }
.feature__icon { flex: none; width: 52px; height: 52px; }
.feature__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}
.feature p { color: var(--ash); font-size: 16px; }

/* Sign-off */
.signoff { text-align: center; padding: 96px 0; }
.signoff__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 10vw, 96px);
  line-height: 1;
  text-transform: uppercase;
}
.signoff__title { max-width: 12ch; margin: 0 auto; overflow-wrap: break-word; }
.signoff__brush { margin: 18px auto 0; transform-origin: center; }
.signoff__sub { margin-top: 20px; color: var(--ash); font-size: 20px; }
.signoff__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 10px 20px;
  border: 2px solid var(--bone);
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  transition: background-color 0.15s, color 0.15s;
}
.store:hover { background: var(--bone); color: var(--ink); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .steps, .cards { grid-template-columns: repeat(3, 1fr); }
  .premium__grid { grid-template-columns: 1fr 1.4fr; }
  .features__list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .feature + .feature { border-top: 0; border-left: 1px solid rgba(242, 239, 234, 0.12); padding-left: 24px; }
}

/* Disclaimer footer */
.disclaimer {
  padding: 40px 0 48px;
  background: #000;
  border-top: 4px solid var(--red);
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.disclaimer__lead {
  font-weight: 700;
  font-size: clamp(18px, 4vw, 24px);
  margin-bottom: 8px;
}
.disclaimer__legal { margin-top: 16px; color: var(--ash); font-size: 14px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
