:root {
  --bg: #fbfaf7;
  --bg2: #f4f1eb;
  --card: #ffffff;
  --line: #e8e3da;
  --text: #15171d;
  --muted: #5c6373;
  --accent: #f0443a;
  --accent2: #ff9f1c;
  --ink: #c2410c;
  --ok: #0f9d63;
  --shadow: 0 1px 2px rgba(20,22,28,.04), 0 8px 24px rgba(20,22,28,.06);
  --radius: 16px;
  --max: 1120px;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  font-synthesis: none;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; text-shadow: 0 1px 1px rgba(120,20,0,.25); box-shadow: 0 8px 24px rgba(240, 68, 58, .28); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(255, 120, 60, .42); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); box-shadow: var(--shadow); }
.btn-ghost:hover { background: #fff8f0; border-color: #f3cfa8; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; padding: 88px 0 72px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto; height: 700px; z-index: -1;
  background: radial-gradient(640px 360px at 50% 30%, rgba(255, 120, 80, .16), transparent 70%),
              radial-gradient(520px 320px at 75% 10%, rgba(255, 190, 70, .18), transparent 70%),
              radial-gradient(420px 280px at 20% 20%, rgba(120, 170, 255, .12), transparent 70%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
}
.pill b { color: var(--ink); font-weight: 700; }
h1 {
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
  margin: 22px auto 20px; max-width: 900px;
}
h1 .g { background: linear-gradient(135deg, #e5322d 0%, #f08a00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 640px; margin: 0 auto 34px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* App mockup */
.mock {
  margin: 64px auto 0; max-width: 980px; border-radius: 18px; border: 1px solid var(--line);
  --line: #232838; --muted: #9aa3b8; color: #eef1f7;
  background: linear-gradient(180deg, #171b26, #10131a); box-shadow: 0 30px 80px rgba(20,22,28,.22), 0 4px 12px rgba(20,22,28,.08);
  overflow: hidden; text-align: left;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.mock-bar span.t { margin-left: 12px; color: var(--muted); font-size: 13px; }
.mock-body { display: grid; grid-template-columns: 1fr 210px; gap: 18px; padding: 20px; }
.stage {
  position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  background: linear-gradient(120deg, #2a2f45 0%, #3b2633 45%, #4a3524 100%);
}
.stage .crop {
  position: absolute; top: 0; bottom: 0; left: 38%; width: 25.3%;
  border: 2px solid var(--accent2); box-shadow: 0 0 0 9999px rgba(0,0,0,.45); border-radius: 4px;
}
.stage .crop::before, .stage .crop::after { content: ""; position: absolute; background: rgba(255,176,59,.6); }
.stage .crop::before { left: 50%; top: 42%; width: 1px; height: 16%; }
.stage .crop::after { top: 50%; left: 30%; height: 1px; width: 40%; }
.stage .subject {
  position: absolute; left: 44%; top: 26%; width: 13%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f3c7a5, #b6795a);
}
.stage .subject + .body { position: absolute; left: 41%; top: 50%; width: 19%; height: 60%; border-radius: 40% 40% 0 0; background: #1d2233; }
.cap {
  position: absolute; left: 50.6%; transform: translateX(-50%); bottom: 14%;
  background: #fff; color: #111; font-weight: 800; font-size: 11px; padding: 3px 7px; border-radius: 5px; white-space: nowrap;
}
.tag {
  position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px;
  background: rgba(0,0,0,.55); color: var(--accent2);
}
.timeline { grid-column: 1 / -1; position: relative; height: 64px; border-radius: 10px; background: #0d1017; border: 1px solid var(--line); overflow: hidden; }
.wave { position: absolute; inset: 14px 10px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; background: #2c3348; border-radius: 2px; }
.clipmark { position: absolute; top: 6px; bottom: 6px; border-radius: 6px; background: rgba(255,77,77,.18); border: 1.5px solid var(--accent); }
.side { display: flex; flex-direction: column; gap: 10px; }
.side .h { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.clip {
  display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: #1a1f2c; border: 1px solid var(--line); font-size: 12px;
}
.clip .th { width: 28px; height: 46px; border-radius: 5px; background: linear-gradient(160deg, #3b2633, #4a3524); flex: none; }
.clip b { display: block; font-size: 12.5px; }
.clip small { color: var(--muted); }
.score { margin-left: auto; font-weight: 800; color: #3ddc97; font-size: 12px; }

/* Sections */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 18px; }

.logos { padding: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: var(--muted); font-weight: 700; font-size: 14px; }
.logos span { opacity: .8; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s; box-shadow: var(--shadow);
}
.card:hover { border-color: #f3cfa8; box-shadow: 0 12px 32px rgba(20,22,28,.08); transform: translateY(-2px); }
.ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, #ffe9e4, #fff1dc); color: #e5322d;
}
.ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.formats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.formats span { box-shadow: var(--shadow); padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-size: 14px; color: var(--muted); }
.formats b { color: var(--text); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 20px; justify-content: center; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.pro { border-color: rgba(255,120,60,.55); box-shadow: 0 0 0 1px rgba(255,120,60,.25), 0 24px 60px rgba(240,68,58,.14); position: relative; }
.plan .badge { position: absolute; top: -12px; right: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 99px; }
.plan h3 { font-size: 20px; }
.plan .amt { font-size: 48px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; }
.plan .per { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #2b303b; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.plan .btn { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq .q { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.faq button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text); font: inherit; font-weight: 700; font-size: 16px;
  padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; cursor: pointer;
}
.faq button::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq button[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq .a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.faq button[aria-expanded="true"] + .a { display: block; }

/* Final CTA */
.final { text-align: center; padding: 90px 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(520px 240px at 50% 0%, rgba(255,140,60,.18), transparent 70%), linear-gradient(180deg, #fff, #fff8f0); box-shadow: var(--shadow); }
.final h2 { margin-top: 0; }
.final p { color: var(--muted); margin-bottom: 28px; font-size: 18px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; margin-top: 96px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 0; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; text-align: left; }
.doc .upd { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: #343a46; margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .side { display: grid; grid-template-columns: repeat(3, 1fr); }
  .side .h { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 18px;
    padding: 22px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .hero { padding: 56px 0 48px; }
  section { padding: 68px 0; }
  .grid3, .steps, .plans { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; }
  .mock-body { padding: 12px; gap: 12px; }
  .cta-row .btn { width: 100%; }
  .final { padding: 60px 18px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
