:root {
  --ink: #102a43;
  --muted: #526b82;
  --blue: #12385c;
  --blue-2: #1f5f91;
  --sky: #eaf4fb;
  --orange: #f47b20;
  --orange-dark: #d86210;
  --line: #d7e5ef;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(16, 42, 67, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfd;
  font-family: Helmet, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--blue-2); }
a:hover { color: var(--orange-dark); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248, 251, 253, .92);
  border-bottom: 1px solid rgba(215, 229, 239, .9);
  backdrop-filter: blur(14px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand span { font-size: 1.05rem; }
.brand small { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:hover { color: var(--blue); }
.nav-download { color: var(--white) !important; background: var(--blue); padding: 9px 15px; border-radius: 999px; }
.nav-download:hover { color: var(--white) !important; background: var(--orange-dark); }
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0e2d4c 0%, #174e78 66%, #1d6995 100%); color: #fff; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -170px; top: -210px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.025); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; min-height: 505px; padding: 76px 0 82px; position: relative; z-index: 1; }
.eyebrow { color: #ffd0a9; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; margin: 0 0 18px; }
h1 { max-width: 680px; font-size: clamp(2.55rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; }
.hero p { max-width: 600px; color: #d9eafa; font-size: 1.12rem; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; padding: 11px 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(244,123,32,.28); }
.button-primary:hover { background: #ff8d35; color: #fff; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.button-ghost:hover { color: #fff; background: rgba(255,255,255,.15); }
.version-note { display: block; margin-top: 14px; color: #b8d4e8; font-size: .84rem; }
.editor-card { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.1); box-shadow: 0 25px 70px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.editor-window { overflow: hidden; border-radius: 15px; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #edf3f8; border-bottom: 1px solid #d7e5ef; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #aac0d1; }
.window-title { margin-left: 6px; color: #627c92; font-size: .7rem; font-weight: 700; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-bottom: 1px solid #e5eef4; }
.tool { width: 26px; height: 25px; border-radius: 6px; background: #eaf1f6; }
.tool.active { background: #ffd8bd; border: 1px solid #f3a26e; }
.editor-body { padding: 21px; }
.mock-table { width: 100%; border-collapse: collapse; color: #304b63; font-size: .76rem; }
.mock-table th, .mock-table td { padding: 10px; border: 1px solid #c9dbe8; text-align: left; }
.mock-table th { background: #dcecf8; color: #12385c; }
.mock-table tr:nth-child(3) td { background: #f7fbfe; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 35px; }
.stat strong { display: block; font-size: 1.55rem; line-height: 1; }
.stat span { color: #b8d4e8; font-size: .8rem; }
.section { padding: 88px 0; }
.section-heading { max-width: 690px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); max-width: 650px; margin: 0; font-size: 1.05rem; }
.section-kicker { color: var(--orange-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(16,42,67,.05); }
.feature-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 19px; border-radius: 12px; color: var(--blue); background: var(--sky); font-size: 1.25rem; font-weight: 900; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.band { background: var(--sky); border-top: 1px solid #d6e8f3; border-bottom: 1px solid #d6e8f3; }
.install-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 58px; align-items: start; }
.install-list { display: grid; gap: 15px; counter-reset: install; padding: 0; margin: 0; list-style: none; }
.install-list li { display: grid; grid-template-columns: 35px 1fr; gap: 14px; align-items: start; }
.install-list li::before { counter-increment: install; content: counter(install); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--blue); font-weight: 800; }
.install-list strong { display: block; margin-bottom: 2px; }
.install-list span { color: var(--muted); font-size: .94rem; }
.download-panel { padding: 28px; border-radius: 18px; background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.download-panel h3 { margin-bottom: 10px; }
.download-panel p { color: #d6e8f3; margin: 0 0 19px; }
.file-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; }
.file-line code { color: #ffd0a9; overflow-wrap: anywhere; }
.meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.meta { padding: 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.meta small { display: block; color: #aecdde; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.meta strong { display: block; margin-top: 3px; font-size: .96rem; }
.callout { display: flex; align-items: flex-start; gap: 15px; padding: 21px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: #fff; box-shadow: 0 8px 22px rgba(16,42,67,.06); }
.callout p { margin: 0; color: var(--muted); }
.footer { padding: 34px 0; background: #0b243d; color: #bad0df; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.footer a { color: #d7ebf8; }
.footer p { margin: 0; font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .86rem; }
.legal { margin-top: 20px !important; color: #8facbf; max-width: 760px; font-size: .76rem !important; }
.page-hero { padding: 66px 0; background: linear-gradient(135deg, #0e2d4c, #1f5f91); color: #fff; }
.page-hero p { color: #d9eafa; max-width: 670px; margin: 0; }
.prose { max-width: 780px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 42px; font-size: 1.7rem; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 22px; }
.notice { padding: 17px 20px; border: 1px solid #f2c59e; border-radius: 12px; background: #fff8f1; color: #6a4a31; }
@media (max-width: 820px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 11px; }
  .nav-links a:not(.nav-download) { display: none; }
  .wrap { width: min(100% - 28px, 680px); }
  .hero-grid, .install-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-grid { padding: 58px 0 64px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { flex-direction: column; }
}
@media (max-width: 460px) {
  h1 { font-size: 2.45rem; }
  .meta-grid { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
}
