/* ============================================================
   Kiwil v3 — landing
   Black + white foundation, kiwi as the signature accent.
   Default: dark kiwi. Toggle: light kiwi.
   ============================================================ */

:root {
  --bg: #080a08;
  --bg-soft: #0d100d;
  --panel: #111511;
  --panel-2: #161b16;
  --card: #121612;
  --card-2: #191f19;
  --line: #262d26;
  --line-soft: #1d241d;
  --text: #f5f7f2;
  --text-strong: #ffffff;
  --muted: #9ca69b;
  --muted-2: #727d72;

  --kiwi: #a3d945;
  --kiwi-bright: #c2f56f;
  --kiwi-deep: #6e9f26;
  --kiwi-ink: #0b0f08;
  --kiwi-glow: rgba(163, 217, 69, 0.16);
  --kiwi-line: rgba(163, 217, 69, 0.32);

  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 11px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
}

html[data-theme="light"] {
  --bg: #f6f8f3;
  --bg-soft: #eef2e9;
  --panel: #ffffff;
  --panel-2: #f0f4ea;
  --card: #ffffff;
  --card-2: #f3f6ee;
  --line: #dbe2d4;
  --line-soft: #e8ede2;
  --text: #141814;
  --text-strong: #070a07;
  --muted: #5d695b;
  --muted-2: #86907f;

  --kiwi: #76ad24;
  --kiwi-bright: #5d9418;
  --kiwi-deep: #4e7e19;
  --kiwi-ink: #ffffff;
  --kiwi-glow: rgba(118, 173, 36, 0.13);
  --kiwi-line: rgba(118, 173, 36, 0.34);

  --shadow: 0 22px 60px rgba(26, 40, 14, 0.10);
  --shadow-soft: 0 10px 28px rgba(26, 40, 14, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(900px 460px at 82% -12%, var(--kiwi-glow), transparent 62%),
    radial-gradient(760px 420px at -8% 26%, rgba(127, 127, 127, 0.045), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" on, "cv01" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}
::selection { background: var(--kiwi-line); color: var(--text-strong); }
a { color: inherit; text-decoration: none; }
code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--kiwi-bright);
}
svg { display: block; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100;
  background: linear-gradient(90deg, var(--kiwi-deep), var(--kiwi-bright));
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- announcement ---------- */
.announce {
  background: var(--text-strong);
  color: var(--bg);
  font-size: 12.5px;
}
html[data-theme="light"] .announce { background: #101410; color: #f6f8f3; }
.announce-inner {
  min-height: 36px; display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; padding-block: 7px;
}
.announce-tag {
  font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; background: var(--kiwi); color: var(--kiwi-ink);
  padding: 3px 8px; border-radius: 5px;
}
.announce a { color: var(--kiwi-bright); font-weight: 600; border-bottom: 1px solid transparent; }
html[data-theme="light"] .announce a { color: var(--kiwi); }
.announce a:hover { border-color: currentColor; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  min-height: 72px; display: flex; align-items: center; gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 32px; height: 32px; color: var(--text-strong); }
html[data-theme="light"] .brand-mark { color: #101410; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.035em; color: var(--text-strong); }
.brand-dot { color: var(--kiwi-bright); }
html[data-theme="light"] .brand-dot { color: var(--kiwi-deep); }

.nav { display: flex; align-items: center; gap: 24px; margin-left: 14px; }
.nav a {
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  position: relative; padding-block: 8px; transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px;
  background: var(--kiwi); border-radius: 2px; transition: right 0.28s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--text-strong); }
.nav a:hover::after, .nav a.active::after { right: 0; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--muted); cursor: pointer;
  transition: 0.2s var(--ease);
}
.icon-btn:hover { color: var(--text-strong); border-color: var(--kiwi-line); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .ico-moon { fill: currentColor; stroke: none; }
.icon-btn .ico-sun { display: none; }
html[data-theme="light"] .icon-btn .ico-moon { display: none; }
html[data-theme="light"] .icon-btn .ico-sun { display: block; }

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card);
}
.lang-switch button {
  border: 0; background: transparent; color: var(--muted);
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.05em; padding: 6px 9px; border-radius: 7px; cursor: pointer;
  transition: 0.2s var(--ease);
}
.lang-switch button:hover { color: var(--text-strong); }
.lang-switch button.active { background: var(--text-strong); color: var(--bg); }
html[data-theme="light"] .lang-switch button.active { background: #101410; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 17px; border-radius: 10px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 50px; padding-inline: 24px; font-size: 14px; border-radius: 12px; }
.btn-primary { background: var(--kiwi); color: var(--kiwi-ink); box-shadow: 0 8px 24px var(--kiwi-glow); }
.btn-primary:hover { background: var(--kiwi-bright); box-shadow: 0 12px 30px var(--kiwi-glow); }
.btn-outline { border-color: var(--line); color: var(--text-strong); background: transparent; }
.btn-outline:hover { border-color: var(--kiwi-line); background: var(--card); }
.btn-quiet { color: var(--muted); background: transparent; }
.btn-quiet:hover { color: var(--text-strong); background: var(--card); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 92px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 420px at 74% 32%, #000 10%, transparent 72%);
  opacity: 0.5;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--kiwi-bright); text-transform: uppercase;
  border: 1px solid var(--kiwi-line); background: var(--kiwi-glow);
  padding: 7px 12px; border-radius: 999px;
}
html[data-theme="light"] .eyebrow { color: var(--kiwi-deep); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--kiwi); box-shadow: 0 0 0 4px var(--kiwi-glow); }

