:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --gold: #e8b931;
  --gold-btn: #f0c14b;
  --gold-btn-hover: #f6d06a;
  --text: #f4f4f2;
  --muted: #9a9a96;
  --faint: #6e6e6a;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 20px;
  --nav-h: 72px;
  --max: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --display: "Instrument Serif", ui-serif, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

#how-it-works,
#in-the-notch,
#features,
#checkout,
#tools {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 185, 49, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 20%, rgba(80, 110, 90, 0.08), transparent 50%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--gold-btn);
  color: #111;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid transparent;
}

.nav-inner {
  position: relative;
  max-width: none;
  margin: 0;
  height: 100%;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  z-index: 1;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.nav-inner .btn {
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-gold {
  background: var(--gold-btn);
  color: #1a1408;
}

.btn-gold:hover {
  background: var(--gold-btn-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-gold:not(.btn-sm):not(.btn-lg) {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.hero,
.section,
.footer-inner {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.center {
  display: flex;
  justify-content: center;
}

.eyebrow-icon {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.eyebrow-icon svg {
  width: 16px;
  height: 16px;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 5.4vw, 64px);
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 16ch;
}

.cadence h2,
.product h2,
.checkout-band h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.lede {
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 17px;
  max-width: 38ch;
}

.lede.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-meta {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.hero-meta span {
  margin: 0 6px;
  opacity: 0.6;
}

.hero-shot,
.product-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(232, 185, 49, 0.08);
  background: #111;
}

.hero-shot {
  min-width: 0;
}

.hero-shot img,
.product-shot img {
  width: 100%;
  height: auto;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px 24px;
}

.cadence {
  padding-top: 120px;
}

.rule-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.rule-card,
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px 26px;
}

.rule-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 12px;
}

.rule-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product {
  padding-top: 88px;
}

.product h2 {
  max-width: 22ch;
  margin-bottom: 36px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--gold);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.checkout-band {
  padding: 120px 28px 80px;
  text-align: center;
}

.checkout-band .lede {
  margin-bottom: 28px;
}

.checkout-band .hero-meta {
  margin-top: 20px;
}

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

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-size: 13px;
}

.brand-mini {
  font-weight: 600;
  color: var(--muted);
}

.brand-product {
  color: var(--muted);
  font-weight: 500;
}

.brand-product::before {
  content: "/";
  margin: 0 10px 0 4px;
  color: var(--faint);
}

.home-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 28px 12px;
  text-align: center;
}

.home-hero h1 {
  margin: 0 auto;
}

.home-lede {
  margin-top: 22px;
  margin-bottom: 0;
  max-width: 42ch;
}

.catalog h2 {
  max-width: 12ch;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.tile {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  min-width: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.tile:hover {
  border-color: rgba(232, 185, 49, 0.38);
  transform: translateY(-2px);
}

.tile-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
}

.tile-media {
  background: #111;
  min-height: 180px;
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1024 / 666;
}

.tile-featured .tile-media img {
  aspect-ratio: auto;
  min-height: 320px;
}

.tile-media-empty {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232, 185, 49, 0.12), transparent 55%),
    #141416;
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.tile-featured .tile-body {
  justify-content: center;
  padding: 36px 32px;
}

.tile-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tile h2 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: none;
}

.tile-featured h2 {
  font-size: 28px;
}

.tile-meta {
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.tile-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 36ch;
}

.tile-cta {
  margin-top: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}

.tile-soon {
  opacity: 0.72;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 36px;
  }

  .rule-grid,
  .feature-grid,
  .catalog-grid,
  .tile-featured {
    grid-template-columns: 1fr;
  }

  .tile-featured .tile-media img {
    min-height: 0;
    aspect-ratio: 1024 / 666;
  }

  .brand-product {
    display: none;
  }

  h2 {
    text-align: left;
    margin-left: 0;
  }

  .eyebrow.center {
    justify-content: flex-start;
  }

  .product h2,
  .checkout-band h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .checkout-band .eyebrow.center {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-gold:hover {
    transform: none;
  }
}
