/* Zero RIR · zerorir.it — one page, dark, lime accent (same palette as the app). */

/* Fonts: put the .woff2 files in /fonts (see LEGGIMI.txt). Until then the fallbacks are used. */
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0e0f0d; --band: #141512; --card: #1a1b18; --raised: #22241f; --line: #30322c; --line-strong: #4a4d43;
  --fg: #f4f5f0; --muted: #a6a99f; --faint: #8a8d82; --accent: #c6ff3d; --on-accent: #0e0f0d; --info: #7cc8ff;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: #e2ff9e; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Type */
.kicker { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0; }
h1, h2, .shout { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .98; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7.2vw, 76px); }
h2 { font-size: clamp(34px, 4.6vw, 52px); }
h3 { font-size: 21px; margin: 0; }
.hi { color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; margin: 0; max-width: 34em; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; border-radius: 12px; padding: 14px 22px; font-weight: 700; font-size: 17px; border: 1px solid transparent; }
.btn-main { background: var(--accent); color: var(--on-accent); }
.btn-main:hover { background: #d6ff72; color: var(--on-accent); }
.btn-ghost { border-color: var(--line); color: var(--fg); font-weight: 600; }
.btn-ghost:hover { border-color: var(--muted); color: var(--fg); }

/* Header */
.top { border-bottom: 1px solid var(--raised); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--fg); }
.nav .login { color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.nav .cta { color: var(--on-accent); background: var(--accent); border-radius: 10px; padding: 9px 15px; font-weight: 700; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .top .wrap { flex-wrap: nowrap; } .nav { flex-wrap: nowrap; gap: 10px; } }
@media (max-width: 440px) { .nav .login { display: none; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 80px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.hero-visual { flex: 1 1 320px; display: flex; justify-content: center; position: relative; }
.halo { position: absolute; width: 340px; height: 340px; max-width: 100%; border-radius: 50%; border: 28px solid #1d2a06; top: 60px; }

/* Phone frames */
.phone { position: relative; width: 300px; max-width: 100%; border-radius: 38px; background: #050605; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.phone img, .phone .screen { border-radius: 28px; }
.screen { background: var(--bg); padding: 22px 14px 18px; display: flex; flex-direction: column; gap: 12px; font-family: system-ui, -apple-system, Roboto, sans-serif; font-size: 14px; }

/* Drawn workout screen (until the real screenshot arrives) */
.w-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 0 4px; }
.w-card { background: var(--card); border-top: 1px solid #2c2e28; border-radius: 15px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.w-title { font-size: 18px; font-weight: 700; }
.w-goal { display: flex; align-items: center; gap: 8px; }
.w-goal span:first-child { flex: 1; font-size: 12px; font-weight: 600; color: var(--muted); }
.w-timer { position: relative; overflow: hidden; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--accent); background: var(--raised); font-size: 14px; font-weight: 800; }
.w-timer i { position: absolute; inset: 0 36% 0 0; background: rgba(198,255,61,.16); }
.w-timer b { position: relative; }
.w-cols, .w-row { display: grid; grid-template-columns: 1fr 2fr 2fr 2fr; gap: 6px; align-items: center; text-align: center; }
.w-cols { font-size: 11px; color: var(--faint); }
.w-n { width: 26px; height: 26px; border-radius: 13px; background: #2f322b; color: #c9ccc2; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin: 0 auto; }
.w-n.on { background: var(--accent); color: var(--on-accent); }
.w-box { border: 1px solid var(--line); border-radius: 8px; padding: 9px 0; color: var(--faint); font-size: 15px; }
.w-box.done { border-color: var(--line-strong); color: var(--fg); }
.w-box.target { border-style: dashed; border-color: var(--line-strong); color: var(--muted); font-weight: 700; }
.w-box.two { padding: 3px 0; line-height: 1.25; }
.w-box.two small { display: block; font-size: 10px; color: var(--faint); }
.w-last { border-top: 1px solid var(--line); padding-top: 10px; font-size: 12px; color: var(--muted); }
.w-last b { color: var(--fg); font-weight: 600; }
.w-next { background: var(--card); border-radius: 15px; padding: 12px 14px; display: flex; justify-content: space-between; opacity: .6; }
.w-next b { font-size: 16px; }
.w-next span { font-size: 12px; color: var(--faint); white-space: nowrap; }

/* Problem band */
.band { background: var(--accent); color: var(--on-accent); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.band .shout { flex: 1 1 520px; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; }
.band p:not(.shout) { flex: 1 1 320px; margin: 0; font-size: 18px; font-weight: 500; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.card { background: var(--card); border-top: 1px solid #2c2e28; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--muted); }
.num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); }

/* Screenshots */
.shots { padding-bottom: 96px; gap: 64px; }
.group { display: flex; flex-direction: column; gap: 20px; }
figure { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
figcaption { color: var(--muted); font-size: 15px; }
figcaption b { color: var(--fg); }
.browser { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--card); font-size: 12px; color: var(--faint); }
.bar i { width: 10px; height: 10px; border-radius: 5px; background: var(--line); }
.bar span { margin-left: 10px; }
.pair { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.pair figure { flex: 1 1 400px; }
.phones { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.phones figure { flex: 1 1 230px; max-width: 320px; }
.phones .phone { width: 100%; padding: 9px; border-radius: 34px; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px var(--line); }
.phones .phone img { border-radius: 26px; }
@media (max-width: 560px) { .phones figure { max-width: none; } }

/* Prices */
.prices { background: var(--band); border-top: 1px solid var(--raised); border-bottom: 1px solid var(--raised); }
.prices .section { padding-bottom: 96px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan.pick { border: 2px solid var(--accent); padding: 23px; }
.flag { position: absolute; top: -13px; left: 22px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 6px; }
.plan-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.price b { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.price span { color: var(--faint); }
.cap { color: var(--accent); font-weight: 700; margin: 0; }
.plan p.muted { font-size: 15px; margin: 0; }
.notes { display: flex; flex-wrap: wrap; gap: 10px 32px; color: var(--muted); font-size: 15px; list-style: none; padding: 0; margin: 0; }
.notes b { color: var(--fg); }

/* FAQ */
.faq { max-width: 860px; }
.faq .section { padding-bottom: 72px; gap: 28px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 19px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact { padding-top: 24px; padding-bottom: 96px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 40px; }
.box-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.box-text p { margin: 0; color: var(--muted); }
.mail { color: var(--fg); font-weight: 600; user-select: all; }
form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
input, select { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
input::placeholder { color: var(--faint); }
input:focus, select:focus { border-color: var(--accent); outline: none; }
.trap { position: absolute; left: -9999px; }
.small { font-size: 13px; color: var(--faint); margin: 0; }
button { font: inherit; align-self: flex-start; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 12px; padding: 15px 26px; font-size: 17px; font-weight: 700; cursor: pointer; min-height: 48px; }
button:hover { background: #d6ff72; }

/* Footer */
.foot { border-top: 1px solid var(--raised); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-top: 30px; padding-bottom: 40px; font-size: 14px; color: var(--faint); }
.motto { font-family: var(--display); font-weight: 700; letter-spacing: .3em; color: var(--muted); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); }

/* Thank-you / 404 pages */
.simple { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-top: 64px; padding-bottom: 64px; max-width: 720px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary::after { transition: none; } }
