:root {
  --ink: #0b1020; --ink2: #1e293b; --muted: #64748b; --line: #e6e8ef; --bg: #ffffff; --alt: #f6f7fb;
  --card: #fff; --acc: #fe2c55; --acc2: #25f4ee; --ok: #059669; --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 16, 32, .06), 0 12px 32px rgba(11, 16, 32, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 14px; }
h3 { font-size: 18px; margin: 10px 0 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.narrow-text { max-width: 760px; }
.lead { font-size: 18px; color: #334155; }
.fine { font-size: 13px; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); margin: 0 0 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.top nav { display: flex; gap: 20px; align-items: center; }
.top nav a { text-decoration: none; color: var(--ink2); font-weight: 500; font-size: 15px; }
.top nav a.btn { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-small { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--alt); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #f1f5f9; }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 420px at 85% 0%, rgba(37, 244, 238, .16), transparent 60%), radial-gradient(800px 420px at 0% 10%, rgba(254, 44, 85, .10), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); margin: 0 0 18px; font-weight: 800; }
.hl { background: linear-gradient(90deg, var(--acc), #a855f7 55%, #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }

/* product mockup */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--alt); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe5; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px; }
.mock-video { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; background: linear-gradient(160deg, #1e1b4b, #7c3aed 45%, #fe2c55 80%, #f59e0b); }
.mock-play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); }
.mock-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.mock-cap { position: absolute; bottom: 8px; right: 8px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .45); border-radius: 6px; padding: 1px 6px; }
.mock-form { display: flex; flex-direction: column; gap: 6px; font-size: 13px; min-width: 0; }
.mock-form small { color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.mock-who { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.mock-who b { display: block; font-size: 14px; }
.mock-ava { width: 34px; height: 34px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--acc2), var(--acc)); }
.mock-field { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; background: #fff; }
.mock-select { color: var(--muted); position: relative; }
.mock-select::after { content: "▾"; position: absolute; right: 10px; }
.mock-checks { display: flex; gap: 12px; flex-wrap: wrap; }
.mock-checks span::before { content: ""; display: inline-block; width: 12px; height: 12px; border: 1.5px solid #b6bcc9; border-radius: 3px; margin-right: 5px; vertical-align: -2px; }
.mock-toggle { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.mock-toggle span { width: 28px; height: 16px; flex: none; border-radius: 99px; background: #d7dbe5; position: relative; }
.mock-toggle span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.mock-post { margin-top: 10px; background: var(--ink); color: #fff; text-align: center; font-weight: 700; border-radius: 10px; padding: 9px; }

/* sections */
.section { padding: 76px 0; }
.section.alt, .band { background: var(--alt); }
.band { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature p { margin: 0; color: #475569; }
.ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, rgba(37, 244, 238, .22), rgba(254, 44, 85, .18)); font-weight: 800; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 10px; }
.steps b { display: block; font-size: 18px; }
.steps p { margin: 6px 0 0; color: #475569; }
.price-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: linear-gradient(135deg, #fff, #f8fafc); box-shadow: var(--shadow); }
.price-card h2 { margin-bottom: 8px; }
.price-card p { max-width: 620px; margin: 0; color: #475569; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 600; }
.faq[open] summary::after { content: "×"; }
.faq p { margin: 0 0 14px; color: #475569; }
.final { background: var(--ink); color: #fff; }
.final h2 { margin-bottom: 22px; }

/* app pages */
main > .wrap { padding-top: 28px; padding-bottom: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 18px 0; }
.narrow { max-width: 640px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.grid3 .card { margin: 0; }
.ticks { padding-left: 18px; }
.prose { max-width: 800px; }
.prose h1 { margin-top: 0; }
.prose h2 { font-size: 20px; margin-top: 26px; }
.profile { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.profile h1 { margin: 0; font-size: 22px; }
.profile .btn { margin-left: auto; }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.vcard { text-decoration: none; }
.vcard img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #e5e7eb; }
.vtitle { font-size: 13px; margin: 6px 0 2px; }
.stats { font-size: 12.5px; color: var(--muted); margin: 0; }
.compose { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 18px; align-items: start; }
.compose .card { margin: 18px 0 0; }
.preview video { width: 100%; border-radius: 10px; background: #000; aspect-ratio: 9 / 16; }
.settings label { display: block; margin: 14px 0 6px; }
.settings textarea, .settings select { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.creator { display: flex; align-items: center; gap: 10px; }
.nick { font-weight: 800; margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 16px 0; padding: 10px 14px; }
legend { padding: 0 6px; }
.chk { display: block; margin: 6px 0; }
.chk.off { color: var(--muted); }
.switch { margin: 4px 0; }
.declare { font-size: 14px; }
.draftbox { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 6px; }
.warn { color: #b91c1c; font-weight: 600; }
.danger { border-color: #fecaca; }

/* footer */
.foot { border-top: 1px solid var(--line); background: #fff; padding: 40px 0 24px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 24px; }
.foot-grid a { display: block; text-decoration: none; color: #475569; margin: 4px 0; }
.foot-grid .brand { display: inline-flex; color: var(--ink); }
.foot-h { font-weight: 700; margin: 0 0 6px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 36px; }
  .features, .steps { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .hide-sm { display: none; }
  .top nav { gap: 12px; }
  .compose { grid-template-columns: 1fr; }
  .profile .btn { margin-left: 0; }
  .section { padding: 52px 0; }
  .price-card { padding: 22px; }
}
