:root {
  --bg: #070707;
  --card: #121212;
  --card-border: rgba(255, 255, 255, 0.06);
  --text: #f4f4f4;
  --muted: #9a9a9a;
  --dim: #6e6e6e;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #d6e600;
  --max: 1180px;
  --header: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 28px 0 8px;
  background: transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header .nav {
  flex: 1;
  justify-content: center;
}
.lang-switch {
  display: flex;
  gap: 12px;
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
}
.lang-switch a {
  position: relative;
  padding: 8px 0;
}
.lang-switch a.active {
  color: #fff;
}
.logo { display: flex; align-items: center; height: 34px; }
.logo img { height: 34px; width: auto; mix-blend-mode: lighten; }

.nav { display: flex; gap: 28px; font-size: 14px; color: #cfcfcf; }
.nav a { position: relative; padding: 8px 0; }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
}
.hero {
  display: flex;
  flex-direction: column;
}
.hero-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
  padding: 12px 0 0;
}
.hero h1 {
  font-size: clamp(48px, 6.4vw, 84px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.hero p.lead {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
  max-width: 280px;
}
.hero-rule {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin-top: 32px;
}
.hero-visual {
  position: relative;
  height: min(62vh, 520px);
  overflow: hidden;
  background: #070707;
  align-self: stretch;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 42%;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(7, 7, 7, 0.35) 18%, transparent 38%);
  pointer-events: none;
}

.section { padding: 40px 0 88px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  gap: 24px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.section-head h2, .page h1, .about-copy h2, .app-hero h1 {
  font-weight: 500;
  letter-spacing: -0.03em;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head:has(+ .section-note) {
  margin-bottom: 10px;
}
.section-note {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 36px;
  max-width: 46ch;
}
.link-accent { color: var(--accent); font-size: 14px; }
.link-accent:hover { text-decoration: underline; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.app-card {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 8px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 12px 16px 20px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.app-card:hover { border-color: rgba(255, 255, 255, 0.14); }
.app-card h3 { font-size: 16px; font-weight: 600; margin-top: 10px; }
.app-card .tagline { color: var(--muted); font-size: 12px; margin: 2px 0 8px; }
.app-card .blurb { color: #8d8d8d; font-size: 12px; line-height: 1.45; max-width: 26ch; }
.app-card .link-accent { margin-top: 12px; font-size: 13px; }
.app-icon { width: 32px; height: 32px; border-radius: 8px; }
.app-card .phone {
  width: 118px;
  height: 240px;
  border-radius: 22px;
  transform: rotate(7deg);
  margin: 12px 6px 8px 0;
  align-self: center;
  justify-self: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}
.app-card .phone-notch { width: 40px; height: 8px; top: 8px; }
.app-card .phone-screen { inset: 6px 5px; border-radius: 17px; }

.app-card--soon {
  grid-column: span 2;
  position: relative;
  display: block;
  min-height: 220px;
  padding: 24px 28px;
  overflow: hidden;
}
.app-card--soon:hover { border-color: var(--card-border); }
.app-card--soon > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 28ch;
}
.soon-plus {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  color: #eee;
}
.soon-visual {
  position: absolute;
  inset: 0;
  background: url("/assets/more-to-come.jpg") 55% 50% / cover no-repeat;
}
.soon-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 7, 7, 0.82) 0%,
    rgba(7, 7, 7, 0.45) 38%,
    rgba(7, 7, 7, 0.12) 62%,
    transparent 100%
  );
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
  overflow: hidden;
}
.about-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 38%,
    rgba(7, 7, 7, 0.45) 58%,
    rgba(7, 7, 7, 0.92) 74%,
    var(--bg) 88%
  );
  pointer-events: none;
}
.about-copy {
  grid-column: 2;
  position: relative;
  z-index: 1;
  padding: 72px 56px 72px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-copy h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  margin: 10px 0 18px;
}
.about-copy p { color: var(--muted); max-width: 42ch; margin-bottom: 28px; }

.page { padding: 72px 0 120px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; letter-spacing: -0.04em; }
.page .intro, .prose p, .prose li { color: var(--muted); max-width: 62ch; }
.prose p + p, .prose ul { margin-top: 14px; }
.prose h2 { margin: 36px 0 12px; font-size: 20px; font-weight: 600; }
.prose ul { padding-left: 18px; }

