:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(35, 34, 30, 0.68);
  --line: rgba(255, 247, 221, 0.14);
  --gold: #f5c94d;
  --bright-gold: #ffe082;
  --ivory: #fff9e8;
  --muted: #c9c1aa;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(245, 201, 77, .16), transparent 34rem),
    radial-gradient(circle at 15% 70%, rgba(85, 118, 171, .08), transparent 28rem),
    var(--bg);
  color: var(--ivory);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--ivory); color: #111; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

header { position: sticky; top: 0; z-index: 10; background: rgba(5,5,5,.72); backdrop-filter: blur(24px) saturate(130%); border-bottom: 1px solid var(--line); }
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(245,201,77,.28)); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ivory); }

.hero { min-height: 76vh; display: grid; align-items: center; padding: 6.5rem 0 5rem; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.hero-inner { max-width: 720px; }
.hero-logo { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-logo::before { content: ""; position: absolute; width: min(80vw, 410px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245,201,77,.18), rgba(245,201,77,.04) 45%, transparent 70%); filter: blur(8px); }
.hero-logo img { position: relative; width: min(100%, 410px); height: auto; filter: drop-shadow(0 20px 55px rgba(245,201,77,.18)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.eyebrow { color: var(--bright-gold); text-transform: uppercase; letter-spacing: .17em; font-size: .76rem; font-weight: 800; }
h1 { margin: .75rem 0 1rem; font-size: clamp(3.1rem, 9vw, 6.5rem); line-height: .94; letter-spacing: -.065em; }
.lead { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 2.3vw, 1.3rem); }
.hero-inner .lead { margin-inline: 0; }
.powered-by { display: inline-flex; margin-top: 1rem; color: var(--ivory); font-size: .9rem; font-weight: 700; }
.hero-cta { width: min(100%, 540px); margin-top: 2rem; }
.actions, .store-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 18px; text-align: center; text-decoration: none; background: rgba(255,255,255,.06); backdrop-filter: blur(18px); font-weight: 700; }
.button.primary { background: var(--gold); color: #211a06; border-color: transparent; }
.button:hover { transform: translateY(-1px); }
.store-actions { margin-top: .75rem; }
.store-button { width: 100%; min-width: 0; min-height: 64px; display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.055); color: var(--ivory); text-align: left; opacity: .76; cursor: not-allowed; }
.store-button .store-icon { flex: 0 0 28px; width: 28px; height: 28px; object-fit: contain; }
.store-button small, .store-button strong { display: block; }
.store-button small { color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.store-button strong { font-size: .98rem; }
.app-preview { padding: 5rem 0; display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.app-icon { width: 100%; border-radius: 26%; box-shadow: 0 35px 80px rgba(0,0,0,.55), 0 0 50px rgba(245,201,77,.1); }
.app-preview h2 { margin: .3rem 0 1rem; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.app-preview p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1rem 0 6rem; }
.card, .legal-card { border: 1px solid var(--line); border-radius: 28px; background: var(--panel); backdrop-filter: blur(26px) saturate(125%); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.card { padding: 1.5rem; }
.card span { color: var(--gold); font-size: 1.5rem; }
.card h2 { font-size: 1.12rem; margin: .6rem 0 .35rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.page-intro { padding: 5.5rem 0 2rem; max-width: 760px; }
.page-intro h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); }
.page-intro p { color: var(--muted); }
.legal-card { padding: clamp(1.25rem, 4vw, 3rem); margin-bottom: 5rem; }
.legal-card section { padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.legal-card section:last-child { border-bottom: 0; }
.legal-card h2 { margin: 0 0 .55rem; font-size: 1.15rem; }
.legal-card p, .legal-card li { color: #ddd5bd; }
.legal-card p { margin: 0; }
.notice { padding: 1rem 1.1rem; border: 1px solid rgba(245,201,77,.28); border-radius: 18px; background: rgba(245,201,77,.06); color: var(--ivory); }
.contact-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-row { padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; }
.contact-row strong { display: block; }
.contact-row a { color: var(--bright-gold); }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(:last-child) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .hero { padding-top: 5rem; }
  .hero-layout, .app-preview { grid-template-columns: 1fr; text-align: center; }
  .hero-inner .lead { margin-inline: auto; }
  .hero-logo { order: -1; min-height: 260px; }
  .hero-logo img { width: min(72vw, 300px); }
  .hero-cta { margin-inline: auto; }
  .app-icon { width: min(72vw, 320px); margin-inline: auto; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 1.5rem), var(--max)); }
  nav { min-height: 64px; }
  .brand { gap: .45rem; font-size: .86rem; }
  .brand-logo { width: 34px; height: 34px; }
  .hero { padding-top: 3rem; }
  .hero-logo { min-height: 220px; }
  .hero-logo img { width: min(68vw, 250px); }
  h1 { font-size: clamp(2.45rem, 12vw, 3.15rem); letter-spacing: -.055em; }
  .lead { font-size: 1rem; }
  .actions, .store-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
