:root {
  color-scheme: dark;
  --ink: #f7f7f4;
  --muted: #b8bbb6;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(22, 24, 23, 0.82);
  --yellow: #ffc20a;
  --yellow-2: #ffe36a;
  --black: #080a09;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--black) url('/assets/FWbackground.png') center top / 720px repeat;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.9));
}
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(8, 10, 9, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
nav { display: flex; gap: 24px; }
nav a, .site-footer a { color: var(--muted); text-decoration: none; font-size: .92rem; }
nav a:hover, .site-footer a:hover { color: var(--yellow); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 88px); align-items: center; min-height: calc(100vh - 74px); padding-block: 80px; }
.eyebrow { margin: 0 0 16px; color: var(--yellow); font-size: .77rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-weight: 850; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 760px; font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.lede { max-width: 690px; margin: 28px 0 0; color: #d6d8d3; font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 800; }
.button.primary { color: #111; background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); border-color: transparent; box-shadow: 0 12px 34px rgba(255, 194, 10, .18); }
.button.secondary { background: rgba(255,255,255,.05); }
.button:hover { transform: translateY(-1px); }
.android-note { color: var(--muted); font-size: .88rem; }

.demo-card { justify-self: center; width: min(100%, 380px); padding: 12px; background: linear-gradient(150deg, rgba(255,194,10,.24), rgba(255,255,255,.05)); border: 1px solid rgba(255,194,10,.32); border-radius: 30px; box-shadow: 0 35px 80px rgba(0,0,0,.42); }
.demo-frame { aspect-ratio: 9 / 16; overflow: hidden; border-radius: 21px; background: #000; }
.demo-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-caption { display: flex; align-items: center; gap: 8px; padding: 13px 8px 2px; color: var(--muted); font-size: .83rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 16px var(--yellow); }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 120px; border: 1px solid var(--line); background: var(--line); }
.proof article { min-height: 260px; padding: 34px; background: rgba(10, 12, 11, .94); }
.proof span { color: var(--yellow); font: 800 .75rem/1 monospace; }
.proof h2 { margin-top: 62px; font-size: 1.65rem; }
.proof p { color: var(--muted); }

.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 70px 140px; }
.detail-copy { color: #d5d7d2; font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 12px; color: var(--yellow); font-weight: 800; text-decoration: none; }

.download { display: grid; grid-template-columns: 190px 1fr; gap: 42px; align-items: center; margin-bottom: 120px; padding: 36px; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 18px; }
.download img { width: 190px; background: white; border-radius: 12px; }
.download .button { margin-top: 28px; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 34px; color: var(--muted); border-top: 1px solid var(--line); font-size: .88rem; }
.site-footer div { display: flex; gap: 22px; }

.legal-shell { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 80px 0 120px; }
.legal-shell .legal-kicker { color: var(--yellow); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.legal-shell h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 7vw, 5rem); }
.legal-shell h2 { margin: 48px 0 14px; color: var(--yellow-2); font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.3; }
.legal-shell p { color: #d1d3cf; }
.legal-shell .effective { color: var(--ink); font-weight: 750; }
.legal-loading { color: var(--muted); }

@media (max-width: 820px) {
  .site-header { position: static; }
  .brand span { display: none; }
  nav { gap: 15px; }
  .hero, .detail { grid-template-columns: 1fr; }
  .hero { padding-block: 56px 90px; }
  .hero-copy { text-align: left; }
  .demo-card { justify-self: start; width: min(100%, 330px); }
  .proof { grid-template-columns: 1fr; }
  .proof article { min-height: 210px; }
  .proof h2 { margin-top: 38px; }
  .detail { gap: 30px; }
  .download { grid-template-columns: 120px 1fr; }
  .download img { width: 120px; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  .actions .button { width: 100%; }
  .download { grid-template-columns: 1fr; padding: 24px; }
  .download img { width: 150px; }
  .site-footer { flex-direction: column; }
}
