/* aysrao website. Tokens match the aysrao dashboard (navy / violet; status colours keep their meaning).
   Fonts are self-hosted (SIL OFL, licences in /assets/fonts). No external requests. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #0f1630;
  --ink-2: #19223f;
  --ink-3: #2a3458;
  --paper: #f5f6fa;
  --surface: #ffffff;
  --line: #e1e4ee;
  --line-strong: #c9cee0;
  --muted: #4d5572;
  --violet: #5236d6;
  --violet-deep: #3d25b0;
  --violet-soft: #ece8ff;
  --cyan: #46c7d8;
  --pass: #13734a; --pass-bg: #e2f4ea;
  --hold: #8a5300; --hold-bg: #fff0d4;
  --info: #284f9e; --info-bg: #e6eefc;
  --stop: #c9343a;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --radius: 10px;
  font-family: var(--body);
  font-size: 106.25%;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; top: 8px; left: 8px; padding: 9px 14px; background: var(--surface); z-index: 10; border-radius: 6px; }
.skip:not(:focus) { transform: translateY(-200%); }
.wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }

/* Type */
h1, h2, h3 { font-family: var(--display); margin-top: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 760; margin-bottom: 22px; }
h1 em { font-style: normal; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 720; margin-bottom: 14px; }
h3 { font-size: 1.22rem; line-height: 1.25; font-weight: 680; margin-bottom: 6px; }
p { margin-top: 0; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.24rem); color: var(--muted); max-width: 52ch; }
.eyebrow { display: block; margin-bottom: 12px; font-weight: 650; font-size: .95rem; color: var(--violet); }
.eyebrow span { display: none; }
.category { color: var(--violet); font-weight: 650; font-size: .92rem; margin-bottom: 8px; }

/* Header */
header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.4) blur(8px); }
.bar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.5rem; font-weight: 760; letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo-mark { display: block; width: 34px; height: 34px; border-radius: 8px; }
header nav { display: flex; flex-wrap: wrap; gap: 4px clamp(10px, 2.2vw, 28px); }
header nav a { text-decoration: none; color: var(--muted); font-weight: 560; font-size: .96rem; padding-block: 6px; border-bottom: 2px solid transparent; }
header nav a:hover { color: var(--ink); }
header nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--violet); }
.nav-cta { text-decoration: none; padding: 9px 15px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 650; font-size: .94rem; }
.nav-cta:hover { background: var(--ink-3); }
.mobile-access { display: none; }

