/* 淺色主題 token；固定深色區與產品示意的色盤也集中在此。 */
:root {
  --ink: #111111;
  --paper: #f9f9f9;
  --surface: #fff;
  --blue: #155ef2;
  --yellow: #ffc100;
  --text: #454545;
  --muted: #6d6d6d;
  --border: #ddd;
  --navy: #060522;
  --glow-blue: #152556;
  --purple: #4b1fd6;
  --cyan: #6ff7ff;
  --on-dark: #f7f7fa;
  --muted-dark: #b6bac8;
  --dark-border: #30323b;
  --font: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", system-ui,
    sans-serif;
  --heading: Ubuntu, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --radius: 12px;
  --container: 1200px;
  --section-space: 100px;
  --header-height: 80px;
  --page-background: var(--paper);
  color-scheme: light;
  --build-text: var(--blue);
  --step-background: var(--paper);
  --demo-border: var(--border);
  --dark-background: #111111;
  --button-ink: #111;
  /* 固定色盤不隨主題改變，維持 hero、表單與示意 UI 的原有配色。 */
  --palette-ffcf36: #ffcf36;
  --palette-60616b: #60616b;
  --white: #fff;
  --palette-ffffff0c: #ffffff0c;
  --outline-hover-border: #ddd;
  --palette-5d6076: #5d6076;
  --palette-ffffff12: #ffffff12;
  --palette-111111f5: #111111f5;
  --palette-ffffff20: #ffffff20;
  --palette-c9c9d1: #c9c9d1;
  --palette-c6c9d6: #c6c9d6;
  --palette-b6bac8: #b6bac8;
  --palette-a0a4b2: #a0a4b2;
  --palette-000: #000;
  --palette-b3b8ca: #b3b8ca;
  --palette-6ff7ff: #6ff7ff;
  --palette-ffffff21: #ffffff21;
  --palette-cbd0dc: #cbd0dc;
  --palette-898fa4: #898fa4;
  --palette-080f24: #080f24;
  --palette-b0bbd2: #b0bbd2;
  --migrate-text: #816100;
  --migrate-background: #ffedb7;
  --migrate-border: #f0d989;
  --build-background: #eaf0ff;
  --build-border: #cadbff;
  --palette-89eeb2: #89eeb2;
  --demo-shadow: #1111110b;
  --palette-eef2f8: #eef2f8;
  --palette-273344: #273344;
  --palette-dfe4eb: #dfe4eb;
  --palette-788391: #788391;
  --palette-d7dce5: #d7dce5;
  --palette-dfe4ec: #dfe4ec;
  --palette-526176: #526176;
  --palette-e5eaf1: #e5eaf1;
  --palette-d2dbe7: #d2dbe7;
  --palette-d5dbe4: #d5dbe4;
  --palette-7c8695: #7c8695;
  --palette-303745: #303745;
  --palette-e5f6ef: #e5f6ef;
  --palette-27845d: #27845d;
  --palette-edf0f5: #edf0f5;
  --palette-788394: #788394;
  --palette-8590a0: #8590a0;
  --palette-a6afbc: #a6afbc;
  --palette-e7eeff: #e7eeff;
  --palette-155ef2: #155ef2;
  --palette-e6ebf2: #e6ebf2;
  --palette-8996a8: #8996a8;
  --palette-8b96a6: #8b96a6;
  --palette-718197: #718197;
  --palette-f4faf8: #f4faf8;
  --palette-27966a: #27966a;
  --palette-249261: #249261;
  --palette-7c8b9c: #7c8b9c;
  --palette-8692a2: #8692a2;
  --palette-7f8b9d: #7f8b9d;
  --palette-dce3ed: #dce3ed;
  --palette-f8fafc: #f8fafc;
  --palette-e8ecf1: #e8ecf1;
  --palette-8290a2: #8290a2;
  --palette-edf0f6: #edf0f6;
  --palette-8190a2: #8190a2;
  --palette-94c4ef: #94c4ef;
  --palette-eed27d: #eed27d;
  --palette-efdab1: #efdab1;
  --palette-fff7e7: #fff7e7;
  --palette-8d672b: #8d672b;
  --palette-202c42: #202c42;
  --palette-56627a: #56627a;
  --palette-aab5c8: #aab5c8;
  --palette-cad5eb: #cad5eb;
  --palette-4c5870: #4c5870;
  --palette-cbd5e1: #cbd5e1;
  --palette-657188: #657188;
  --palette-8591a2: #8591a2;
  --palette-8895a7: #8895a7;
  --palette-e8edf3: #e8edf3;
  --palette-7b8a9d: #7b8a9d;
  --palette-7e8da3: #7e8da3;
  --palette-d6dfeb: #d6dfeb;
  --palette-c9d4e3: #c9d4e3;
  --palette-a9b7cc: #a9b7cc;
  --palette-9cbbff: #9cbbff;
  --palette-bec5da: #bec5da;
  --palette-d0d5e2: #d0d5e2;
  --palette-afbad6: #afbad6;
  --palette-f0f3ff: #f0f3ff;
  --palette-b5bdd4: #b5bdd4;
  --palette-ffffff24: #ffffff24;
  --palette-ffffff08: #ffffff08;
  --palette-e2e5f0: #e2e5f0;
  --palette-070b2299: #070b2299;
  --palette-ffffff30: #ffffff30;
  --palette-939ab1: #939ab1;
  --palette-ffcf4877: #ffcf4877;
  --palette-ffc10008: #ffc10008;
  --palette-ffe28d: #ffe28d;
  --palette-ffc10014: #ffc10014;
  --palette-b4bcd2: #b4bcd2;
  --palette-ffffff26: #ffffff26;
  --palette-ffffff15: #ffffff15;
  --palette-8c909c: #8c909c;
  --palette-b3b6c3: #b3b6c3;
  --palette-ffffff25: #ffffff25;
  --palette-ffffff10: #ffffff10;
  --palette-59697e: #59697e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-background);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  flex-shrink: 0;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.dark a:focus-visible,
.dark button:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible {
  outline-color: var(--yellow);
}

[hidden] {
  display: none !important;
}

.container {
  width: calc(100% - 80px);
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

.light {
  background: var(--paper);
}

.dark {
  background: var(--dark-background);
  color: var(--on-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.button .icon {
  width: 19px;
  height: 19px;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--button-ink);
  background: var(--yellow);
}

.primary:hover {
  background: var(--palette-ffcf36);
}

.outline {
  border-color: var(--palette-60616b);
  color: var(--white);
  background: transparent;
}

.outline:hover {
  background: var(--palette-ffffff0c);
  border-color: var(--outline-hover-border);
}

.secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--ink);
}

.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.small {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 13px;
  gap: 10px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.eyebrow > span:first-child {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.eyebrow-line {
  width: 25px;
  height: 1px;
  background: var(--border);
}

.dark .eyebrow {
  color: var(--muted-dark);
}

.dark .eyebrow-line {
  background: var(--palette-5d6076);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 15px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 200;
  background: var(--yellow);
  color: var(--button-ink);
  padding: 10px 20px;
  transform: translateY(-150%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-break {
  display: none;
}

.site-header {
  position: fixed;
  inset: env(safe-area-inset-top, 0px) 0 auto;
  z-index: 100;
  color: var(--white);
  height: var(--header-height);
  border-bottom: 1px solid var(--palette-ffffff12);
  transition: background 0.25s, border-color 0.25s;
}

.site-header.scrolled,
.site-header.menu-open {
  background: var(--palette-111111f5);
  border-color: var(--palette-ffffff20);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  max-width: var(--container);
  width: calc(100% - 80px);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 176px;
  height: 36px;
}

#navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin: auto;
  font-size: 13px;
  color: var(--palette-c9c9d1);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 166px 0 0;
  overflow: clip;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 700px;
  right: -200px;
  top: 30px;
  opacity: 0.32;
  background: radial-gradient(ellipse at 65% 55%, var(--glow-blue) 0, transparent 58%),
    radial-gradient(ellipse at 25% 70%, var(--purple), transparent 48%);
  filter: blur(60px);
  animation: glow-drift 16s ease-in-out infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 24px;
}

.hero-kicker {
  font-size: 12px;
  color: var(--palette-c6c9d6);
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
}

.live-dot,
.tiny-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.28;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-emphasis {
  color: var(--yellow);
}

.hero-description {
  margin: 24px 0 28px;
  max-width: 570px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--palette-b6bac8);
}

.hero-note {
  max-width: 490px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--palette-a0a4b2);
  margin-top: 16px;
}

.hero-art {
  position: relative;
  margin-inline: -10px -40px;
}

.hero-art img {
  width: 100%;
  border-radius: 16px;
  mask-image: linear-gradient(
      90deg,
      transparent,
      var(--palette-000) 12%,
      var(--palette-000) 88%,
      transparent
    ),
    linear-gradient(0deg, transparent, var(--palette-000) 16%, var(--palette-000) 84%, transparent);
  mask-composite: intersect;
  mix-blend-mode: lighten;
}

.hero-art figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--palette-b3b8ca);
  margin-top: 16px;
}

