:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #0e1a15;
  --muted: #5b6b63;
  --line: #e2e8e5;
  --accent: #0f9e66;
  --accent-ink: #ffffff;
  --accent-soft: #e3f5ec;
  --cheap: #12a150;
  --mid: #e08a00;
  --dear: #d9372b;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b110e;
    --surface: #141c18;
    --text: #e9f1ed;
    --muted: #93a39b;
    --line: #24302a;
    --accent: #26c283;
    --accent-ink: #04150d;
    --accent-soft: #12271e;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85em; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 18px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 4.5vw, 38px); text-align: center; margin: 0 0 12px; }

.hero { text-align: center; padding-top: 56px; }
.hero-icon { border-radius: 26px; box-shadow: 0 18px 40px -16px rgba(15, 158, 102, .55); }
.hero h1 { font-size: clamp(38px, 8vw, 64px); margin: 24px 0 12px; }
.hero h1 span { color: var(--accent); }
.lead { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2.4vw, 20px); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.version { color: var(--muted); font-size: 14px; margin-top: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 14px;
  font-weight: 650; text-decoration: none;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(0,0,0,.25); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.small { padding: 10px 16px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; }

.ticker {
  margin: 44px auto 0; max-width: 760px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.ticker-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.ticker-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tick { background: var(--bg); border-radius: 12px; padding: 10px 6px; min-height: 66px; }
.tick .f { font-size: 13px; color: var(--muted); }
.tick .p { font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; }
.tick .m { font-size: 11px; color: var(--cheap); }
.skeleton { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.features article {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.features .ico { font-size: 28px; }
.features h3 { margin: 10px 0 6px; font-size: 19px; }
.features p { margin: 0; color: var(--muted); font-size: 15.5px; }

.install .sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.tabs { display: flex; gap: 6px; justify-content: center; background: var(--surface); border: 1px solid var(--line); padding: 5px; border-radius: 14px; width: fit-content; max-width: 100%; margin: 0 auto 20px; overflow-x: auto; }
.tabs button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
.panel { max-width: 680px; margin: 0 auto; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: s; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 18px 62px; margin-bottom: 12px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--accent); color: var(--accent-ink);
}
.inline-cta { margin: 12px 0; }
.copy { display: flex; gap: 8px; align-items: center; margin-top: 8px; background: var(--bg); border-radius: 10px; padding: 8px 8px 8px 12px; }
.copy code { flex: 1; overflow-wrap: anywhere; }
.copy button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; cursor: pointer; }
.note { max-width: 680px; margin: 20px auto 0; font-size: 15px; color: var(--muted); background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; }

.faq details { max-width: 720px; margin: 0 auto 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 12px 0; }
.faq details p { color: var(--muted); margin-top: 0; }

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 32px 16px 48px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .features .grid { grid-template-columns: 1fr; }
  .ticker-grid { grid-template-columns: repeat(3, 1fr); }
  .nav nav { gap: 12px; }
  section { padding: 44px 0; }
}
@media (max-width: 380px) { .nav nav a:first-child { display: none; } }

.warn { margin-top: 10px; font-size: 14.5px; background: color-mix(in srgb, var(--mid) 14%, transparent); border-radius: 10px; padding: 10px 12px; }
