/* =========================================================
   餐兔AI 官网 — 简化版
   ========================================================= */

:root {
  --bg: #f7f5f0;
  --bg-soft: #eef3ff;
  --paper: #fffdf9;
  --white: #fff;
  --ink: #172033;
  --ink-2: #273247;
  --muted: #616b7e;
  --muted-light: #616b7e;
  --line: rgba(23, 32, 51, 0.11);
  --line-strong: rgba(23, 32, 51, 0.2);
  --brand: #2054ce;
  --brand-deep: #1743ad;
  --brand-soft: #eef3ff;
  --green: #257a59;
  --shadow: 0 24px 60px rgba(23, 32, 51, 0.13);
  --shadow-soft: 0 12px 34px rgba(23, 32, 51, 0.08);
  --shell: 1180px;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(32, 84, 206, 0.12);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(32, 84, 206, 0.16);
}

h1,
h2,
h3,
p,
dl,
dd,
dt {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  font: inherit;
  touch-action: manipulation;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(32, 84, 206, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(32, 84, 206, 0.2);
}

.btn--primary:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
}

.btn--quiet {
  padding-right: 0;
  padding-left: 0;
  color: var(--ink);
}

.btn--quiet:hover {
  color: var(--brand);
}

.btn--outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--white {
  border-color: #fff;
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(4, 15, 48, 0.14);
}

.btn--white:hover {
  background: #f4f7ff;
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.17);
}

.btn--lg {
  min-height: 52px;
  padding: 0 25px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(14px);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 245, 240, 0.97);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__text b {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand__text small {
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 16px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.18s ease;
}

.nav__link:hover {
  color: var(--brand);
}

.nav__mobile-actions {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(17, 25, 40, 0.38);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 52px;
  background:
    radial-gradient(circle at 86% 18%, rgba(88, 133, 255, 0.15), transparent 34%),
    radial-gradient(circle at 6% 100%, rgba(228, 106, 79, 0.07), transparent 30%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}

.hero__copy {
  max-width: 590px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(32, 84, 206, 0.1);
}

.hero h1 {
  max-inline-size: 12ch;
  margin-top: 22px;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__lede {
  max-inline-size: 44ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 520px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.hero__facts div {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.hero__facts div:last-child {
  border-right: 0;
}

.hero__facts dt {
  color: var(--muted-light);
  font-size: 10px;
}

.hero__facts dd {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}

.hero__facts b {
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ---------- product window ---------- */
.product {
  position: relative;
  overflow: visible;
  border: 1px solid #e3e7f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(23, 32, 51, 0.14);
  animation: product-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes product-rise {
  from {
    opacity: 0;
    translate: 0 16px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.product__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fafbfe;
  color: var(--muted);
  font-size: 10.5px;
}

.product__dots {
  display: flex;
  gap: 5px;
}

.product__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8ddea;
}

.product__dots i:nth-child(1) {
  background: #ff8c82;
}

.product__dots i:nth-child(2) {
  background: #f7c65e;
}

.product__dots i:nth-child(3) {
  background: #65d2a6;
}

.product__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 600;
}

.product__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 122, 89, 0.12);
}

.product__body {
  padding: 22px;
}

.product__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product__head small {
  display: block;
  color: var(--muted-light);
  font-size: 10px;
}

.product__head b {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.product__head > span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9px;
  font-weight: 600;
}

.product__score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 18px;
  align-items: end;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
}

.product__score small {
  display: block;
  color: var(--muted-light);
  font-size: 9.5px;
}

.product__score b {
  display: block;
  margin-top: 2px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.product__score span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9.5px;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 62px;
}

.mini-bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #8fb0ff, var(--brand));
  opacity: 0.7;
}

.mini-bars i:last-child {
  opacity: 1;
}

.product__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.product__tiles > div {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.tile {
  display: block;
  height: 48px;
  border-radius: 8px;
}

.tile--vi {
  background:
    linear-gradient(135deg, rgba(32, 84, 206, 0.9), rgba(88, 133, 255, 0.55)),
    #dbe5ff;
}

.tile--menu {
  background:
    linear-gradient(135deg, #f3e5cf, #e9cfa9),
    #f5ead8;
}

.tile--takeout {
  background:
    linear-gradient(135deg, #d8eedf, #b9ddc9),
    #e5f3e9;
}

.product__tiles span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 600;
}

.product__tiles small {
  display: block;
  color: var(--muted-light);
  font-size: 8.5px;
}

.product__tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--brand-soft);
}

.product__tip span {
  flex: none;
  color: var(--brand);
  font-size: 9.5px;
  font-weight: 700;
}

.product__tip p {
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.product__badge {
  position: absolute;
  right: 18px;
  bottom: -18px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.product__badge span {
  color: var(--muted-light);
  font-size: 9px;
}

.product__badge b {
  font-size: 10px;
}

/* ---------- platform strip ---------- */
.platform-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.6);
}

.platform-strip__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
}

.platform-strip__inner > span {
  flex: none;
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
}

.platform-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 24px;
}

