:root {
  --bg: #0b0a08;
  --surface: #161310;
  --surface-card: #1c1814;
  --fg: #ede4d4;
  --muted: #a38a6e;
  --faint: #6e5c4a;
  --primary: #c2410c;
  --primary-hover: #ea580c;
  --primary-fg: #fdf6ec;
  --border: #3a2f26;
  --border-subtle: #241d17;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--fg);
  text-decoration-color: var(--faint);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--primary-fg);
  text-decoration-color: var(--primary);
}

h1,
h2,
h3 {
  font-family: "Pixelify Sans", "IBM Plex Sans", sans-serif;
  line-height: 1.15;
  font-weight: 500;
  text-wrap: balance;
  color: var(--fg);
}

/* ----------------- Top Navigation ----------------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 10, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58, 47, 38, 0.6);
}

.nav-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-brand {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--fg);
}

/* ----------------- Hero Section ----------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6.5rem 1.5rem 3.5rem;
  overflow: hidden;
}

.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
  opacity: 0.45;
  filter: saturate(1.1);
}

.hero .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 30%, rgba(11, 10, 8, 0.3) 0%, rgba(11, 10, 8, 0.85) 60%, var(--bg) 95%),
              linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 68rem;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 38rem;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(237, 228, 212, 0.92);
  margin: 0 0 1.5rem;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: "Pixelify Sans", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.35);
}

.btn.primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.45);
}

.btn.ghost {
  background: rgba(22, 19, 16, 0.85);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  background: rgba(36, 30, 25, 0.95);
  border-color: var(--muted);
}

.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: default;
}

.phone-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ----------------- Phone Frame Preview (Desktop) ----------------- */
.phone-showcase {
  display: none;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 17.5rem;
  aspect-ratio: 9 / 18.5;
  background: #000;
  border-radius: 38px;
  border: 4px solid #332920;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8),
              0 0 35px rgba(194, 65, 12, 0.15),
              inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4.5rem;
  height: 0.9rem;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
  }
  .phone-showcase {
    display: flex;
  }
}

/* ----------------- Main Content ----------------- */
main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 5rem;
}

.legal-main {
  max-width: 46rem;
  padding-top: 6.5rem;
}

section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

section:first-child {
  border-top: none;
  padding-top: 1rem;
}

section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  margin: 0 0 0.85rem;
}

section p {
  color: var(--fg);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 48rem;
  margin: 0 0 1rem;
}

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

/* ----------------- Plates Grid ----------------- */
.plates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .plates {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plate-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plate-card:hover {
  transform: translateY(-4px);
  border-color: var(--muted);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.plate-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ----------------- 2-Column Section Cards ----------------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card h3 {
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
}

.info-card p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* ----------------- Footer ----------------- */
footer {
  border-top: 1px solid var(--border);
  background: rgba(11, 10, 8, 0.95);
}

.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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