.tiny-dot {
  background: var(--palette-6ff7ff);
  width: 4px;
  height: 4px;
}

.hero-trust {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--palette-ffffff21);
  margin-top: 76px;
  padding: 26px 0;
  color: var(--palette-cbd0dc);
  font-size: 13px;
}

.hero-trust > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust .icon {
  color: var(--palette-898fa4);
  width: 19px;
  height: 19px;
}

.pains {
  border-radius: 28px 28px 0 0;
  position: relative;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.pain-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: var(--blue);
}

.card-index {
  font-family: ui-monospace, monospace;
  color: var(--muted);
  font-size: 11px;
}

.pain-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.pain-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}

.bridge {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  margin: 64px 0 0;
  letter-spacing: -0.025em;
}

.bridge span {
  color: var(--blue);
}

.scenarios {
  padding-top: 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scenario-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.scenario-image {
  position: relative;
  background: var(--palette-080f24);
  overflow: hidden;
}

.scenario-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  max-height: 330px;
}

.image-index {
  position: absolute;
  left: 24px;
  top: 20px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  color: var(--palette-b0bbd2);
}

.scenario-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.scenario-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.scenario-title h3 {
  font-size: 26px;
}

.badge {
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
  padding: 3px 8px;
  white-space: nowrap;
  display: inline-block;
  font-weight: 500;
  vertical-align: middle;
}

