/* Street Shine Arizona — waitlist landing page */

:root {
  /* Palette — derived from the brand's own shop floor and crew uniforms */
  --ink: #0a0a0b;
  --ink-2: #131316;
  --ink-3: #1c1c21;
  --line: #2a2a31;
  --paper: #f4f4f2;
  --muted: #9b9ba5;
  --muted-2: #6f6f7a;
  --yellow: #f5c518;
  --yellow-deep: #d9ab08;
  --red: #e0202f;

  /* Type */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  --text-hero: clamp(2.5rem, 5.6vw, 4.4rem);
  --text-3xl: clamp(1.9rem, 3.4vw, 2.9rem);
  --text-2xl: clamp(1.7rem, 3vw, 2.5rem);
  --text-xl: clamp(1.5rem, 2.6vw, 2.1rem);
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius: 4px;
  --shell: 1240px;
  --section-pad: clamp(4rem, 9vw, 8rem);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- Type primitives ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.005em;
  margin: 0;
}

.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 var(--space-4);
}

.eyebrow--muted {
  color: var(--muted);
}

.lede {
  font-size: var(--text-lg);
  color: #d4d4d8;
  max-width: 58ch;
  margin: 0;
}

.section-title {
  font-size: var(--text-3xl);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.header--scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 11, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo__word {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}

.logo__word span {
  color: var(--yellow);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.header__nav a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--paper);
}

/* Cross-location link — reads as a place, not another section */
.header__nav a.header__loc {
  position: relative;
  padding-left: 1.15rem;
  margin-left: 0.15rem;
  color: var(--yellow);
  font-weight: 500;
}

.header__nav a.header__loc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}

.header__nav a.header__loc:hover {
  color: #ffd84d;
}

@media (max-width: 860px) {
  .header__nav {
    display: none;
  }
}

.header__cta-short {
  display: none;
}

@media (max-width: 560px) {
  .header__cta-long {
    display: none;
  }
  .header__cta-short {
    display: inline;
  }
  .header__cta {
    padding: 0.7rem 1.15rem;
  }
  .logo__word {
    font-size: 1.05rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: #14140c;
}

.btn--primary:hover {
  background: #ffd633;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--paper);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.05rem 2rem;
  font-size: var(--text-base);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: brightness(1.28) contrast(1.05) saturate(1.05);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 10, 11, 0.94) 0%, rgba(10, 10, 11, 0.82) 40%, rgba(10, 10, 11, 0.34) 70%, rgba(10, 10, 11, 0.6) 100%),
    linear-gradient(to top, rgba(10, 10, 11, 1) 1%, transparent 34%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.4);
  color: var(--yellow);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  margin-bottom: var(--space-6);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
  display: block;
}

.hero__sub {
  font-size: var(--text-lg);
  color: #d4d4d8;
  max-width: 46ch;
  margin: 0 0 var(--space-8);
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
  gap: var(--space-6) clamp(1.5rem, 3.5vw, 2.5rem);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
  display: block;
}

.stat__label {
  font-size: var(--text-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 0.4rem;
  display: block;
}

/* ---------- Form card ---------- */

.card {
  background: linear-gradient(165deg, var(--ink-3) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 32px 70px -30px rgba(0, 0, 0, 0.9);
}

.card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}

.card h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-xl);
  line-height: 0.95;
  margin: 0;
}

.card__note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0 0 var(--space-6);
}

.spots {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  white-space: nowrap;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

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

.field {
  display: block;
  margin-bottom: var(--space-3);
}

.field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select {
  width: 100%;
  background: #0d0d10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.75rem 0.85rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%239b9ba5' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.field input::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus {
  border-color: var(--yellow);
  background: #101014;
  outline: none;
}

.form__fine {
  font-size: var(--text-xs);
  color: var(--muted-2);
  margin: var(--space-4) 0 0;
  line-height: 1.5;
}

.form__msg {
  font-size: var(--text-sm);
  margin: var(--space-4) 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  display: none;
}

.form__msg--error {
  display: block;
  background: rgba(224, 32, 47, 0.12);
  border: 1px solid rgba(224, 32, 47, 0.45);
  color: #ff8d97;
}

.success {
  text-align: center;
  padding: var(--space-6) 0;
}

.success__mark {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
}

.success h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-xl);
  margin: 0 0 var(--space-3);
}

.success p {
  color: var(--muted);
  font-size: var(--text-sm);
  margin: 0 auto;
  max-width: 34ch;
}

.success__pos {
  color: var(--yellow);
  font-weight: 700;
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section--line {
  border-top: 1px solid var(--line);
}

.section--alt {
  background: var(--ink-2);
}

.section__head {
  max-width: 54ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head p {
  margin: var(--space-4) 0 0;
}

/* Problem cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: var(--space-4);
}

.tile {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: var(--space-6);
  transition:
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.section--alt .tile {
  background: var(--ink-3);
}

.tile:hover {
  border-color: #3d3d47;
  transform: translateY(-3px);
}

.tile__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--yellow);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-4);
}

.tile h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  line-height: 1;
  margin: 0 0 var(--space-3);
}

.tile p {
  color: var(--muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* Split layout */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split__media img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.split__media figcaption {
  font-size: var(--text-xs);
  color: var(--muted-2);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

.split--reverse .split__media {
  order: 2;
}

@media (max-width: 860px) {
  .split--reverse .split__media {
    order: 0;
  }
}

.checklist {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: var(--space-4);
  color: #d4d4d8;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}

.checklist strong {
  color: var(--paper);
}

/* Pricing */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-4);
  align-items: stretch;
}

.tier {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.tier--feature {
  border-color: var(--yellow);
  background: linear-gradient(170deg, rgba(245, 197, 24, 0.07), var(--ink-2) 55%);
}

.tier__flag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--space-3);
  display: block;
}

.tier h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: 1;
  margin: 0 0 var(--space-2);
}

.tier__price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  margin: var(--space-4) 0 0;
}

.tier__price small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 0.5rem;
}

.tier__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0.6rem 0 var(--space-6);
}

.tier ul {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  flex: 1;
}

.tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(42, 42, 49, 0.6);
}

.tier li:last-child {
  border-bottom: 0;
}

/* CTA band */

.cta {
  background: var(--yellow);
  color: #14140c;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-2xl);
  line-height: 0.9;
  margin: 0 0 var(--space-3);
  max-width: 22ch;
}

.cta p {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 500;
  max-width: 42ch;
  color: #2c2c1a;
}

.cta .btn {
  background: var(--ink);
  color: var(--paper);
}

.cta .btn:hover {
  background: #24242b;
  transform: translateY(-2px);
}

/* FAQ */

.faq {
  max-width: 800px;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: var(--space-6) 2.5rem var(--space-6) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  position: relative;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

details p {
  color: var(--muted);
  margin: 0 0 var(--space-6);
  max-width: 70ch;
}

/* Footer */

.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-block: var(--space-16) var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer h4 {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 var(--space-4);
  font-weight: 700;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.footer li {
  margin-bottom: 0.55rem;
}

.footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--yellow);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--muted-2);
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
