/* 锐嵌 Kerfix website. Everything is self-hosted: the page policy allows no
   external fonts or scripts, so type uses the system's own fonts. */
:root {
  --ink: #070d1c;
  --ink-2: #0d1730;
  --ink-line: rgba(255, 255, 255, 0.09);
  --text: #0f172a;
  --muted: #5a6780;
  --faint: #8a96ad;
  --line: #e3e8f1;
  --soft: #f4f7fc;
  --brand: #2f6bff;
  --brand-dark: #1f55e0;
  --brand-light: #8db4ff;
  --brand-tint: #ebf1ff;
  --accent: #ff7a1a;
  --ok: #16a34a;
  --error: #dc2626;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 60px rgba(15, 23, 42, 0.12);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
/* Class rules such as .button { display: inline-flex } would otherwise show
   elements the page hides (the download button before a release exists). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.7 var(--font);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1.4 var(--font); cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button.small { padding: 7px 16px; font-size: 14px; }
.button.large { padding: 13px 26px; font-size: 16px; }
.button.primary {
  color: #fff; background: linear-gradient(135deg, #3b78ff, var(--brand-dark));
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.button.primary:hover { box-shadow: 0 10px 26px rgba(47, 107, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
.button.ghost { color: #e8eeff; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); }
.button.ghost:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
.button.outline { color: var(--text); border-color: var(--line); background: #fff; }
.button.outline:hover { border-color: var(--brand); color: var(--brand); }
.button:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ---------- header ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 13, 28, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}
.bar.scrolled { background: rgba(7, 13, 28, 0.9); border-bottom-color: var(--ink-line); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 0.06em; line-height: 1; }
.brand-word { width: auto; height: 11px; opacity: 0.7; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.button) { color: rgba(232, 238, 255, 0.78); font-size: 15px; padding: 8px 14px; border-radius: 8px; transition: color 0.2s, background-color 0.2s; }
.nav a:not(.button):hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav .nav-cta { margin-left: 12px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.06); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e8eeff;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(47, 107, 255, 0.42), transparent 62%),
    radial-gradient(700px 420px at 8% 4%, rgba(255, 122, 26, 0.13), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  margin-top: -64px; /* run under the translucent header */
  padding: 152px 0 0;
}
.hero::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}
.hero::after { /* light floor the screenshot sits on */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: #fff;
}
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #c7d5ff;
  padding: 6px 16px 6px 12px; border-radius: 999px;
  border: 1px solid rgba(141, 180, 255, 0.25); background: rgba(47, 107, 255, 0.1);
  margin-bottom: 28px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}