.badge.migrate {
  color: var(--migrate-text);
  background: var(--migrate-background);
  border-color: var(--migrate-border);
}

.badge.build {
  color: var(--build-text);
  background: var(--build-background);
  border-color: var(--build-border);
}

.availability {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.scenario-fit {
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
  margin: 20px 0 24px;
  min-height: 54px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.steps li {
  display: flex;
  gap: 14px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--step-background);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  color: var(--blue);
  font-size: 12px;
  font-family: ui-monospace, monospace;
  flex-shrink: 0;
  margin-top: 1px;
}

.steps h4 {
  margin-bottom: 5px;
  font-size: 15px;
}

.steps p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.9;
}

.scenario-result {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 22px 0;
  margin-top: auto;
  font-size: 13px;
}

.scenario-result .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
  margin-top: 4px;
}

.scenario-body > .button {
  align-self: flex-start;
}

.how {
  padding-top: 0;
}

.how-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.how-tabs button {
  position: relative;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 18px 8px;
  font-size: 17px;
  font-weight: 600;
}

.how-tabs button span {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
  margin-right: 14px;
  font-weight: 400;
}

.how-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.how-tabs button[aria-selected="true"]:after {
  position: absolute;
  content: "";
  height: 3px;
  inset: auto 0 -1px;
  background: linear-gradient(90deg, var(--blue), var(--palette-89eeb2), var(--yellow));
}

.demo-shell {
  border: 1px solid var(--demo-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 65px var(--demo-shadow);
  background: var(--palette-eef2f8);
  color: var(--palette-273344);
}

.browser-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--palette-dfe4eb);
  background: var(--white);
  color: var(--palette-788391);
  font-size: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  background: var(--palette-d7dce5);
  border-radius: 50%;
}

.browser-address {
  margin: auto;
  font-family: ui-monospace, "Noto Sans TC", monospace;
}

.demo-label {
  font-size: 12px;
  color: var(--palette-788391);
}

.demo-shell [role="tabpanel"] {
  padding: 30px 44px;
}

.demo-shell h3 {
  font-size: 21px;
}

.demo-shell h4 {
  font-size: 15px;
}

.chat-demo {
  max-width: 700px;
  margin: auto;
}

.chat-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 24px;
}

.message {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 16px;
  align-items: flex-start;
}

.message-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--palette-dfe4ec);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--palette-526176);
}

.message.user {
  background: var(--palette-e5eaf1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-left: 60px;
}

.message.assistant {
  margin-right: 30px;
}

.progress-link {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--palette-d2dbe7);
  border-radius: 8px;
  background: var(--white);
  padding: 12px 16px;
  margin-top: 16px;
  width: min(100%, 330px);
  font-size: 13px;
}

.progress-link .live-dot {
  background: var(--blue);
}

.progress-link small {
  display: block;
  font-size: 12px;
  color: var(--blue);
}

.chat-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--palette-d5dbe4);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--palette-7c8695);
  font-size: 12px;
  margin-top: 20px;
}

.chat-input > span {
  border-radius: 6px;
  background: var(--palette-303745);
  color: var(--white);
  padding: 0 8px;
}

.system-title {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--palette-e5f6ef);
  border-radius: 50px;
  font-size: 12px;
  color: var(--palette-27845d);
  white-space: nowrap;
}

.pill.neutral {
  background: var(--palette-edf0f5);
  color: var(--palette-788394);
}

.status-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 18px;
  color: var(--palette-8590a0);
}

.status-track b {
  font-weight: 400;
  color: var(--palette-a6afbc);
}

.status-track .current {
  padding: 5px 10px;
  background: var(--palette-e7eeff);
  border-radius: 4px;
  color: var(--palette-155ef2);
}

.ui-card {
  background: var(--white);
  border-radius: 9px;
  padding: 20px 24px;
  margin-bottom: 14px;
  border: 1px solid var(--palette-e6ebf2);
}