.platform-strip li {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- sections ---------- */
section[id] {
  scroll-margin-top: 80px;
}

.section {
  padding: 84px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-label {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.section-label--light {
  color: #c1d2ff;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-head p:not(.section-label) {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- capabilities ---------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability {
  padding: 24px 22px;
  border: 1px solid #e5e3dc;
  border-radius: 20px;
  background: var(--paper);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.capability:hover {
  border-color: rgba(32, 84, 206, 0.25);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.capability__no {
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 700;
}

.capability h3 {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.capability p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.capability ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 16px;
}

.capability li {
  position: relative;
  padding-left: 9px;
  color: var(--muted);
  font-size: 10.5px;
}

.capability li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.capability-note {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12.5px;
}

.capability-note span {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- ends ---------- */
.ends-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e3e7f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ends-panel article {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.ends-panel article:last-child {
  border-right: 0;
}

.ends-panel__icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  place-items: center;
}

.ends-panel__icon svg {
  width: 21px;
  height: 21px;
}

.ends-panel h3 {
  margin-top: 16px;
  font-size: 17px;
}

.ends-panel p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

/* ---------- download ---------- */
.download {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.15), transparent 36%),
    linear-gradient(125deg, var(--brand), var(--brand-deep));
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.download-panel h2 {
  max-inline-size: 14ch;
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.download-panel > div > p:not(.section-label) {
  max-width: 460px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

.download-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.download-panel small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10.5px;
}

.download-panel__note {
  display: flex;
  flex-direction: column;
  width: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.download-panel__note span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.download-panel__note b {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- footer ---------- */
.footer {
  padding: 56px 0 28px;
  background: #101a33;
  color: #fff;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.brand--footer .brand__text b {
  color: #fff;
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, 0.62);
}

.footer__brand p {
  max-width: 330px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12.5px;
  line-height: 1.8;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: flex-end;
  max-width: 420px;
}

.footer__links a,
.footer__links button {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease;
}

.footer__links a:hover,
.footer__links button:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.footer__filings {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

/* 备案号链接：沿用页脚弱化配色，hover 下划线提示可点击 */
.footer__filings a {
  color: inherit;
  text-decoration: none;
}

.footer__filings a:hover {
  color: inherit;
  text-decoration: underline;
}

.footer__filings .filing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* 公安备案警徽：官方图标放到 /marketing/assets/beian-police.png 后自动显示 */
.filing__icon {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.filing__label {
  opacity: 0.72;
}

/* ---------- dialog ---------- */
.doc-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: 82vh;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.doc-dialog::backdrop {
  background: rgba(17, 25, 40, 0.48);
}

.doc-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line-strong);
}

.doc-dialog__head h2 {
  font-size: 18px;
}

.doc-dialog__close {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  place-items: center;
}

.doc-dialog__body {
  max-height: 62vh;
  overflow: auto;
  padding: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 60;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1020px) {
  .nav {
    gap: 18px;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero h1 {
    max-inline-size: 13ch;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    z-index: 38;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 88px);
    margin: 0;
    padding: 8px 20px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 15px;
  }

  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
  }

  .header__actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero {
    padding-top: 52px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero h1 {
    max-inline-size: 14ch;
  }

  .product {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .download-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .download-panel__note {
    width: 100%;
  }

  .footer__top {
    flex-direction: column;
    gap: 26px;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 32px);
  }

  .header__inner {
    height: 68px;
  }

  .nav {
    top: 68px;
  }

  .hero {
    padding: 38px 0 34px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(40px, 11vw, 54px);
  }

  .hero__lede {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.78;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero__actions .btn {
    min-height: 48px;
    padding: 0 18px;
    font-size: 13.5px;
  }

  .hero__facts {
    margin-top: 30px;
  }

  .hero__facts div {
    padding-right: 8px;
  }

  .hero__facts b {
    font-size: 23px;
  }

  .hero__facts dt {
    font-size: 9px;
  }

  .hero__facts dd {
    font-size: 10px;
  }

  .product__body {
    padding: 16px;
  }

  .product__head b {
    font-size: 18px;
  }

  .product__score {
    grid-template-columns: 1fr 92px;
    padding: 13px;
  }

  .product__score b {
    font-size: 34px;
  }

  .mini-bars {
    height: 52px;
  }

  .product__tiles {
    gap: 7px;
  }

  .product__tiles > div {
    padding: 6px;
  }

  .tile {
    height: 38px;
  }

  .product__tiles span {
    font-size: 9px;
  }

  .product__tiles small {
    font-size: 7.5px;
  }

  .product__tip {
    padding: 9px 10px;
  }

  .product__tip p {
    font-size: 9.5px;
  }

  .product__badge {
    right: 12px;
    bottom: -16px;
  }

  .platform-strip__inner {
    align-items: flex-start;
    gap: 9px;
    padding: 11px 0;
  }

  .platform-strip ul {
    gap: 5px 14px;
  }

  .platform-strip li {
    font-size: 10.5px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.22;
  }

  .section-head p:not(.section-label) {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.78;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .capability {
    padding: 20px;
  }

  .capability-note {
    flex-direction: column;
    gap: 3px;
    margin-top: 20px;
    text-align: center;
  }

  .ends-panel {
    grid-template-columns: 1fr;
  }

  .ends-panel article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ends-panel article:last-child {
    border-bottom: 0;
  }

  .download-panel {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .download-panel h2 {
    font-size: clamp(30px, 8.6vw, 38px);
  }

  .download-panel__actions .btn {
    min-height: 48px;
    padding: 0 15px;
    font-size: 12.5px;
  }

  .footer {
    padding: 44px 0 28px;
  }

  .footer__links {
    gap: 8px 18px;
  }

  .footer__bottom {
    flex-direction: column;
    margin-top: 30px;
  }
}

@media (max-width: 400px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .download-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-panel__actions .btn {
    width: 100%;
  }

  .product__score {
    grid-template-columns: 1fr;
  }

  .mini-bars {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product {
    animation: none;
  }

  .btn,
  .capability {
    transition: none;
  }
}
