:root {
  --orange: #ff6b35;
  --pink: #f5386b;
  --ink: #17181c;
  --muted: #5f6470;
  --line: #e7e8ec;
  --bg: #ffffff;
  --soft: #faf7f5;
  --card: #ffffff;
  --good: #1f9d63;
  --grad: linear-gradient(135deg, var(--orange), var(--pink));
  --radius: 18px;
  --shadow: 0 10px 30px rgba(23, 24, 28, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f3f5;
    --muted: #a3a7b3;
    --line: #2a2c33;
    --bg: #101114;
    --soft: #16181c;
    --card: #1a1c21;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3, .h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.86rem; }
.sub { color: var(--muted); font-size: 1.05rem; max-width: 680px; }
.sub.center { margin-inline: auto; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-auth { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(245, 56, 107, 0.28); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-light { background: #fff; color: #c2314f; }
.btn-text { background: transparent; color: var(--orange); }
.btn-sm { padding: 9px 14px; border-radius: 11px; font-size: 0.92rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--orange) 60%, transparent); outline-offset: 2px; border-radius: 8px; }

/* Hero */
.hero { padding: 64px 0 40px; background: radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--pink) 16%, transparent), transparent 70%), radial-gradient(700px 420px at 10% 0%, color-mix(in srgb, var(--orange) 14%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero-phones { position: relative; height: 560px; }
.phone { border-radius: 38px; overflow: hidden; background: #000; border: 8px solid #17181c; box-shadow: 0 30px 60px rgba(23, 24, 28, 0.28); width: 250px; }
.phone img { width: 100%; }
.phone-back { position: absolute; right: 10px; top: 0; transform: rotate(5deg); opacity: 0.96; }
.phone-front { position: absolute; left: 30px; top: 40px; transform: rotate(-4deg); }
.phone.small { width: 210px; border-width: 7px; border-radius: 32px; }
.phone.small.lift { margin-top: 48px; }

/* Stat strip */
.strip { border-block: 1px solid var(--line); background: var(--soft); }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip-row strong { display: block; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.strip-row span { color: var(--muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 80px 0; scroll-margin-top: 64px; }
.section.alt { background: var(--soft); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { color: var(--muted); margin: 0; }
.ficon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.25rem; margin-bottom: 14px; }

.how-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; margin-top: 36px; }
.how-shots { display: flex; gap: 18px; justify-content: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; }
.steps p { color: var(--muted); margin: 0; }
.num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .pitch { color: var(--muted); min-height: 2.8em; }
.price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 9px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 0.96rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

.cta-band { background: var(--grad); color: #fff; padding: 64px 0; }
.cta-band h2 { margin-bottom: 20px; }

/* Auth */
.auth-bg { min-height: calc(100vh - 64px); display: grid; place-items: start center; padding: 48px 20px 64px; background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 92%, #000 0%) 0, color-mix(in srgb, var(--pink) 92%, #000 0%) 300px, var(--bg) 300px); }
.auth-card { width: min(440px, 100%); background: var(--card); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-logo { border-radius: 18px; margin-bottom: 14px; }
.auth-card h1 { font-size: 1.7rem; }
form { display: grid; gap: 14px; margin-top: 16px; }
label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 700; color: var(--muted); }
input { font: inherit; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
input.code { text-align: center; font-size: 1.7rem; font-weight: 800; letter-spacing: 0.4em; font-variant-numeric: tabular-nums; }
.form-msg { color: #c2314f; font-size: 0.9rem; font-weight: 600; margin: 0; min-height: 1.2em; }
.switch { text-align: center; color: var(--muted); font-size: 0.94rem; margin: 0; }
.switch a { color: var(--orange); font-weight: 700; text-decoration: none; }
.powered { color: var(--muted); font-size: 0.84rem; font-weight: 600; text-align: center; margin: 18px 0 0; }

/* Account */
.account { padding: 40px 0 72px; display: grid; gap: 16px; }
.account h1 { font-size: 2rem; margin-bottom: 4px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.acct-head { display: flex; align-items: center; gap: 14px; }
.acct-head .btn { margin-left: auto; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem; flex: none; }
.acct-name { font-weight: 800; font-size: 1.1rem; }
.row-between { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-now { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.badge { background: var(--grad); color: #fff; font-size: 0.78rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.phone-field { display: flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding-left: 14px; }
.phone-field span { color: var(--muted); font-weight: 700; }
.phone-field input { border: 0; background: transparent; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 6px; }
.notice { border-radius: 14px; padding: 14px 18px; font-weight: 600; background: color-mix(in srgb, var(--good) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--good) 40%, transparent); }
.notice.warn { background: color-mix(in srgb, var(--orange) 12%, var(--card)); border-color: color-mix(in srgb, var(--orange) 40%, transparent); }
.hist-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; }
.hist-row:first-child { border-top: 0; }
.status-paid { color: var(--good); font-weight: 700; }
.status-other { color: var(--muted); font-weight: 600; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-row { display: grid; gap: 6px; justify-items: center; text-align: center; }
.footer p { margin: 0; }
.footer .powered { margin-top: 8px; }

@media (max-width: 900px) {
  .hero-grid, .how-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 440px; max-width: 420px; margin-inline: auto; width: 100%; }
  .phone { width: 200px; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .strip-row { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-auth { margin-left: auto; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .buy-grid { grid-template-columns: 1fr; }
  .how-shots .phone.small { width: 150px; }
  .nav-row { gap: 10px; }
  .btn-sm { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Legal and information pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 30px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--orange); font-weight: 600; }
.legal .btn-primary { color: #fff; margin-top: 12px; }
.legal .card { margin-top: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 8px 0 4px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }
.consent { color: var(--muted); font-size: 0.84rem; text-align: center; margin: 0; }
.consent a { color: var(--orange); font-weight: 600; text-decoration: none; }
.nav-auth .btn { white-space: nowrap; }
.brand span { white-space: nowrap; }