.ui-overline {
  font-size: 12px;
  color: var(--palette-8996a8);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 5px;
}

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

.decision p {
  font-size: 12px;
  color: var(--palette-8b96a6);
  margin-top: 6px;
}

.ui-link {
  font-size: 12px;
  color: var(--palette-155ef2);
  white-space: nowrap;
}

.ui-muted {
  font-size: 12px;
  color: var(--palette-718197);
  margin: 12px 0;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.check-list li {
  background: var(--palette-f4faf8);
  border-left: 2px solid var(--palette-27966a);
  margin-top: 7px;
  padding: 6px 12px;
}

.check-list li:before {
  content: "✓";
  color: var(--palette-249261);
  margin-right: 8px;
}

.check-list small {
  color: var(--palette-7c8b9c);
  margin-left: 14px;
  font-size: 12px;
}

.development-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  font-size: 12px;
}

.development-strip small {
  font-size: 12px;
  color: var(--palette-8692a2);
  display: block;
  margin-top: 4px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-label {
  font-size: 12px;
  color: var(--palette-7f8b9d);
  margin-bottom: 8px;
}

.comparison-label.after {
  color: var(--palette-155ef2);
}

.mini-app {
  border: 1px solid var(--palette-dce3ed);
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.mini-nav {
  background: var(--palette-f8fafc);
  padding: 11px 12px;
  border-bottom: 1px solid var(--palette-e8ecf1);
  font-size: 12px;
  font-weight: 600;
}

.mini-nav span {
  float: right;
  font-size: 12px;
  color: var(--palette-8290a2);
  font-weight: 400;
}

.mini-content {
  padding: 15px;
}

.mini-content > b {
  font-size: 12px;
}

.booking {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--palette-edf0f6);
  font-size: 12px;
}

.booking small {
  display: block;
  font-size: 12px;
  color: var(--palette-8190a2);
}

.booking-dot {
  width: 5px;
  height: 20px;
  background: var(--palette-94c4ef);
  border-radius: 3px;
}

.booking-dot.yellow {
  background: var(--palette-eed27d);
}

.conflict {
  margin-top: 11px;
  border: 1px solid var(--palette-efdab1);
  background: var(--palette-fff7e7);
  color: var(--palette-8d672b);
  border-radius: 4px;
  padding: 6px;
  font-size: 12px;
}

.video-mock {
  height: 80px;
  background: var(--palette-202c42);
  border-radius: 8px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: var(--white);
  font-size: 12px;
}

.play-symbol {
  font-size: 12px;
  border: 1px solid var(--palette-56627a);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-mock small {
  font-size: 12px;
  display: block;
  color: var(--palette-aab5c8);
}

.video-line {
  height: 3px;
  border-radius: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--palette-cad5eb) 25%, var(--palette-4c5870) 25%);
  margin-left: 30px;
}

.video-caption {
  font-size: 12px;
  color: var(--palette-aab5c8);
}

.review-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-button {
  font-size: 12px;
  border: 1px solid var(--palette-cbd5e1);
  border-radius: 5px;
  padding: 8px 15px;
  opacity: 1;
  cursor: default;
}

.demo-button.approve {
  background: var(--palette-155ef2);
  border-color: var(--palette-155ef2);
  color: var(--white);
}

.demo-button.reject {
  background: var(--white);
  color: var(--palette-657188);
}

.review-actions > span {
  font-size: 12px;
  color: var(--palette-8591a2);
  margin-left: auto;
}

.version-table {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
  margin: 18px 0;
}

th {
  font-size: 12px;
  color: var(--palette-8895a7);
  font-weight: 400;
}

th,
td {
  padding: 13px 8px;
  border-bottom: 1px solid var(--palette-e8edf3);
}

td:first-child {
  font-family: ui-monospace, monospace;
  color: var(--palette-155ef2);
}

.version-note {
  font-size: 12px;
  color: var(--palette-7b8a9d);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}

.version-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}

.version-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 4px;
  font-size: 12px;
  color: var(--palette-7e8da3);
}

.version-visual > span {
  padding: 8px 14px;
  border: 1px solid var(--palette-d6dfeb);
  border-radius: 6px;
  background: var(--white);
  white-space: nowrap;
}

.version-visual > i {
  width: 32px;
  height: 1px;
  background: var(--palette-c9d4e3);
}

.version-visual > i.dashed {
  background: none;
  border-top: 1px dashed var(--palette-a9b7cc);
}

.version-visual > .active {
  color: var(--palette-155ef2);
  border-color: var(--palette-9cbbff);
  background: var(--build-background);
}

.how-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text);
}

.how-caption > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.use-cases {
  padding-top: 0;
}

.use-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.use-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.use-top {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  margin-bottom: 22px;
}

