:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #f0f0ed;
  --text: #151515;
  --muted: #686865;
  --line: rgba(21, 21, 21, 0.11);
  --accent: #ff5c62;
  --accent-deep: #e94b52;
  --accent-soft: #fff0ee;
  --shadow: 0 24px 70px rgba(25, 22, 20, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 780; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) 370px; gap: 76px; align-items: center; padding: 112px 0 100px; }
.eyebrow, .kicker { color: var(--accent-deep); font-size: 13px; font-weight: 780; letter-spacing: 0.07em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 22px 0 26px; font-size: clamp(48px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.055em; }
.lede { max-width: 760px; margin: 0; color: #3c3c39; font-size: clamp(19px, 2vw, 23px); line-height: 1.6; }
.meta { margin: 26px 0 0; color: var(--muted); font-size: 14px; }

.price-card { padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.price-label { color: var(--muted); font-size: 14px; }
.price { margin-top: 3px; font-size: 50px; line-height: 1.08; font-weight: 800; letter-spacing: -0.05em; }
.was { margin-left: 8px; color: #aaa9a5; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; text-decoration: line-through; }
.price-note { margin: 15px 0 22px; color: var(--muted); }
.button { display: flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; background: var(--text); color: #fff; text-decoration: none; font-weight: 780; transition: transform 150ms ease, background 150ms ease; }
.button:hover { transform: translateY(-1px); background: #292929; }
.button.secondary { margin-top: 10px; border-color: var(--line); background: var(--surface-soft); color: var(--text); }
.button.is-disabled { cursor: not-allowed; opacity: 0.45; transform: none; }
.refund-line { margin: 15px 0 8px; color: #3e6b4f; font-size: 13px; text-align: center; }
.quiet-link { display: inline-block; color: var(--muted); font-size: 13px; text-underline-offset: 4px; }
.price-card > .quiet-link { display: block; margin-top: 9px; text-align: center; }

.demo-section { padding: 88px 0 104px; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2, .section h2 { margin: 10px 0 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.045em; }
.demo-frame { overflow: hidden; aspect-ratio: 16 / 10; padding: 10px; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 30px; background: #242426; box-shadow: 0 38px 90px rgba(18, 18, 18, 0.2); }
.demo-frame video { width: 100%; height: 100%; border-radius: 21px; background: #18181a; object-fit: cover; }
.demo-caption { max-width: 790px; margin: 24px auto 0; color: var(--muted); text-align: center; }

.section { padding: 104px 0; border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { min-height: 235px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.feature.featured { border-color: rgba(255, 92, 98, 0.34); background: var(--accent-soft); }
.feature-number { display: block; margin-bottom: 46px; color: #a1a19d; font-size: 13px; font-weight: 760; }
.feature strong { display: block; margin-bottom: 9px; font-size: 23px; letter-spacing: -0.02em; }
.feature p { max-width: 430px; margin: 0; color: var(--muted); }

.install-notice-section { padding: 54px 0; }
.notice { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 28px 30px; border: 1px solid #eddcc2; border-radius: 20px; background: #fff9ef; }
.notice h3 { margin: 0 0 4px; font-size: 19px; }
.notice p { margin: 0; color: #706457; }
.notice .quiet-link { white-space: nowrap; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq article { padding: 28px; border-top: 1px solid var(--line); }
.faq h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.faq p { margin: 0; color: var(--muted); }
.faq a { text-underline-offset: 3px; }

.trust-strip { padding: 58px 0; background: var(--text); color: #fff; }
.trust-content { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.trust-content strong { font-size: 21px; }
.trust-content p { max-width: 620px; margin: 5px 0 0; color: #bdbdb8; }
.trust-content nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: #d5d5d0; font-size: 13px; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px 0 50px; color: #858581; font-size: 12px; }

.doc { width: min(790px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0 110px; }
.doc h1 { max-width: none; font-size: clamp(40px, 7vw, 64px); }
.doc h2 { margin-top: 42px; font-size: 25px; letter-spacing: -0.025em; }
.doc p, .doc li { color: #4f4f4b; }
.doc code { overflow-wrap: anywhere; color: #a83b42; }
.steps { counter-reset: step; display: grid; gap: 14px; margin: 30px 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 20px 22px 20px 68px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 18px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; }
.download-card { margin: 34px 0; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.download-card .button { margin-top: 20px; }
.check { color: #368454; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 80px 0; }
  .price-card { max-width: 500px; }
  .trust-content { align-items: flex-start; flex-direction: column; }
  .trust-content nav { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 30px, 1160px); }
  .nav-links a:not(.language) { display: none; }
  h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero { padding: 62px 0; }
  .demo-section, .section { padding: 72px 0; }
  .demo-frame { padding: 5px; border-radius: 20px; }
  .demo-frame video { border-radius: 15px; }
  .feature-grid, .faq { grid-template-columns: 1fr; }
  .feature-number { margin-bottom: 28px; }
  .notice { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
