/* ModelPort design tokens */
:root {
  --bg: oklch(0.985 0.003 80);
  --bg-2: oklch(0.965 0.004 80);
  --bg-3: oklch(0.94 0.005 80);
  --ink: oklch(0.18 0.012 250);
  --ink-2: oklch(0.32 0.012 250);
  --ink-3: oklch(0.52 0.008 250);
  --rule: oklch(0.88 0.006 80);
  --rule-2: oklch(0.92 0.005 80);
  --accent: oklch(0.52 0.16 252);
  --accent-2: color-mix(in oklab, var(--accent) 80%, var(--ink));
  --accent-soft: color-mix(in oklab, var(--accent) 16%, var(--bg));
  --clay: oklch(0.62 0.09 50);
  --clay-soft: oklch(0.94 0.025 50);
  --ok: oklch(0.55 0.13 155);
  --warn: oklch(0.65 0.14 65);
  --danger: oklch(0.58 0.18 25);

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-ui: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace;

  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;

  --max-w: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 94%, #fff) 0, var(--bg) 420px),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02", "cv11";
  font-size: 15px;
  line-height: 1.5;
}
:lang(zh-Hant) body {
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", var(--font-ui);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; color: inherit; }

/* Typography */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
  font-style: normal;
}
:lang(zh-Hant) .display {
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", var(--font-ui);
  font-weight: 650;
  line-height: 1.1;
}
.mono { font-family: var(--font-mono); font-feature-settings: "ss01"; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Layout */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.rule { border-top: 1px solid var(--rule); }
.rule-2 { border-top: 1px solid var(--rule-2); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: -0.01em;
}
:lang(zh-Hant) .brand { font-family: var(--font-display); font-weight: 400; }
.brand-mark {
  width: 22px; height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  position: relative;
  display: inline-block;
}
.brand-mark::before {
  content: "";
  position: absolute; inset: 3px;
  border-left: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: 8px;
}
.nav-link {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--bg-2); }
.nav-link.active {
  color: var(--ink);
  background: var(--bg-2);
  border-color: var(--rule);
}
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg);
  cursor: pointer;
}
.mobile-menu-btn span {
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .15s, opacity .15s;
}
.menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav-menu { display: none; }
.mobile-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 18px;
}
.mobile-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.mobile-nav-link {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
}
.mobile-nav-link.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.mobile-nav-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.mobile-nav-actions .btn { justify-content: center; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 2px;
  background: var(--bg);
}
.lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  cursor: pointer;
  white-space: nowrap;
}
.lang-switch button.active {
  background: var(--ink);
  color: var(--bg);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  min-height: 40px;
  cursor: pointer;
  box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 10%, transparent);
  transition: transform .08s, background .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); box-shadow: 0 8px 22px color-mix(in oklab, var(--ink) 13%, transparent); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-3); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }
.btn-lg { padding: 13px 22px; font-size: 14.5px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-arrow::after { content: "→"; font-family: var(--font-mono); }

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  padding: 24px;
  box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 4%, transparent);
}
.card:hover {
  border-color: color-mix(in oklab, var(--rule) 70%, var(--ink-3));
}
.card-flush { padding: 0; overflow: hidden; }
.card-muted { background: var(--bg-2); }
.card-ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card-ink .kicker, .card-ink .eyebrow { color: color-mix(in oklab, var(--bg) 60%, transparent); }

/* Mobile-safe split grids */
.split-grid-auto {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.split-grid-wide {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}

/* Provider promotion */
.promo-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}
.promo-hero {
  padding: 32px;
  border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--rule));
  border-radius: var(--radius-m);
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 12%, var(--bg)) 0%, var(--bg) 68%),
    var(--bg);
}
.provider-panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  padding: 18px;
  background: var(--bg-2);
}
.provider-toolbar {
  gap: 16px;
  margin-bottom: 16px;
}
.provider-controls {
  justify-content: flex-end;
}
.provider-controls .choice {
  padding: 7px 11px;
  font-size: 12px;
}
.provider-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-s);
  background: var(--bg);
}
.provider-card.promoted {
  border-color: color-mix(in oklab, var(--accent) 48%, var(--rule));
  box-shadow: 0 14px 34px color-mix(in oklab, var(--accent) 10%, transparent);
}
.provider-main {
  min-width: 0;
}
.provider-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.provider-pill.accent {
  color: var(--accent-2);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--rule));
  background: var(--accent-soft);
}
.provider-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.provider-price span {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}
.provider-price small,
.price-line small {
  color: var(--ink-3);
  font-size: 11px;
}
.provider-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(86px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.provider-stat {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-s);
  background: var(--bg-2);
}
.provider-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.1;
}
.provider-note {
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 12.5px;
}
.provider-pricing {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--rule);
}
.price-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}
.price-line span {
  color: var(--ink-3);
  font-size: 12px;
}
.price-line strong {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
}