.use-top > span:not(.template-label) {
  font-size: 12px;
  color: var(--muted);
}

.use-card h3 {
  font-size: 16px;
  line-height: 1.6;
}

.use-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
  margin-top: 10px;
}

.use-top > .template-label {
  font-size: 12px;
  color: var(--blue);
  margin-left: auto;
  white-space: nowrap;
}

.section-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

.trust {
  overflow: hidden;
}

.trust-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 36px;
}

.trust-heading figure {
  width: 100%;
  max-width: 370px;
  justify-self: end;
}

.trust-heading img {
  border-radius: 14px;
  mix-blend-mode: lighten;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
}

.trust-item {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
}

.trust-item > .icon {
  color: var(--yellow);
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.trust-item h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 13px;
  color: var(--muted-dark);
  line-height: 1.9;
}

.data-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.data-layout h2 {
  font-size: 34px;
}

.data-options > div {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 0 24px;
}

.data-options > div + div {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  padding-bottom: 0;
}

.data-options .icon {
  color: var(--blue);
  margin-top: 4px;
}

.data-options h3 {
  font-size: 18px;
}

.data-options p {
  font-size: 13px;
  color: var(--text);
  margin-top: 6px;
}

.badge.soon {
  color: var(--muted);
  margin-left: 8px;
}

.fit-section {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.fit-section h2 {
  font-size: 34px;
}

.fit-section h2 span {
  color: var(--muted);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.fit-card {
  border: 1px solid var(--border);
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--surface);
}

.fit-card h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--blue);
  font-size: 18px;
}

.not-fit {
  background: var(--paper);
}

.not-fit h3 {
  color: var(--muted);
}

.not-fit h3 > span {
  width: 24px;
  font-size: 24px;
  line-height: 1;
}

.fit-card ul {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  line-height: 1.9;
  margin: 18px 0 0;
}

.fit-card li + li {
  margin-top: 10px;
}

.faq {
  padding-top: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.faq h2 {
  font-size: 34px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 23px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary > span {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
}

summary > span:before,
summary > span:after {
  content: "";
  position: absolute;
  background: var(--muted);
  left: 0;
  top: 6px;
  width: 14px;
  height: 1px;
}

summary > span:after {
  transform: rotate(90deg);
}

details[open] summary > span:after {
  transform: rotate(0);
}

details p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text);
  padding: 0 30px 24px 0;
}

.trial {
  background: var(--navy);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.trial-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.65;
  background: radial-gradient(ellipse at 10% 110%, var(--cyan) 0, transparent 36%),
    radial-gradient(ellipse at 30% 105%, var(--purple), transparent 48%),
    radial-gradient(ellipse at 5% 90%, var(--glow-blue), transparent 70%);
}

.trial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.trial-copy h2 {
  font-size: 40px;
}

.trial-copy > p {
  color: var(--palette-bec5da);
  margin-top: 22px;
  font-size: 15px;
}

.trial-next {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  margin: 36px 0;
  font-size: 13px;
  color: var(--palette-d0d5e2);
}

.trial-next > span {
  font-size: 10px;
  font-family: ui-monospace, monospace;
  color: var(--palette-afbad6);
  display: flex;
  align-items: center;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--palette-f0f3ff);
}

.text-link .icon {
  width: 19px;
  height: 19px;
}

.text-link:hover {
  color: var(--yellow);
}

.desktop-note {
  display: block;
  color: var(--palette-b5bdd4);
  font-size: 11px;
  margin-top: 8px;
}

.trial-form {
  padding: 32px;
  border: 1px solid var(--palette-ffffff24);
  background: var(--palette-ffffff08);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 8px;
}

.field label,
legend {
  font-size: 12px;
  color: var(--palette-e2e5f0);
  font-weight: 500;
}

input:not([type="radio"]),
textarea {
  background: var(--palette-070b2299);
  color: var(--white);
  width: 100%;
  min-width: 0;
  border: 1px solid var(--palette-ffffff30);
  border-radius: 5px;
  padding: 10px 12px;
  line-height: 1.6;
  font-size: 14px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

textarea::placeholder {
  color: var(--palette-939ab1);
  font-size: 12px;
}

input:not([type="radio"]):focus,
textarea:focus {
  border-color: var(--cyan);
}

fieldset {
  padding: 0;
  border: 0;
  margin: 0 0 20px;
  min-width: 0;
}

legend {
  padding: 0;
  margin-bottom: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--palette-ffffff20);
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
}

.radio-option:has(input:checked) {
  border-color: var(--palette-ffcf4877);
  background: var(--palette-ffc10008);
}

.radio-option input {
  accent-color: var(--yellow);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}

.radio-option small {
  font-size: 10px;
  color: var(--palette-ffe28d);
  background: var(--palette-ffc10014);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}

.submit-button {
  width: 100%;
}

