:root {
  --bg: #fafbfc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e6eaf0;
  --line-2: #eef1f5;
  --brand: #2563eb;
  --brand-ink: #1d4ed8;
  --brand-soft: #eff4ff;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 30px 60px -20px rgba(30, 58, 138, 0.22), 0 8px 20px -8px rgba(15, 23, 42, 0.08);
  font:
    16px/1.7 -apple-system,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 99;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 251, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand img {
  border-radius: 8px;
}
.header-inner nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
}
.header-inner nav a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  transition:
    background 0.15s,
    color 0.15s;
}
.header-inner nav a:hover {
  background: #eef1f6;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  background: var(--brand-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.45);
}
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button[aria-disabled='true'] {
  background: #cbd5e1;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}
.button-small {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.button-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.button-ghost:hover {
  background: #f6f8fb;
  box-shadow: var(--shadow-sm);
}
.text-link {
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
}
.text-link:hover {
  color: var(--brand-ink);
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill b {
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 1px 10px;
  font-weight: 600;
  font-size: 12px;
}
h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #2563eb, #4f46e5 60%, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.section {
  padding-block: 104px;
}
.section-heading {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-heading.center {
  margin-inline: auto;
  text-align: center;
}
.section-heading h2 {
  margin-top: 14px;
}
.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}
.flow-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.flow-list li {
  padding: 6px 12px;
  border: 1px solid #dbe5f3;
  border-radius: 6px;
  background: var(--surface);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: 88px 0;
  text-align: center;
  overflow: clip;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -240px 0 auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(99, 140, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 30% 40% at 85% 20%, rgba(14, 165, 233, 0.12), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  z-index: -1;
  background-image: radial-gradient(#cfd7e6 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 55% 80% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 50% 0%, #000, transparent 75%);
  opacity: 0.55;
}
.hero h1 {
  margin: 22px auto 0;
  max-width: 880px;
}
.hero-description {
  max-width: 600px;
  margin: 22px auto 0;
  font-size: 18px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- product mockup ---------- */
.mock-wrap {
  position: relative;
  margin: 64px auto 0;
  max-width: 1040px;
  padding: 14px 14px 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-bottom: 0;
}
.mock {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 430px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.mock-side {
  background: #f8fafc;
  border-right: 1px solid var(--line-2);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 2px 8px 14px;
}
.mock-brand img {
  border-radius: 6px;
}
.mock-side span.nav {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}
.mock-side span.nav.on {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2);
}
.mock-main {
  padding: 22px 26px;
}
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mock-top strong {
  font-size: 16px;
}
.mock-top small {
  color: var(--faint);
  font-size: 12px;
  display: block;
  font-weight: 400;
}
.mock-btn {
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  padding: 7px 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
}
.stat small {
  color: var(--muted);
  font-size: 12px;
}
.stat b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.table {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
}
.row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  font-size: 13px;
  border-top: 1px solid var(--line-2);
}
.row:first-child {
  border-top: 0;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  padding-block: 8px;
}
.row .shop {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.chip.ok {
  color: var(--ok);
  background: var(--ok-soft);
}
.chip.run {
  color: var(--brand);
  background: var(--brand-soft);
}
.chip.wait {
  color: var(--warn);
  background: var(--warn-soft);
}
.bar {
  height: 6px;
  border-radius: 99px;
  background: #eef1f6;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
}
.mock-note {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}

/* ---------- trust strip ---------- */
.trust {
  border-block: 1px solid var(--line-2);
  background: var(--surface);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-inner > div {
  padding: 28px 24px;
  border-left: 1px solid var(--line-2);
}
.trust-inner > div:first-child {
  border-left: 0;
}
.trust-inner b {
  display: block;
  font-size: 15px;
}
.trust-inner span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d9e0ea;
  transform: translateY(-2px);
}
.card.span-4 {
  grid-column: span 4;
}
.card.span-3 {
  grid-column: span 3;
}
.card.span-2 {
  grid-column: span 2;
}
.card .tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 2px 10px;
}
.card h3 {
  margin-top: 16px;
}
.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.mini {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini span {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.mini span.sel {
  border-color: #bcd0ff;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.steps-vis {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.steps-vis div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.steps-vis .bar {
  flex: 1;
}
.steps-vis small {
  width: 52px;
  color: var(--muted);
  font-size: 12px;
}
.timeline {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.timeline div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
}
.timeline time {
  color: var(--faint);
  font-size: 12px;
  width: 44px;
  font-variant-numeric: tabular-nums;
}

/* ---------- steps ---------- */
.band {
  background: var(--surface);
  border-block: 1px solid var(--line-2);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.steps h3 {
  margin-top: 18px;
}
.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.steps a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- security ---------- */
.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.security .section-heading {
  margin: 0;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checks li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.checks li::before {
  content: '✓';
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 13px;
  font-weight: 700;
}
.checks b {
  display: block;
  font-size: 15px;
}
.checks span {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- faq ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
}
.faq-grid .section-heading {
  margin: 0;
}
.faq-items details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-items details:first-child {
  padding-top: 0;
}
.faq-items summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}
.faq-items summary::-webkit-details-marker {
  display: none;
}
.faq-items summary::after {
  content: '+';
  color: var(--faint);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-items details[open] summary::after {
  transform: rotate(45deg);
  color: var(--brand);
}
.faq-items p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- download ---------- */
.download-section {
  padding-bottom: 104px;
}
.download-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eaf0ff 0%, #f5f3ff 55%, #eef9ff 100%);
  border: 1px solid #dbe4fb;
  box-shadow: var(--shadow-md);
}
.download-panel::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 140, 255, 0.25), transparent 70%);
}
.download-panel > * {
  position: relative;
}
.download-panel h2 {
  margin-top: 12px;
}
.download-panel p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--ink-2);
}
.download-action {
  min-width: 300px;
}
.download-button {
  width: 100%;
  height: 52px;
  font-size: 16px;
}
#download-status {
  margin-top: 14px !important;
  font-size: 13px;
  color: var(--muted) !important;
  text-align: center;
}
.download-platform {
  text-align: center;
  font-size: 12px;
  color: var(--faint) !important;
  margin-top: 4px !important;
}
#download-verification {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
}
#download-verification summary {
  cursor: pointer;
  color: var(--ink-2);
  font-weight: 600;
}
#download-verification[hidden] {
  display: none;
}
#download-verification code {
  display: block;
  margin-top: 8px;
  word-break: break-all;
  font-size: 11px;
  color: var(--muted);
}
.copy-button {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
}
#copy-status {
  margin-left: 8px;
  font-size: 12px;
  color: var(--ok);
}
.download-notice {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  max-width: 820px;
}
.download-notice a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
  font-size: 14px;
  color: var(--muted);
}
.footer-inner p {
  flex: 1;
}
.footer-inner a:not(.brand):hover {
  color: var(--brand);
}