/* Landing promotion banner */
.section.home-hero-section {
  padding-top: 48px;
  padding-bottom: 64px;
}
.promo-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, auto) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 40px;
  padding: 16px;
  border: 1px solid color-mix(in oklab, var(--accent) 34%, var(--rule));
  border-radius: var(--radius-m);
  background:
    radial-gradient(circle at 7% 15%, color-mix(in oklab, var(--accent) 24%, transparent) 0 32%, transparent 33%),
    linear-gradient(100deg, color-mix(in oklab, var(--accent) 13%, var(--bg)) 0%, var(--bg) 58%, color-mix(in oklab, var(--clay) 10%, var(--bg)) 100%),
    var(--bg);
  box-shadow: 0 18px 46px color-mix(in oklab, var(--accent) 11%, transparent);
  position: relative;
  overflow: hidden;
}
.promo-banner::after {
  content: "";
  position: absolute;
  inset: 9px auto 9px 120px;
  width: 1px;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--accent) 30%, var(--rule)), transparent);
}
.promo-banner-sale {
  display: grid;
  place-items: center;
  align-content: center;
  width: 86px;
  min-height: 70px;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: var(--bg);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bg) 12%, transparent);
}
.promo-banner-sale span {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: .9;
  letter-spacing: -0.04em;
}
.promo-banner-sale small {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 72%, transparent);
}
.promo-banner-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-left: 12px;
}
.promo-banner-copy strong {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.promo-banner-copy span:not(.tag) {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.4;
}
.promo-banner-copy em {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
}
.promo-price-stack {
  display: grid;
  justify-items: start;
  gap: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.promo-price-caption {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.promo-price-original {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.25;
}
.promo-price-original s {
  color: color-mix(in oklab, var(--ink-3) 55%, transparent);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.promo-price-current {
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.promo-banner-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 8px;
}
.promo-banner-metrics > span,
.promo-banner-metrics > .promo-price-stack {
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--rule));
  border-radius: var(--radius-s);
  background: color-mix(in oklab, var(--bg) 78%, #fff);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.promo-banner-metrics .promo-price-stack {
  border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--rule));
  display: grid;
  background: color-mix(in oklab, var(--bg) 78%, #fff);
  white-space: normal;
  text-transform: none;
  padding: 9px 10px;
  justify-items: start;
  align-items: start;
  justify-content: center;
  min-height: 52px;
  text-align: left;
  gap: 3px;
}
.promo-banner-metrics b {
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: none;
}

/* Form */
.field { display: flex; flex-direction: column; gap: 10px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg);
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-2);
  min-height: 38px;
  transition: all .15s;
  white-space: normal;
  text-align: left;
}
.choice:hover { border-color: var(--ink-3); color: var(--ink); }
.choice.on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* Tag / chip */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg);
  font-size: 11.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--ink-2);
  white-space: nowrap;
}
.tag-dot::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
}
.tag-ok::before { background: var(--ok); }
.tag-warn::before { background: var(--warn); }
.tag-clay::before { background: var(--clay); }

/* Section spacing */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.hero-title { font-size: clamp(54px, 7vw, 80px) !important; }
:lang(zh-Hant) .hero-title { font-size: clamp(44px, 6vw, 68px) !important; }
:lang(zh-Hant) h1.display { font-size: clamp(38px, 5vw, 58px) !important; }

/* Footer */
.footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0 64px;
  color: var(--ink-3);
  font-size: 13px;
}

