/* Doom Walk — site styles. Dark, ember (#FF5A26 → #FFB13D) vs frost (#9FD8FF). */
:root {
  --ember: #FF5A26;
  --flare: #FFB13D;
  --frost: #9FD8FF;
  --signal: #34D399;
  --bg: #0B0B0F;
  --bg-2: #0E0E14;
  --card: #15151C;
  --card-2: #1A1A22;
  --ink: #F5F4F0;
  --ink-2: #96949A;
  --hairline: rgba(255,255,255,0.09);
  --radius: 22px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand-row .name, .btn-appstore strong {
  font-family: "Clash Display", "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
}
a { color: var(--flare); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.grad {
  background: linear-gradient(90deg, var(--ember), var(--flare));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,11,15,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand-row { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: .04em; }
.brand-row img { width: 34px; height: 34px; border-radius: 9px; }
.brand-row .name { color: var(--ink); text-transform: uppercase; }
.site-header nav { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 15px; align-items: center; }
.site-header nav a { color: var(--ink-2); }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }
.site-header nav a.nav-get { color: #0B0B0F; background: linear-gradient(135deg, var(--ember), var(--flare)); padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.site-header nav a.nav-get:hover { filter: brightness(1.08); }
.rainbow-line { height: 2px; background: linear-gradient(90deg, var(--ember), var(--flare), var(--frost)); opacity: .9; }

/* Hero */
.hero { position: relative; padding: 74px 0 30px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; opacity: .45;
}
.hero::before { width: 560px; height: 560px; background: #FF5A26; top: -200px; left: -160px; }
.hero::after { width: 460px; height: 460px; background: #2b6cff; top: -80px; right: -160px; opacity:.28; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--flare); background: rgba(255,90,38,.14); padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,90,38,.28); }
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; margin: 18px 0 14px; max-width: 100%; overflow-wrap: break-word; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 540px; }
.cta-row { margin-top: 26px; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--ember), var(--flare)); color: #0B0B0F;
  padding: 12px 24px; border-radius: 14px;
  box-shadow: 0 16px 38px rgba(255,90,38,.32);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-appstore:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 22px 48px rgba(255,90,38,.42); }
.btn-appstore .apple-ic { width: 26px; height: 26px; flex: 0 0 auto; }
.btn-appstore span { display: flex; flex-direction: column; line-height: 1.06; text-align: left; }
.btn-appstore small { font-size: 11px; font-weight: 600; letter-spacing: .01em; opacity: .82; }
.btn-appstore strong { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.cta-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.supported { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card); border: 1px solid var(--hairline); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Hero phones */
.hero-phones { position: relative; height: 580px; display: flex; align-items: center; justify-content: center; }
.phone {
  background: #0c0c0d; border-radius: 40px; padding: 7px;
  box-shadow: 0 34px 80px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 33px; }
.hero-phones .phone { position: absolute; width: 262px; }
.phone-front { transform: rotate(3deg) translateX(44px); z-index: 2; box-shadow: 0 40px 90px rgba(255,90,38,.18), 0 30px 70px rgba(0,0,0,.55); }
.phone-back { transform: rotate(-6deg) translateX(-74px) scale(.94); z-index: 1; opacity: .94; }

/* Showcase */
.showcase { padding: 56px 0; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.shot-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot-card .phone { width: 236px; }
.shot-card figcaption { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; max-width: 260px; }
.shot-card figcaption strong { display: block; color: var(--ink); font-size: 19px; font-weight: 700; margin-bottom: 2px; font-family: "Clash Display", sans-serif; }

/* Sections */
section { padding: 54px 0; }
section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
section .sub { color: var(--ink-2); margin-bottom: 30px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature { border-radius: var(--radius); padding: 24px; background: var(--card); border: 1px solid var(--hairline); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.feature .ic { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
.feature.tint-ember { border-color: rgba(255,90,38,.35); box-shadow: inset 0 0 0 1px rgba(255,90,38,.06); }
.feature.tint-ember:hover { border-color: rgba(255,90,38,.6); box-shadow: 0 18px 40px rgba(255,90,38,.14); }
.feature.tint-frost { border-color: rgba(159,216,255,.28); }
.feature.tint-frost:hover { border-color: rgba(159,216,255,.5); box-shadow: 0 18px 40px rgba(159,216,255,.12); }
.feature.tint-signal { border-color: rgba(52,211,153,.28); }
.feature.tint-signal:hover { border-color: rgba(52,211,153,.5); box-shadow: 0 18px 40px rgba(52,211,153,.12); }

.how .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.step .n { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(135deg, var(--ember), var(--flare)); color: #0B0B0F; font-weight: 800; display: grid; place-items: center; font-size: 19px; font-family: "Clash Display", sans-serif; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

.privacy-callout { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255,90,38,.16), rgba(159,216,255,.10)); border: 1px solid rgba(255,90,38,.28); border-radius: 28px; padding: 48px 30px; text-align: center; }
.privacy-callout h2 { color: var(--ink); }
.privacy-callout p { max-width: 660px; margin: 12px auto 0; color: var(--ink-2); }
.privacy-callout a { color: var(--flare); text-decoration: underline; }

/* Download CTA */
.download-cta { padding: 20px 0 66px; }
.download-callout { position: relative; overflow: hidden; text-align: center; background: var(--card); border: 1px solid var(--hairline); border-radius: 28px; padding: 58px 30px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.download-callout::before { content:""; position:absolute; inset:-1px; background: radial-gradient(600px 200px at 50% -40%, rgba(255,90,38,.22), transparent 70%); pointer-events:none; }
.download-callout h2 { margin-bottom: 8px; position: relative; }
.download-callout p { color: var(--ink-2); max-width: 520px; margin: 0 auto 26px; position: relative; }
.download-callout .btn-appstore { position: relative; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 780px; }
.faq details { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 6px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--flare); font-size: 24px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 16px; font-size: 16px; }

/* Legal pages */
.legal { padding: 40px 0 70px; }
.legal .doc { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); }
.legal h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 700; margin-bottom: 6px; }
.legal .updated { color: var(--ink-2); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 30px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
.legal p, .legal li { color: #C9C7CE; font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .back { display: inline-block; margin-bottom: 22px; font-weight: 700; }
.legal strong { color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 34px 0; color: var(--ink-2); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: var(--ink-2); }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .copy { margin-left: auto; }

/* Responsive */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .supported { justify-content: center; }
  .hero-phones { height: 540px; margin-top: 20px; }
  .shots { grid-template-columns: 1fr; justify-items: center; gap: 40px; }
}
@media (max-width: 560px) {
  .site-header nav { gap: 13px; font-size: 14px; }
  .site-header nav a[href="#how"],
  .site-header nav a[href="#features"],
  .site-header nav a[href="#faq"] { display: none; }
  .download-callout { padding: 46px 22px; }
  .hero h1 { font-size: clamp(36px, 12vw, 50px); }
  .hero-phones { height: 480px; }
  .hero-phones .phone { width: 220px; }
  .phone-back { transform: rotate(-6deg) translateX(-52px) scale(.92); }
  .phone-front { transform: rotate(3deg) translateX(32px); }
  .site-footer .copy { margin-left: 0; width: 100%; }
}