/* ---------- privacy ---------- */
.privacy-main {
  max-width: 780px;
  padding-block: 64px 100px;
}
.privacy-main h1 {
  font-size: 36px;
  margin: 12px 0 8px;
}
.privacy-main h2 {
  font-size: 20px;
  margin: 40px 0 10px;
  letter-spacing: -0.01em;
}
.privacy-main p,
.privacy-main li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.95;
  margin-top: 8px;
}
.privacy-main a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-date {
  font-size: 13px !important;
  color: var(--faint) !important;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .section {
    padding-block: 72px;
  }
  .mock {
    grid-template-columns: 1fr;
  }
  .mock-side {
    display: none;
  }
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-inner > div:nth-child(3) {
    border-left: 0;
  }
  .trust-inner > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-2);
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .card.span-4,
  .card.span-3,
  .card.span-2 {
    grid-column: auto;
  }
  .steps,
  .security,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .security,
  .faq-grid {
    gap: 32px;
  }
  .download-panel {
    grid-template-columns: 1fr;
    padding: 36px 26px;
  }
  .download-action {
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner nav {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-description {
    font-size: 16px;
  }
  .mock-wrap {
    margin-top: 44px;
    padding: 8px 8px 0;
  }
  .mock-main {
    padding: 16px;
  }
  .stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .stat b {
    font-size: 20px;
  }
  .row {
    grid-template-columns: 1.3fr 1fr;
  }
  .row > :nth-child(3) {
    display: none;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* ---------- v2 additions (no inline styles: the server CSP is style-src 'self') ---------- */
.bar i {
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--p, 1));
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.p100 {
  --p: 1;
}
.p64 {
  --p: 0.64;
}
.p38 {
  --p: 0.38;
}
.spacer {
  flex: 1;
}

/* header */
.site-header {
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.site-header.scrolled {
  box-shadow: 0 6px 20px -12px rgba(15, 23, 42, 0.18);
  border-bottom-color: var(--line);
}
.header-inner nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.site-header.open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.d1 {
  transition-delay: 0.08s;
}
.js .reveal.d2 {
  transition-delay: 0.16s;
}
.js .reveal.d3 {
  transition-delay: 0.24s;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .reveal:not(.in) .bar i {
  transform: scaleX(0);
}
.card.reveal.in:hover {
  transform: translateY(-2px);
  transition-delay: 0s;
}

/* compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin-inline: auto;
}
.compare .card {
  padding: 32px;
}
.compare h3 {
  margin: 0 0 18px;
  font-size: 20px;
}
.compare ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.compare li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.compare li::before {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.compare .old {
  background: #f8fafc;
  box-shadow: none;
}
.compare .old h3,
.compare .old li {
  color: var(--muted);
}
.x-list li::before {
  content: '×';
  background: #eef1f5;
  color: var(--faint);
}
.compare .new {
  border-color: #bcd0ff;
  box-shadow:
    0 20px 40px -24px rgba(37, 99, 235, 0.35),
    0 0 0 4px rgba(37, 99, 235, 0.06);
}
.v-list li::before {
  content: '✓';
  background: var(--brand-soft);
  color: var(--brand);
}

/* footer */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-block: 48px 28px;
}
.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--faint);
  font-weight: 600;
}
.footer-grid a:not(.brand) {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-grid a:not(.brand):hover {
  color: var(--brand);
}
.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.footer-base {
  border-top: 1px solid var(--line-2);
  padding-block: 18px 28px;
  font-size: 13px;
  color: var(--faint);
}

@media (max-width: 960px) {
  .compare {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    gap: 12px;
  }
  .header-inner .brand {
    margin-right: auto;
  }
  .header-inner nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px 16px 16px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(15, 23, 42, 0.2);
  }
  .site-header.open .header-inner nav {
    display: flex;
  }
  .header-inner nav a {
    padding: 12px 14px;
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal:not(.in) .bar i {
    opacity: 1;
    transform: none;
  }
  .bar i {
    transform: scaleX(var(--p, 1));
  }
}
