:root {
  --bg: #FBFAF8;
  --surface: #FFFFFF;
  --alt: #F3F1EC;
  --ink: #17171C;
  --muted: #5D5D69;
  --line: #E6E3DC;
  --accent: #2563EB;
  --ok: #16A34A;
  --btn: #17171C;
  --btn-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(20, 20, 30, .06), 0 12px 40px rgba(20, 20, 30, .10);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E11; --surface: #17171C; --alt: #131317; --ink: #F1F1F4; --muted: #A2A2AE;
    --line: #2A2A32; --btn: #F1F1F4; --btn-ink: #111114;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 750; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-bottom: 28px; }
h3 { font-size: 18px; font-weight: 650; margin-bottom: 6px; }
p { margin: 0; }
code { font: 0.86em ui-monospace, "SF Mono", Menlo, monospace; background: var(--alt); padding: 1px 5px; border-radius: 5px; }
kbd {
  font: 600 0.82em -apple-system, system-ui, sans-serif; display: inline-block; min-width: 1.6em; text-align: center;
  padding: 1px 6px; margin: 0 1px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--surface);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }

/* Buttons */
.btn {
  appearance: none; border: 1px solid var(--btn); background: var(--btn); color: var(--btn-ink);
  font: 600 15px/1 inherit; font-family: inherit; padding: 11px 18px; border-radius: 10px; cursor: pointer;
  text-decoration: none; display: inline-block; text-align: center; white-space: nowrap;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn-sm { font-size: 14px; padding: 8px 14px; border-radius: 9px; }
.btn-lg { font-size: 17px; padding: 15px 24px; border-radius: 12px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-block { display: block; width: 100%; }
.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; margin-top: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.mark { width: 28px; height: 28px; }
.links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.links a { text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.cta-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.meta { margin-top: 26px; font-size: 13px; color: var(--muted); }

.hero-art { position: relative; }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win-bar span { margin-left: 10px; font-weight: 600; color: var(--muted); }
.win-body { display: grid; grid-template-columns: 200px 1fr; min-height: 300px; }
.win-side { background: var(--alt); border-right: 1px solid var(--line); padding: 10px 8px; }
.side-h { font-size: 11px; font-weight: 600; color: var(--muted); padding: 2px 8px 6px; }
.side-new { font-size: 12px; color: var(--muted); padding: 14px 8px 2px; }
.row { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; }
.row div { flex: 1; min-width: 0; }
.row strong { display: block; font-size: 13px; }
.row small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.sel { background: var(--accent); color: #fff; }
.row.sel small { color: rgba(255, 255, 255, .8); }
.row > b, .big-icon > b, .dock-app > b {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c); color: #fff; font-size: 12px; font-weight: 700; flex: none;
}
.row.sel > b { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
em { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: transparent; flex: none; }
em.on { background: var(--ok); }
.row.sel em.on { background: #7CF0A4; }
.win-main { padding: 26px 22px; text-align: center; }
.big-icon, .dock-app { position: relative; display: inline-grid; place-items: center; }
.big-icon .glyph, .dock-app .glyph {
  width: 64px; height: 64px; border-radius: 15px;
  background: linear-gradient(160deg, #F5F2EA, #DCD6C8); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .12);
}
.big-icon .glyph::after, .dock-app .glyph::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 46%; height: 36%; border-radius: 9px 9px 9px 3px;
  background: #2B2B33; opacity: .82; transform: translateY(-6%);
}
.big-icon > b, .dock-app > b { position: absolute; right: -4px; bottom: -4px; border: 2px solid var(--surface); }
.pname { font-size: 20px; font-weight: 700; margin-top: 12px; }
.pstat { color: var(--muted); font-size: 12px; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }
.pbtns { display: flex; gap: 6px; justify-content: center; margin: 14px 0 16px; flex-wrap: wrap; }
.pb { font-size: 12px; padding: 5px 10px; border-radius: 7px; background: var(--alt); border: 1px solid var(--line); }
.pb.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; text-align: left; background: var(--alt); border-radius: 10px; padding: 12px 14px; font-size: 12px; }
.kv span:nth-child(odd) { color: var(--muted); }
.kv span:nth-child(even) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dock {
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: 100%; margin: -22px auto 0; position: relative;
  padding: 10px 16px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 75%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.dock-app .glyph { width: 48px; height: 48px; border-radius: 12px; }
.dock-app > b { width: 20px; height: 20px; font-size: 10px; }
.dock-app > i { position: absolute; bottom: -7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--muted); }
.dock-hint { font-size: 12px; color: var(--muted); padding-left: 6px; border-left: 1px solid var(--line); margin-left: 2px; white-space: nowrap; }

/* Sections */
.sec { padding: 96px 0; }
.sec.alt, .band { background: var(--alt); }
.band { padding: 72px 0; }
.band h2 { max-width: 18em; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pains p, .steps p, .feat p { color: var(--muted); font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.steps li:nth-child(1) span { background: #2563EB; color: #fff; }
.steps li:nth-child(2) span { background: #16A34A; color: #fff; }
.steps li:nth-child(3) span { background: #9333EA; color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feat h3 { font-size: 16px; }
.feat p { font-size: 15px; }

/* Pricing */
#pricing { text-align: center; }
#pricing .price-card { margin: 0 auto; text-align: left; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 34px; max-width: 460px; }
.price { font-size: 56px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; }
.ticks li { padding: 7px 0 7px 30px; position: relative; font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }
.launch { margin-top: 10px; font-size: 14px; font-weight: 600; color: #B4532A; }
.guarantee { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.guarantee svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guarantee p { font-size: 14px; color: var(--muted); }
.guarantee strong { color: var(--ink); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
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 { color: var(--muted); margin-top: 10px; font-size: 16px; }

.end h2 { margin-bottom: 10px; }
.end .lede { margin: 0 auto 28px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
.foot-in { display: grid; gap: 8px; }
.tm { font-size: 12px; }

/* Toast, consent */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 10px; font-size: 14px; transition: .2s; z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.consent {
  position: fixed; right: 16px; bottom: 16px; max-width: 360px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 16px; font-size: 14px; z-index: 30;
}
.consent[hidden] { display: none; }
.consent div { display: flex; gap: 8px; margin-top: 12px; }

/* Small screens */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding: 44px 0 64px; }
  .pains, .steps { grid-template-columns: 1fr; gap: 18px; }
  .grid { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .kv { display: none; }
  .dock-hint { display: none; }
  .price-card { padding: 26px 22px; }
  .cta-row .btn-ghost { display: none; }
}