.app-hero {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 80px;
}
.app-hero .tagline { color: var(--muted); margin: 8px 0 18px; }
.app-hero .app-icon { width: 56px; height: 56px; border-radius: 14px; }
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.stores span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #d8d8d8;
}

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.site-footer .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-legal {
  font-size: 12px;
  color: var(--dim);
  text-align: center;
}
.footer-legal a { color: var(--dim); }
.footer-legal a:hover { color: var(--text); }

.phone {
  width: 168px;
  height: 344px;
  border-radius: 28px;
  background: #000;
  border: 3px solid #2a2a2a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
  justify-self: center;
  align-self: end;
}
.phone-screen {
  position: absolute;
  inset: 8px 7px 8px;
  border-radius: 22px;
  overflow: hidden;
  background: #0c0c0c;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 58px;
  height: 12px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 10px;
  z-index: 2;
}
.mock-scan, .mock-date, .mock-qr {
  height: 100%;
  padding: 28px 12px 12px;
  color: #fff;
}
.mock-scan { background: radial-gradient(circle at 50% 38%, #1a2208, #0b0b0b 62%); }
.mock-scan .doc {
  margin: 28px auto 0;
  width: 78%;
  height: 58%;
  background: linear-gradient(#f7f7f7, #d9d9d9);
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(198, 255, 0, 0.25);
}
.mock-scan .brand { text-align: center; font-size: 11px; color: #c6ff00; }
.mock-qr { display: flex; align-items: center; justify-content: center; background: #050505; padding: 0; }
.mock-qr img { width: 78%; height: auto; object-fit: contain; }
.mock-date { background: #f6efe6; color: #3a2a1c; }
.mock-date .cal { background: #fff; border-radius: 14px; padding: 10px; margin-top: 20px; }
.mock-date .row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid #eee;
}

.form { display: grid; gap: 12px; max-width: 420px; margin-top: 28px; }
.form input, .form textarea {
  background: #111;
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font: inherit;
}
.form button {
  border: 0;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  width: fit-content;
}

@media (max-width: 900px) {
  .site-header { height: auto; padding: 14px 0; }
  .hero-body, .app-hero {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-body {
    gap: 0;
    align-items: stretch;
    padding: 0;
  }
  .hero-visual {
    grid-area: 1 / 1;
    height: min(78vh, 620px);
    min-height: 480px;
  }
  .hero-visual img { height: 100%; }
  .hero-copy {
    grid-area: 1 / 1;
    z-index: 2;
    align-self: end;
    padding: 0 16px 28px;
  }
  .hero p.lead { max-width: 34ch; }
  .hero-visual::after {
    background: linear-gradient(
      180deg,
      rgba(7, 7, 7, 0.08) 0%,
      rgba(7, 7, 7, 0.12) 28%,
      rgba(7, 7, 7, 0.78) 68%,
      var(--bg) 100%
    );
  }
  .site-header .wrap { flex-wrap: wrap; gap: 12px 20px; }
  .site-header .logo { order: 1; }
  .lang-switch { order: 2; }
  .site-header .nav { order: 3; justify-content: flex-start; flex: 1 1 100%; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card--soon {
    grid-column: auto;
    min-height: 240px;
    padding: 22px 20px;
  }
  .soon-visual::after {
    background: linear-gradient(
      180deg,
      rgba(7, 7, 7, 0.55) 0%,
      rgba(7, 7, 7, 0.2) 50%,
      transparent 100%
    );
  }
  .app-card {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
  }
  .app-card .phone {
    transform: rotate(6deg);
    width: 100px;
    height: 204px;
  }
  .phone { margin-top: 0; }
  .about {
    display: block;
    min-height: 0;
  }
  .about-visual {
    position: relative;
    min-height: 280px;
  }
  .about-visual img { min-height: 280px; }
  .about-visual::after {
    background: linear-gradient(
      180deg,
      transparent 35%,
      rgba(7, 7, 7, 0.55) 70%,
      var(--bg) 100%
    );
  }
  .about-copy {
    grid-column: auto;
    padding: 8px 24px 48px;
    margin-top: -36px;
  }
}
