:root {
  --ink: #0f1638;
  --ink-2: #3b4263;
  --muted: #646b8a;
  --navy: #212f8e;
  --primary: #0176d3;
  --primary-hover: #014486;
  --brand-1: #1c73ff;
  --brand-2: #2940ff;
  --brand-3: #561cff;
  --brand-4: #7a37ff;
  --brand-5: #a071ff;
  --brand-grad: linear-gradient(135deg, var(--brand-1), var(--brand-2) 25%, var(--brand-3) 50%, var(--brand-4) 75%, var(--brand-5));
  /* Guideline swatches: corner radius = 16% of the tile size */
  --tile-radius: 16%;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --line: #e4e6ef;
  --success: #2e844a;
  --danger: #ba0517;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 22, 56, .06), 0 12px 32px -8px rgba(15, 22, 56, .14);
  --shadow-lg: 0 2px 4px rgba(15, 22, 56, .06), 0 32px 64px -16px rgba(28, 49, 160, .28);
  --maxw: 1200px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "PingFang HK", "Noto Sans HK", "Microsoft JhengHei", sans-serif;
  --font-zh: "Noto Sans HK", "PingFang HK", "Geist", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[data-lang="zh"] body { font-family: var(--font-zh); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

html[data-lang="en"] [data-l="zh"],
html[data-lang="zh"] [data-l="en"] { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(1, 118, 211, .6); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #b9c3e6; background: var(--bg-soft); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1120px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 13px; font-size: 13.5px; }
}
.nav-links { position: relative; align-items: center; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; cursor: pointer; white-space: nowrap;
}
.nav-dd-btn:hover, .nav-dd.is-current > .nav-dd-btn, .nav-dd.open > .nav-dd-btn { color: var(--primary); }
.nav-chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-dd.open .nav-chev { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + 21px); left: -20px; z-index: 60;
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-dd.open .nav-dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
@media (hover: hover) and (min-width: 861px) {
  .nav-dd:hover .nav-dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-dd:hover > .nav-dd-btn { color: var(--primary); }
  .nav-dd:hover .nav-chev { transform: rotate(180deg); }
}
.nav-dd-product { width: min(960px, calc(100vw - 180px)); }
.nav-dd-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nav-dd-label { display: block; padding: 0 10px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-3); }
.nav-dd-panel a { display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; white-space: normal; transition: background .15s; }
.nav-dd-panel a:hover, .nav-dd-panel a[aria-current="page"] { background: var(--bg-soft); }
.nav-dd-panel a b { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.nav-dd-panel a[aria-current="page"] b { color: var(--primary); }
.nav-dd-panel a small { font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.nav-dd-base { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.nav-dd-base .nav-dd-label { padding: 0 6px 0 10px; }
.nav-dd-base a { padding: 7px 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-dd-base a[aria-current="page"] { color: var(--primary); }
.nav-dd-base .nav-dd-all { margin-left: auto; color: var(--primary); }
.nav-dd-uc { width: 400px; }
.nav-dd-list { display: grid; gap: 2px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); }
.lang-toggle button {
  border: 0; background: transparent; padding: 4px 10px; border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 22, 56, .12); }
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { top: 23px; }
.nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 40px;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(148, 113, 255, .18), transparent 70%),
    radial-gradient(50% 50% at 10% 0%, rgba(28, 115, 255, .14), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-soft));
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--navy); box-shadow: 0 1px 2px rgba(15, 22, 56, .05);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-grad); }
.hero h1 {
  margin-top: 20px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08;
  letter-spacing: -.035em; font-weight: 700; color: var(--ink);
}
html[data-lang="zh"] .hero h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: 0; line-height: 1.3; }
.hero h1, .section h2 { text-wrap: balance; color: var(--navy); }
.book-copy h2 { color: #fff; }
.nowrap { white-space: nowrap; }
.hero h1 em {
  font-style: normal; background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { list-style: none; margin-top: 28px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: #e6efff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230176d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-visual { position: relative; }
.browser {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: #f4f5f9; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dce8; }
.browser-bar i:nth-child(1) { background: #ff6159; }
.browser-bar i:nth-child(2) { background: #ffbd2e; }
.browser-bar i:nth-child(3) { background: #28c941; }
.browser-bar > span {
  margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--line);
  font-size: 12px; color: var(--muted); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero-visual .browser { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-visual .browser img { width: 100%; height: auto; }

.float-card {
  position: absolute; display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow); max-width: 270px; font-size: 13px; line-height: 1.45;
  animation: float 6s ease-in-out infinite;
}
.float-card b { font-size: 12px; color: var(--muted); font-weight: 600; display: block; }
.float-card p { color: var(--ink); margin-top: 2px; }
.float-msg { left: -36px; bottom: 18%; }
.float-ai { right: -18px; top: -22px; animation-delay: -3s; }
.ai-dot {
  flex: none; width: 24px; height: 24px; border-radius: var(--tile-radius); background: var(--brand-grad);
  color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.channels { margin-top: 64px; text-align: center; }
.channels p { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
html[data-lang="zh"] .channels p { letter-spacing: .1em; }
.channels ul {
  list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
}
.channels li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.channels li img { flex: none; }
/* Sections */
.section { padding: 104px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker.on-dark { background: none; color: #b9c8ff; -webkit-background-clip: initial; background-clip: initial; }
.section h2 {
  margin-top: 12px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.03em; font-weight: 700;
}
html[data-lang="zh"] .section h2 { letter-spacing: 0; line-height: 1.3; }
.sub { margin-top: 16px; font-size: 17px; color: var(--ink-2); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.gap-card {
  padding: 28px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line);
}
.gap-card .num { font-size: 13px; font-weight: 700; color: var(--danger); font-variant-numeric: tabular-nums; }
.gap-card h3 { margin-top: 12px; font-size: 18px; font-weight: 650; }
.gap-card p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* Why dialogue-based: three categories compared */
.why-grid { align-items: stretch; grid-template-rows: repeat(5, auto); }
.why-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(15, 22, 56, .04); }
.why-num { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.why-card h3 { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--navy); }
.why-card dl { display: contents; }
.why-good { margin-top: 18px; }
.why-gap { margin-top: 14px; }
.why-card dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.why-card dd { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.why-gap dt { color: var(--danger); }
.why-ours { margin: 18px -10px -6px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #eef3ff, #f3efff); }
.why-ours dt { color: var(--brand-3); }
.why-ours dd { color: var(--ink); }
.why-line { margin: 36px auto 0; max-width: 760px; text-align: center; font-size: 17px; color: var(--ink-2); }
.why-line b { color: var(--navy); }

/* How it works: touch points, AI agent and engine, inside enterprise controls */
.how { background: #fff; }
.how-guard { position: relative; padding: 28px; border: 2px dashed #c9c0ff; border-radius: 22px; background: rgba(255, 255, 255, .55); }
.how-flow { display: grid; grid-template-columns: minmax(0, 1.25fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; }
.how-col { display: grid; gap: 12px; }
.how-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-3); text-align: center; }
.how-box { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(15, 22, 56, .05); }
.how-box > b { display: block; font-size: 15px; color: var(--navy); }
.how-box > p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.how-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.how-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: #fff; }
.how-staff li { background: var(--bg-soft); }
.how-core { text-align: center; padding: 24px 18px; border: 0; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.how-core p { color: #d8ddff; }
.how-ai { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; background: var(--brand-grad); font-weight: 800; font-size: 18px; animation: howGlow 2.8s ease-in-out infinite; }
.how-does { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.how-does li { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; color: #fff; }
.how-plus { justify-self: center; font-size: 22px; font-weight: 700; color: var(--brand-3); line-height: 1; }
.how-kb { border-left: 4px solid var(--brand-1); }
.how-data { border-left: 4px solid var(--brand-4); }
.how-arrow { position: relative; height: 2px; margin: 0 8px; background: linear-gradient(90deg, #c9c0ff, #7a37ff); }
.how-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid #7a37ff; border-right: 0; }
.how-arrow i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #7a37ff; box-shadow: 0 0 0 4px rgba(122, 55, 255, .18); animation: howPulse 2.2s ease-in-out infinite; }
.how-arrow + .how-col + .how-arrow i { animation-delay: 1.1s; }
.how-rules { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 26px; }
.how-rules li { padding: 6px 12px; border-radius: 999px; background: #f3efff; color: var(--brand-3); font-size: 13px; font-weight: 600; }
.how-rules .how-rules-h { background: none; padding: 0 4px; color: var(--navy); font-weight: 700; }
@keyframes howPulse { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes howGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(160, 113, 255, .5); } 50% { box-shadow: 0 0 0 10px rgba(160, 113, 255, 0); } }
@media (max-width: 1080px) {
  .how-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .how-arrow { width: 2px; height: 40px; margin: 8px auto; background: linear-gradient(180deg, #c9c0ff, #7a37ff); }
  .how-arrow::after { right: auto; left: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 8px solid #7a37ff; border-bottom: 0; }
  .how-arrow i { left: -4px; animation-name: howPulseV; }
  .how-agent, .how-engine { max-width: 520px; width: 100%; justify-self: center; }
}
@keyframes howPulseV { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
@media (max-width: 600px) {
  .how-guard { padding: 16px; }
}

.hero-visual .use-frame, .proc-visual .use-frame { border: 0; border-radius: 0; }

/* Hero tabs: one screenshot per product area */
.hx-x:not(.on) { display: none !important; }
.hero-visual.hx .browser { transform: perspective(1800px) rotateY(-4deg) rotateX(1deg); }
.hx-url > span { white-space: nowrap; }
.hx-tabs {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
  margin-top: 20px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.hx-tab {
  position: relative; overflow: hidden; padding: 10px 6px 13px; border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
.hx-tab:hover { color: var(--ink); }
.hx-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.hx-tab i { position: absolute; left: 12px; bottom: 5px; width: 0; max-width: calc(100% - 24px); height: 3px; border-radius: 3px; background: var(--brand-grad); }
.hx .float-msg { bottom: 26%; }

/* Product modules */
.platform { background: var(--bg-soft); }
.mod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mod-card { display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.mod-card:hover { box-shadow: var(--shadow); border-color: #cfd6f3; }
.mod-card .pillar-icon { width: 48px; height: 48px; }
.mod-card h3 { margin-top: 16px; font-size: 20px; font-weight: 700; color: var(--navy); }
.mod-card > p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.mod-links { list-style: none; display: grid; gap: 2px; margin: 16px -10px 0; }
.mod-links a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--primary); transition: background .15s; }
.mod-links a:hover { background: var(--bg-soft); }
.mod-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.mod-chips li { padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.mod-stem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; height: 28px; }
.mod-stem i { justify-self: center; width: 2px; height: 100%; background: linear-gradient(180deg, #cfd6f3, var(--brand-3)); }
.mod-base {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: 32px; align-items: center;
  padding: 32px; border-radius: var(--radius); color: #fff;
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(160, 113, 255, .38), transparent 60%),
    radial-gradient(50% 140% at 0% 100%, rgba(28, 115, 255, .32), transparent 60%),
    #0d1440;
  box-shadow: 0 18px 40px -18px rgba(13, 20, 64, .55);
}
.mod-base-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9a6ff; }
.mod-base h3 { margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.mod-base-head p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.mod-base-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mod-base-list a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, border-color .2s; }
.mod-base-list a:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .24); }
.mod-base-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 16%; background: var(--brand-grad); }
.mod-base-ico svg { width: 24px; height: 24px; }
.mod-base-txt { display: grid; gap: 4px; }
.mod-base-txt b { font-size: 15.5px; font-weight: 700; color: #fff; }
.mod-base-txt small { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.mod-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; text-align: center; }
.mod-foot p { font-size: 15px; color: var(--ink-2); }
.mod-foot p a { color: var(--primary); font-weight: 600; }
.mod-foot p a:hover { text-decoration: underline; }

/* Build your own process */
.proc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.proc-steps { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.proc-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.proc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 38px; bottom: -14px; width: 2px; background: #e0d6ff; }
.proc-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f3efff; font-size: 13px; font-weight: 700; color: var(--brand-3); font-variant-numeric: tabular-nums; }
.proc-steps b { display: block; font-size: 16px; color: var(--navy); }
.proc-steps p { margin-top: 2px; font-size: 14.5px; color: var(--ink-2); }
.proc-also { margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.proc-also b { color: var(--navy); }
.proc-copy .cta-row { gap: 22px; margin-top: 16px; }

/* Use-case cards */
.ucases { background: var(--bg-soft); }
.ucard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ucard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ucard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd6f3; }
.ucard-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.ucard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s; }
.ucard:hover .ucard-img img { transform: scale(1.03); }
.ucard-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.ucard-team { align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: #e6efff; color: var(--primary); font-size: 12px; font-weight: 700; }
.ucard-title { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.ucard-desc { font-size: 14.5px; color: var(--ink-2); }
.ucard-stat { margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: #f3efff; font-size: 13.5px; color: var(--ink-2); }
.ucard-stat b { margin-right: 2px; font-size: 18px; color: var(--brand-3); }
.ucard-sample { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ucard-cta { border-color: transparent; color: #fff; background: radial-gradient(70% 70% at 100% 0%, rgba(148, 113, 255, .4), transparent 60%), #0d1440; }
.ucard-cta .ucard-body { justify-content: center; padding: 32px 28px; }
.ucard-cta .ucard-title { font-size: 22px; color: #fff; }
.ucard-cta .ucard-desc { color: #c9d1f2; }
.ucard-cta .btn { align-self: flex-start; margin-top: 12px; background: #fff; color: var(--navy); }

/* Enterprise AI */
.ai-ctrl { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.ai-ctrl li { padding: 16px 18px; border-radius: var(--radius); background: #f3efff; }
.ai-ctrl b { display: block; font-size: 15px; color: var(--navy); line-height: 1.35; }
.ai-ctrl span span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.ai-cta { justify-content: center; margin-top: 32px; }

/* Deployment strip */
.dep-strip { background: var(--bg-soft); }
.dep-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.dep-grid h2 { margin-bottom: 18px; }
.dep-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dep-cards article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dep-cards b { font-size: 17px; color: var(--navy); }
.dep-cards p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.dep-chips { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.dep-chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); }

@media (max-width: 1080px) {
  .mod-grid, .ucard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mod-stem { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 24px; }
  .mod-stem i:nth-child(n+3) { display: none; }
  .mod-base { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .proc-grid, .dep-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .proc-visual { max-width: 760px; }
  .ai-ctrl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mod-grid, .ucard-grid, .ai-ctrl, .dep-cards { grid-template-columns: minmax(0, 1fr); }
  .mod-stem { grid-template-columns: minmax(0, 1fr); }
  .mod-stem i:nth-child(n+2) { display: none; }
  .mod-base { padding: 24px 20px; }
  .mod-base-list { grid-template-columns: minmax(0, 1fr); }
  .mod-base-list a { flex-direction: row; align-items: flex-start; padding: 14px; }
  .mod-base-ico { flex: none; }
  .hx-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero-point-link { color: var(--primary); font-weight: 600; }
.hero-point-link:hover { text-decoration: underline; }
.sf-band { background: linear-gradient(135deg, #eef3ff, #f3efff); }
.ai-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
/* Screenshot with an animated cursor, highlight box and zoom (ai-anim.js) */
.use-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.use-frame img { display: block; width: 100%; height: auto; }
.use-box { position: absolute; border: 2px solid #7a37ff; border-radius: 6px; box-shadow: 0 0 0 4px rgba(122, 55, 255, .14); pointer-events: none; }
.use-canvas { position: relative; transform-origin: 0 0; transition: transform 1.2s cubic-bezier(.2, .8, .3, 1); }
.use-cursor { display: none; }
.ai-anim .use-box.static { display: none; }
.ai-anim .use-cursor {
  display: block; position: absolute; z-index: 2; width: 22px; height: 22px; margin: -3px 0 0 -3px; opacity: 0; pointer-events: none;
  transform-origin: 3px 3px; filter: drop-shadow(0 2px 3px rgba(15, 22, 56, .35));
  transition: left .9s cubic-bezier(.4, 0, .2, 1), top .9s cubic-bezier(.4, 0, .2, 1), opacity .3s;
}
.use-cursor svg { display: block; width: 100%; height: 100%; fill: #0f1638; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.ai-anim .use-cursor.show { opacity: 1; }
.use-cursor::after { content: ""; position: absolute; left: -8px; top: -8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(122, 55, 255, .4); opacity: 0; }
.use-cursor.click::after { animation: useClick .5s ease-out; }
@keyframes useClick { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.7); } }
.use-box.live { opacity: 0; transform: scale(1.05); transition: opacity .35s, transform .35s; }
.use-box.live.on { opacity: 1; transform: none; animation: useGlow 1.6s ease-out .35s; }
@keyframes useGlow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(122, 55, 255, .14); }
  40% { box-shadow: 0 0 0 10px rgba(122, 55, 255, .24); }
}
.sf-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.sf-copy .sub { margin-top: 16px; }
.sf-points { margin-top: 24px; }
.sf-visual .browser { transform: perspective(1800px) rotateY(-5deg) rotateX(2deg); transform-origin: right center; }
.sf-visual img { display: block; width: 100%; height: auto; }
.sf-visual figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
/* Icons: "blocks" set from design/icons, inlined by scripts/icons/apply_website.py */
.pillar-icon { width: 52px; height: 52px; }
.pillar-icon svg, .control-icon svg { display: block; width: 100%; height: 100%; }


.demo-note { margin-top: 40px; text-align: center; font-size: 13px; color: var(--muted); }


/* Compare */
.compare-table { max-width: 960px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-table .row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; }
.compare-table .row > span { padding: 18px 22px; font-size: 15px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.compare-table .head > span { border-top: 0; background: var(--bg-soft); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.compare-table .row > span:first-child { font-weight: 600; }
.compare-table .lose { color: var(--ink-2); }
.compare-table .lose::before { content: "×"; color: var(--danger); font-weight: 700; margin-right: 2px; }
.compare-table .win > span { background: linear-gradient(90deg, #eef3ff, #f3efff); font-weight: 600; }
.compare-table .gain { color: var(--success); }
.compare-table .gain::before { content: "✓"; font-weight: 700; margin-right: 2px; }

.industries { margin-top: 72px; text-align: center; }
.industries h3 { font-size: 20px; font-weight: 650; }
.industries ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.industries li { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); font-weight: 500; }

/* Book demo */
.book {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(148, 113, 255, .35), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(28, 115, 255, .3), transparent 60%),
    #0d1440;
  color: #fff;
}
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.book-copy h2 { color: #fff; }
.book-copy > p { margin-top: 18px; font-size: 17px; color: #c9d1f2; }
.book-list { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.book-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #e4e8fb; }
.book-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 700; }

.book-form {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 32px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .5); display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field legend { margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 10px 12px; border: 1px solid #cfd3e2; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(1, 118, 211, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips label > span {
  display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid #cfd3e2;
  font-size: 13px; font-weight: 500; color: var(--ink-2); transition: all .15s;
}
.chips input:checked + span { background: #e6efff; border-color: var(--primary); color: var(--primary); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(1, 118, 211, .25); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--success); font-weight: 600; }
.form-status.error { color: var(--danger); }
.form-status a { color: var(--primary); font-weight: 600; text-decoration: underline; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--primary); }
.form-legal { font-size: 12.5px; color: var(--muted); }
.form-legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* Customers (hidden until approved) */
.proof[hidden] { display: none; }
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 40px; }
.logo-wall li {
  height: 64px; display: grid; place-items: center; border: 1px dashed #c9cfe4; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: var(--muted); background: var(--bg-soft);
}
.quote { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; }
.quote-stat { font-size: 36px; font-weight: 700; letter-spacing: -.02em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.quote-stat-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.quote blockquote { margin-top: 16px; font-size: 15.5px; color: var(--ink); flex: 1; }
.quote figcaption { margin-top: 20px; display: grid; font-size: 14px; }
.quote figcaption span { color: var(--muted); }

/* Security & hosting */
.trust { background: var(--bg-soft); }
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.deploy { position: relative; display: flex; flex-direction: column; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.deploy-private { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--brand-grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow); }
.deploy-icon { display: block; width: 56px; height: 56px; }
.deploy-icon svg { display: block; width: 100%; height: 100%; }
.deploy-tag { position: absolute; top: 32px; right: 32px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--primary); background: #eef3ff; }
.deploy-private .deploy-tag { color: #561cff; background: #f1ebff; }
.deploy h3 { margin-top: 20px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.deploy > p:not(.deploy-foot) { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.deploy-list { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.deploy-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.deploy-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #e6efff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230176d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.deploy-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.deploy-foot a { color: var(--primary); }
.trust-sub { margin: 56px 0 20px; font-size: 18px; font-weight: 650; color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.host-card {
  padding: 32px; border-radius: 18px; color: #fff; display: flex; flex-direction: column;
  background: radial-gradient(80% 90% at 100% 0%, rgba(255, 106, 0, .28), transparent 60%), #0d1440;
}
.host-head { display: flex; align-items: center; gap: 16px; }
/* Official Alibaba Cloud artwork: resize proportionally only, never recolour or redraw */
.host-logo { display: block; width: auto; height: 30px; margin: 10px 0 8px; }
.host-head div { display: grid; justify-items: start; }
.host-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #ffb27a; }
.host-region { font-size: 14px; color: #c9d1f2; }
.host-copy { margin-top: 24px; font-size: 15px; color: #dfe4fb; }
.cert-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cert-list li {
  padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
}
.host-note { margin-top: auto; padding-top: 24px; font-size: 12.5px; color: #9ea9d6; }
.host-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.control { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.control-icon { flex: none; width: 48px; height: 48px; }
.control h3 { font-size: 16px; font-weight: 650; line-height: 1.35; }
.control p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.control a { color: var(--primary); font-weight: 600; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: #cfd6f3; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; position: relative;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--primary); font-size: 18px; font-weight: 500; transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; font-size: 15px; color: var(--ink-2); }
.faq-item p a { color: var(--primary); font-weight: 600; white-space: nowrap; }

/* Footer */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1.3fr 1fr .8fr; gap: 32px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 14px; max-width: 22em; }
.footer-host { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.footer-host i { width: 21px; height: 13px; background: url("assets/partners/alibaba-cloud-mark.svg") center / contain no-repeat; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Mobile: CTA inside the menu + sticky bottom bar */
.nav-links .nav-cta { display: none; }
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .nav-links .nav-cta {
    display: flex; margin-top: 12px; border: 0; color: #fff; justify-content: center;
  }
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 72px; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 760px; }
  .hero-visual .browser { transform: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .sf-grid { grid-template-columns: 1fr; gap: 40px; }
  .sf-visual { max-width: 760px; }
  .sf-visual .browser { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav-links { align-items: stretch; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-links > a, .nav-dd-btn { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-dd-btn { width: 100%; justify-content: space-between; }
  .nav-dd-panel {
    position: static; display: none; width: auto; padding: 6px 0 10px; border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none; border-bottom: 1px solid var(--line);
  }
  .nav-dd-panel::before { display: none; }
  .nav-dd.open .nav-dd-panel { display: block; }
  .nav-dd-cols { grid-template-columns: 1fr; gap: 10px; }
  .nav-dd-label { padding-top: 6px; }
  .nav-dd-panel a small { display: none; }
  .nav-dd-base { display: grid; gap: 0; margin-top: 10px; padding-top: 6px; }
  .nav-dd-base a { padding: 9px 10px; }
  .nav-dd-base .nav-dd-all { margin-left: 0; }
  .nav.open .nav-links { display: flex; }
  .nav-burger { display: block; }
  .nav-actions .btn-primary { display: none; }
  .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-rows: none; }
  .why-card { grid-row: auto; grid-template-rows: none; }
  .float-msg { left: 8px; bottom: -28px; }
  .float-ai { right: 8px; top: -28px; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .grid-4, .field-row { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .compare-table .row { grid-template-columns: 1fr; }
  .compare-table .head { display: none; }
  .compare-table .row > span { border-top: 0; padding: 6px 18px; }
  .compare-table .row > span:first-child { padding-top: 16px; border-top: 1px solid var(--line); }
  .compare-table .row > span:last-child { padding-bottom: 16px; }
  .compare-table .row:nth-child(2) > span:first-child { border-top: 0; }
  .book-form { padding: 22px; }
  .controls, .deploy-grid { grid-template-columns: 1fr; }
  .deploy { padding: 24px; }
  .deploy-tag { position: static; align-self: flex-start; margin-top: 16px; }
  .deploy h3 { margin-top: 8px; }
  .control { flex-direction: row; padding: 20px; }
  .host-card { padding: 24px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .faq-item summary { font-size: 15px; padding: 16px 48px 16px 18px; }
  .faq-item p { padding: 0 18px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card, .how-arrow i, .how-ai { animation: none; }
  .how-arrow i { display: none; }
}