.hero h1 {
  margin: 24px 0 20px; font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.02; letter-spacing: -0.055em; font-weight: 800;
  color: var(--text-strong);
}
.hero h1 em { font-style: normal; color: var(--kiwi-bright); }
html[data-theme="light"] .hero h1 em { color: var(--kiwi-deep); }
.lead { max-width: 600px; color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points {
  list-style: none; margin: 28px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.hero-points li { position: relative; color: var(--muted); font-size: 12.5px; padding-left: 18px; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 0.52em; width: 8px; height: 8px;
  border: 2px solid var(--kiwi); border-radius: 50%;
}

/* ---------- hero mockup ---------- */
.hero-visual { position: relative; padding: 18px; }
.window {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow); overflow: hidden;
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s var(--ease);
}
.hero-visual:hover .window { transform: perspective(1100px) rotateY(-1deg) rotateX(0deg) translateY(-4px); }
.window-bar {
  height: 44px; display: flex; align-items: center; gap: 7px; padding-inline: 15px;
  background: var(--card-2); border-bottom: 1px solid var(--line-soft);
}
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.window-bar span:first-child { background: #e06c5f; }
.window-bar span:nth-child(2) { background: #d9b64a; }
.window-bar span:nth-child(3) { background: var(--kiwi); }
.window-bar b {
  margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 10px;
  font-weight: 500; color: var(--muted-2); letter-spacing: 0.03em;
}
.window-body { display: grid; grid-template-columns: 120px 1fr; min-height: 360px; }
.window-side { border-right: 1px solid var(--line-soft); padding: 18px 14px; background: var(--bg-soft); }
.side-logo { width: 28px; height: 28px; border-radius: 9px; background: var(--kiwi); margin-bottom: 22px; opacity: 0.85; }
.side-line { height: 7px; border-radius: 4px; background: var(--line); margin-bottom: 13px; }
.side-line.w70 { width: 70%; } .side-line.w80 { width: 80%; }
.side-line.w60 { width: 60%; } .side-line.w90 { width: 90%; }
.side-line.active { background: var(--kiwi); width: 100%; box-shadow: 0 0 14px var(--kiwi-glow); }
.window-main { padding: 22px; }
.window-head { display: flex; align-items: center; justify-content: space-between; color: var(--text-strong); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.window-head i { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--card-2); }
.window-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.window-stats > div { background: var(--card); border: 1px solid var(--line-soft); border-radius: 11px; padding: 12px; }
.window-stats small { display: block; font-family: "JetBrains Mono", monospace; font-size: 8.5px; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 7px; }
.window-stats strong { font-size: 19px; letter-spacing: -0.03em; color: var(--text-strong); }
.window-stats .green { color: var(--kiwi-bright); }
html[data-theme="light"] .window-stats .green { color: var(--kiwi-deep); }
.window-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 11px; padding: 14px; margin-bottom: 10px; }
.window-card.slim { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 11px; }
.window-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.line { display: block; height: 6px; border-radius: 4px; background: var(--line); margin-bottom: 9px; }
.window-card.slim .line { margin: 0; }
.line.w50 { width: 50%; } .line.w90 { width: 90%; } .line.w70 { width: 70%; } .line.w40 { width: 40%; } .line.w30 { width: 30%; } .line.w60 { width: 60%; }
.line.green-line { background: var(--kiwi); opacity: 0.8; }
.switch { width: 30px; height: 17px; border-radius: 99px; background: var(--line); position: relative; flex: 0 0 auto; }
.switch.on { background: var(--kiwi); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--text-strong); transition: 0.25s var(--ease); }
.switch.on::after { left: 16px; background: var(--kiwi-ink); }

.float-note {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: var(--panel); border: 1px solid var(--kiwi-line); border-radius: 11px;
  padding: 10px 13px; font-size: 11.5px; font-weight: 600; color: var(--text-strong);
  box-shadow: var(--shadow-soft); animation: float 6s var(--ease-soft) infinite;
}
.float-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--kiwi); box-shadow: 0 0 0 4px var(--kiwi-glow); }
.note-top { top: 4px; right: -12px; }
.note-bottom { bottom: 6px; left: -18px; animation-delay: -3s; font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--kiwi-bright); }
html[data-theme="light"] .note-bottom { color: var(--kiwi-deep); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- stat strip ---------- */
.strip { border-block: 1px solid var(--line-soft); background: var(--bg-soft); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 30px 22px; border-right: 1px solid var(--line-soft); }
.strip-grid > div:first-child { padding-left: 0; }
.strip-grid > div:last-child { border-right: 0; }
.strip-grid strong { display: block; font-size: 26px; letter-spacing: -0.045em; color: var(--text-strong); margin-bottom: 5px; }
.strip-grid span { color: var(--muted); font-size: 12px; }

/* ---------- sections ---------- */
.section { padding: 108px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.kicker {
  display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.14em; color: var(--kiwi-bright); margin-bottom: 14px;
}
html[data-theme="light"] .kicker { color: var(--kiwi-deep); }
.section-head h2, .workflow-copy h2, .cta h2 {
  margin: 0 0 14px; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12;
  letter-spacing: -0.045em; color: var(--text-strong);
}
.section-head p, .workflow-copy > p, .cta p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  position: relative; min-height: 214px; padding: 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: 0.3s var(--ease);
}
.feature::after {
  content: ""; position: absolute; inset: auto -40% -60% 40%; height: 160px;
  background: radial-gradient(closest-side, var(--kiwi-glow), transparent); opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.feature:hover { transform: translateY(-5px); border-color: var(--kiwi-line); box-shadow: var(--shadow-soft); }
.feature:hover::after { opacity: 1; }
.feature-ico {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--kiwi-line); background: var(--kiwi-glow);
  border-radius: 12px; color: var(--kiwi-bright); margin-bottom: 20px;
}
html[data-theme="light"] .feature-ico { color: var(--kiwi-deep); }
.feature-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 9px; font-size: 17px; letter-spacing: -0.02em; color: var(--text-strong); }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature-index { position: absolute; right: 20px; top: 18px; font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted-2); }

