:root {
  color-scheme: light;
  --ink: #231c17;
  --muted: #665950;
  --accent: #a13819;
  --accent-hover: #822b12;
  --accent-soft: #fcede2;
  --border: #e9dfd5;
  --radius: 16px;
  --nav-height: 72px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fffefa; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #a13819; outline-offset: 4px; }
section[id], main[id], body[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }

.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  color: white;
  background: var(--accent);
  padding: 12px 18px;
  border-radius: 8px;
}
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: #fffefbfa;
  border-bottom: 1px solid #eee5dc;
}
.nav { display: flex; min-height: var(--nav-height); align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.brand img { border-radius: 10px; }
.nav-links, .footer-links { display: flex; align-items: center; gap: clamp(15px, 3vw, 38px); }
.nav-links a, .footer-links a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current], .footer-links a:hover, .text-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }
.button {
  display: inline-flex;
  min-height: 50px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 650;
  transition: transform 160ms ease, color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: white; box-shadow: 0 4px 12px #a1381923; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { background: white; color: var(--ink); border-color: #ded0c3; }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.nav-download { min-height: 44px; font-size: 14px; }

.hero {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--nav-height) - 1px);
  background: linear-gradient(150deg, #fffdf8 32%, #fff2e4);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.36fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding-block: clamp(36px, 7svh, 96px);
}
.hero-category {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.45vw, 64px);
  font-weight: 730;
  line-height: 1.11;
  letter-spacing: -.062em;
}
.hero-description {
  max-width: 24em;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.75;
  text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-visual {
  min-width: 0;
  padding: clamp(16px, 2.7vw, 40px);
  border: 1px solid #efcdb2;
  border-radius: 24px;
  background:
    linear-gradient(#fff8ec66 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, #fff8ec66 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(ellipse at 16% 95%, #f2ab78, transparent 68%),
    linear-gradient(125deg, #f7c49d, #fff0d9);
}
.app-frame {
  margin: 0;
  padding: 5px;
  border: 1px solid #96604159;
  border-radius: 14px;
  background: #fff8ed;
  box-shadow: 0 15px 32px #8a3e242f, 0 3px 8px #8a3e241c;
}
.app-frame img { width: 100%; height: auto; border: 1px solid #ebe0d7; border-radius: 8px; }
.platform-strip { border-top: 1px solid var(--border); background: #fffdfa; }
.platform-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 101px;
  padding-block: 16px;
}
.platform-label {
  padding-right: 28px;
  border-right: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.platforms { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 18px; margin: 0; padding: 0; list-style: none; }
.platforms li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.platforms img { object-fit: contain; border-radius: 5px; }

.page-section { padding-block: clamp(64px, 9vw, 132px); }
.section-head { margin-bottom: 36px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.7vw, 54px);
  letter-spacing: -.055em;
  line-height: 1.16;
  text-wrap: balance;
}
.section-head p { margin: 13px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.workflow { background: #fffefa; }
.workflow-grid {
  display: grid;
  gap: 14px;
  padding: clamp(13px, 2vw, 26px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #f8f1e8;
}
.scenario-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.scenario-tabs button {
  position: relative;
  display: grid;
  align-content: center;
  gap: 5px;
  text-align: left;
  min-height: 79px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.scenario-tabs button:hover { color: var(--ink); background: #fffcf6; }
.scenario-tabs button[aria-selected="true"] { color: var(--accent); border-color: #e6c3ac; background: #fffdf8; }
.scenario-tabs strong { font-size: 17px; }
.scenario-tabs span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.scenario-frame { display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; min-height: 365px; border: 1px solid #e3d6ca; border-radius: var(--radius); background: #fdf9f5; }
.scenario-bar { display: flex; align-items: center; gap: 10px; padding: 14px clamp(20px, 5vw, 70px); background: white; border-bottom: 1px solid var(--border); }
.scenario-icon { width: 27px; height: 27px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 7px; }
.demo-label { color: var(--muted); font-size: 12px; margin-inline-start: auto; }
.conversation { display: grid; gap: 18px; align-content: center; padding: 24px clamp(20px, 5vw, 70px); }
.message { display: grid; justify-items: start; gap: 5px; }
.message span { padding-inline: 3px; color: var(--muted); font-size: 12px; }
.message p { margin: 0; max-width: min(48ch, 93%); padding: 10px 14px; font-size: 15px; line-height: 1.65; background: white; border: 1px solid var(--border); border-radius: 10px; }
.message-agent { justify-items: end; }
.message-agent p { border-color: #efd2bd; background: #fbe9dc; }
.scenario-outcome { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 13px clamp(20px, 5vw, 70px); border-top: 1px solid var(--border); background: white; font-size: 13px; }
.scenario-outcome b { color: var(--accent); }
.scenario-outcome span { color: var(--muted); }

.plans { background: #f8f3ed; }
.plans-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: start; gap: clamp(24px, 5vw, 80px); }
.plans-grid .section-head, .faq-grid .section-head, .download-grid .section-head { margin-bottom: 0; }
.plans-grid .text-link { margin-top: 14px; }
.plan-compare { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.plan-compare table { border-collapse: collapse; width: 100%; text-align: left; font-size: 15px; font-variant-numeric: tabular-nums; }
.plan-compare th, .plan-compare td { padding: 13px clamp(10px, 2.8vw, 32px); border-bottom: 1px solid #efe7df; }
.plan-compare thead { color: var(--muted); background: #f8f3ed; }
.plan-compare tr:last-child > * { border-bottom: 0; }
.plan-compare thead tr > * { border-bottom: 1px solid var(--border); }
.plan-compare tbody th { font-weight: 650; }
.trial-plan { background: #fff1e6; }
.trial-plan th { color: var(--accent); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; color: var(--accent); font-weight: 650; font-size: 15px; }

.faq-list { border-block: 1px solid var(--border); }
.faq-list details + details { border-top: 1px solid var(--border); }
.faq-list summary { position: relative; display: flex; align-items: center; min-height: 60px; padding: 12px 32px 12px 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; font-size: 22px; font-weight: 450; color: var(--accent); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { margin: 0; padding: 0 25px 18px 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.download { padding-block-end: 0; }
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(30px, 6vw, 80px);
  border-radius: 22px;
  color: #fff7ed;
  background: radial-gradient(ellipse at 90% 0%, #67351e, transparent 80%), #352119;
}
.download h2 { font-size: clamp(30px, 3.45vw, 50px); text-wrap: pretty; }
.download .section-head p, .setup span { color: #e8cdb8; }
.download .button { margin-top: 22px; border-color: #d6623a; }
.download :focus-visible { outline-color: #ffc396; }
.setup { margin: 0; padding-inline-start: 24px; }
.setup li { padding: 13px 0 13px 6px; border-bottom: 1px solid #ffffff35; }
.setup li:first-child { border-top: 1px solid #ffffff35; }
.setup li::marker { color: #ffbb90; font-variant-numeric: tabular-nums; font-weight: 680; }
.setup strong, .setup span { display: block; }
.setup strong { font-size: 16px; }
.setup span { margin-top: 4px; font-size: 14px; line-height: 1.5; }
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; }

@keyframes enter { from { opacity: .35; transform: translateY(8px); } }
[data-enter] { animation: enter 470ms ease-out both; }
.hero-visual[data-enter] { animation-delay: 60ms; }
.scenario-frame.is-changing .conversation { animation: enter 200ms ease-out both; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 56px); }
  .nav { gap: 15px; }
  .nav-links { gap: 15px; }
  .hero h1 { letter-spacing: -.055em; }
  .hero-inner { grid-template-columns: minmax(0, .98fr) minmax(0, 1.25fr); }
  .nav-links a { font-size: 13px; }
  .plan-compare th, .plan-compare td { padding-inline: clamp(9px, 1.75vw, 20px); }
}

@media (max-width: 840px) {
  :root { --nav-height: 62px; }
  .wrap { width: calc(100% - 36px); }
  .nav { flex-wrap: wrap; gap: 8px; }
  .site-header .brand { margin-right: auto; font-size: 14px; }
  .site-header .brand img { width: 32px; height: 32px; }
  .nav-download { padding-inline: 9px; font-size: 13px; }
  .menu-toggle {
    display: block;
    cursor: pointer;
    color: var(--ink);
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    min-height: 44px;
    padding-inline: 9px;
    font-size: 13px;
  }
  .nav-links { order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .nav-links a { border-top: 1px solid var(--border); }
  .site-header.has-menu .nav-links:not(.is-open) { display: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 32px; }
  .hero-category { margin-bottom: 13px; }
  .hero h1 { font-size: clamp(35px, 8.6vw, 64px); letter-spacing: -.05em; }
  .hero-description { line-height: 1.65; margin-top: 16px; }
  .actions { margin-top: 21px; }
  .hero-visual { border-radius: 16px; padding: clamp(12px, 3vw, 25px); }
  .app-frame { padding: 3px; border-radius: 9px; }
  .app-frame img { border-radius: 6px; }
  .platform-inner { grid-template-columns: 1fr; min-height: auto; gap: 12px; padding-block: 19px; }
  .platform-label { border-right: 0; padding-right: 0; font-size: 13px; }
  .platforms { justify-content: flex-start; gap: 9px 14px; }
  .platforms img { width: 18px; height: 18px; }
  .platforms li { font-size: 12px; gap: 5px; }
  .page-section { padding-block: 61px; }
  .download { padding-block: 44px 0; }
  .section-head { margin-bottom: 23px; }
  .section-head h2 { text-wrap: pretty; }
  .section-head p { font-size: 15px; }
  .plans-grid, .faq-grid, .download-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .workflow-grid { gap: 9px; }
  .scenario-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .scenario-tabs button { min-height: 48px; place-items: center; text-align: center; padding: 6px 2px; }
  .scenario-tabs span { display: none; }
  .scenario-tabs strong { font-size: 14px; }
  .scenario-bar, .scenario-outcome { padding-inline: 13px; }
  .scenario-frame { min-height: 308px; }
  .conversation { padding: 16px 13px; }
  .message p { font-size: 14px; }
  .plan-compare table { font-size: 12px; }
  .plan-compare th, .plan-compare td { padding: 11px 7px; }
}

@media (max-width: 430px) {
  .hero-inner { padding-top: 39px; gap: 26px; }
  .actions .button { padding-inline: 12px; min-height: 46px; font-size: 14px; }
  .download-grid { padding: 24px 20px; }
  .download .button { width: 100%; }
}

@media (max-width: 365px) {
  .wrap { width: calc(100% - 28px); }
  .nav { gap: 5px; }
  .site-header .brand { gap: 6px; font-size: 13px; }
  .nav-download, .menu-toggle { padding-inline: 6px; }
  .footer-links { gap: 9px; }
  .footer-inner .brand { font-size: 13px; }
  .footer-links a { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
