/* Push-Up Legend — site styles.
   Pixel-art RPG theme lifted from the app: gold #F6B91C on black,
   red #E33B4E accents, Press Start 2P + VT323. */
:root {
  --bg: #0a0a0a;
  --bg-2: #050505;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: #2a2a2a;
  --bronze: #8A6A30;      /* pixel-panel frame (worn coin rim) */
  --gold: #F6B91C;
  --gold-dark: #A87A08;   /* button bevel / gold shadow */
  --gold-soft: #ffd873;
  --red: #E33B4E;
  --red-dark: #94212e;
  --amber: #FF932E;       /* XP */
  --ink: #EDEAE1;
  --ink-2: #9E9A90;
  --ink-3: #6f6b62;
  --maxw: 1100px;
  --font-display: "Press Start 2P", "Courier New", monospace;
  --font-body: "VT323", "Courier New", monospace;
  --notch: 7px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 21px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* faint CRT scanlines — kept very subtle so text stays crisp */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,0.05) 2px 3px);
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.pixelated { image-rendering: pixelated; image-rendering: crisp-edges; }

/* Display type */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.35; overflow-wrap: break-word; word-break: break-word; }
.gold { color: var(--gold); }
.red { color: var(--red); }
.grad {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Notched pixel panel */
.panel {
  background: var(--surface);
  border: 2px solid var(--border);
  clip-path: polygon(
    0 var(--notch), var(--notch) 0,
    calc(100% - var(--notch)) 0, 100% var(--notch),
    100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%,
    var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.panel-gold { border-color: var(--bronze); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10,10,10,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 2px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand-row { display: flex; align-items: center; gap: 12px; }
.brand-row img { width: 36px; height: 36px; }
.brand-row .name {
  font-family: var(--font-display); font-size: 14px; color: var(--gold);
  letter-spacing: 0.5px; line-height: 1.3;
}
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: var(--ink-2); font-size: 20px; }
.site-header nav a:hover { color: var(--gold); text-decoration: none; }
.nav-get {
  font-family: var(--font-display); font-size: 11px !important; color: #1a1400 !important;
  background: var(--gold); padding: 10px 14px; box-shadow: 0 4px 0 var(--gold-dark);
}
.nav-get:hover { color: #1a1400 !important; }
.rainbow-line { height: 3px; background: linear-gradient(90deg, var(--gold), var(--amber) 45%, var(--red)); opacity: .9; }

/* ---------- Buttons ---------- */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); text-align: left;
  background: var(--gold); color: #1a1400;
  padding: 16px 26px; border: 0;
  box-shadow: 0 6px 0 var(--gold-dark);
  transition: transform .1s ease, box-shadow .1s ease;
  cursor: default;
}
.btn-store .apple-ic { width: 26px; height: 26px; flex: 0 0 auto; fill: #1a1400; }
.btn-store span { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.btn-store small { font-size: 8px; opacity: .8; }
.btn-store strong { font-size: 14px; font-weight: 400; }
.btn-store.soon { background: var(--surface-2); color: var(--gold); box-shadow: 0 6px 0 #000; border: 2px solid var(--bronze); }
.btn-store.soon .apple-ic { fill: var(--gold); }
a.btn-store { cursor: pointer; }
a.btn-store:hover, .btn-store:hover { text-decoration: none; transform: translateY(2px); box-shadow: 0 4px 0 var(--gold-dark); }
.btn-store.soon:hover { box-shadow: 0 4px 0 #000; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 66px 0 34px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0; width: 620px; height: 620px;
  border-radius: 50%; filter: blur(90px); opacity: .28;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -220px; left: 50%; transform: translateX(-50%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-size: 10px;
  letter-spacing: 1px; color: var(--gold); background: rgba(246,185,28,.1);
  border: 1px solid var(--bronze); padding: 8px 12px;
}
.hero h1 {
  font-size: clamp(26px, 4.6vw, 44px); margin: 22px 0 18px; color: var(--ink);
  line-height: 1.28; letter-spacing: 0.5px;
}
.hero p.lead { font-size: clamp(20px, 2.3vw, 25px); color: var(--ink-2); max-width: 520px; }
.cta-row { margin-top: 28px; }
.cta-note { font-size: 18px; color: var(--ink-3); margin-top: 12px; }
.supported { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-body); font-size: 18px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--border); padding: 6px 12px;
}
.chip b { color: var(--gold); font-weight: 400; }

/* Hero phones */
.hero-phones { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.phone {
  background: #000; border: 2px solid #222; padding: 7px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  border-radius: 34px;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.hero-phones .phone { position: absolute; width: 258px; }
.phone-front { transform: rotate(3deg) translateX(46px); z-index: 2; }
.phone-back { transform: rotate(-6deg) translateX(-64px) scale(.92); z-index: 1; opacity: .95; }

/* ---------- Stats strip ---------- */
.stat-strip { padding: 12px 0 8px; }
.stat-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-tile { padding: 22px 18px; text-align: center; }
.stat-tile .num { font-family: var(--font-display); font-size: 20px; color: var(--gold); }
.stat-tile .lab { font-size: 18px; color: var(--ink-2); margin-top: 10px; line-height: 1.25; }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
section h2 { font-size: clamp(20px, 3.4vw, 30px); color: var(--ink); letter-spacing: 0.5px; }
section h2 .accent { color: var(--gold); }
.sub { color: var(--ink-2); margin-top: 16px; font-size: 22px; }

/* Features */
.features .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feature { padding: 26px 24px; transition: transform .12s ease, border-color .12s ease; }
.feature:hover { transform: translateY(-4px); border-color: var(--bronze); }
.feature .ic {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px;
  background: var(--surface-2); border: 1px solid var(--bronze); margin-bottom: 16px;
}
.feature h3 { font-size: 14px; color: var(--gold); margin-bottom: 12px; line-height: 1.5; }
.feature p { color: var(--ink-2); font-size: 20px; }

/* Showcase */
.showcase { background: var(--bg-2); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.shot-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot-card .phone { width: 232px; }
.shot-card figcaption { margin-top: 20px; color: var(--ink-2); font-size: 19px; max-width: 250px; }
.shot-card figcaption strong { display: block; font-family: var(--font-display); color: var(--gold); font-size: 12px; margin-bottom: 10px; line-height: 1.4; }

/* How it works */
.how .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { padding: 26px 22px; }
.step .n {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 16px; color: #1a1400;
  background: var(--gold); box-shadow: 0 4px 0 var(--gold-dark);
}
.step h3 { font-size: 13px; color: var(--gold); margin-bottom: 12px; line-height: 1.5; }
.step p { color: var(--ink-2); font-size: 20px; }

/* Privacy callout */
.privacy-band { padding: 30px 0 70px; }
.privacy-callout {
  text-align: center; padding: 50px 30px;
  background: linear-gradient(160deg, #1a1408, var(--surface));
  border: 2px solid var(--bronze);
}
.privacy-callout .shield { font-size: 40px; margin-bottom: 14px; }
.privacy-callout h2 { margin-bottom: 16px; }
.privacy-callout p { max-width: 640px; margin: 0 auto; color: var(--ink-2); font-size: 21px; }
.privacy-callout a { text-decoration: underline; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq details { padding: 4px 22px; }
.faq summary {
  cursor: pointer; font-family: var(--font-display); font-size: 13px; color: var(--ink);
  padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--font-display); font-size: 16px; flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-2); padding: 0 0 20px; font-size: 20px; }

/* Download CTA */
.download-cta { padding: 10px 0 80px; }
.download-callout { text-align: center; padding: 60px 30px; background: var(--surface); border: 2px solid var(--bronze); }
.download-callout h2 { margin-bottom: 16px; }
.download-callout p { color: var(--ink-2); max-width: 520px; margin: 0 auto 30px; font-size: 22px; }

/* ---------- Legal pages ---------- */
.legal { padding: 44px 0 80px; }
.legal .doc { padding: clamp(24px, 5vw, 52px); }
.legal .back { display: inline-block; margin-bottom: 24px; font-family: var(--font-display); font-size: 11px; }
.legal h1 { font-size: clamp(20px, 4.6vw, 30px); margin-bottom: 12px; color: var(--gold); }
.legal .updated { color: var(--ink-3); font-size: 18px; margin-bottom: 30px; }
.legal h2 { font-size: 15px; color: var(--ink); margin: 34px 0 12px; line-height: 1.5; }
.legal h3 { font-size: 12px; color: var(--gold); margin: 22px 0 8px; line-height: 1.5; }
.legal p, .legal li { color: #c9c5bb; font-size: 20px; margin-bottom: 14px; }
.legal ul { padding-left: 24px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal .doc .lead-em { color: var(--ink); }

/* contact button */
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px;
  background: var(--gold); color: #1a1400 !important; padding: 16px 26px;
  box-shadow: 0 6px 0 var(--gold-dark); margin-top: 6px;
}
.contact-btn:hover { text-decoration: none; transform: translateY(2px); box-shadow: 0 4px 0 var(--gold-dark); }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--border); padding: 40px 0; color: var(--ink-2); background: var(--bg-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 10px; }
.site-footer .foot-brand img { width: 28px; height: 28px; }
.site-footer .foot-brand span { font-family: var(--font-display); font-size: 11px; color: var(--gold); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: var(--ink-2); font-size: 19px; }
.site-footer nav a:hover { color: var(--gold); text-decoration: none; }
.site-footer .copy { margin-left: auto; font-size: 18px; color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .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, .cta-row { justify-content: center; display: flex; flex-wrap: wrap; }
  .hero-phones { height: 520px; margin-top: 26px; }
  .stat-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr; justify-items: center; gap: 44px; }
}
@media (max-width: 560px) {
  body { font-size: 20px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:not(.nav-get) { display: none; }
  .brand-row .name { font-size: 12px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(19px, 6vw, 24px); margin: 18px 0 16px; }
  .hero p.lead { font-size: 21px; }
  section h2 { font-size: clamp(17px, 5.2vw, 22px); }
  .feature h3, .step h3, .faq summary { font-size: 12px; }
  .hero-phones { height: 480px; }
  .hero-phones .phone { width: 222px; }
  .phone-back { transform: rotate(-6deg) translateX(-46px) scale(.9); }
  .phone-front { transform: rotate(3deg) translateX(30px); }
  .site-footer .copy { margin-left: 0; width: 100%; }
  .download-callout, .privacy-callout { padding: 44px 22px; }
}