/* workflow */
.workflow { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.workflow-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 76px; align-items: start; }
.check-list { margin-top: 30px; display: grid; gap: 14px; }
.check-list > div { display: flex; align-items: flex-start; gap: 13px; }
.check-list span {
  flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; background: var(--card); border: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--kiwi-bright);
}
html[data-theme="light"] .check-list span { color: var(--kiwi-deep); }
.check-list p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.steps { display: grid; gap: 12px; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center;
  padding: 20px 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); transition: 0.3s var(--ease);
}
.step:hover { border-color: var(--kiwi-line); transform: translateX(4px); }
.step-num {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  background: var(--text-strong); color: var(--bg); font-size: 18px; font-weight: 800; letter-spacing: -0.04em;
}
html[data-theme="light"] .step-num { background: #101410; color: #fff; }
.step:nth-child(2) .step-num { background: var(--kiwi); color: var(--kiwi-ink); }
.step h3 { margin: 0 0 4px; font-size: 15.5px; color: var(--text-strong); }
.step p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* FAQ */
.faq-inner { max-width: 820px; margin-inline: auto; }
.faq-inner .section-head { text-align: center; margin-inline: auto; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; transition: border-color 0.25s; }
.faq-item.open { border-color: var(--kiwi-line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: transparent; border: 0; color: var(--text-strong);
  font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer;
}
.faq-q::after { content: "+"; font-family: "JetBrains Mono", monospace; font-size: 18px; color: var(--kiwi-bright); transition: transform 0.25s var(--ease); }
html[data-theme="light"] .faq-q::after { color: var(--kiwi-deep); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { margin: 0; padding: 0 20px 19px; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* CTA */
.cta-wrap { padding: 0 0 108px; }
.cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  padding: 48px 52px; border-radius: 24px;
  background:
    radial-gradient(520px 240px at 88% -40%, var(--kiwi-glow), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cta::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--kiwi); }
.cta h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 66px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 260px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 14px 0 0; }
.footer-grid h4 { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.13em; color: var(--muted-2); margin: 4px 0 16px; }
.footer-grid > div:not(.footer-brand) > a { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-grid > div:not(.footer-brand) > a:hover { color: var(--kiwi-bright); }
html[data-theme="light"] .footer-grid > div:not(.footer-brand) > a:hover { color: var(--kiwi-deep); }
.footer-controls .lang-switch { margin-bottom: 10px; }
.footer-bottom {
  margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 11.5px;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[data-reveal="left"] { transform: translateX(-26px); }
.reveal[data-reveal="right"] { transform: translateX(26px); }
.reveal[data-reveal="scale"] { transform: scale(0.97) translateY(16px); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .topbar-inner { gap: 14px; }
  .nav { gap: 15px; margin-left: 4px; }
  .nav a { font-size: 12.5px; }
  .btn-quiet { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .workflow-inner { grid-template-columns: 1fr; gap: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-controls { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .announce-inner { font-size: 11.5px; gap: 8px; }
  .announce-inner > span:nth-child(2) { display: none; }
  .topbar-inner { min-height: 62px; flex-wrap: wrap; padding-block: 10px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 8px; }
  .topbar-actions { gap: 7px; }
  .topbar-actions .btn-primary { min-height: 36px; padding-inline: 12px; font-size: 12px; }
  .hero { padding: 62px 0 58px; }
  .hero h1 { font-size: clamp(40px, 10vw, 58px); }
  .lead { font-size: 14.5px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid > div { padding: 22px 14px; border-bottom: 1px solid var(--line-soft); }
  .strip-grid > div:nth-child(2) { border-right: 0; }
  .strip-grid > div:first-child { padding-left: 14px; }
  .strip-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 15px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .cta-wrap { padding-bottom: 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-controls { grid-column: 1 / -1; }
  .note-top { right: 0; }
  .note-bottom { left: 0; }
}
@media (max-width: 430px) {
  .lang-switch button { padding-inline: 7px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .window-body { grid-template-columns: 82px 1fr; min-height: 320px; }
  .window-side { padding: 14px 10px; }
  .window-main { padding: 15px; }
  .window-stats { grid-template-columns: 1fr; }
  .window-stats > div { padding: 9px 11px; }
  .window-stats small { margin-bottom: 3px; }
}

/* ---------- motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .window, .hero-visual:hover .window { transform: none; }
}