/* Utility */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }
.between { justify-content: space-between; }
.center { align-items: center; }
.start { align-items: flex-start; }
.grid { display: grid; }
.muted { color: var(--ink-3); }
.ink-2 { color: var(--ink-2); }
.serif { font-family: var(--font-display); }
.mono-sm { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* Big numerals */
.num { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }

/* Placeholder striped block */
.placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg-3) 0px,
      var(--bg-3) 8px,
      var(--bg-2) 8px,
      var(--bg-2) 16px
    );
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Generated art */
.hero-visual,
.process-visual {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--bg-2);
  box-shadow: 0 18px 42px color-mix(in oklab, var(--ink) 7%, transparent);
}
.hero-visual {
  width: 100%;
  aspect-ratio: 1;
  max-width: 470px;
  margin-left: auto;
}
.process-visual {
  aspect-ratio: 1693 / 929;
  margin-bottom: 8px;
}
.hero-visual img,
.process-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tables */
.t {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.t th, .t td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.t th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}
.t tr:last-child td { border-bottom: none; }

/* Result strip */
.result-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--bg-2);
}

/* Dashboard */
.metric {
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg);
}
.metric .v { font-family: var(--font-display); font-size: 38px; line-height: 1; letter-spacing: -0.02em; }
.metric .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.metric .delta { font-size: 12px; color: var(--ok); font-family: var(--font-mono); }

/* Bar chart */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; }
.bar { flex: 1; background: var(--ink); border-radius: 4px 4px 0 0; position: relative; }
.bar.accent { background: var(--accent); }
.bar.clay { background: var(--clay); }
.bar-label { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-3); }

/* Line chart container */
.linechart { width: 100%; height: 160px; }

/* Sticky form footer */
.form-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
}

/* Step pill */
.step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Compare table cells */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; }
.cmp > div { padding: 28px; }
.cmp > div + div { border-left: 1px solid var(--rule); }
.cmp h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.cmp ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
.cmp li { padding: 8px 0; border-top: 1px dashed var(--rule); font-size: 13.5px; color: var(--ink-2); }
.cmp li:first-child { border-top: none; }
.cmp .left { background: var(--bg-2); }
.cmp .right { background: var(--bg); }

/* Animated entrance */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .35s ease both; }
.rise-1 { animation-delay: .05s; }
.rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .2s; }

/* Scroll-driven reveal engine */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .58s cubic-bezier(0.16, 0.84, 0.2, 1),
    transform .58s cubic-bezier(0.16, 0.84, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

[data-reveal="up"] {
  transform: translateY(18px);
}

[data-reveal="soft"] {
  transform: scale(0.985);
}

[data-reveal="left"] {
  transform: translateX(-16px);
}

[data-reveal="right"] {
  transform: translateX(16px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes visualFloat {
  0%,100% { transform: scale(1.01) translateY(0); }
  50% { transform: scale(1.04) translateY(5px); }
}

.hero-visual img,
.process-visual img {
  animation: visualFloat 14s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .rise,
  .hero-visual img,
  .process-visual img {
    animation: none;
  }
}

/* Pilot CTA */
.pilot {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-l);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.pilot .placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklab, var(--bg) 8%, var(--ink)) 0px,
      color-mix(in oklab, var(--bg) 8%, var(--ink)) 8px,
      color-mix(in oklab, var(--bg) 4%, var(--ink)) 8px,
      color-mix(in oklab, var(--bg) 4%, var(--ink)) 16px
    );
  border-color: color-mix(in oklab, var(--bg) 18%, var(--ink));
  color: color-mix(in oklab, var(--bg) 60%, transparent);
}

/* Compact lists */
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li {
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline;
}
.dot-list li:first-child { border-top: none; }
.dot-list li::before {
  content: "✓";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}
.dot-list.minus li::before { content: "—"; color: var(--ink-3); }
.dot-list.dot li::before { content: "•"; color: var(--ink-3); }

