:root { --red:#EA1F27; --red-d:#C8141C; --yel:#FCC013; --green:#13A539; --blue:#1962AB; --ink:#010611; --mut:#4D5057; --line:#DADCE0; --bg:#F6F7F8;
  --red-s:#FDEBEC; --yel-s:#FFF5D6; --green-s:#E5F6EA; --blue-s:#E4EEF8; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:"Plus Jakarta Sans", Arial, sans-serif; color:var(--ink); font-size:16px; line-height:1.55; background:#fff; -webkit-text-size-adjust:100%; }
img { max-width:100%; display:block; }
h1,h2,h3,p { margin:0; }
[hidden] { display:none !important; }
.wrap { max-width:1080px; margin:0 auto; padding:48px 20px; }
.wrap.narrow { max-width:680px; }
.center { text-align:center; } .muted { color:var(--mut); } .small { font-size:14px; }

/* header */
.top { position:sticky; top:0; z-index:20; background:var(--red); color:#fff; display:flex; align-items:center; justify-content:space-between; padding:10px 16px; border-bottom:4px solid var(--yel); }
.brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; font-weight:800; letter-spacing:.5px; text-transform:uppercase; font-size:14px; }
.brand img { height:34px; } .brand b { color:var(--yel); }
.brand span { border-left:1px solid rgba(255,255,255,.6); padding-left:12px; }
nav { display:flex; align-items:center; gap:14px; }
.navlink { color:#fff; font-weight:700; text-decoration:none; }

/* buttons */
.btn { font:inherit; font-weight:800; border:0; border-radius:999px; padding:11px 20px; min-height:44px; cursor:pointer; background:var(--red); color:#fff; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }
.btn.red { background:var(--red-d); } .btn.yellow { background:var(--yel); color:var(--ink); } .btn.light { background:#fff; color:var(--ink); }
.btn.ghost { background:transparent; color:#fff; box-shadow:inset 0 0 0 2px #fff; } .btn.blue { background:var(--blue); } .btn.green { background:#0C7A27; }
.btn.outline { background:#fff; color:var(--ink); box-shadow:inset 0 0 0 2px var(--line); }
.btn.big { padding:14px 26px; font-size:17px; } .btn.small { padding:8px 14px; min-height:40px; font-size:14px; } .btn.wide { width:100%; }
.btn[disabled] { opacity:.55; cursor:default; }
.top .btn { white-space:nowrap; padding:8px 16px; }

/* hero */
.hero { background:var(--red); color:#fff; overflow:hidden; position:relative; }
.hero::after { content:""; position:absolute; right:-180px; top:-120px; width:620px; height:620px; border-radius:50%; border:1px solid var(--yel);
  box-shadow:0 0 0 70px rgba(0,0,0,0), inset 0 0 0 70px rgba(0,0,0,0); background:
  radial-gradient(circle, transparent 0 109px, var(--yel) 109px 110px, transparent 110px 179px, var(--yel) 179px 180px, transparent 180px 249px, var(--yel) 249px 250px, transparent 250px); opacity:.8; pointer-events:none; }
.hero .wrap { position:relative; z-index:1; padding-top:56px; padding-bottom:56px; }
.hero h1 { font-size:clamp(40px, 9vw, 72px); line-height:1.03; font-weight:800; letter-spacing:-1.5px; margin:18px 0 16px; max-width:720px; }
.hero h1 span { color:var(--yel); }
.hero .lead { font-size:clamp(18px, 2.6vw, 22px); font-weight:600; max-width:620px; line-height:1.4; }
.cta { display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 14px; }
.hero .small { font-weight:600; max-width:560px; }
.strip { display:flex; height:8px; } .strip i { flex:1; background:var(--red); } .strip i:nth-child(2) { background:var(--yel); } .strip i:nth-child(3) { background:var(--green); } .strip i:nth-child(4) { background:var(--blue); }
.pill { display:inline-block; background:var(--red); color:#fff; font-size:12px; font-weight:800; letter-spacing:1.4px; text-transform:uppercase; padding:6px 14px; border-radius:999px; }
.pill.white { background:#fff; color:var(--ink); } .pill.blue { background:var(--blue); } .pill.green { background:#0C7A27; }
h2 { font-size:clamp(28px, 5vw, 40px); line-height:1.1; font-weight:800; letter-spacing:-.6px; margin:14px 0 10px; text-wrap:balance; }
.sub { color:var(--mut); max-width:680px; margin-bottom:24px; }
h3 { font-size:18px; font-weight:800; line-height:1.25; }

.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; padding-top:28px; padding-bottom:8px; }
.stat { border-radius:16px; padding:16px; } .stat b { display:block; font-size:44px; line-height:1; font-weight:800; } .stat span { font-size:14px; font-weight:600; }
.s-red { background:var(--red-s); } .s-red b { color:var(--red-d); } .s-blue { background:var(--blue-s); } .s-blue b { color:var(--blue); }
.s-green { background:var(--green-s); } .s-green b { color:#0C7A27; } .s-yel { background:var(--yel-s); } .s-yel b { color:#7A5800; }

.grid { display:grid; gap:14px; }
.views { grid-template-columns:repeat(2,1fr); }
.card { border-radius:16px; padding:18px; display:flex; gap:16px; align-items:flex-start; }
.card .n { font-size:38px; line-height:1; font-weight:800; min-width:52px; }
.card p { font-size:14.5px; margin-top:4px; }
.t-blue { background:var(--blue-s); } .t-blue .n { color:var(--blue); } .t-red { background:var(--red-s); } .t-red .n { color:var(--red-d); }
.t-green { background:var(--green-s); } .t-green .n { color:#0C7A27; } .t-yel { background:var(--yel-s); } .t-yel .n { color:#7A5800; } .t-grey { background:var(--bg); }
.band { background:var(--bg); }
.shots { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:24px; }
.shots img { width:100%; border:1px solid #B3B4B7; border-radius:8px; aspect-ratio:210/297; object-fit:cover; object-position:top; background:#fff; }
figure { margin:0; } figcaption { font-size:14px; font-weight:700; margin-top:8px; }
.ticks { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.ticks li { padding-left:26px; position:relative; }
.ticks li::before { content:""; position:absolute; left:2px; top:8px; width:11px; height:11px; border-radius:3px; background:var(--red); }
.ticks li:nth-child(2)::before { background:var(--blue); } .ticks li:nth-child(3)::before { background:var(--green); } .ticks li:nth-child(4)::before { background:var(--yel); } .ticks li:nth-child(5)::before { background:var(--ink); }
.steps { grid-template-columns:repeat(4,1fr); }
.step i { font-style:normal; width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:22px; color:#fff; margin-bottom:10px; }
.c-red { background:var(--red); } .c-blue { background:var(--blue); } .c-green { background:var(--green); } .c-yel { background:var(--yel); color:var(--ink) !important; }
.step p { font-size:14.5px; color:var(--mut); margin-top:4px; }
.plans { grid-template-columns:repeat(2,1fr); align-items:stretch; }
.plan { border:2px solid var(--line); border-radius:20px; padding:24px; display:flex; flex-direction:column; gap:14px; position:relative; background:#fff; }
.plan.best { border-color:var(--yel); background:var(--yel-s); }
.plan .tag { position:absolute; top:-13px; left:20px; background:var(--ink); color:#fff; font-size:12px; font-weight:800; padding:4px 12px; border-radius:999px; letter-spacing:.6px; text-transform:uppercase; }
.price { font-size:40px; font-weight:800; line-height:1; } .price small { font-size:15px; font-weight:700; }
.plan .btn { margin-top:auto; }

/* forms */
.form { display:grid; gap:14px; background:#fff; border-radius:20px; padding:22px; border:1px solid var(--line); }
.form label { display:grid; gap:6px; font-weight:700; font-size:14.5px; }
input, select, textarea { font:inherit; padding:12px 14px; border:1.5px solid #8A8D93; border-radius:12px; background:#fff; color:var(--ink); width:100%; min-height:48px; }
textarea { resize:vertical; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.seg { display:flex; gap:8px; flex-wrap:wrap; }
.seg label { display:block; font-weight:700; }
.seg input { position:absolute; opacity:0; width:1px; height:1px; min-height:0; }
.seg span { display:inline-flex; align-items:center; min-height:44px; padding:8px 16px; border-radius:999px; border:1.5px solid #8A8D93; cursor:pointer; }
.seg input:checked + span { background:var(--ink); color:#fff; border-color:var(--ink); }
.seg input:focus-visible + span { outline:3px solid var(--blue); outline-offset:2px; }
.msg { font-weight:700; min-height:1.4em; } .msg.ok { color:#0C7A27; } .msg.err { color:var(--red-d); }
details { border-bottom:1px solid var(--line); padding:14px 0; } summary { font-weight:800; cursor:pointer; min-height:28px; } details p { margin-top:8px; color:var(--mut); }
.foot { background:var(--ink); color:#fff; text-align:center; } .foot .wrap { padding:36px 20px; display:grid; gap:10px; justify-items:center; } .foot img { height:44px; } .foot a { color:#fff; }

/* app */
#view-app .wrap { padding-top:28px; }
.panel { border:1px solid var(--line); border-radius:20px; padding:22px; background:#fff; display:grid; gap:14px; margin-bottom:16px; }
.panel h2 { font-size:26px; margin:0; } .panel.done { background:var(--green-s); border-color:transparent; } .panel.next { border:2px solid var(--yel); background:var(--yel-s); } .panel.locked { background:var(--bg); color:var(--mut); }
.stephead { display:flex; align-items:center; gap:12px; } .stephead i { font-style:normal; flex:none; width:40px; height:40px; border-radius:50%; background:var(--ink); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; }
.panel.done .stephead i { background:#0C7A27; } .panel.locked .stephead i { background:#8A8D93; }
.teaser { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.teaser div { background:#fff; border-radius:14px; padding:12px; } .teaser b { display:block; font-size:24px; font-weight:800; color:var(--red-d); line-height:1.15; } .teaser span { font-size:13px; font-weight:600; color:var(--mut); }
.choice { display:grid; gap:10px; }
.choice button { text-align:left; border-radius:16px; padding:14px 16px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.choice button small { display:block; font-weight:600; }
.consent { display:flex; gap:10px; align-items:flex-start; font-weight:600; font-size:14.5px; }
.consent input { width:22px; height:22px; min-height:0; flex:none; margin-top:2px; }
.slotlist { display:grid; gap:8px; }
.row { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.linkbtn { background:none; border:0; font:inherit; color:var(--blue); font-weight:700; text-decoration:underline; cursor:pointer; padding:10px 0; min-height:44px; }

/* test (chat) */
#view-test { display:flex; flex-direction:column; height:calc(100dvh - 62px); background:var(--bg); }
.testbar { display:flex; align-items:center; gap:12px; padding:10px 14px; background:#fff; border-bottom:1px solid var(--line); }
.prog { flex:1; } .progtxt { display:flex; justify-content:space-between; font-size:13px; font-weight:700; color:var(--mut); margin-bottom:4px; }
.bar { height:8px; background:#E4E5E8; border-radius:8px; overflow:hidden; } .bar i { display:block; height:100%; width:0; background:var(--green); border-radius:8px; transition:width .25s; }
.chat { flex:1; overflow-y:auto; padding:16px 14px; display:flex; flex-direction:column; gap:10px; max-width:760px; width:100%; margin:0 auto; }
.bub { max-width:86%; padding:12px 15px; border-radius:18px; font-size:16px; line-height:1.45; white-space:pre-wrap; overflow-wrap:anywhere; }
.bub.bot { background:#fff; border:1px solid var(--line); align-self:flex-start; border-bottom-left-radius:6px; }
.bub.bot.sec { background:var(--ink); color:#fff; border-color:var(--ink); font-weight:700; }
.bub.me { background:var(--red-d); color:#fff; align-self:flex-end; border-bottom-right-radius:6px; font-weight:600; }
.bub .qno { display:block; font-size:12px; font-weight:800; color:var(--mut); letter-spacing:.6px; text-transform:uppercase; margin-bottom:2px; }
.composer { background:#fff; border-top:1px solid var(--line); padding:12px 14px calc(12px + env(safe-area-inset-bottom)); }
.composer .in { max-width:760px; margin:0 auto; display:grid; gap:10px; }
.opts { display:flex; flex-wrap:wrap; gap:8px; }
.opts.col { flex-direction:column; }
.opt { font:inherit; font-weight:700; text-align:left; background:#fff; color:var(--ink); border:1.5px solid #8A8D93; border-radius:14px; padding:11px 14px; min-height:46px; cursor:pointer; }
.opt:hover, .opt.on { background:var(--ink); color:#fff; border-color:var(--ink); }
.opts.scale .opt { flex:1 1 30%; text-align:center; padding:11px 8px; }
.sendrow { display:flex; gap:8px; } .sendrow input, .sendrow textarea { flex:1; }
.under { display:flex; justify-content:space-between; align-items:center; }

/* report */
.reportbar { position:sticky; top:62px; z-index:10; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px; background:var(--ink); color:#fff; }
#reportHolder { background:#8A8D93; padding:14px 0; min-height:60vh; overflow:hidden; }
#reportHolder iframe { border:0; display:block; background:#fff; transform-origin:top left; }
#reportHolder p { color:#fff; padding:40px 20px; }
.toast { position:fixed; left:50%; bottom:22px; transform:translateX(-50%); background:var(--ink); color:#fff; padding:12px 18px; border-radius:14px; font-weight:700; z-index:50; max-width:92vw; text-align:center; }

@media (max-width:760px) {
  .wrap { padding:36px 16px; }
  .hide-sm { display:none; }
  .brand img { height:28px; } .brand { font-size:12px; gap:8px; } .brand span { padding-left:8px; }
  .stats { grid-template-columns:repeat(2,1fr); }
  .views, .plans, .two { grid-template-columns:1fr; }
  .steps { grid-template-columns:repeat(2,1fr); }
  .shots { grid-template-columns:repeat(3,1fr); gap:8px; } figcaption { font-size:12px; }
  .hero::after { right:-340px; top:-200px; }
  .teaser { grid-template-columns:1fr; }
  .opts.scale .opt { flex:1 1 100%; text-align:left; padding:8px 14px; min-height:44px; }
  .opts { gap:6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } .bar i { transition:none; } }