.form-note {
  font-size: 11px;
  color: var(--palette-b4bcd2);
  text-align: center;
  margin-top: 12px;
}

#trial-status {
  font-size: 13px;
  line-height: 1.9;
  padding: 14px;
  margin-top: 16px;
  background: var(--palette-ffffff0c);
  border: 1px solid var(--palette-ffffff26);
  border-radius: 6px;
}

#trial-status a {
  margin-top: 12px;
  white-space: normal;
}

.trial-form noscript {
  font-size: 12px;
}

.trial-form noscript a {
  text-decoration: underline;
}

footer {
  padding: 36px 0;
  border-top: 1px solid var(--palette-ffffff15);
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 36px;
}

.footer-content img {
  width: 160px;
  height: auto;
}

.footer-content > p {
  font-size: 11px;
  color: var(--palette-8c909c);
}

.footer-content nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: var(--palette-b3b6c3);
}

.footer-content nav a:hover {
  color: var(--white);
}

html.js .reveal {
  transform: translateY(12px);
  transition: transform 0.6s;
}

html.js .reveal.visible {
  transform: none;
}

@keyframes glow-drift {
  from {
    transform: translate(-20px, 10px);
  }

  to {
    transform: translate(50px, -30px);
  }
}

@media (min-width: 1440px) {
  .hero {
    padding-top: 180px;
  }

  .hero-art {
    margin-right: -60px;
  }

  .hero h1 {
    font-size: 64px;
  }
}

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

  .nav-wrap,
  #navigation {
    gap: 18px;
  }

  .brand img {
    width: 145px;
    height: auto;
  }

  .nav-actions .small {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-art {
    margin-right: -20px;
  }

  .pain-card {
    padding: 24px;
  }

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

  .trial-layout {
    gap: 40px;
  }

  .trial-copy h2 {
    font-size: 34px;
  }

  .trust-heading {
    gap: 32px;
  }

  .hero-trust {
    gap: 16px;
    font-size: 12px;
  }

  .scenario-body {
    padding: 26px;
  }

  .scenario-title h3 {
    font-size: 23px;
  }

  .faq-layout {
    gap: 36px;
  }
}