/* Responsive */
@media (max-width: 900px) {
  .nav-cta .btn-ghost { display: none; }
  .nav-inner { gap: 12px; padding: 0 20px; }
  .pilot { grid-template-columns: 1fr; padding: 32px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
}

@media (max-width: 1320px) {
  .nav-inner { gap: 16px; padding: 0 24px; }
  .nav-links { gap: 2px; margin-left: 0; }
  .nav-link { padding: 6px 8px; font-size: 13px; }
  .nav-cta { gap: 6px; }
}

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-cta { margin-left: 0; }
  .menu-open .mobile-nav-menu { display: block; }
  .process-grid,
  .cta-grid,
  .fit-result-grid,
  .pilot-form-grid,
  .promo-banner,
  .promo-shell {
    grid-template-columns: 1fr !important;
  }
  .promo-banner-metrics { justify-content: flex-start; }
  .provider-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .dashboard-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-visual {
    max-width: 520px;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 52px 0;
  }
  .section-tight {
    padding: 36px 0;
  }
  .section.home-hero-section {
    padding-top: 32px;
    padding-bottom: 52px;
  }
  .promo-banner {
    gap: 12px;
    margin-bottom: 32px;
    padding: 14px;
  }
  .promo-banner::after { display: none; }
  .promo-banner-sale {
    width: 100%;
    min-height: 62px;
  }
  .promo-banner-copy { padding-left: 0; }
  .promo-banner-metrics {
    grid-template-columns: 1fr;
  }
  .nav-inner { height: 64px; min-height: 64px; padding-top: 0; padding-bottom: 0; }
  .nav-cta { display: none; }
  .mobile-nav-inner { padding: 0 20px 18px; }
  .mobile-nav-links { grid-template-columns: 1fr; }
  .mobile-nav-actions { grid-template-columns: 1fr; align-items: stretch; }
  .lang-switch { flex-shrink: 0; }
  .hero-grid { gap: 36px !important; }
  .hero-title { font-size: clamp(42px, 13vw, 58px) !important; }
  :lang(zh-Hant) .hero-title { font-size: clamp(36px, 11vw, 48px) !important; }
  h1.display, :lang(zh-Hant) h1.display { font-size: clamp(34px, 10vw, 46px) !important; }
  h2.display { font-size: clamp(26px, 6.4vw, 36px) !important; }
  h3.display { font-size: clamp(22px, 6vw, 30px) !important; }
  .row { flex-wrap: wrap; }
  .pillar-grid,
  .partner-grid,
  .model-detail-grid,
  .control-grid,
  .pilot-top-grid,
  .metric-grid,
  .pricing-flow-grid,
  .provider-card,
  .provider-stats {
    grid-template-columns: 1fr !important;
  }
  .provider-toolbar { align-items: flex-start; }
  .provider-controls { justify-content: flex-start; }
  .provider-price { align-items: flex-start; }
  .provider-pricing {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .pricing-flow-grid > .col.center {
    min-height: 32px;
    transform: rotate(90deg);
  }
  .split-grid-auto,
  .split-grid-wide {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .fit-field-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .cmp { grid-template-columns: 1fr; }
  .cmp > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .card-ink.cta-grid,
  .card-ink {
    padding: 28px !important;
  }
  .btn {
    min-width: 140px;
    justify-content: center;
  }
  .btn-lg,
  .btn-sm {
    width: 100%;
    justify-content: center;
  }
  .form-footer {
    gap: 12px;
  }
  .form-footer .btn {
    width: 100%;
  }
  .t {
    table-layout: fixed;
  }
  .t th,
  .t td {
    padding: 12px 10px;
    font-size: 12.5px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .fit-result-grid .card,
  .pilot-top-grid .card,
  .pilot-form-grid .card {
    padding: 24px !important;
  }
  .fit-result-grid .row,
  .pilot-top-grid .row,
  .pilot-form-grid .row,
  .provider-toolbar,
  .provider-controls,
  .fit-field-row .choices {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-grid {
    gap: 28px !important;
  }
  .nav-inner,
  .mobile-nav-inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }
  .card,
  .card-muted,
  .card-ink {
    padding: 20px !important;
  }
  .pilot {
    padding: 22px;
  }
  h1.display:not(.hero-title), :lang(zh-Hant) h1.display:not(.hero-title) {
    font-size: clamp(30px, 10vw, 42px) !important;
  }
  .promo-banner {
    margin-bottom: 24px;
  }
  .promo-banner::after {
    display: none;
  }
  .promo-banner-metrics .promo-price-stack,
  .promo-banner-metrics > span {
    min-height: 48px;
  }
}
