:root {
  --bg: #fffcf6;
  --card: #ffffff;
  --ink: #161412;
  --muted: #5f5a53;
  --line: #ebe4d8;
  --accent: #ef6420;
  --accent-ink: #ffffff;
  --accent-soft: #fff0e6;
  --ok: #1f9d55;
  --radius: 16px;
  --wrap: 1080px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.brand { font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.top nav { display: flex; gap: 20px; align-items: center; font-size: 16px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top nav .btn { color: var(--accent-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; border-radius: 12px; padding: 14px 22px; border: 0; cursor: pointer; font-size: 18px; box-shadow: 0 2px 0 rgba(0,0,0,.12); transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0,0,0,.14); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.small { padding: 8px 14px; font-size: 15px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Hero */
.hero { text-align: center; padding: 48px 0 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 22px auto 18px; max-width: 900px; font-weight: 850; }
h1 mark { background: linear-gradient(transparent 58%, #ffd9bf 58%); color: inherit; padding: 0 4px; }
.lede { font-size: clamp(19px, 2.4vw, 23px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fine { font-size: 15px; color: var(--muted); }

/* Screenshot frame */
.shot { margin: 44px auto 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: 0 30px 60px -20px rgba(40,30,10,.25); overflow: hidden; }
.shot .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #e7e0d4; }

.imports { text-align: center; color: var(--muted); font-size: 16px; margin: 28px 0 0; }
.imports b { color: var(--ink); font-weight: 650; }

/* Sections */
section { padding: 72px 0 0; }
h2 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; text-align: center; font-weight: 800; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .em { font-size: 30px; line-height: 1; }
.card h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery figcaption { padding: 12px 16px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; }
.price { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.price.best { border-color: var(--accent); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.price h3 { margin: 0; font-size: 18px; color: var(--muted); font-weight: 650; }
.amount { font-size: 54px; font-weight: 850; letter-spacing: -0.04em; line-height: 1; }
.amount small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 16px; }
.price li::before { content: "✓"; color: var(--ok); font-weight: 900; margin-right: 10px; }
.price .btn { margin-top: auto; }
.pay-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 18px; }

/* Maker */
.maker { display: flex; gap: 22px; align-items: flex-start; max-width: 760px; margin: 0 auto; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 34px; }
.maker p { margin: 0 0 10px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }

.final { text-align: center; padding: 88px 0 24px; }

footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }

/* Plain text pages (thanks, terms, privacy) */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 16px 0; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); text-align: left; margin: 10px 0 18px; }
.doc h2 { text-align: left; font-size: 24px; margin: 32px 0 8px; }
.doc p, .doc li { color: #3d3934; }
.doc .card { margin: 18px 0; }

@media (max-width: 860px) {
  .grid, .gallery, .steps { grid-template-columns: 1fr; }
  .prices { grid-template-columns: minmax(0, 420px); }
  .top nav a:not(.btn) { display: none; }
  .maker { flex-direction: column; }
  section { padding-top: 56px; }
}

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