@media (max-width: 860px) {
  :root {
    --section-space: 76px;
    --header-height: 70px;
  }

  .container,
  .nav-wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    height: var(--header-height);
  }

  .brand img {
    width: 165px;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--palette-ffffff30);
    border-radius: 6px;
    background: transparent;
    color: var(--white);
  }

  .menu-toggle span {
    height: 1px;
    width: 18px;
    background: var(--white);
    transition: transform 0.2s;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  #navigation {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--button-ink);
    padding: 20px;
    border-bottom: 1px solid var(--palette-ffffff25);
  }

  .menu-open #navigation {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    font-size: 15px;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--palette-ffffff10);
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav-actions .small {
    font-size: 14px;
    min-height: 46px;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-kicker {
    font-size: 10px;
    gap: 6px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero .button {
    font-size: 13px;
    padding: 12px 16px;
    gap: 8px;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 45px;
    padding: 24px 0;
    gap: 16px 24px;
  }

  .hero-note {
    font-size: 11px;
  }

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

  h2 {
    font-size: 34px;
  }

  .section-heading > p {
    font-size: 13px;
  }

  .scenario-grid {
    gap: 16px;
  }

  .scenario-title h3 {
    font-size: 21px;
  }

  .scenario-body {
    padding: 24px;
  }

  .scenario-fit {
    min-height: 80px;
  }

  .steps {
    gap: 20px;
  }

  .steps p {
    font-size: 12px;
  }

  .scenario-result {
    font-size: 12px;
  }

  .demo-shell [role="tabpanel"] {
    padding: 24px;
  }

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

  .trust-heading h2 {
    font-size: 32px;
  }

  .trust-heading figure {
    max-width: 280px;
  }

  .trial-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .trial-next {
    margin: 24px 0;
    gap: 10px;
  }

  .trial-form {
    max-width: 650px;
    width: 100%;
  }

  .trial-copy h2 {
    font-size: 38px;
  }

  .trial-copy > p br {
    display: none;
  }

  .footer-content {
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-content nav {
    gap: 18px;
  }

  .data-layout {
    gap: 32px;
  }

  .data-layout h2,
  .fit-section h2,
  .faq h2 {
    font-size: 30px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-space: 64px;
  }

  .container,
  .nav-wrap {
    width: calc(100% - 40px);
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    padding-top: 112px;
  }

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

  .hero-kicker {
    font-size: 10px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 20px;
  }

  .hero .button {
    font-size: 14px;
    padding: 13px 19px;
  }

  .hero-note {
    font-size: 11px;
    max-width: 340px;
  }

  .hero-art {
    margin: 25px -10px 0;
  }

  .hero-art img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
  }

  .hero-art figcaption {
    margin-top: 0;
    font-size: 10px;
  }

  .hero-trust {
    font-size: 11px;
    gap: 16px 8px;
    margin-top: 28px;
    padding: 24px 0;
  }

  .hero-trust > span {
    gap: 7px;
  }

  .hero-trust .icon {
    width: 17px;
    height: 17px;
  }

  .pains {
    border-radius: 18px 18px 0 0;
  }

  .eyebrow {
    font-size: 10px;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .eyebrow > span:first-child {
    font-size: 9px;
  }

  .eyebrow-line {
    width: 16px;
  }

  .mobile-break {
    display: block;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .pain-card {
    padding: 22px;
  }

  .card-top {
    margin-bottom: 16px;
  }

  .pain-card h3 {
    font-size: 18px;
  }

  .pain-card p {
    font-size: 13px;
  }

  .bridge {
    font-size: 23px;
    margin-top: 36px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .section-heading > p br {
    display: none;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scenario-image img {
    max-height: none;
  }

  .scenario-body {
    padding: 24px;
  }

  .scenario-title h3 {
    font-size: 23px;
  }

  .scenario-fit {
    min-height: 0;
    margin: 16px 0 24px;
  }

  .steps p {
    font-size: 13px;
  }

  .steps {
    gap: 24px;
  }

  .scenario-result {
    font-size: 13px;
    padding: 24px 0;
  }

  .scenario-body > .button {
    width: 100%;
  }

  .how-tabs {
    margin-bottom: 22px;
  }

  .how-tabs button {
    font-size: 14px;
    padding: 15px 4px;
  }

  .how-tabs button span {
    display: block;
    font-size: 10px;
    margin: 0 0 4px;
  }

  .browser-bar {
    padding: 0 12px;
    height: 40px;
    gap: 8px;
  }

  .browser-address {
    font-size: 12px;
  }

  .demo-label {
    display: none;
  }

  .browser-dots {
    gap: 4px;
  }

  .browser-dots i {
    width: 5px;
    height: 5px;
  }

  .demo-shell [role="tabpanel"] {
    padding: 18px 14px;
  }

  .demo-shell h3 {
    font-size: 17px;
  }

  .chat-heading {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .message {
    font-size: 12px;
    gap: 8px;
  }

  .message.user {
    margin-left: 16px;
    padding: 14px;
  }

  .message.assistant {
    margin-right: 0;
  }

  .progress-link {
    padding: 10px;
    font-size: 12px;
  }

  .chat-input {
    margin-top: 20px;
    padding: 12px;
    font-size: 12px;
  }

  .system-title {
    gap: 8px;
    margin-bottom: 18px;
    align-items: flex-start;
  }

  .pill {
    font-size: 12px;
    padding: 3px 8px;
  }

  .status-track {
    justify-content: flex-start;
    gap: 5px;
    font-size: 12px;
    line-height: 2;
  }

  .status-track .current {
    padding: 1px 6px;
  }

  .ui-card {
    padding: 16px 14px;
  }

  .decision {
    display: block;
  }

  .ui-link {
    display: inline-block;
    margin-top: 10px;
  }

  .decision p {
    font-size: 12px;
  }

  .check-list {
    font-size: 12px;
  }

  .check-list li {
    padding: 8px;
  }

  .check-list small {
    display: block;
    margin-left: 18px;
    font-size: 12px;
  }

  .ui-muted {
    font-size: 12px;
  }

  .development-strip {
    padding: 10px 2px;
    font-size: 12px;
    gap: 8px;
  }

  .development-strip small {
    font-size: 12px;
  }

  .comparison {
    gap: 10px;
  }

  .mini-nav {
    font-size: 12px;
    padding: 8px;
  }

  .mini-nav span {
    display: block;
    float: none;
    font-size: 12px;
  }

  .mini-content {
    padding: 10px 8px;
  }

  .mini-content > b {
    font-size: 12px;
  }

  .booking {
    font-size: 12px;
    gap: 5px;
    padding: 12px 0;
  }

  .booking small {
    font-size: 12px;
  }

  .booking-dot {
    width: 3px;
    height: 22px;
  }

  .conflict {
    font-size: 12px;
    padding: 5px;
    min-height: 38px;
  }

  .video-mock {
    padding: 12px;
    height: 90px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .video-mock small {
    font-size: 12px;
  }

  .video-line {
    flex-basis: 70%;
    margin-left: 0;
    order: 3;
  }

  .video-caption {
    margin-left: auto;
  }

  .review-actions > span {
    margin: 4px 0 0;
    width: 100%;
  }

  .review-actions {
    gap: 8px;
  }

  .demo-button {
    font-size: 12px;
    padding: 8px 10px;
  }

  .version-table table {
    font-size: 12px;
  }

  .version-table th {
    font-size: 12px;
  }

  td,
  th {
    padding: 13px 4px;
  }

  .version-note {
    font-size: 12px;
    gap: 7px;
  }

  .version-visual {
    gap: 6px;
    font-size: 12px;
    flex-wrap: wrap;
  }

  .version-visual > span {
    padding: 7px;
  }

  .version-visual > i {
    width: 10px;
  }

  .how-caption {
    display: block;
    font-size: 12px;
  }

  .how-caption > span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
  }

  .use-grid {
    gap: 12px;
    margin-top: 28px;
  }

  .use-card {
    padding: 18px 16px;
  }

  .use-top {
    margin-bottom: 14px;
    gap: 8px;
  }

  .use-top > span:not(.template-label) {
    font-size: 11px;
  }

  .use-top .icon {
    width: 20px;
    height: 20px;
  }

  .use-card h3 {
    font-size: 15px;
  }

  .use-card p {
    font-size: 12px;
  }

  .section-note {
    font-size: 11px;
  }

  .trust-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }

  .trust-heading h2 {
    font-size: 30px;
  }

  .trust-heading figure {
    max-width: 260px;
    justify-self: center;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-item {
    padding-top: 20px;
    gap: 14px;
  }

  .trust-item h3 {
    font-size: 17px;
  }

  .trust-item p {
    font-size: 13px;
  }

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

  .data-layout h2,
  .fit-section h2,
  .faq h2 {
    font-size: 30px;
  }

  .data-options h3 {
    font-size: 16px;
  }

  .data-options p {
    font-size: 12px;
  }

  .data-options > div {
    gap: 14px;
  }

  .fit-section {
    margin-top: 48px;
    padding-top: 42px;
  }

  .fit-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fit-card {
    padding: 24px;
  }

  .fit-card ul {
    font-size: 13px;
  }

  .faq-layout {
    gap: 24px;
  }

  summary {
    font-size: 14px;
    padding: 20px 0;
    gap: 18px;
  }

  details p {
    font-size: 13px;
    padding-right: 20px;
  }

  .trial-copy h2 {
    font-size: 30px;
  }

  .trial-copy > p {
    font-size: 14px;
  }

  .trial-form {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trial-layout {
    gap: 32px;
  }

  .radio-option {
    font-size: 12px;
    padding: 11px 10px;
  }

  .form-note {
    font-size: 10px;
  }

  .footer-content {
    gap: 16px;
  }

  .footer-content img {
    width: 140px;
  }

  .footer-content > p {
    margin-left: auto;
  }

  .footer-content nav {
    margin-left: 0;
    width: 100%;
    font-size: 11px;
    gap: 20px;
  }

  .trial-glow {
    opacity: 0.45;
  }
}

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

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }

  html.js .reveal {
    transform: none;
  }

  .button:hover {
    transform: none;
  }
}

/* 小字維持足夠對比；操作示意在深色偏好下仍使用原本的淺色 UI。 */
.demo-shell .ui-overline,
.demo-shell .ui-muted,
.demo-shell .decision p,
.demo-shell .check-list small,
.demo-shell .development-strip small,
.demo-shell .comparison-label,
.demo-shell .booking small,
.demo-shell .review-actions > span,
.demo-shell .version-note,
.demo-shell th,
.demo-shell .chat-input,
.demo-shell .browser-bar,
.demo-shell .demo-label {
  color: var(--palette-59697e);
}

.demo-shell .status-track {
  color: var(--palette-59697e);
}

.demo-shell .status-track .current {
  color: var(--palette-155ef2);
}

.demo-shell .mini-nav span {
  color: var(--palette-59697e);
}

.demo-shell .pill.neutral {
  color: var(--palette-59697e);
}

.demo-shell .version-visual {
  color: var(--palette-59697e);
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(34px, 9.7vw, 40px);
  }
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 20px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17191d;
    --surface: #1e2026;
    --ink: #f1f2f5;
    --text: #c1c4cc;
    --muted: #a0a6b1;
    --border: #363941;
    --blue: #78a4ff;
    --build-background: #21314c;
    --build-border: #354969;
    --build-text: #a7c4ff;
    --migrate-background: #3c3319;
    --migrate-border: #655227;
    --migrate-text: #ffe293;
    --step-background: #252932;
    --demo-border: #404754;
    --demo-shadow: #0002;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #17191d;
  --surface: #1e2026;
  --ink: #f1f2f5;
  --text: #c1c4cc;
  --muted: #a0a6b1;
  --border: #363941;
  --blue: #78a4ff;
  --build-background: #21314c;
  --build-border: #354969;
  --build-text: #a7c4ff;
  --migrate-background: #3c3319;
  --migrate-border: #655227;
  --migrate-text: #ffe293;
  --step-background: #252932;
  --demo-border: #404754;
  --demo-shadow: #0002;
  color-scheme: dark;
}
