:root {
  --bg: #f3efe7;
  --bg-2: #ebe6dc;
  --ink: #141413;
  --muted: #6b6560;
  --line: rgba(20, 20, 19, 0.1);
  --card: #fffcf8;
  --dark: #141413;
  --dark-2: #1c1b19;
  --radius: 28px;
  --shadow: 0 40px 80px -32px rgba(20, 20, 19, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(20, 20, 19, 0.06);
  padding: 0.08em 0.4em;
  border-radius: 6px;
}
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(40px, 7vw, 76px); margin: 18px 0 18px; }
h2 { font-size: clamp(32px, 4.5vw, 52px); margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.03em; }

.nav {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: min(1120px, calc(100% - 28px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 252, 248, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 20, 19, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.brand-mark { display: flex; }
.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button.btn {
  font: inherit;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.btn-dark[hidden], .btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

.hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 28px;
  text-align: center;
  scroll-margin-top: 96px;
}
.pill, .kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.kicker { margin-bottom: 14px; }
.kicker.light, .section-lede.light { color: #c9c3ba; }
.lede, .section-lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 28px;
}
.section-lede { font-size: 16px; }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.hero-shot { margin-top: 56px; perspective: 1400px; }
.shot-window {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transform: rotateX(8deg);
  transform-origin: center top;
}
.shot-side {
  background: #f7f4ee;
  padding: 22px 16px;
  text-align: left;
  border-right: 1px solid var(--line);
}
.shot-logo { font-weight: 800; margin-bottom: 22px; }
.shot-nav {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 4px;
}
.shot-nav.on { background: #111; color: #fff; font-weight: 600; }
.shot-main { padding: 18px 20px 24px; text-align: left; background: #fbfaf7; }
.shot-bar { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.shot-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.kpi span { display: block; font-size: 11px; color: var(--muted); }
.kpi b { font-size: 18px; letter-spacing: -0.03em; }
.kpi.green b { color: #157347; }
.kpi.blue b { color: #1d4ed8; }
.kpi.amber b { color: #b45309; }
.shot-table { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.2fr 0.7fr 1fr 1fr; padding: 10px 14px; font-size: 12px; border-top: 1px solid var(--line); }
.tr.hd { border-top: 0; background: #f3efe7; font-weight: 700; color: var(--muted); font-size: 11px; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 28s linear infinite;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #a39c93;
}
@keyframes slide { to { transform: translateX(-50%); } }

.section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 24px;
  scroll-margin-top: 96px;
}
.section > h2, .section > .kicker, .section > .section-lede { text-align: center; display: block; }
.section > .kicker { width: fit-content; margin-left: auto; margin-right: auto; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  min-height: 220px;
}
.bento-card p { margin: 0; color: var(--muted); }
.blob {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: inset 0 -10px 20px rgba(0,0,0,.08);
}
.blob.orange { background: linear-gradient(145deg, #ffb37a, #ff7a3c); }
.blob.blue { background: linear-gradient(145deg, #9ec8ff, #4d8dff); }
.blob.mint { background: linear-gradient(145deg, #b8f0d6, #4ecf96); }
.blob.peach { background: linear-gradient(145deg, #ffd3c2, #ff9a7a); }
.blob.lilac { background: linear-gradient(145deg, #dcc8ff, #9b7dff); }
.blob.gold { background: linear-gradient(145deg, #ffe7a3, #f0c14b); }

.split {
  width: min(1080px, calc(100% - 40px));
  margin: 72px auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.split-copy .section-lede, .split-copy p { max-width: none; margin: 0 0 18px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-weight: 600;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.8' d='M2.5 6.2l2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.device-stack { position: relative; min-height: 340px; }
.tablet, .phone {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.tablet {
  width: 86%;
  height: 280px;
  border-radius: 24px;
  padding: 18px;
}
.tablet-bar { height: 12px; width: 40%; background: #eee; border-radius: 8px; margin-bottom: 16px; }
.mini-kpis, .mini-rows { display: grid; gap: 10px; }
.mini-kpis { grid-template-columns: 1fr 1fr 1fr; margin-bottom: 14px; }
.mini-kpis i, .mini-rows i { display: block; height: 54px; background: #f3efe7; border-radius: 12px; }
.mini-rows i { height: 22px; }
.phone {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 160px;
  height: 280px;
  border-radius: 28px;
  padding: 22px 12px;
  background: var(--dark);
}
.phone-notch { width: 48px; height: 6px; background: #333; border-radius: 8px; margin: 0 auto 18px; }
.phone-card { height: 72px; background: #2a2926; border-radius: 14px; margin-bottom: 10px; }

.dark-band {
  margin: 80px 16px;
  padding: 72px 24px 56px;
  background: var(--dark);
  color: #f6f3ee;
  border-radius: 40px;
  text-align: center;
}
.dark-band h2 { color: #fff; }
.dark-cards {
  width: min(900px, 100%);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.dark-cards article {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 28px;
}
.dark-cards p, .dark-cards li { color: #c9c3ba; }
.dark-cards ul { padding-left: 18px; }

.block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}
.block-head .section-lede { margin-bottom: 0; text-align: left; }
.manual-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(20, 20, 19, 0.35);
}
.manual {
  width: 100%;
  height: min(78vh, 920px);
  border: 0;
  background: #fff;
  display: block;
}

.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 36px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 32px 28px;
}
.price-card.featured { background: #fff; box-shadow: var(--shadow); }
.price-tag { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.price { font-size: 48px; font-weight: 800; letter-spacing: -0.05em; margin: 0 0 12px; }
.file-name { margin: 0 0 6px; font-weight: 800; font-size: 18px; }
.file-note { margin: 0 0 18px; color: var(--muted); }
.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 0;
}
.meta div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
dd { margin: 4px 0 0; font-weight: 700; }
.warn { color: #9a3412; margin: 14px 0 0; }
.hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.price-card .btn { margin-top: 8px; }
.price-card .btn:disabled { opacity: 0.55; cursor: progress; transform: none; }

.install {
  --tone: #1d4ed8;
  --tone-soft: rgba(29, 78, 216, 0.08);
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1.5px solid color-mix(in srgb, var(--tone) 35%, transparent);
  border-radius: 18px;
  background: var(--tone-soft);
  animation: install-in 0.25s ease-out;
}
.install[hidden] { display: none; }
.install[data-state="done"] { --tone: #15803d; --tone-soft: rgba(21, 128, 61, 0.09); }
.install[data-state="error"] { --tone: #b42318; --tone-soft: rgba(180, 35, 24, 0.08); }
.install-head { display: flex; align-items: center; gap: 10px; }
.install-title { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: var(--tone); }
.install-pct { margin-left: auto; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--tone); }
.install-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--tone) 25%, transparent);
  border-top-color: var(--tone);
  animation: install-spin 0.8s linear infinite;
}
.install[data-state="done"] .install-icon,
.install[data-state="error"] .install-icon {
  animation: none;
  border: 0;
  background: var(--tone);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.install[data-state="done"] .install-icon::before { content: "✓"; }
.install[data-state="error"] .install-icon::before { content: "!"; }
.install-bar {
  height: 10px;
  margin: 12px 0 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tone) 14%, #fff);
  overflow: hidden;
}
.install-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--tone);
  transition: width 0.3s ease;
}
.install[data-state="running"] .install-bar span {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.22) 75%, transparent 75%);
  background-size: 18px 18px;
  animation: install-stripes 0.8s linear infinite;
}
.install-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.install-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.install-steps li::before {
  content: counter(step);
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
}
.install-steps li.is-active { color: var(--ink); font-weight: 800; }
.install-steps li.is-active::before { border-color: var(--tone); color: var(--tone); }
.install-steps li.is-done { color: var(--ink); }
.install-steps li.is-done::before { content: "✓"; border-color: var(--tone); background: var(--tone); color: #fff; }
.install-steps li.is-error { color: var(--tone); font-weight: 800; }
.install-steps li.is-error::before { content: "!"; border-color: var(--tone); background: var(--tone); color: #fff; }
.install-text { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.install[data-state="done"] .install-text { font-weight: 600; }
@keyframes install-spin { to { transform: rotate(360deg); } }
@keyframes install-stripes { to { background-position: 18px 0; } }
@keyframes install-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .install, .install-icon, .install[data-state="running"] .install-bar span { animation: none; }
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 32px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.cta-band {
  width: min(1080px, calc(100% - 40px));
  margin: 48px auto 80px;
  padding: 64px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
}
.cta-band p { color: var(--muted); margin: 0 0 24px; }

.foot {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.foot-links { display: flex; gap: 18px; }
.foot-links a { text-decoration: none; }

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto auto;
    border-radius: 22px;
    top: 8px;
  }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: #fffcf8;
    border: 1px solid var(--line);
    border-radius: 18px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 8px; }
  .bento, .dark-cards, .price-grid, .faq, .split { grid-template-columns: 1fr; }
  .shot-window { grid-template-columns: 1fr; transform: none; }
  .shot-side { display: none; }
  .block-head { flex-direction: column; align-items: flex-start; }
  .meta { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 48px; }
}
