/* Push-Ups website. Matches the app: near-black charcoal with an orange accent.
   No web fonts or third-party requests: the system font stack keeps the page private. */
:root {
  --bg: #121110;
  --surface: #1f1d1b;
  --surface-2: #2a2725;
  --line: #3a3633;
  --text: #f3eeea;
  --muted: #b9b1ab;
  --orange: #ff8a3d;
  --orange-deep: #b5581f;
  --track: #3a2416;
  --on-orange: #2a1000;
  --radius: 22px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
}

img { max-width: 100%; display: block; }

a { color: var(--orange); }
a:hover { color: #ffa45c; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 17, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-header nav { margin-left: auto; display: flex; gap: 20px; font-size: 16px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

/* Buttons */
/* Official Google Play badge; the PNG includes Google's required clear space. */
.play-badge { display: inline-block; line-height: 0; margin-left: -13px; }
.play-badge img { width: auto; height: 80px; }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--orange); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.02em; }
.hero .lead { color: var(--muted); font-size: 20px; margin: 0 0 32px; max-width: 34em; }
.hero .fine { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

/* Phone frame around screenshots */
.phone {
  position: relative;
  width: min(300px, 100%);
  margin: 0 auto;
  border-radius: 40px;
  padding: 10px;
  background: #0b0a09;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(255, 138, 61, 0.35), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }
.hero .phone { width: min(320px, 100%); }

/* Feature rows */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
.section p { color: var(--muted); margin: 0 0 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row.flip .text { order: 2; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 14px; height: 14px; border-radius: 50%; background: var(--orange);
}

/* "How build-up works" step chart (decorative; the text carries the meaning) */
.steps {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  align-items: end; height: 220px; margin: 32px 0 12px;
  padding: 20px 20px 0; background: var(--surface); border-radius: var(--radius);
}
.step { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.step .bar { width: min(44px, 100%); border-radius: 6px 6px 0 0; background: var(--orange); }
.step.hold .bar { background: var(--orange-deep); }
.step .val { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.step-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 0 20px; color: var(--muted); font-size: 14px; text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 15px; margin-top: 14px; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; background: var(--orange); }
.legend span.hold::before { background: var(--orange-deep); }

/* Widget screenshot */
.widget-shot { width: 100%; max-width: 440px; height: auto; margin: 0 auto 24px; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }

/* Notification mock */
.notif {
  background: #e9e4f0; color: #1d1b20; border-radius: 26px; padding: 20px 22px;
  max-width: 420px; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.notif .app { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #49454f; }
.notif .app img { width: 28px; height: 28px; border-radius: 50%; }
.notif .title { font-size: 18px; margin: 10px 0 2px; }
.notif .sub { font-size: 16px; color: #49454f; }
.notif .progress { height: 6px; border-radius: 3px; background: #c9c4d0; margin: 14px 0 12px; overflow: hidden; }
.notif .progress div { height: 100%; width: 66%; background: #4b5c92; border-radius: 3px; }
.notif .actions { display: flex; gap: 28px; color: #4b5c92; font-weight: 600; }

/* Privacy highlight */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; font-size: 16px; }

/* CTA band */
.cta { text-align: center; padding: 72px 0; border-top: 1px solid var(--line); }
.cta > .wrap > img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 20px; }
.cta .play-badge { margin-left: 0; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.cta p { color: var(--muted); margin: 0 0 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--muted); }

/* Privacy policy article */
.doc { max-width: 760px; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc .summary { background: var(--surface); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 36px; }
.doc .summary p { margin: 0; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: #ddd6d0; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }
.doc code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }

/* Responsive */
@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero .wrap, .row { grid-template-columns: 1fr; gap: 36px; }
  .row.flip .text { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { height: 180px; gap: 6px; padding: 16px 12px 0; }
  .step-labels { gap: 6px; padding: 0 12px; font-size: 12px; }
}

@media (max-width: 420px) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}