/* Buttons and links */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; }
.button { display: inline-block; text-decoration: none; padding: 13px 20px; border-radius: 9px; border: 1px solid transparent; background: var(--violet); color: #fff; font-weight: 650; cursor: pointer; }
.button:hover { background: var(--violet-deep); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.ghost:hover { border-color: var(--ink); background: transparent; }
.text-link, .story-link, .related a, .privacy-sections a, .contact-card a { color: var(--violet); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover, .story-link:hover, .related a:hover { color: var(--violet-deep); }
.reset-button, .next-button { padding: 9px 13px; border: 1px solid currentColor; border-radius: 8px; background: transparent; color: inherit; font-weight: 650; cursor: pointer; }
.next-button { color: var(--violet); }
button:disabled, button:disabled:hover { opacity: .55; cursor: default; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px 56px; align-items: end; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { color: var(--muted); margin-bottom: 4px; }
.band-ink { background: var(--ink); color: #e8ebf6; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink p { color: #c3c9de; }
.band-white { background: var(--surface); border-block: 1px solid var(--line); }

/* Status pills (meaning-bound colours) */
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; white-space: nowrap; font-size: .84rem; font-weight: 650; }
.green { background: var(--pass-bg); color: var(--pass); }
.amber { background: var(--hold-bg); color: var(--hold); }
.blue { background: var(--info-bg); color: var(--info); }

/* ---------- Home: hero with automation log ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-note { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); max-width: 50ch; }
.console { background: var(--ink); color: #dfe4f3; border-radius: 16px; box-shadow: 0 30px 70px rgba(15, 22, 48, .28), 0 0 0 1px rgba(255, 255, 255, .04) inset; overflow: hidden; }
.console-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #ffffff14; }
.console-title { display: flex; flex-direction: column; line-height: 1.3; }
.console-title strong { font-family: var(--display); font-size: 1.05rem; color: #fff; font-weight: 650; }
.console-title small { color: #9aa3c4; font-size: .82rem; }
.stop-switch { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; border-radius: 999px; border: 1px solid #ffffff26; background: #ffffff0d; color: #fff; font-weight: 650; font-size: .9rem; cursor: pointer; }
.stop-switch .knob { width: 34px; height: 20px; border-radius: 999px; background: #3fb37f; position: relative; transition: background .2s; }
.stop-switch .knob::after { content: ""; position: absolute; top: 3px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s; }
.stop-switch[aria-pressed="true"] .knob { background: var(--stop); }
.stop-switch[aria-pressed="true"] .knob::after { left: 3px; }
.log { list-style: none; margin: 0; padding: 8px 0; min-height: 336px; font-family: var(--mono); font-size: .84rem; }
.log li { display: grid; grid-template-columns: 44px 118px 1fr; gap: 10px; align-items: baseline; padding: 9px 18px; border-bottom: 1px solid #ffffff0b; }
.log li.fresh { animation: arrive .45s ease-out; }
.log time { color: #7f89ad; }
.log .tag { font-family: var(--body); font-weight: 650; font-size: .78rem; padding: 2px 8px; border-radius: 999px; justify-self: start; }
.tag.listed { background: #1d5b45; color: #c5f3dc; }
.tag.held { background: #5a4214; color: #ffe1a6; }
.tag.paid { background: #3a2d86; color: #ddd5ff; }
.tag.track { background: #1c4a66; color: #c9ecff; }
.tag.stop { background: #6b1f24; color: #ffd3d5; }
.log .why { color: #dfe4f3; }
.log .why b { color: #fff; font-weight: 500; }
.console-foot { padding: 12px 18px; border-top: 1px solid #ffffff14; font-size: .86rem; color: #aab2d0; min-height: 46px; }
.console.stopped .log li:not(.stopline) { opacity: .45; }
@keyframes arrive { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Checkpoint rail */
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: check; position: relative; }
.rail::before { content: ""; position: absolute; top: 19px; left: 19px; right: 8%; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.rail li { counter-increment: check; position: relative; padding-right: 18px; }
.rail li::before { content: counter(check); position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid var(--violet); color: var(--violet); font-family: var(--display); font-weight: 720; margin-bottom: 16px; }
.rail li:last-child::before { background: var(--violet); color: #fff; }
.rail h3 { font-size: 1.06rem; }
.rail p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

/* Ledger rows (product areas) */
.ledger { border-top: 2px solid var(--ink); }
.ledger article { display: grid; grid-template-columns: minmax(170px, .8fr) 2fr auto; gap: 12px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ledger h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0; }
.ledger p { color: var(--muted); margin: 0; max-width: 62ch; }
.ledger a { white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.chips li { padding: 3px 10px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-deep); font-weight: 600; font-size: .86rem; }

/* Never list */
.never { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.never li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid #ffffff1f; }
.never li::before { content: ""; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; border: 2px solid #ff8a8f; background: linear-gradient(135deg, transparent 45%, #ff8a8f 45%, #ff8a8f 55%, transparent 55%); }
.never strong { display: block; color: #fff; font-family: var(--display); font-size: 1.15rem; font-weight: 650; margin-bottom: 2px; }
.never span { color: #c3c9de; }

/* Growth stages */
.growth-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: stage; }
.growth-track article { counter-increment: stage; padding: 0 28px 0 0; }
.growth-track article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.growth-track .category::before { content: counter(stage) " · "; }
.growth-track p { color: var(--muted); }
.growth-track article :last-child { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px 64px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 16px 0; cursor: pointer; font-weight: 650; font-size: 1.04rem; }
summary::marker { color: var(--violet); }
details p { margin: 0 0 16px; color: var(--muted); }

/* Closing call to action */
.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 20px 40px; align-items: center; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band .actions { margin-top: 0; }

/* ---------- Shared subpage components (existing markup) ---------- */
.subpage-hero { padding-block: clamp(44px, 6vw, 84px); }
.feature-page h1, .order-page h1, .access-page h1, .contact-page h1, .privacy-page h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); margin-bottom: 16px; }
.feature-page .lead, .order-page .lead, .access-page .lead, .contact-page .lead, .privacy-page .lead { margin-top: 12px; }
.feature-ledger { border-top: 2px solid var(--ink); }
.feature-ledger article { display: grid; grid-template-columns: minmax(130px, .7fr) 2fr; gap: 18px 40px; border-bottom: 1px solid var(--line); padding: 24px 0; }
.feature-ledger article > span { font-weight: 700; color: var(--violet); }
.feature-ledger h2, .case-board h2, .access-card h2 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); }
.feature-ledger p, .order-details p, .access-card p, .ai-trace p { color: var(--muted); }
.feature-ledger article :last-child, .ai-trace article :last-child { margin-bottom: 0; }
.flow { background: var(--ink); color: #e8ebf6; }
.flow h2, .flow h3 { color: #fff; }
.flow p:not(.eyebrow) { color: #c3c9de; }
.flow .eyebrow { color: #b9a9ff; }
.application-grid, .case-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.application-grid { margin-top: 26px; }
.application-grid article { background: var(--ink-2); border: 1px solid #ffffff1a; border-radius: var(--radius); padding: 22px; }
.application-grid p { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article, .case-board article, .access-card, .form-card, .example-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 30px); }
.case-board { margin-top: 32px; }
.case-board article p:last-child { margin-bottom: 0; }
.story-grid, .example-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.story { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.story a { display: block; text-decoration: none; }
.story img, .hero-art { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--ink); }
.hero-art { border-radius: 14px; aspect-ratio: 3 / 2; box-shadow: 0 20px 50px rgba(15, 22, 48, .18); }
.story a > div { padding: clamp(18px, 3vw, 32px); }
.story h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.example-grid dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.example-grid dt { font-weight: 650; }
.example-grid dd { margin: 0; color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-block: 32px; border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid #ffffff1f; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 700; }
.steps p { margin-bottom: 0; }
.flow-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 7vw, 100px); }
.ai-masthead { padding-block: clamp(44px, 7vw, 96px) 0; background: var(--ink); color: #fff; text-align: center; }
.ai-masthead h1 { color: #fff; margin-inline: auto; max-width: 20ch; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.ai-masthead .eyebrow { color: #b9a9ff; }
.ai-masthead .lead { color: #c3c9de; margin-inline: auto; max-width: 58ch; }
.ai-wide { display: block; width: min(950px, 100%); height: auto; aspect-ratio: 2.6 / 1; object-fit: cover; margin: 32px auto 0; border-radius: 14px 14px 0 0; }
.ai-example, .order-header, .access-page { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.order-header { align-items: center; }
.ai-trace article { border-left: 2px solid var(--violet); padding: 12px 0 18px 20px; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.keyword-list li { padding: 4px 11px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-deep); font-weight: 600; }
.order-details { max-width: 830px; padding-top: 0; }
.access-card .button { margin-bottom: 16px; }

/* Product preview and demo */
.product-preview, .demo { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: 0 22px 55px rgba(15, 22, 48, .14); color: var(--ink); }
.preview-top, .demo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 13px 18px; border-bottom: 1px solid var(--line); font-weight: 650; }
.demo-top { background: var(--ink); color: #fff; border-bottom: 0; }
.workspace { display: inline-flex; align-items: center; gap: 8px; }
.workspace .logo-mark { width: 26px; height: 26px; }
.preview-label { color: var(--muted); font-size: .86rem; }
.preview-content, .demo-body { padding: clamp(15px, 2.4vw, 26px); }
.preview-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 16px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.metrics div { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.metrics span { font-size: .84rem; color: var(--muted); display: block; line-height: 1.25; }
.metrics strong { font-family: var(--display); font-size: 1.4rem; display: block; margin-top: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
th, td { padding: 10px 6px; border-top: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.demo-page { max-width: 880px; }
.demo-intro h1 { margin-bottom: 14px; }
.demo-intro p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }
.demo-controls { display: flex; gap: 4px; width: fit-content; padding: 4px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; margin-bottom: 20px; }
.demo-controls button { border: 1px solid transparent; border-radius: 7px; padding: 7px 12px; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 650; cursor: pointer; }
.demo-controls button[aria-pressed="true"] { border-color: var(--line); background: var(--surface); color: var(--ink); }
.demo-title { font-size: 1.5rem; margin-bottom: 5px; }
.demo-description { color: var(--muted); margin-bottom: 12px; }
.demo-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.demo-feedback { margin: 12px 0 0; min-height: 1.6em; color: var(--pass); font-weight: 560; }

/* Contact, privacy, legal */
.contact-page { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(24px, 6vw, 76px); }
.contact-card { padding: 18px 0; border-top: 1px solid var(--line); margin-top: 24px; }
.contact-card h2, .form-card h2, .privacy-sections h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.form-card p, .privacy-sections p { color: var(--muted); }
.form-card form, .contact-fields { display: grid; gap: 14px; }
.contact-fields { grid-template-columns: 1fr 1fr; }
.form-card label { display: grid; gap: 6px; font-weight: 650; min-width: 0; }
.form-card :is(input, select, textarea) { width: 100%; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; font-weight: 400; }
.form-card :is(input, select, textarea):focus { border-color: var(--violet); }
.form-card textarea { resize: vertical; }
.form-card .form-note { font-size: .9rem; margin-bottom: 0; }
.form-card .button { justify-self: start; }
.copy-draft { margin-top: 20px; }
.copy-draft button { margin-top: 10px; }
.privacy-page { max-width: 860px; }
.privacy-sections article { padding: 18px 0; border-top: 1px solid var(--line); }
.privacy-sections p { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c3c9de; padding-block: 44px; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid p { margin: 12px 0 0; color: #aab2d0; }
.footer-grid nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid strong { color: #fff; font-family: var(--display); font-weight: 650; }
.footer-grid a:not(.brand) { color: #c3c9de; text-decoration: none; }
.footer-grid a:not(.brand):hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid a[aria-current="page"] { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .rail { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .rail::before { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .section-head, .flow-grid, .faq, .contact-page, .ai-example, .order-header, .access-page, .cta-band { grid-template-columns: 1fr; }
  .never { grid-template-columns: 1fr; }
  .ledger article { grid-template-columns: 1fr; gap: 6px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  header .nav-cta { display: none; }
  .mobile-access { display: inline-block; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .bar { padding-block: 10px; }
  header nav { width: 100%; }
  .rail { grid-template-columns: 1fr; }
  .rail li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 0; }
  .rail li::before { margin: 0; grid-row: span 2; }
  .growth-track, .application-grid, .case-board, .story-grid, .example-grid, .cards, .feature-ledger article { grid-template-columns: 1fr; }
  .growth-track article, .growth-track article + article { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .contact-fields, .footer-grid { grid-template-columns: 1fr; }
  .log li { grid-template-columns: 40px 1fr; }
  .log .why { grid-column: 1 / -1; }
  .ai-wide { aspect-ratio: 1.8 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .log li.fresh { animation: none; }
  .stop-switch .knob, .stop-switch .knob::after { transition: none; }
}

/* Aysrao media and existing site information pages */
.site-footer .brand .logo-mark { background: #f0ebff; border-radius: 6px; padding: 3px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 5vw, 65px); }
.overview-art, .growth-art { display: block; width: 100%; height: auto; border: 1px solid #dfe4ec; border-radius: 12px; }
.overview-art { max-width: 430px; margin-top: 16px; }
.growth-art { aspect-ratio: 2.45; object-fit: cover; margin-bottom: 20px; }
.overview-video { min-width: 0; margin: 0; }
.overview-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #f2f1e8; border: 1px solid #dfe4ec; border-radius: 12px; }
.overview-video figcaption { margin-top: 8px; font-size: .9rem; }
@media (max-width: 720px) {
  .overview-grid { grid-template-columns: 1fr; }
  .growth-art { aspect-ratio: 1.78; }
}

/* Product presentation */
:root {
  --paper: #f7f7fb;
  --surface: #fff;
  --ink: #11152b;
  --muted: #4a5068;
  --violet: #5037c7;
  --line: #e3e3ed;
}
[id] { scroll-margin-top: 85px; }
.nav-menu { display: none; }
header .bar { flex-wrap: nowrap; }
header .brand { white-space: nowrap; }
header nav { gap: 4px clamp(8px, 1.65vw, 23px); }
header .nav-cta { white-space: nowrap; }
.button, .nav-cta { border-radius: 10px; }
.premium-art { margin: 0; min-width: 0; overflow: hidden; border-radius: 17px; }
.premium-art img { display: block; width: 100%; height: auto; }
.premium-hero {
  padding-block: clamp(52px, 7vw, 100px);
  background: radial-gradient(ellipse at 86% 20%, #28224e, transparent 56%), #101429;
  color: #fff;
  border-bottom: 1px solid #292c47;
}
.premium-hero .hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(26px, 4vw, 58px); }
.premium-hero h1 { font-size: clamp(3rem, 6.1vw, 6.2rem); line-height: .96; letter-spacing: -.055em; color: #fff; max-width: 11ch; }
.premium-hero h1 em { color: #c2b5ff; }
.premium-hero .eyebrow { color: #d3cbf7; }
.premium-hero .lead { color: #e1def1; }
.premium-hero .button { background: #d6cbff; color: #201649; }
.premium-hero .button:hover { background: #e4dbff; }
.premium-hero .button.ghost { background: transparent; color: #fff; border-color: #9c94bb; }
.premium-hero .button.ghost:hover { background: #2b2549; }
.hero-illustration { border: 1px solid #4f496d; background: #171931; box-shadow: 0 24px 64px #0708186b; }
.hero-illustration img { aspect-ratio: 1.5; object-fit: cover; }
.workflow-band { background: #f0eef9; border-bottom: 1px solid var(--line); }
.workflow-grid, .checkpoint-layout, .growth-layout, .editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.workflow-copy p:not(.eyebrow), .checkpoint-intro p:not(.eyebrow) { color: var(--muted); }
.workflow-grid .console { border: 1px solid #393951; box-shadow: 0 20px 50px #24204826; }
.workflow-grid .log { min-height: 0; }
.workflow-grid .console-foot { margin: 0; }
.checkpoint-layout { align-items: start; }
.checkpoint-intro .premium-art { margin-top: 20px; border: 1px solid var(--line); background: #f4f1fb; }
.checkpoint-layout .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checkpoint-layout .rail::before { display: none; }
.checkpoint-layout .rail li { padding: clamp(13px, 2vw, 22px); border: 1px solid var(--line); border-radius: 12px; background: #faf9fe; }
.checkpoint-layout .rail li::before { width: 32px; height: 32px; border: 0; background: #eae5ff; color: #402aa4; font-size: .9rem; margin-bottom: 11px; }
.product-band .story-grid { gap: 18px; }
.premium-stories .story { border-radius: 16px; }
.premium-stories img { aspect-ratio: 1.85; background: #f3f1ea; }
.premium-stories a:hover .story-link { text-decoration-thickness: 2px; }
.premium-stories .story a:focus-visible { outline-offset: -4px; }
.premium-ledger { margin-top: 20px; border-top: 1px solid var(--line); }
.premium-home .band-ink { background: #181631; }
.premium-home .never li::before { border-color: #c0afff; background: linear-gradient(135deg, transparent 45%, #c0afff 45%, #c0afff 55%, transparent 55%); }
.growth-layout { align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px clamp(20px, 4vw, 52px); }
.growth-layout .section-head { grid-column: 1 / -1; margin-bottom: 0; }
.growth-layout .growth-art { height: 100%; min-height: 280px; width: 100%; aspect-ratio: auto; object-fit: cover; margin: 0; }
.growth-layout .growth-track { grid-template-columns: 1fr; gap: 0; }
.growth-layout .growth-track article, .growth-layout .growth-track article + article { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
.growth-layout .growth-track article:first-child { padding-top: 0; border-top: 0; }
.growth-layout .growth-track .category::before { content: none; }
.overview-grid { align-items: center; }
.overview-grid p { color: var(--muted); }
.premium-home .cta-band { border: 1px solid #ded5fa; border-radius: 18px; background: #efebfb; padding: clamp(20px, 4vw, 46px); }
.ai-masthead { padding-block: clamp(44px, 7vw, 90px); background: #171731; text-align: left; }
.ai-masthead .eyebrow, .ai-masthead h1 em { color: #c8baff; }
.ai-masthead h1 { margin-inline: 0; max-width: 15ch; }
.ai-masthead .lead { margin-inline: 0; }
.ai-wide { margin: 0; width: 100%; border-radius: 16px; aspect-ratio: 1.48; border: 1px solid #45415f; background: #f3f1ea; }
.feature-intro { margin-bottom: 18px; }
.feature-art { border: 1px solid var(--line); margin-bottom: 30px; }
.feature-art img { aspect-ratio: 2.45; object-fit: cover; }
.order-header .hero-art { border: 1px solid var(--line); box-shadow: none; }
.demo, .access-card, .form-card { border-radius: 17px; }
.demo-controls { max-width: 100%; flex-wrap: wrap; }
@media (max-width: 900px) {
  header .bar { min-height: 64px; }
  header .bar > nav, header .bar > .nav-cta { display: none; }
  .nav-menu { display: block; border: 0; position: relative; }
  .nav-menu summary { list-style: none; font-size: .95rem; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 8px; }
  .nav-menu summary::-webkit-details-marker { display: none; }
  .nav-menu nav { position: absolute; top: calc(100% + 10px); right: 0; width: min(250px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 15px 40px #16123026; display: grid; gap: 0; }
  .nav-menu nav a { padding: 10px 12px; }
}
@media (max-width: 760px) {
  .premium-hero .hero-grid, .workflow-grid, .checkpoint-layout, .growth-layout, .editorial-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-illustration img, .feature-art img { aspect-ratio: 1.52; }
  .growth-layout .growth-art { min-height: 0; height: auto; aspect-ratio: 1.5; }
}
@media (max-width: 430px) {
  .premium-hero h1 { font-size: clamp(2.45rem, 12vw, 3.2rem); }
  .premium-hero .actions { gap: 9px; }
  .premium-hero .actions .button { padding-inline: 11px; font-size: .9rem; }
  .checkpoint-layout .rail { grid-template-columns: minmax(0, 1fr); }
}

.development-band { background: #ede9fa; border-block: 1px solid var(--line); }
.development-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 5vw, 65px); align-items: center; }
.development-grid p:not(.eyebrow), .roadmap-grid article > p:not(.category) { color: var(--muted); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.roadmap-grid article { background: #f7f5fe; border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 2.4vw, 27px); }
.roadmap-grid article p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .development-grid, .roadmap-grid { grid-template-columns: minmax(0, 1fr); } }

.demo-top .logo-mark { background: #f0ebff; border-radius: 5px; padding: 2px; }

/* Product catalog */
.catalog-cover{background:#191930;color:white;overflow:hidden}
.catalog-cover-grid{display:grid;grid-template-columns:1fr .95fr;align-items:center;gap:clamp(2rem,5vw,5rem);padding-block:clamp(2.5rem,5vw,5.5rem)}
.catalog-cover h1{color:white;max-width:13ch;font-size:clamp(2.7rem,5.5vw,5.2rem);line-height:1.02;letter-spacing:-.055em;margin:.45rem 0 1.15rem}
.catalog-cover p{color:#e0e0ef;max-width:55ch}.catalog-cover .catalog-kicker{font:500 .84rem var(--mono);color:#c4b8ff}
.catalog-cover img{width:100%;height:auto;aspect-ratio:1.42;object-fit:cover;border-radius:20px}
.catalog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1.1rem;margin-top:1.5rem}.catalog-download{color:white;text-underline-offset:.25em}
.catalog-body{padding-bottom:1.25rem}.catalog-jump,.home-catalog>.wrap{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem 1.8rem;padding-block:1.05rem}
.catalog-jump{border-bottom:1px solid var(--line-strong)}.catalog-jump a,.home-catalog a{color:var(--ink);font-weight:600;text-decoration:none;padding:.2rem 0}.catalog-jump a:hover,.home-catalog a:hover{text-decoration:underline;color:var(--violet)}
.home-catalog{background:white;border-block:1px solid var(--line)}.home-catalog .home-index{font-weight:750;color:var(--violet);margin-right:auto}
.module-section{padding:clamp(1.7rem,4vw,3rem) 0 .4rem;scroll-margin-top:5rem}.module-section h2{font-size:clamp(1.8rem,3vw,2.7rem);margin-bottom:1.15rem}
.module-grid{display:grid;grid-template-columns:.75fr 1fr 1fr;gap:1rem}.module-grid figure{margin:0;border-radius:14px;overflow:hidden;background:var(--violet-soft)}.module-grid figure img{width:100%;height:100%;object-fit:cover}
.module-card{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(1rem,2vw,1.7rem);scroll-margin-top:5rem}.module-card h3{margin:.65rem 0;font-size:clamp(1.25rem,2vw,1.7rem);line-height:1.15}.module-card p{color:var(--muted);margin:0 0 .8rem}.module-label{font:500 .84rem var(--mono);color:var(--violet-deep)}.module-card .sheet{font-weight:600;font-size:.92rem;color:var(--violet-deep);margin-top:auto;padding-top:1rem;text-underline-offset:.22em}
@media(max-width:900px){.module-grid{grid-template-columns:1fr 1fr}.module-grid figure{grid-column:1/-1;height:180px}.module-grid figure img{object-position:center 48%}}
@media(max-width:680px){.catalog-cover-grid,.module-grid{grid-template-columns:1fr}.catalog-cover-grid{gap:1.5rem}.catalog-cover img{max-height:240px}.home-catalog>.wrap{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.catalog-jump{gap:.65rem 1rem}}

.seller-front{background:linear-gradient(110deg,#f9f8ff,#eeedf8 68%,#e1ddfa);border-bottom-color:#ddd9ee;color:var(--ink);padding-block:clamp(2rem,5vw,4.8rem)}
.seller-front .hero-grid{grid-template-columns:1.04fr .96fr}.seller-front .hero-copy h1{max-width:none;color:#181635;font-size:clamp(3rem,5.6vw,5.7rem);line-height:1.03}.seller-front h1 em{color:#5c41ba}.seller-front .eyebrow{color:#54448a}.seller-front .lead{color:#484963;max-width:48ch}.seller-front .button{background:#47329e;color:white}.seller-front .button:hover{background:#38277f}.seller-front .button.ghost{color:#332957;border-color:#aaa4c2;background:transparent}.seller-front .button.ghost:hover{background:#e8e4f8}
.margin-preview{width:100%;margin:0;background:#fff;border:1px solid #d5d0e8;border-radius:20px;overflow:hidden;box-shadow:0 18px 48px #30225716}.margin-preview figcaption,.margin-preview dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.margin-preview figcaption{background:#211e3c;color:white;padding:.85rem 1.35rem}.margin-preview figcaption span,.margin-product small{font:.78rem var(--mono)}.margin-product{display:flex;align-items:center;gap:1rem;padding:1.2rem 1.35rem .7rem}.margin-product img{width:30%;height:auto;border-radius:9px}.margin-product h2{font-size:clamp(1.05rem,2vw,1.55rem);margin:.24rem 0}.margin-preview dl{margin:0;padding:0 1.35rem 1rem}.margin-preview dl>div{border-bottom:1px solid #eceaf2;padding:.36rem 0}.margin-preview dd{margin:0;font:500 .96rem var(--mono)}.margin-preview .margin-total{border:0;color:#315d50;font-weight:700;padding-top:.7rem}.margin-total dd{font-size:1.45rem}
.choice-band{background:#f8f8fc;padding:clamp(2.7rem,6vw,5.2rem) 0}.choice-title{text-align:center;margin:0 auto 2rem;max-width:42rem}.choice-title h2{margin-bottom:.55rem}.choice-title p,.choice-card p{color:var(--muted)}.choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.choice-card{padding:1.4rem;background:#fff;border:1px solid #dfdeeb;border-radius:15px;box-shadow:0 6px 20px #27234307}.choice-card svg{color:#5b42b9;margin-bottom:1.25rem}.choice-card h3{margin:0;font-size:1.22rem;line-height:1.24}.choice-card p{margin:.65rem 0 1rem}.choice-card a{color:#493799;font-size:.92rem;font-weight:650;text-underline-offset:.2em}
.site-footer.directory{background:#192345;padding:2.5rem 0 1.15rem;color:#dfe3f2}.directory-top,.directory-base{display:flex;align-items:center;justify-content:space-between;gap:1rem}.directory-top{border-bottom:1px solid #49516c;padding-bottom:1.6rem}.directory-top p{margin:.5rem 0 0}.directory-demo{border:1px solid #acb3cf;border-radius:8px;padding:.55rem 1rem;color:#fff;text-decoration:none}.directory-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:1.4rem;padding:2rem 0}.directory-grid h2{font-size:1.07rem;color:white;letter-spacing:normal;margin:0 0 .65rem}.directory-grid a{display:block;width:fit-content;padding:.23rem 0;color:#e3e5f1;text-decoration:none}.directory a:hover{text-decoration:underline;text-underline-offset:.2em}.directory-base{border-top:1px solid #49516c;padding-top:1rem;font-size:.9rem}
@media(max-width:900px){.choice-grid,.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.seller-front .hero-grid{grid-template-columns:1fr}.seller-front .hero-copy h1{font-size:clamp(2.7rem,9vw,4rem)}.margin-preview{max-width:550px}.choice-title{text-align:left}.choice-grid{grid-template-columns:1fr}.choice-card{display:flex;gap:1rem;padding:1.1rem}.choice-card svg{flex:none;margin:.1rem 0}.directory-top{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:500px){.directory-grid{grid-template-columns:1fr;gap:1.5rem}.directory-grid a{padding:.32rem 0}}
