/* AILIS — static, dependency-free website.
   Layout: 1192px content / 960px tablet / 760px mobile / 400px compact mobile. */
:root {
  --paper: #f8faff;
  --surface: #ffffff;
  --ink: #1e293b;
  --muted: #52647a;
  --quiet: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #e8f0ff;
  --line: #dce5f0;
  --line-strong: #c6d7ec;
  --green: #376758;
  --amber: #805b26;
  --radius: 20px;
  --content-width: 1192px;
  --header-height: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; min-width: 280px; }
[hidden] { display: none !important; }
::selection { background: #dbeafe; color: #1e3a8a; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, code:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
p, h1, h2, h3, figure { margin: 0; }
button, input { color: inherit; }
button { border: 0; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.wrap { width: min(var(--content-width), calc(100% - 96px)); margin-inline: auto; }
.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; }
.skip { position: fixed; top: 12px; left: 16px; z-index: 200; padding: 10px 18px; background: var(--surface); border: 1px solid var(--accent); border-radius: 8px; }
.skip:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; border: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 12px; background: var(--accent); color: #ffffff; font-weight: 650; font-size: 15px; line-height: 1.5; text-align: center; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover { background: var(--accent-hover); box-shadow: 0 4px 14px #1d4ed820; }
.button-small { min-height: 44px; padding: 10px 16px; gap: 8px; border-radius: 10px; font-size: 13px; }
.button-small .icon { width: 17px; height: 17px; }
.button-secondary { color: var(--accent); background: var(--surface); border-color: var(--line-strong); }
.button-secondary:hover { background: #edf4ff; border-color: var(--accent); box-shadow: none; }
.text-link, .quiet-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; line-height: 1.6; font-weight: 600; color: var(--accent); }
.quiet-link { color: var(--muted); font-weight: 500; }
.text-link:hover, .quiet-link:hover { text-decoration: underline; }
.text-link .icon, .quiet-link .icon { width: 17px; height: 17px; }
.mobile-break { display: none; }
.keep-phrase { white-space: nowrap; }

/* Header: the download entry stays visible; mobile navigation is a non-modal menu. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 32px; position: relative; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; }
.brand > img { object-fit: contain; }
.brand > span { display: inline-flex; align-items: center; gap: 14px; font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1.3; }
.brand-description { border-left: 1px solid var(--line-strong); padding-left: 14px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .15s ease; }
.site-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-picker { display: inline-flex; align-items: center; }
.language-picker select { min-height: 36px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 12px; }
.language-picker select:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; background: transparent; border: 1px solid var(--line); border-radius: 10px; }
.menu-toggle > span { position: absolute; left: 12px; width: 18px; height: 1.5px; background: var(--ink); transition: transform .18s ease, top .18s ease; }
.menu-toggle > span:first-child { top: 17px; }
.menu-toggle > span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] > span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero uses only the supplied character artwork. The conversation is labelled as a demo. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.025fr); gap: 68px; align-items: center; padding-block: 66px 58px; }
.hero-copy { padding-block: 12px 18px; }
.hero-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; color: var(--accent); font-size: 13px; font-weight: 550; }
.hero-eyebrow > .icon { width: 16px; height: 16px; }
.hero-eyebrow a { display: inline-flex; align-items: center; gap: 5px; margin-left: 3px; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 7px; line-height: 1.6; font-size: 11px; color: var(--muted); }
.hero-eyebrow a:hover { border-color: var(--accent); color: var(--accent); }
.hero-eyebrow a .icon { width: 12px; height: 12px; }
h1 { font-size: clamp(54px, 5.45vw, 79px); font-weight: 760; line-height: 1.24; letter-spacing: -3.5px; margin-bottom: 27px; }
.hero-mark { position: relative; color: var(--accent); white-space: nowrap; }
.hero-mark::after { content: ""; position: absolute; z-index: -1; bottom: .05em; left: 0; width: 95%; height: .15em; background: #cfe1ff; border-radius: 50% 20% 55% 25%; transform: rotate(-3deg); }
.hero-copy { isolation: isolate; }
.intro { font-size: 17px; line-height: 1.95; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-block: 30px 26px; }
.hero-actions .button { min-height: 54px; padding-inline: 23px; }
.hero-actions .text-link { font-size: 14px; }
.hero-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; color: var(--muted); font-size: 13px; }
.hero-platforms > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-platforms .icon { width: 14px; height: 14px; }
.hero-caption { margin-top: 9px; color: var(--quiet); font-size: 12px; letter-spacing: .1px; }
.hero-scene { min-width: 0; background: #e8f1ff; border: 1px solid #d4e3f7; border-radius: 25px; box-shadow: 0 16px 40px #1e407010; position: relative; }
.portrait-stage { position: relative; height: 194px; overflow: hidden; border-radius: 24px 24px 0 0; background-image: radial-gradient(#b7cdea 0.7px, transparent 0.7px); background-size: 15px 15px; background-position: 2px 5px; }
.portrait-copy { position: relative; z-index: 2; padding: 26px 0 0 29px; }
.tiny-label { display: block; margin-bottom: 8px; color: #486b97; font-size: 9px; font-weight: 650; letter-spacing: 2px; }
.portrait-copy p { font-size: 27px; font-weight: 650; line-height: 1.45; letter-spacing: -.6px; color: #24436b; }
.small-spark { display: inline-block; color: #729ddd; font-size: 25px; margin-left: 7px; vertical-align: 3px; }
.portrait-caption { display: inline-block; margin-top: 10px; color: #4c6c93; font-size: 10px; }
.portrait-ring { position: absolute; width: 212px; height: 212px; right: 24px; top: 17px; border: 1px solid #c6daf6; border-radius: 50%; background: #f1f7ff; }
.portrait-ring::before { content: ""; position: absolute; inset: -12px; border: 1px solid #d1e0f5; border-radius: 50%; }
.mascot { position: absolute; right: 24px; bottom: -3px; width: 192px; height: 192px; object-fit: contain; z-index: 2; }
.conversation-panel { position: relative; background: var(--surface); margin: 0 15px 15px; border: 1px solid #d7e3f2; border-radius: 16px; }
.demo-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 12px 16px; border-bottom: 1px solid #e8eef6; }
.demo-title { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #4c6480; }
.demo-title .icon { width: 14px; height: 14px; }
.demo-disclaimer { font-size: 10px; line-height: 1.7; color: var(--muted); background: #f0f5fb; border-radius: 5px; padding: 3px 7px; }
.conversation { padding: 16px 17px 18px; }
.user-bubble { background: #edf4ff; border: 1px solid #dfeafb; border-radius: 10px 10px 3px 10px; margin: 0 0 17px 40px; padding: 10px 13px; color: #35506f; font-size: 12px; line-height: 1.7; }
.reply { display: flex; gap: 9px; font-size: 12px; line-height: 1.75; }
.avatar { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; background: #e7f0ff; color: var(--accent); border-radius: 7px; font-size: 11px; font-weight: 750; }
.reply > div { min-width: 0; }
.reply strong { font-size: 12px; font-weight: 600; color: #293e58; }
.reply p { color: #5b6d83; margin-top: 4px; }
.human-note { margin: 12px 0 14px 33px; border-left: 2px solid #9dbef1; padding: 8px 11px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; background: #f8fbff; font-size: 11px; line-height: 1.7; }
.human-note > span { color: var(--accent); font-size: 9px; padding: 1px 5px; border-radius: 4px; background: #e6efff; }
.human-note p { color: #4d6683; }

/* Release information is sourced from the provided v1.4.6 catalog. */
.release-strip { display: flex; align-items: center; gap: 26px; border: 1px solid var(--line); background: #f1f6fd; border-radius: 13px; padding: 14px 22px; font-size: 12px; color: var(--muted); }
.release-version { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.release-tag { font-size: 9px; font-weight: 650; letter-spacing: 1px; color: var(--accent); border: 1px solid #c8daf3; border-radius: 5px; background: #fcfdff; padding: 3px 7px; }
.release-version strong { margin-left: 5px; font-weight: 700; color: var(--ink); }
.release-description { border-left: 1px solid var(--line-strong); padding-left: 25px; }
.release-strip > .text-link { margin-left: auto; font-size: 12px; min-height: 36px; }
.section { padding-block: 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 35px; }
.section-heading > div:first-child { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .4px; }
.eyebrow > span { font-size: 10px; color: #5c7391; border: 1px solid #d1dff1; border-radius: 5px; padding: 0 5px; font-weight: 600; line-height: 1.8; font-variant-numeric: tabular-nums; }
h2 { font-size: clamp(28px, 2.7vw, 36px); font-weight: 700; line-height: 1.4; letter-spacing: -1.1px; }
h3 { font-size: 20px; font-weight: 650; line-height: 1.5; letter-spacing: -.35px; }
.section-description, .section-intro { font-size: 15px; color: var(--muted); line-height: 1.9; }
.section-description { padding-bottom: 3px; }
.section-intro { margin-top: 14px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { display: flex; flex-direction: column; padding: 27px 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.feature-icon { display: grid; place-items: center; width: 45px; height: 45px; background: #e7f0ff; color: #2b65cc; border: 1px solid #d8e6fc; border-radius: 13px; }
.feature-icon .icon { width: 22px; height: 22px; }
.feature-work .feature-icon { color: #3373a5; background: #edf5fb; border-color: #dce9f4; }
.feature-control .feature-icon { color: #4d6da8; background: #eef3fc; border-color: #dfe7f5; }
.card-index { color: var(--quiet); font-size: 10px; letter-spacing: .2px; }
.feature-card h3 { margin-bottom: 13px; font-size: 19px; }
.feature-card > p { color: var(--muted); font-size: 15px; line-height: 1.95; margin-bottom: 23px; }
.feature-note { display: flex; align-items: flex-start; gap: 7px; margin-top: auto; padding-top: 15px; border-top: 1px solid #e8eef6; color: var(--quiet); font-size: 12px; line-height: 1.8; }
.feature-note > .icon { width: 14px; height: 14px; margin-top: 3px; }

/* Download cards: long names and complete hashes wrap without horizontal scrolling. */
.download-section { background: #edf4fd; border-block: 1px solid #d8e4f2; }
.download-section .section { padding-block: 78px; }
.download-section .section-heading { align-items: center; margin-bottom: 28px; }
.download-release { display: flex; flex-direction: column; align-items: flex-end; color: var(--muted); font-size: 10px; line-height: 1.8; }
.version-chip { display: inline-block; background: var(--surface); border: 1px solid #c8daf5; padding: 4px 14px; border-radius: 8px; color: var(--accent); font-size: 19px; font-weight: 700; letter-spacing: -.7px; margin-bottom: 9px; }
.download-release time { font-size: 12px; font-variant-numeric: tabular-nums; }
.download-console { border: 1px solid #d0e0f3; border-radius: 22px; padding: 26px; background: #f8fbff; }
.download-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.platform-tabs { display: inline-flex; padding: 5px; border: 1px solid #d8e4f2; border-radius: 12px; background: #eaf1fc; gap: 4px; }
.platform-tabs button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 22px; border: 1px solid transparent; border-radius: 8px; color: #506887; font-size: 13px; font-weight: 550; background: transparent; transition: background-color .15s ease, color .15s ease; }
.platform-tabs button .icon { width: 15px; height: 15px; }
.platform-tabs button:hover { background: #dce9fb; }
.platform-tabs button[aria-pressed="true"] { background: var(--surface); border-color: #d1e0f4; color: #2455a4; box-shadow: 0 1px 4px #244b8210; }
.release-source { font-size: 12px; }
.platform-note { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 19px 0; }
.catalog-notice { background: #fff7e9; color: #7a5926; border: 1px solid #f0ddbc; padding: 10px 12px; font-size: 12px; border-radius: 8px; margin-bottom: 18px; }
.download-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.download-card { min-width: 0; background: var(--surface); border: 1px solid #d8e4f2; border-radius: 14px; padding: 24px; }
.download-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.file-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #dfe9f7; background: #f5f9ff; border-radius: 10px; color: #547aa8; }
.file-icon .icon { width: 22px; height: 22px; }
.format-label { font-size: 10px; font-weight: 600; letter-spacing: .6px; border: 1px solid var(--line); padding: 3px 7px; border-radius: 5px; color: var(--quiet); }
.architecture { font-size: 12px; color: var(--quiet); margin-bottom: 5px; }
.download-card h3 { font-size: 21px; font-weight: 650; overflow-wrap: anywhere; }
.download-meta { margin: 8px 0 20px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.download-button { width: 100%; min-height: 48px; justify-content: space-between; border-radius: 9px; font-size: 13px; padding: 11px 16px; }
.download-button .icon { width: 17px; height: 17px; }
.checksum { margin-top: 12px; min-width: 0; font-size: 13px; }
.checksum summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 9px; min-height: 44px; color: var(--muted); list-style: none; }
.checksum summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.checksum summary::marker, .faq-list summary::marker { content: ""; }
.checksum summary .icon { width: 15px; height: 15px; transition: transform .18s ease; }
.checksum[open] summary .icon { transform: rotate(180deg); }
.checksum-content { padding-top: 10px; border-top: 1px solid #e5edf7; }
.checksum-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; margin-bottom: 5px; color: var(--quiet); font-size: 10px; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; min-width: 44px; padding: 6px 9px; margin-right: -5px; background: transparent; color: var(--accent); font-size: 10px; border-radius: 6px; }
.copy-button:hover { background: var(--accent-soft); }
.copy-button .icon { width: 12px; height: 12px; }
.checksum code { display: block; max-width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: break-all; white-space: pre-wrap; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: #395879; font-size: 11px; line-height: 1.8; background: #f3f7fc; border: 1px solid #e2ebf8; border-radius: 6px; padding: 9px 10px; user-select: all; }
.exact-size { font-size: 10px; color: var(--quiet); margin: 6px 0 9px; }
.copy-feedback { color: var(--accent); font-size: 11px; line-height: 1.8; }
.copy-feedback:not(:empty) { margin-top: 12px; }
.download-notes { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.install-warning { display: flex; align-items: flex-start; gap: 10px; padding: 15px 16px; border: 1px solid #e8dccb; border-radius: 10px; background: #faf5ed; color: #796345; margin-bottom: 15px; }
.install-warning > .icon { width: 18px; height: 18px; margin-top: 3px; color: #8e7045; }
.install-warning strong { display: block; font-size: 13px; font-weight: 650; margin-bottom: 3px; color: #775a30; }
.install-warning p { font-size: 13px; line-height: 1.9; }
.download-notes > .text-link { font-size: 13px; margin-top: 6px; }
.mobile-download-hint { display: none; }
.noscript-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.noscript-note a { color: var(--accent); text-decoration: underline; }
.download-loading { grid-column: 1 / -1; padding: 32px 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); font-size: 14px; min-height: 150px; display: flex; align-items: center; }
.download-error { grid-column: 1 / -1; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 25px; }
.download-error p { color: var(--muted); margin-block: 9px 20px; font-size: 14px; }
.error-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

/* Setup and service information. Checkout is a link to the configured payment page. */
.start-section { padding-bottom: 76px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; min-width: 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; height: 1px; background: var(--line-strong); left: 58px; right: -13px; }
.step-number { position: relative; z-index: 1; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #c8daf3; border-radius: 12px; color: var(--accent); background: #edf4ff; font-size: 15px; font-weight: 650; margin-bottom: 22px; }
.steps h3 { font-size: 18px; margin-bottom: 11px; }
.steps p { font-size: 15px; line-height: 1.95; color: var(--muted); }
.plans-section { padding-top: 67px; border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.plan-card { padding: 31px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.open-plan { background: #eff5ff; border-color: #c9dcf5; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.plan-icon { display: grid; place-items: center; width: 43px; height: 43px; color: var(--accent); border: 1px solid #d2e2f8; background: #fff; border-radius: 12px; }
.plan-icon .icon { width: 23px; height: 23px; }
.hosted-plan .plan-icon { background: #f3f6fa; color: var(--quiet); border-color: #e3eaf2; }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); font-size: 11px; line-height: 1.7; font-weight: 550; }
.available-pill { color: #527366; background: #f0f6f2; border-color: #d5e5da; }
.plan-card h3 { font-size: 18px; }
.plan-price { font-size: 32px; font-weight: 650; letter-spacing: -.7px; margin-block: 16px; line-height: 1.5; }
.plan-price > span { font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 12px; display: inline-block; }
.plan-card > p:not(.plan-price):not(.availability) { color: var(--muted); font-size: 15px; line-height: 1.95; }
.plan-list { display: grid; gap: 9px; padding: 21px 0 23px; margin: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 1.8; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; }
.plan-list .icon { width: 15px; height: 15px; margin-top: 3px; color: #6484ab; }
.open-plan .plan-list .icon { color: #4f76a8; }
.plan-card > .button { margin-top: auto; justify-content: space-between; min-height: 46px; padding: 10px 16px; font-size: 13px; border-radius: 9px; }
.availability { display: flex; align-items: flex-start; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; margin-top: auto; line-height: 1.9; }
.availability .icon { width: 15px; height: 15px; margin-top: 4px; }

/* Native disclosure widgets remain usable with JavaScript turned off. */
.faq-section { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.45fr); gap: 84px; padding-top: 12px; }
.faq-heading { padding-top: 8px; }
.faq-heading h2 { margin-bottom: 19px; }
.faq-heading > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.9; }
.faq-heading .text-link { margin-top: 13px; font-size: 12px; }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 16px); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 1px; min-height: 70px; font-size: 16px; line-height: 1.7; font-weight: 550; cursor: pointer; list-style: none; }
.faq-list summary > .icon { width: 17px; height: 17px; color: #5b7493; transition: transform .18s ease; }
.faq-list details[open] summary > .icon { transform: rotate(45deg); }
.faq-list details[open] summary { color: var(--accent); }
.faq-answer { padding: 0 26px 21px 1px; font-size: 14px; line-height: 1.95; color: var(--muted); overflow-wrap: anywhere; }
.faq-answer .text-link { font-size: 12px; margin-top: 10px; }

.closing-section { padding-bottom: 60px; }
.closing { padding: 36px 39px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: #e6f0ff; border: 1px solid #cdddf5; border-radius: 20px; }
.closing-copy { display: flex; align-items: center; gap: 23px; }
.closing-star { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; color: #6f99d2; }
.closing-star .icon { width: 51px; height: 51px; stroke-width: 1; }
.closing h2 { font-size: 28px; letter-spacing: -.7px; color: #254975; }
.closing p { color: #536f90; font-size: 11px; margin-top: 9px; }
.closing > .button { flex-shrink: 0; font-size: 13px; min-height: 48px; padding-inline: 20px; }
.site-footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 23px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; }
.footer-brand .brand > span { font-size: 23px; }
.footer-brand > p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.footer-links .icon { width: 15px; height: 15px; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 25px; border-top: 1px solid var(--line); padding-top: 21px; font-size: 12px; line-height: 1.9; color: var(--quiet); }
.footer-bottom > p:last-child { text-align: right; }

@media (min-width: 1600px) {
  .hero { padding-block: 84px 72px; }
}
@media (max-width: 1100px) {
  .brand-description { display: none; }
  .header-inner { gap: 24px; }
  .site-nav { gap: 21px; }
  .hero { gap: 38px; }
  .portrait-copy { padding-left: 22px; }
  .portrait-copy p { font-size: 24px; }
  .mascot { width: 174px; height: 174px; right: 10px; }
  .portrait-ring { width: 187px; height: 187px; right: 7px; top: 29px; }
  .feature-card { padding: 23px 22px; }
  .feature-card h3 { font-size: 18px; }
  .faq-section { gap: 55px; }
}
@media (max-width: 960px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 26px; padding-block: 50px; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
  h1 { font-size: 57px; letter-spacing: -2.8px; }
  .hero-eyebrow { gap: 7px; font-size: 12px; margin-bottom: 23px; }
  .hero-eyebrow a { margin-left: 0; }
  .intro { font-size: 15px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 18px; gap: 10px; font-size: 14px; }
  .hero-actions .text-link { font-size: 13px; }
  .portrait-stage { height: 169px; }
  .portrait-copy { padding-left: 19px; padding-top: 24px; }
  .portrait-copy p { font-size: 21px; }
  .small-spark { font-size: 20px; margin-left: 4px; }
  .mascot { width: 163px; height: 163px; right: 8px; }
  .portrait-ring { width: 161px; height: 161px; right: 10px; }
  .conversation-panel { margin-inline: 10px; margin-bottom: 10px; }
  .demo-caption { padding: 11px 13px; gap: 5px; }
  .demo-title { font-size: 10px; }
  .demo-disclaimer { font-size: 9px; padding-inline: 5px; }
  .conversation { padding: 14px 13px; }
  .user-bubble { margin-left: 23px; }
  .release-strip { gap: 15px; padding-inline: 17px; }
  .release-description { padding-left: 15px; font-size: 11px; }
  .section { padding-block: 70px; }
  .section-heading { gap: 20px; }
  .section-description { font-size: 12px; }
  .features { gap: 13px; }
  .feature-card { padding: 21px 18px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card > p { font-size: 14px; }
  .feature-note { font-size: 12px; }
  .download-console { padding: 22px; }
  .download-card { padding: 21px; }
  .plan-card { padding: 26px; }
  .steps { gap: 25px; }
  .plans-section { padding-top: 57px; }
  .faq-section { padding-top: 5px; gap: 40px; }
  .closing { padding: 30px; }
  .closing-copy { gap: 17px; }
  .closing h2 { font-size: 25px; }
  .closing-star { display: none; }
}

/* Mobile uses a genuine one-column layout, not a shrunken desktop canvas. */
@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: var(--header-height); gap: 12px; flex-wrap: wrap; }
  .brand > img { width: 34px; height: 34px; }
  .brand > span { font-size: 23px; }
  .brand { gap: 7px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .button { padding-inline: 12px; min-height: 44px; }
  .header-actions .desktop-label { display: none; }
  /* Without JS the full navigation stays in document flow. */
  .site-nav { width: 100%; order: 3; margin-left: 0; display: flex; justify-content: space-between; gap: 6px; padding: 0 0 8px; }
  .site-nav a { font-size: 12px; min-height: 44px; }
  .nav-enhanced .menu-toggle { display: block; }
  .nav-enhanced .site-nav { display: none; position: absolute; top: 100%; left: -20px; right: -20px; width: auto; padding: 10px 20px 17px; background: var(--paper); border-bottom: 1px solid var(--line-strong); box-shadow: 0 10px 20px #203c600d; }
  .nav-enhanced .site-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
  .nav-enhanced .site-nav a { padding: 10px 12px; font-size: 14px; min-height: 46px; border-radius: 8px; }
  .nav-enhanced .site-nav a:hover { background: var(--accent-soft); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 38px 32px; }
  .hero-copy { padding: 0; }
  .hero-eyebrow { margin-bottom: 21px; font-size: 12px; gap: 8px; }
  .hero-eyebrow a { min-height: 28px; padding-inline: 9px; margin-left: 3px; }
  h1 { font-size: clamp(53px, 10.1vw, 71px); line-height: 1.19; letter-spacing: -3px; margin-bottom: 23px; }
  .intro { font-size: 15px; line-height: 1.9; }
  .hero-actions { margin-block: 23px 20px; gap: 23px; }
  .hero-actions .button { min-height: 52px; padding-inline: 21px; gap: 16px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-platforms { font-size: 11px; gap: 18px; }
  .hero-caption { font-size: 11px; margin-top: 8px; }
  .hero-scene { width: 100%; max-width: 540px; justify-self: center; border-radius: 20px; box-shadow: 0 9px 22px #1e40700b; }
  .portrait-stage { height: 174px; border-radius: 19px 19px 0 0; }
  .portrait-copy { padding-top: 23px; padding-left: 24px; }
  .portrait-copy p { font-size: 25px; }
  .portrait-caption { margin-top: 9px; font-size: 10px; }
  .mascot { width: 178px; height: 178px; right: 21px; bottom: -8px; }
  .portrait-ring { width: 186px; height: 186px; top: 15px; right: 23px; }
  .conversation-panel { margin-inline: 11px; margin-bottom: 11px; border-radius: 12px; }
  .demo-caption { padding: 12px; }
  .demo-title { font-size: 11px; }
  .demo-disclaimer { font-size: 10px; }
  .conversation { padding: 14px; }
  .user-bubble { font-size: 13px; padding: 10px 12px; margin-bottom: 16px; margin-left: 30px; }
  .reply { font-size: 13px; line-height: 1.8; }
  .reply strong { font-size: 13px; }
  .human-note { font-size: 12px; }
  .human-note > span { font-size: 10px; }
  .release-strip { padding: 13px 15px; flex-wrap: wrap; gap: 5px 12px; border-radius: 11px; }
  .release-version { gap: 9px; font-size: 11px; }
  .release-description { border-left: 0; padding-left: 0; font-size: 11px; }
  .release-strip > .text-link { min-height: 44px; font-size: 11px; }
  .section { padding-block: 57px; }
  .section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
  h2 { font-size: 28px; letter-spacing: -.8px; line-height: 1.45; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .section-description, .section-intro { font-size: 14px; line-height: 1.85; }
  .section-description { padding: 0; }
  .section-intro { margin-top: 13px; }
  .desktop-break { display: none; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feature-card { padding: 22px; border-radius: 14px; }
  .feature-top { margin-bottom: 20px; }
  .feature-icon { width: 43px; height: 43px; border-radius: 11px; }
  .card-index { font-size: 11px; }
  .feature-card h3 { font-size: 20px; margin-bottom: 10px; }
  .feature-card > p { font-size: 14px; line-height: 1.9; margin-bottom: 18px; }
  .feature-note { font-size: 12px; line-height: 1.85; padding-top: 14px; }
  .feature-note > .icon { width: 15px; height: 15px; }
  .download-section .section { padding-block: 55px; }
  .download-section .section-heading { align-items: flex-start; margin-bottom: 20px; }
  .download-release { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 10px; }
  .version-chip { margin: 0 5px 0 0; font-size: 15px; padding: 2px 9px; border-radius: 6px; }
  .download-release time { font-size: 11px; }
  .download-console { padding: 16px; border-radius: 16px; }
  .download-toolbar { gap: 9px; }
  .platform-tabs { display: flex; width: 100%; border-radius: 10px; padding: 4px; gap: 2px; }
  .platform-tabs button { flex: 1 1 0; min-width: 0; padding: 10px 4px; gap: 6px; font-size: 12px; min-height: 46px; border-radius: 7px; }
  .platform-tabs button .icon { width: 14px; height: 14px; }
  .release-source { font-size: 11px; min-height: 44px; margin-left: auto; }
  .platform-note { font-size: 12px; margin-block: 7px 17px; }
  .download-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .download-card { padding: 20px; border-radius: 12px; }
  .download-card-top { margin-bottom: 15px; }
  .download-card h3 { font-size: 22px; }
  .architecture { font-size: 12px; }
  .format-label { font-size: 11px; }
  .download-meta { font-size: 12px; }
  .download-button { font-size: 14px; min-height: 50px; }
  .checksum { font-size: 12px; }
  .checksum summary { min-height: 46px; }
  .checksum-heading { font-size: 11px; }
  .checksum code { font-size: 12px; line-height: 1.8; }
  .copy-button { font-size: 11px; }
  .exact-size { font-size: 11px; }
  .mobile-download-hint { display: flex; gap: 8px; align-items: flex-start; color: #58708f; font-size: 12px; line-height: 1.85; margin-bottom: 18px; }
  .mobile-download-hint > .icon { width: 16px; height: 16px; margin-top: 3px; }
  .install-warning { padding: 14px 12px; gap: 8px; }
  .install-warning strong { font-size: 13px; }
  .install-warning p { font-size: 12px; }
  .download-notes { font-size: 12px; line-height: 1.95; margin-top: 18px; }
  .download-notes > .text-link { font-size: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
  .steps li:not(:last-child)::after { top: 46px; bottom: -14px; width: 1px; height: auto; left: 17px; right: auto; }
  .step-number { width: 36px; height: 36px; border-radius: 10px; margin: 0; }
  .steps h3 { font-size: 18px; margin-top: 3px; margin-bottom: 8px; }
  .steps p { font-size: 14px; line-height: 1.9; }
  .start-section .section-heading { gap: 6px; margin-bottom: 22px; }
  .start-section .section-heading .text-link { font-size: 12px; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .plan-card { padding: 25px 22px; border-radius: 15px; }
  .plan-top { margin-bottom: 21px; }
  .pill { font-size: 11px; }
  .plan-card h3 { font-size: 19px; }
  .plan-price { font-size: 31px; margin-block: 14px; }
  .plan-price > span { font-size: 12px; }
  .plan-card > p:not(.plan-price):not(.availability) { font-size: 14px; line-height: 1.9; }
  .plan-list { font-size: 13px; line-height: 1.9; gap: 10px; }
  .plan-card > .button { min-height: 48px; font-size: 14px; }
  .availability { font-size: 12px; }
  .faq-section { display: block; padding-top: 0; }
  .faq-heading { padding-top: 0; margin-bottom: 24px; }
  .faq-heading h2 { margin-bottom: 13px; }
  .faq-heading > p:not(.eyebrow) { font-size: 14px; }
  .faq-heading > p:not(.eyebrow) br { display: none; }
  .faq-heading .text-link { font-size: 12px; margin-top: 6px; }
  .faq-list summary { font-size: 14px; gap: 16px; padding-block: 19px; min-height: 65px; }
  .faq-list summary > .icon { width: 16px; height: 16px; }
  .faq-answer { font-size: 14px; line-height: 1.9; padding-right: 5px; }
  .closing-section { padding-bottom: 42px; }
  .closing { padding: 27px 23px; flex-direction: column; align-items: stretch; gap: 23px; border-radius: 16px; }
  .closing h2 { font-size: 24px; }
  .closing p { font-size: 11px; margin-top: 10px; }
  .closing > .button { min-height: 49px; font-size: 14px; justify-content: space-between; }
  .footer-top { gap: 16px; padding-bottom: 14px; }
  .footer-brand { gap: 15px; }
  .footer-links { gap: 8px 20px; }
  .footer-links a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; font-size: 11px; }
  .footer-bottom > p:last-child { text-align: left; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 32px); }
  .nav-enhanced .site-nav { left: -16px; right: -16px; padding-inline: 16px; }
  .mobile-break { display: initial; }
  .hero { padding-top: 32px; gap: 28px; }
  h1 { font-size: 55px; }
  .hero-eyebrow { font-size: 11px; gap: 7px; }
  .hero-eyebrow a { font-size: 10px; }
  .intro { font-size: 15px; }
  .portrait-copy { padding-left: 17px; }
  .portrait-copy p { font-size: 23px; }
  .mascot { right: 3px; width: 171px; height: 171px; bottom: -6px; }
  .portrait-ring { width: 161px; height: 161px; right: 10px; top: 23px; }
  .tiny-label { font-size: 9px; letter-spacing: 1.4px; }
  .portrait-caption { font-size: 9px; }
  .demo-caption { flex-direction: column; align-items: flex-start; gap: 7px; }
  .demo-disclaimer { font-size: 10px; }
  .conversation { padding: 13px 12px; }
  .user-bubble { margin-left: 20px; }
  .release-description { width: 100%; }
  .release-strip > .text-link { margin-left: 0; }
  .download-console { padding: 12px; }
  .download-card { padding: 18px; }
  .platform-tabs button { font-size: 11px; gap: 5px; }
  .platform-tabs button .icon { width: 13px; height: 13px; }
  .feature-card { padding: 21px; }
  h2 { font-size: 26px; }
  .closing { padding: 24px 20px; }
  .closing h2 { font-size: 22px; }
}
@media (max-width: 340px) {
  .hero-eyebrow { gap: 5px; }
  .hero-eyebrow a { margin-left: 0; padding-inline: 6px; }
  h1 { font-size: 51px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { padding-inline: 15px; gap: 8px; font-size: 13px; }
  .hero-actions .text-link { font-size: 12px; }
  .mascot { width: 150px; height: 150px; right: -3px; }
  .portrait-ring { width: 143px; height: 143px; right: 3px; top: 35px; }
  .portrait-copy p { font-size: 22px; }
  .small-spark { display: none; }
  .hero-platforms { gap: 12px; }
  .download-card h3 { font-size: 20px; }
  .platform-tabs button { gap: 4px; padding-inline: 2px; }
  .download-console { padding: 10px; }
  .download-card { padding: 15px; }
  .plan-card { padding-inline: 19px; }
  .plan-price { font-size: 28px; }
  .plan-price > span { margin-left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header { position: static; }
  .site-nav, .header-actions, .copy-button, .skip { display: none !important; }
  .wrap { width: 100%; }
  .hero { gap: 25px; padding-block: 30px; }
  .hero-scene { box-shadow: none; }
  .section { padding-block: 30px; }
  .feature-card, .download-card, .plan-card, .steps li { break-inside: avoid; }
  .closing-section { padding-bottom: 20px; }
  .footer-bottom { display: block; }
  .footer-bottom > p:last-child { text-align: left; }
}

/* Copy revision: purchase entry; the existing blue palette and mobile layout are retained. */
.hosted-plan { border-color: #adc9f5; background: #f0f6ff; }
.open-plan { background: var(--surface); border-color: var(--line); }
.hosted-plan .plan-icon { color: var(--accent); border-color: #ccddf8; background: var(--surface); }
.service-pill { color: #1d4ed8; background: #e4eeff; border-color: #bfd4f7; }
.plan-actions { margin-top: auto; }
.plan-actions > .button { width: 100%; justify-content: space-between; min-height: 48px; padding: 11px 16px; font-size: 14px; border-radius: 9px; }
.plan-footnote { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 11px; }
.checkout-status { margin-top: 12px; padding: 10px 12px; border: 1px solid #e8d7b9; border-radius: 8px; background: #fff8ec; color: #775627; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.checkout-status:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-checkout-link] { cursor: pointer; }
[data-checkout-link][aria-disabled="true"] { cursor: not-allowed; }
.button[data-checkout-link][aria-disabled="true"] { color: #ffffff; background: #64748b; box-shadow: none; }
.text-link[data-checkout-link][aria-disabled="true"] { color: var(--muted); text-decoration: none; }
@media (max-width: 760px) {
  .plan-actions > .button { min-height: 50px; }
  .hero-actions { gap: 14px 20px; }
}
@media (max-width: 400px) {
  .hero-actions { gap: 12px 16px; }
  .hero-actions .button { padding-inline: 17px; gap: 10px; }
}
@media (max-width: 340px) {
  .hero-actions .button { padding-inline: 14px; }
  .hero-actions { gap: 10px 12px; }
}
