:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #0f1419;
  --muted: #687280;
  --line: #e6e9ee;
  --card: #ffffff;
  --accent: #f2611d;
  --accent-hover: #df5512;
  --accent-soft: #fff0e7;
  --shadow: 0 1px 2px rgba(15, 20, 25, 0.04), 0 10px 30px rgba(15, 20, 25, 0.07);
  --shadow-lg: 0 2px 6px rgba(15, 20, 25, 0.05), 0 24px 60px rgba(15, 20, 25, 0.12);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font: 0.88em var(--mono); background: #f2f4f7; padding: 2px 6px; border-radius: 6px; }
svg { flex: none; }

/* Header */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  height: 72px; padding: 0 32px;
  background: rgba(240, 245, 251, 0.94);
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { image-rendering: pixelated; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; font-size: 15px; font-weight: 500; color: #3c4450; }
.nav-links a:hover { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 12px;
  background: rgba(242, 97, 29, 0.1); color: var(--accent);
  font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.pill:hover { background: rgba(242, 97, 29, 0.17); }
.pill svg { width: 17px; height: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 64px; padding: 0 34px; border: 0; border-radius: 18px;
  font: 600 19px var(--font); cursor: pointer;
  transition: background 0.2s, transform 0.12s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .choice:focus-visible, summary:focus-visible, .menu a:focus-visible { outline: 3px solid rgba(242, 97, 29, 0.45); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242, 97, 29, 0.32); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-square { width: 64px; padding: 0; }
.btn-icon { width: 24px; height: 24px; }
.btn-small { height: 44px; padding: 0 22px; font-size: 16px; border-radius: 13px; box-shadow: none; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 24px 0; overflow: hidden; }
.hero-bg {
  position: absolute; left: -40px; top: -40px; width: calc(100% + 80px); height: calc(100% + 80px);
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.55) 82%, #fff 100%);
}
.hero-content { text-align: center; margin-top: auto; }
.hero h1 {
  margin: 0; color: #fff;
  font-size: clamp(54px, 10.5vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -0.055em;
  text-shadow: 0 4px 30px rgba(20, 40, 70, 0.28), 0 1px 3px rgba(20, 40, 70, 0.2);
}
.tagline {
  margin: 26px 0 0; color: #fff;
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(20, 40, 70, 0.35);
}
.hero-actions { display: flex; justify-content: center; gap: 22px; margin-top: 52px; }

.more { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 10;
  min-width: 270px; padding: 8px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-lg);
  text-align: left;
}
.menu[hidden] { display: none; }
.menu a { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 16px; cursor: pointer; }
.menu a:hover { background: #f3f5f8; }
.menu svg { width: 22px; height: 22px; }
.menu small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  width: 100%; max-width: 1230px; margin: 90px auto 48px;
}
.stat {
  display: flex; flex-direction: column; gap: 10px;
  padding: 44px 22px 24px; border-radius: 22px;
  background: #fff; box-shadow: var(--shadow);
}
.stat b { font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.stat span { font-size: 19px; letter-spacing: -0.02em; }

/* Sections */
.section { max-width: 1680px; margin: 0 auto; padding: 110px 8vw 0; }
.section.narrow > :not(h2) { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section h2 { margin: 0 0 56px; font-size: clamp(42px, 5vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }

.card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { padding: 34px 32px; }
.feature h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.feature p { margin: 0; color: var(--muted); font-size: 17px; }

/* Demo */
.demo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #c4def2; }
.demo iframe { display: block; width: 100%; height: 760px; border: 0; }
.demo-caption { margin: 22px 0 0; color: var(--muted); font-size: 16px; text-align: center; }

/* Download rows */
.rows { display: grid; gap: 22px; }
.row summary {
  display: flex; align-items: center; gap: 22px;
  padding: 30px 34px; cursor: pointer; list-style: none;
}
.row summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.row-icon { width: 54px; height: 54px; }
.row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-title { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.2; }
.row-sub { color: var(--muted); font-size: 18px; }
.badge {
  display: none; padding: 4px 11px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.row.is-detected .badge { display: inline-block; }
.chevron { width: 26px; height: 26px; margin-left: auto; color: #8a929e; transition: transform 0.25s; }
details[open] > summary .chevron { transform: rotate(-90deg); }
.row-body { display: grid; gap: 22px; justify-items: start; padding: 0 34px 34px; padding-inline-start: 110px; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
.choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 24px; border-radius: 18px;
  border: 1.5px solid var(--line); background: #fafbfc;
  cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.choice:hover { border-color: rgba(242, 97, 29, 0.5); background: #fff; box-shadow: var(--shadow); }
.choice.is-recommended { border-color: var(--accent); background: var(--accent-soft); }
.choice-title { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.choice-sub { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.hint { margin: 0; color: var(--muted); font-size: 16px; }
.hint b { color: var(--text); font-weight: 600; }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: #3c4450; font-size: 17px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 20px;
  padding: 34px 0; cursor: pointer; list-style: none;
  font-size: clamp(22px, 2.3vw, 31px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.2;
}
.faq details p { margin: -12px 0 34px; max-width: 900px; color: #3c4450; font-size: 18px; }

/* Support */
.support-text { padding: 30px 18px; }
.support-text p { margin: 0; font-size: 19px; }
.support-link {
  display: flex; align-items: center; gap: 30px;
  width: min(580px, 100%); margin-top: 32px; padding: 54px 36px;
  font-size: 26px; font-weight: 700; letter-spacing: -0.03em;
  transition: box-shadow 0.2s, transform 0.2s;
}
.section.narrow > .support-link { margin-left: auto; margin-right: auto; }
.support-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.support-link svg { width: 92px; height: 92px; }

/* Footer */
.footer { max-width: calc(1280px + 16vw); margin: 0 auto; padding: 120px 8vw 70px; color: var(--muted); font-size: 17px; }
.footer p { margin: 0 0 6px; }
.footer a { color: var(--accent); }
.footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .nav { padding: 0 18px; gap: 14px; height: 64px; }
  .nav-links { display: none; }
  .stats { gap: 14px; margin-top: 60px; }
  .stat { padding: 26px 16px 18px; }
  .stat span { font-size: 15px; }
  .features { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 80px 16px 0; }
  .section h2 { margin-bottom: 32px; }
  .demo iframe { height: 680px; }
  .row summary { padding: 22px; gap: 16px; }
  .row-icon { width: 38px; height: 38px; }
  .row-title { font-size: 22px; }
  .row-sub { font-size: 15px; }
  .row-body { padding: 0 22px 26px; }
  .faq summary { padding: 24px 0; }
  .support-link { padding: 34px 26px; gap: 22px; }
  .support-link svg { width: 64px; height: 64px; }
  .footer { padding: 90px 16px 50px; font-size: 15px; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 16px 0; }
  .hero-actions { gap: 12px; margin-top: 40px; }
  .btn { height: 58px; padding: 0 22px; font-size: 17px; }
  .btn-square { width: 58px; padding: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { flex-direction: row; align-items: baseline; gap: 12px; padding: 20px; }
  .stat b { font-size: 36px; }
  .choices { grid-template-columns: 1fr; }
  .choice .btn { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.faq details p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Language picker in the header */
.lang-pill { position: relative; cursor: pointer; }
.lang-pill select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0;
  color: inherit; font: inherit; cursor: pointer; outline: none; max-width: 150px;
}
@media (max-width: 900px) { .lang-pill { margin-inline-start: auto; } }