.hero h1 { font-size: 60px; line-height: 1.15; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 24px; }
.grad {
  background: linear-gradient(90deg, #8db4ff 0%, #c6d8ff 45%, #ffb27a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: rgba(214, 224, 250, 0.8); max-width: 720px; margin-bottom: 36px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 14px; color: rgba(199, 213, 255, 0.7); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238db4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.hero-visual { position: relative; z-index: 1; margin-top: 64px; max-width: 1100px; }
.window {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 40px 100px rgba(2, 8, 30, 0.55), 0 0 80px rgba(47, 107, 255, 0.25);
}
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dce5; }
.window-bar i:nth-child(1) { background: #ff6b5f; }
.window-bar i:nth-child(2) { background: #ffbf2f; }
.window-bar i:nth-child(3) { background: #2ac940; }
.window-bar span { margin-left: 12px; font-size: 12px; color: var(--faint); }
.float {
  position: absolute; z-index: 2; border-radius: 14px; padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-label { display: block; font-size: 12px; color: var(--muted); }
.float strong { font-size: 26px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.float strong small { font-size: 15px; margin-left: 1px; }
.float-a { left: -28px; top: 34%; width: 172px; }
.float-bar { display: block; height: 6px; border-radius: 6px; background: var(--brand-tint); margin-top: 8px; overflow: hidden; }
.float-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #6aa3ff); }
.float-b { right: -24px; bottom: 22%; display: flex; align-items: center; gap: 12px; animation-delay: -3s; }
.float-b strong { display: block; font-size: 20px; }
.float-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e8f8ee; }
.float-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- stats strip ---------- */
.stats { padding: 56px 0 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 4px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #0f172a, #2f4fa8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat strong small { font-size: 18px; font-weight: 700; margin-left: 3px; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head h2, .contact h2 { font-size: 38px; font-weight: 800; margin-bottom: 14px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 17px; }
.fineprint { color: var(--faint); font-size: 13px; text-align: center; margin-top: 28px; }
.fineprint.mono { font-family: var(--mono); word-break: break-all; }

.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--brand); background: linear-gradient(135deg, #eef3ff, #dde8ff);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, 0.12);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; }
.step:hover { border-color: #cdd9f3; box-shadow: var(--shadow); transform: translateY(-3px); }
.step-no { position: absolute; top: 24px; right: 26px; font: 800 44px/1 var(--font); color: #eef2f9; letter-spacing: -0.03em; }
.step h3 { font-size: 20px; margin: 22px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after { /* connector arrow */
  content: ""; position: absolute; top: 54px; right: -19px; z-index: 1; width: 14px; height: 14px;
  border-top: 2px solid #c3d3f5; border-right: 2px solid #c3d3f5; transform: rotate(45deg);
}

/* cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow 0.3s, transform 0.3s; }
.case:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-img { padding: 14px 14px 0; background: linear-gradient(180deg, #eef2f8, #fff); }
.case-img img { border-radius: 10px; border: 1px solid var(--line); }
.case figcaption { padding: 20px 24px 24px; }
.case-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.case h3 { font-size: 20px; }
.rate { text-align: right; line-height: 1.1; }
.rate strong { font-size: 30px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.rate span { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; }
.meter { display: block; height: 6px; border-radius: 6px; background: #edf1f8; overflow: hidden; margin-bottom: 14px; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #6aa3ff 70%, var(--accent)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips li { font-size: 13px; color: #33415c; padding: 3px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.case figcaption > p { color: var(--muted); font-size: 15px; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; }
.feature:hover { border-color: #cdd9f3; box-shadow: var(--shadow); transform: translateY(-3px); }
.feature h3 { font-size: 18px; margin: 20px 0 8px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan h3 { font-size: 17px; color: var(--muted); font-weight: 600; }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 6px; }
.plan-desc { color: var(--muted); font-size: 14px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan .checks { flex: 1; margin-bottom: 28px; }
.plan .button { width: 100%; }
.plan.featured {
  color: #e8eeff; border-color: transparent;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(47, 107, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #0f1b3a, #0a1226);
  box-shadow: 0 30px 70px rgba(10, 18, 38, 0.35);
  transform: translateY(-12px);
}
.plan.featured h3, .plan.featured .plan-desc { color: rgba(214, 224, 250, 0.75); }
.plan.featured .plan-desc { border-bottom-color: var(--ink-line); }
.plan.featured .price { color: #fff; }
.plan.featured .checks li { color: #dbe5ff; }
.badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; color: #fff; padding: 3px 12px; border-radius: 999px; background: linear-gradient(135deg, #ff8a3d, #ff5a1f); }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; color: #33415c; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tint) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.plan.featured .checks li::before { background-color: rgba(141, 180, 255, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238db4ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* download */
.download {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 44px 48px; border-radius: 24px; color: #e8eeff;
  background:
    radial-gradient(600px 300px at 90% 120%, rgba(255, 122, 26, 0.22), transparent 65%),
    radial-gradient(700px 360px at 0% -20%, rgba(47, 107, 255, 0.45), transparent 65%),
    linear-gradient(135deg, #0d1834, #070d1c);
  box-shadow: 0 30px 70px rgba(10, 18, 38, 0.25);
}
.download::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.download > * { position: relative; }
.download-text { display: flex; align-items: center; gap: 24px; }
.download-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; background: rgba(141, 180, 255, 0.12); border: 1px solid rgba(141, 180, 255, 0.22); }
.download-icon svg { width: 30px; height: 30px; fill: #8db4ff; }
.download h2 { font-size: 28px; color: #fff; font-weight: 800; margin-bottom: 6px; }
.release { font-size: 17px; font-weight: 600; color: #dbe5ff; }
.download-note { font-size: 14px; color: rgba(199, 213, 255, 0.65); margin-top: 2px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-text { padding-top: 12px; }
.contact-text > p:not(.kicker) { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.form-card { display: grid; gap: 16px; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card .button { justify-self: start; min-width: 140px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, textarea {
  font: inherit; font-size: 15px; color: var(--text); padding: 11px 14px;
  border: 1px solid #d9e0ec; border-radius: 10px; background: #fbfcfe; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.14); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.7em; font-size: 14px; }
.form-status.ok { color: var(--ok); }
.form-status.error { color: var(--error); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(199, 213, 255, 0.6); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 48px; }
.footer-brand p { margin-top: 14px; }
.footer-links { display: flex; gap: 72px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.footer-links a { color: rgba(199, 213, 255, 0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--ink-line); font-size: 13px; }
.footer-bottom a { color: inherit; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ---------- privacy.html ---------- */
.page-hero { background: linear-gradient(180deg, var(--ink), var(--ink-2)); color: #fff; margin-top: -64px; padding: 132px 0 56px; }
.page-hero h1 { font-size: 40px; font-weight: 800; }
.page-hero p { color: rgba(199, 213, 255, 0.7); margin-top: 8px; font-size: 14px; }
.narrow { max-width: 780px; }
.doc { padding-top: 56px; padding-bottom: 96px; }
.doc > p { margin: 14px 0; }
.doc h2 { font-size: 22px; margin: 44px 0 12px; padding-top: 4px; }
.doc ul { padding-left: 22px; list-style: disc; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--brand); }
.doc code { font-family: var(--mono); font-size: 13.5px; background: var(--soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; word-break: break-all; }

/* ---------- responsive ---------- */
.wide-only { display: inline; }
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .float-a { left: 12px; }
  .float-b { right: 12px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--ink); border-bottom: 1px solid var(--ink-line);
    box-shadow: 0 24px 40px rgba(2, 8, 30, 0.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.button) { padding: 12px 14px; font-size: 16px; }
  .nav .nav-cta { margin: 10px 0 0; }
  .hero { padding-top: 124px; }
  .hero h1 { font-size: 42px; }
  .wide-only { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -19px; right: 50%; transform: rotate(135deg); }
  .cases { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plan.featured { transform: none; }
  .download { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand-word { display: none; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .eyebrow { font-size: 13px; }
  .hero-visual { margin-top: 44px; }
  .hero::after { height: 80px; }
  .float { display: none; }
  .window-bar { height: 28px; }
  .window-bar span { display: none; }
  .actions .button { flex: 1 1 100%; }
  .stat { padding: 4px 16px; }
  .stat strong { font-size: 30px; }
  .section-head h2, .contact h2 { font-size: 28px; }
  .section-head { margin-bottom: 40px; }
  .features { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .download-text { flex-direction: column; align-items: flex-start; gap: 18px; }
  .download .button { width: 100%; }
  .footer-links { gap: 48px; }
  .page-hero h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
