@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-regular.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-medium.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/fonts/inter-bold.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/inter-extrabold.woff2) format('woff2'); }
:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #16171b; --muted: #5d606a; --line: #e6e3dc;
  --accent: #1f5f4a; --accent-ink: #ffffff; --accent-soft: #e5efe9; --warn: #8a3b12; --warn-soft: #fbeee6;
  --radius: 14px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111214; --surface: #1a1b1f; --ink: #f1efea; --muted: #a4a6ad; --line: #2c2e33;
    --accent: #5fbf98; --accent-ink: #0d1411; --accent-soft: #1d2a24; --warn: #f0a37a; --warn-soft: #2b1d16;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  }
}
:root[data-theme="dark"] {
  --bg: #111214; --surface: #1a1b1f; --ink: #f1efea; --muted: #a4a6ad; --line: #2c2e33;
  --accent: #5fbf98; --accent-ink: #0d1411; --accent-soft: #1d2a24; --warn: #f0a37a; --warn-soft: #2b1d16;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 800; letter-spacing: -.02em; font-size: 20px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo i { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--accent) 0 55%, #e8b04a 55%); display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 22px; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.1; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); min-height: 48px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.small { padding: 10px 16px; min-height: 40px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }
h1 { font-size: clamp(32px, 7vw, 54px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; }
h2 { font-size: clamp(24px, 4.5vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 40em; margin: 0 0 24px; }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding-top: 40px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); max-width: 560px; }
.form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.form input[type=text], .form input[type=email], .form input[type=url] { width: 100%; font: inherit; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); margin-bottom: 14px; min-height: 48px; }
.form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .btn { width: 100%; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; display: none; }
.status.show { display: block; }
.status.work { background: var(--accent-soft); }
.status.err { background: var(--warn-soft); color: var(--warn); }
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; padding: 0; list-style: none; margin: 24px 0 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-top: 20px; align-items: start; }
.grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.grid figcaption { padding: 10px 12px; font-size: 13px; color: var(--muted); }
.grid figcaption b { color: var(--ink); display: block; font-size: 14px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.main { border: 2px solid var(--accent); }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plan .btn { margin-top: auto; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
footer a { color: var(--muted); }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--ink); max-width: 46em; }
.legal { padding-bottom: 40px; }
.banner { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 16px 0; }
.concepts { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 20px; }
.concept { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.concept .body { padding: 14px 16px 16px; }
.concept dl { margin: 8px 0 12px; font-size: 14px; }
.concept dt { font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.concept dd { margin: 2px 0 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1.2fr 1fr; }
  .concepts { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
}
@media (min-width: 1000px) { .concepts { grid-template-columns: repeat(3, 1fr); } }

/* Stage 1 additions */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 2px 0 14px; color: var(--ink); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.consent { font-size: 13px; color: var(--muted); margin: -8px 0 14px; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; max-width: 560px; align-items: end; }
.mini img { border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.mini-cap { font-size: 12px; color: var(--muted); margin: 6px 0 0; max-width: 560px; }
.offer { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); padding: 18px; margin: 16px 0 6px; display: grid; gap: 10px; max-width: 640px; }
.offer h2 { font-size: 22px; margin: 0; }
.offer .price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.offer .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.offer .alt { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.renew { font-size: 13px; color: var(--muted); margin: 0; }
.tip { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.videobox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 16px; max-width: 640px; }
.videobox video { width: 100%; max-width: 270px; border-radius: 10px; display: block; background: #000; }
.ph { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.cbanner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 14px; font-size: 14px; max-width: 560px; margin: 0 auto; }
.cbanner .row { margin-top: 10px; }
.plan .btn + .renew { margin-top: 8px; }
.alt .row { margin-top: 8px; }
.videobox h2 { font-size: 20px; margin: 0 0 6px; }
#videoStatus { margin: 0 0 10px; }
.legal table { border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal td, .legal th { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.offer .price small { display: block; margin-top: 2px; }
.testnote ol { margin: 6px 0 0 18px; padding: 0; display: grid; gap: 6px; }
