:root {
  --ink: #161616;
  --muted: #5b6573;
  --blue: #004cec;
  --gold: #004cec;
  --line: #dce6f0;
  --paper: #f3f7fb;
  --white: #ffffff;
  --sheet: #ffffff;
  --soft: #fffdf8;
  --ok: #067647;
  --warn: #c2410c;
  --bad: #b42318;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --wrap: 1080px;
  --header: 68px;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(22, 22, 22, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(243, 247, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand img { height: 36px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav a { text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--gold); }
.nav-actions { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.16s ease, box-shadow 0.16s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover {
  background: #003dbe;
  box-shadow: 0 8px 18px rgba(0, 76, 236, 0.24);
  transform: translateY(-1px);
}
.btn-ghost { border-color: var(--ink); background: transparent; }
.btn-ghost:hover {
  background: var(--white);
  transform: translateY(-1px);
}
.btn-primary:active,
.btn-ghost:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: none;
}
.btn-lg { height: 46px; padding: 0 22px; }

.menu-btn {
  display: none;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.hero { padding: 72px 0 64px; }
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px);
  gap: 72px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.15;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.2;
}
.lead {
  margin: 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-phone {
  width: min(320px, 100%);
  margin-left: auto;
  padding: 10px;
  background: #161616;
  border-radius: 36px;
  box-shadow: 0 28px 60px rgba(22, 22, 22, 0.18);
}
.hero-phone img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.phone {
  width: min(300px, 100%);
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.phone-day {
  margin: 0 0 10px;
  text-align: center;
  color: #8a847b;
  font-size: 12px;
}
.bubble {
  align-self: flex-end;
  max-width: 92%;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #c6f36a;
  border-radius: 12px 12px 4px 12px;
  font-size: 14px;
  line-height: 1.45;
}
.mini-card {
  background: #fff;
  padding: 12px;
  border: 1px solid #e7e3dc;
}
.mini-card p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
  margin-bottom: 12px;
}
.metrics b { display: block; font-size: 16px; font-weight: 600; }
.metrics span { color: var(--muted); font-size: 11px; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--bad); }
.bars { display: grid; gap: 7px; margin-bottom: 12px; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 36px; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); }
.bar { height: 6px; background: #efece6; }
.bar i { display: block; height: 100%; background: var(--blue); }
.bar.alt i { background: #111; }
.who { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.mini-actions { display: flex; gap: 8px; }
.mini-actions span {
  flex: 1;
  text-align: center;
  background: #f6f5f2;
  border: 1px solid var(--line);
  font-size: 13px;
  padding: 7px 0;
}
.ask {
  margin-top: auto;
  background: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  color: #8a847b;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.stage { margin: 0; }
.carousel { min-width: 0; }
.carousel-view {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transition: transform 480ms ease;
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}
.slide img {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  height: auto;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.carousel-pages {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.carousel-pages button {
  border: 0;
  background: transparent;
  padding: 0 0 8px;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
}
.carousel-pages button[aria-selected="true"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.tabs { display: flex; gap: 16px; flex-wrap: wrap; }
.tabs button {
  border: 0;
  background: transparent;
  padding: 0 0 8px;
  cursor: pointer;
  color: var(--muted);
}
.tabs button[aria-selected="true"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
}
.sample {
  font-size: 12px;
  color: #8a847b;
}
.panel-body { display: grid; grid-template-columns: 92px 1fr; gap: 16px; min-height: 340px; }
.side-nav { display: grid; align-content: start; gap: 10px; color: var(--muted); font-size: 13px; padding-top: 8px; }
.side-nav .on { color: var(--blue); }
.view h3 { margin: 4px 0 14px; font-size: 20px; }
.statline { display: flex; gap: 18px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.statline b { display: block; color: var(--ink); font-size: 18px; font-weight: 600; }
.chart { display: grid; gap: 8px; margin-bottom: 14px; }
.chart-row { display: grid; grid-template-columns: 72px 1fr 42px; gap: 8px; align-items: center; font-size: 13px; }
.track { height: 8px; background: #e7e2d8; }
.track i { display: block; height: 100%; background: #2f6bff; }
.track.dark i { background: #1c1a17; }
.track.sand i { background: #c4a574; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 500; color: var(--muted); }
th, td { padding: 8px 6px; border-top: 1px solid #e6e1d8; }
.view[hidden] { display: none; }
.plist { display: grid; gap: 8px; }
.prow {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #e6e1d8;
  font-size: 14px;
}
.tag {
  font-size: 12px;
  padding: 2px 6px;
  border: 1px solid currentColor;
}
.clist { display: grid; }
.crow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e6e1d8;
  font-size: 14px;
}
.note {
  background: #fff;
  border: 1px solid #e6e1d8;
  padding: 14px;
  font-size: 14px;
}
.note p { margin: 0 0 8px; }
.kicker { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.stage-copy { padding-left: 8px; }
.stage-copy h2 { margin: 0 0 12px; }
.stage-copy p { margin: 0; color: var(--muted); }

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.25;
}
h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; line-height: 1.35; }
.section { padding: 56px 0; }
.section-head { margin-bottom: 22px; }
.section-head p, .muted { color: var(--muted); }
.section-head p { margin: 0; max-width: 36em; }
h1, h2, h3, p, li { text-wrap: pretty; }
[id] { scroll-margin-top: 88px; }

.problems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.problem {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 24px;
}
.problem img { width: 100%; max-width: none; height: 148px; object-fit: contain; object-position: left center; margin: 0 0 18px; display: block; }
.problem h3 { margin: 0 0 8px; font-size: 18px; }
.problem p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.sheet { background: var(--sheet); }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.row p { margin: 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.sheet .card { background: var(--white); }
.card p { margin: 0; color: var(--muted); }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}
.product p { margin: 8px 0 0; color: var(--muted); }
.product li, .split li { position: relative; padding-left: 14px; margin: 6px 0; color: var(--muted); }
.product li::before, .split li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ink);
  position: absolute;
  left: 0;
  top: 0.65em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.split article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.split h3 { margin-bottom: 8px; }

.guide-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.guide-pages button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
}
.guide-pages button[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.guide-view {
  max-height: min(78vh, 920px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.guide-view img {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 0 auto;
}
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.module {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 24px;
}
.app-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 14px;
  display: block;
  object-fit: contain;
}
.module h3 { margin: 0 0 8px; font-size: 18px; }
.module p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.module ul { margin: 12px 0 0; padding: 0; list-style: none; }
.module li {
  position: relative;
  margin: 6px 0;
  padding-left: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.module li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 0.62em;
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 56px;
  align-items: center;
  padding: 36px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse { grid-template-columns: minmax(340px, 460px) minmax(0, 1fr); }
.feature.solo { grid-template-columns: minmax(0, 36rem); }
.feature img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  margin: 0;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.feature .shot-phone {
  width: min(100%, 420px);
  height: auto;
  justify-self: end;
}
.feature.reverse .shot-phone { justify-self: start; }
.feature-sub { margin-top: 28px; }
.feature h3 { font-size: 24px; }
.feature .muted { margin: 0; }
.feature ul { margin: 14px 0 0; padding: 0; list-style: none; }
.feature li {
  position: relative;
  margin: 8px 0;
  padding-left: 14px;
  color: var(--muted);
}
.feature li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 0.65em;
}
.buckets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.buckets article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 24px;
}
.buckets p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.buckets img {
  display: block;
  width: 100%;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.match-note { margin: 18px 0 0; color: var(--muted); max-width: 46em; }
.parse-rest > .feature:first-child { border-top: 1px solid var(--line); }
.more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 8px 0 0;
  padding: 18px 8px 4px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.more-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.more-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(2px);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  border-top: 0;
}
.steps li {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px 16px;
  text-align: center;
}
.steps img {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  object-fit: contain;
}
.steps .num { display: block; margin-bottom: 6px; }
.role p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.role {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 22px;
}
.role .for { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.role ol { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.role li { margin: 6px 0; }

.case {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 28px;
  padding-top: 8px;
}
.case h3 { font-size: 20px; }
.case p { margin: 0; color: var(--muted); }

.resources { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
.resource {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.resource a { color: var(--blue); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq-ico {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
}
.faq-ico::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 32px;
  height: 32px;
  right: 0;
  bottom: 0;
  border-radius: 11px;
  background: linear-gradient(145deg, #d9e8ff 0%, #8eb6ff 100%);
  box-shadow: 0 7px 12px rgba(0, 60, 180, 0.16);
}
.faq-ico::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 32px;
  height: 32px;
  left: 0;
  top: 0;
  border-radius: 11px;
  background:
    radial-gradient(120% 78% at 28% 0%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 48%),
    linear-gradient(155deg, #9ec2ff 0%, #3d78ff 46%, #0046dc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -7px 9px rgba(0, 36, 130, 0.22),
    0 6px 10px rgba(0, 76, 236, 0.24);
}
.faq-ico svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq details[open] .faq-body { grid-template-rows: 1fr; }
.faq-body p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 50px 16px;
  color: var(--muted);
  max-width: 68em;
}
.faq details[open] .faq-body p { animation: faq-in .28s ease; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.advisor {
  justify-self: end;
  width: min(100%, 420px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px 28px 8px;
  text-align: center;
}
.advisor-qr {
  width: min(100%, 300px);
  margin: 0 auto 18px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 18px;
}
.advisor-qr img { width: 100%; height: auto; display: block; background: #fff; border-radius: 8px; }
.advisor-hint {
  margin: 0 8px 18px;
  color: var(--ink);
  font-size: 16px;
}
.advisor-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% + 56px);
  margin: 0 -28px;
  padding: 16px 20px 18px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--blue);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.advisor-call strong, .advisor-call em { display: block; font-style: normal; }
.advisor-call strong { font-size: 18px; }
.advisor-call em { margin-top: 2px; font-size: 14px; font-weight: 500; }
.advisor-phone { position: relative; display: inline-flex; }
.advisor-phone i {
  position: absolute;
  top: -6px;
  right: -10px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; }
input, select, textarea {
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 14px;
  border-radius: 12px;
}
textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { margin: 0; color: var(--muted); font-size: 14px; }
.form-error { color: var(--bad); font-size: 14px; min-height: 1.2em; margin: 0; }
.success {
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--sheet);
}
.success p { margin: 0 0 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: 14px; }
.fine { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.fine a, .text-phone { color: var(--blue); }
.text-phone {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.text-phone:hover { text-decoration: underline; }

.dialog {
  border: 0;
  padding: 0;
  max-width: 460px;
  width: calc(100% - 32px);
  border-radius: var(--radius);
  background: var(--paper);
}
.dialog::backdrop { background: rgba(28, 26, 23, 0.45); }
.dialog-card { padding: 24px; }
.dialog-card h2 { font-size: 28px; margin-bottom: 8px; }
.dialog-card p { color: var(--muted); }
.code {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  background: var(--sheet);
  padding: 10px 12px;
  font-size: 14px;
  word-break: break-all;
}
.dialog-actions { display: flex; gap: 8px; margin-top: 16px; }
.dialog-card .phone-big {
  margin: 18px 0 6px;
  color: var(--ink);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 980px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .hero-top, .roles, .contact-grid, .case, .feature, .feature.reverse, .buckets {
    grid-template-columns: 1fr;
  }
  .modules, .steps { grid-template-columns: 1fr 1fr; }
  .problem { border-right: 0; padding: 22px 18px 24px; }
  .phone, .hero-phone { margin: 8px auto 0; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nav.open { display: flex; }
  .nav-actions { width: 100%; }
  .panel-body, .prow, .crow, .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  .wrap, .header-inner { width: min(100% - 32px, var(--wrap)); }
  h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .section { padding: 64px 0; }
  .modules, .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
  .faq summary::after, .faq-body, .btn { transition: none; }
  .btn-primary:hover, .btn-ghost:hover, .btn-primary:active, .btn-ghost:active { transform: none; }
  .faq details[open] .faq-body p { animation: none; }
}
