:root {
  --paper: #fffaf2;
  --paper-2: #f2f0ff;
  --ink: #20203a;
  --muted: #6e6b80;
  --line: #dedaf0;
  --blue: #315eea;
  --blue-soft: #d9e4ff;
  --orange: #ff6e45;
  --orange-soft: #ffe0d7;
  --green: #25a982;
  --green-soft: #d4f4e6;
  --electric-purple: #7c3aed;
  --electric-purple-soft: #e8ddff;
  --yellow: #f4c62f;
  --yellow-soft: #fff1b7;
  --violet: #8c61e8;
  --violet-soft: #e9ddff;
  --shadow: 0 24px 70px rgba(24, 48, 71, .13);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans SC", system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.button:focus-visible, .text-link:focus-visible, .header-action:focus-visible, .site-nav a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 20; padding: .65rem .9rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 5vw; background: rgba(255,250,242,.97); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(23,48,71,.05); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: .92rem; font-weight: 700; letter-spacing: .01em; }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; height: 1rem; }
.brand-mark span { display: block; width: 4px; border-radius: 6px; background: var(--blue); }
.brand-mark span:nth-child(1) { height: .6rem; }
.brand-mark span:nth-child(2) { height: 1rem; background: var(--electric-purple); }
.brand-mark span:nth-child(3) { height: .76rem; background: var(--yellow); }
.site-nav { display: flex; gap: 1.7rem; color: var(--muted); font-size: .82rem; }
.site-nav a, .text-link { transition: color .2s ease; }
.site-nav a:hover, .text-link:hover { color: var(--blue); }
.header-action { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: var(--blue); }

.section-pad { padding: 8.5rem 8vw; }
.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); gap: 6vw; align-items: center; padding-top: 9rem; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 1.1rem; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-title, h2 { margin: 0; font-size: clamp(3.25rem, 7vw, 6.8rem); line-height: 1.08; letter-spacing: 0; font-weight: 800; }
h2 { font-size: clamp(2.65rem, 5.2vw, 5.2rem); }
em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 560px; margin: 2rem 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem; border-radius: 999px; font-size: .85rem; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36,107,209,.2); }
.button-primary { background: var(--blue); color: white; }
.text-link { color: var(--ink); font-size: .85rem; font-weight: 700; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; margin-top: 3.3rem; color: var(--muted); font-size: .72rem; }
.status-dot { width: .5rem; height: .5rem; display: inline-block; border-radius: 999px; margin-right: .35rem; vertical-align: middle; }
.status-dot.blue { background: var(--blue); }.status-dot.orange { background: var(--orange); }.status-dot.green { background: var(--green); }
.hero-visual { position: relative; min-height: 560px; }
.hero-grid { position: absolute; inset: 5% 3% 9% 7%; background: #edf2ff; border: 1px solid rgba(49,94,234,.18); border-radius: 28px; opacity: .82; }
.hero-kicker { position: absolute; z-index: 2; top: 4%; right: 5%; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font-size: .7rem; font-weight: 700; }
.hero-card { position: absolute; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.card-notice { width: min(390px, 80%); top: 16%; left: 13%; padding: 1.35rem; transform: rotate(-4deg); }
.card-topline, .card-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .7rem; }
.mini-chip { padding: .25rem .5rem; color: var(--electric-purple); background: var(--electric-purple-soft); border-radius: 999px; font-weight: 700; }
.card-notice h2 { margin: 1.4rem 0 .7rem; font-size: 1.55rem; letter-spacing: 0; }
.card-notice p { margin: 0 0 1.2rem; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.card-check { right: 2%; bottom: 17%; display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; transform: rotate(5deg); }
.check-icon { display: grid; place-items: center; width: 2rem; height: 2rem; color: white; background: var(--green); border-radius: 50%; font-weight: 800; }
.card-check strong, .card-check small { display: block; }.card-check strong { font-size: .82rem; }.card-check small { margin-top: .25rem; color: var(--muted); font-size: .68rem; }
.hero-rail { position: absolute; right: 0; top: 12%; display: grid; gap: .4rem; }.hero-rail span { width: .4rem; height: .4rem; border-radius: 50%; background: var(--blue); opacity: .6; }.hero-rail span:nth-child(2) { background: var(--orange); }.hero-rail span:nth-child(3) { background: var(--green); }.hero-caption { position: absolute; bottom: 4%; right: 10%; color: var(--muted); font-size: .76rem; letter-spacing: .04em; }

.story { background: #e7f2ff; }
.section-intro { max-width: 720px; }.section-intro > p:last-child, .demo-intro-copy > p:last-of-type, .demo-shell-copy > p:last-of-type { max-width: 570px; margin: 1.7rem 0 0; color: var(--muted); line-height: 1.9; font-size: 1rem; }
.story-track { margin-top: 5rem; }.story-step { display: grid; grid-template-columns: 72px minmax(220px, .8fr) minmax(330px, 1.2fr); align-items: center; gap: 2rem; min-height: 220px; padding: 2rem 0; border-top: 1px solid rgba(23,48,71,.14); opacity: .38; transition: opacity .35s ease; }.story-step.is-active { opacity: 1; }.step-index { color: var(--orange); font-family: "DM Sans", sans-serif; font-size: 1rem; font-weight: 700; }.step-copy h3 { margin: 0; font-size: 1.45rem; letter-spacing: 0; }.step-copy p { margin: .7rem 0 0; max-width: 360px; color: var(--muted); line-height: 1.75; font-size: .88rem; }
.step-visual { min-height: 150px; display: flex; align-items: center; justify-content: center; position: relative; }.share-window, .consent-card, .visual-list { width: min(360px, 100%); padding: 1.05rem; border-radius: 16px; background: rgba(255,255,255,.82); border: 1px solid rgba(23,48,71,.12); box-shadow: 0 10px 30px rgba(23,48,71,.05); }.share-window b, .share-window strong, .share-window small { display: block; }.share-window b { color: var(--muted); font-size: .68rem; }.share-window strong { margin-top: .45rem; font-size: 1rem; }.share-window small { margin-top: .4rem; color: var(--blue); font-size: .73rem; }.share-arrow { position: absolute; right: -1.1rem; width: 1.35rem; height: 1.35rem; color: var(--orange); }.consent-card b, .consent-card strong, .consent-card small { display: block; }.consent-card b { color: var(--muted); font-size: .68rem; }.consent-card strong { margin: .45rem 0 .22rem; font-size: .92rem; }.consent-card small { color: var(--muted); font-size: .72rem; }.consent-card button { width: 100%; margin-top: .75rem; padding: .6rem; border: 0; border-radius: 999px; background: var(--blue); color: white; font-size: .75rem; font-weight: 700; }.visual-source { display: block; padding: 1.5rem 2rem; background: white; border: 1px solid var(--line); border-radius: 16px; }.source-line { display: block; height: .7rem; margin: .8rem 0; border-radius: 99px; background: #e0e5e3; }.line-one { width: 72%; }.line-two { width: 88%; }.line-three { width: 64%; }.source-line.active { background: #25a982; }.source-tag { position: absolute; right: 5%; bottom: 18%; padding: .38rem .55rem; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .66rem; font-weight: 700; }.visual-list { display: grid; gap: .55rem; background: transparent; border: 0; box-shadow: none; padding: 0; }.list-row { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; background: rgba(255,255,255,.9); border: 1px solid rgba(23,48,71,.14); border-radius: 12px; font-size: .8rem; }.list-row svg { width: .9rem; height: .9rem; flex: 0 0 auto; }.list-row.done { color: var(--green); }.list-row.warm { color: #c65318; }.story-progress { height: 2px; margin-top: 2rem; background: rgba(23,48,71,.15); }.story-progress span { display: block; width: 25%; height: 100%; background: var(--electric-purple); transform-origin: left center; }

.principles { background: var(--paper); }.principles-heading { max-width: 700px; }.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }.principle-card { min-height: 240px; padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); }.principle-card:nth-child(1) { background: var(--yellow-soft); border-color: #f3dc77; }.principle-card:nth-child(2) { background: var(--electric-purple-soft); border-color: #c9b8ff; }.principle-card:nth-child(3) { background: var(--violet-soft); border-color: #c7b0f6; }.principle-number { color: var(--orange); font: 700 1.1rem "DM Sans", sans-serif; }.principle-card h3 { margin: 3.5rem 0 .65rem; font-size: 1.2rem; }.principle-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.8; }

.demo-intro { padding-bottom: 6rem; background: var(--paper-2); }.demo-intro-copy { max-width: 760px; }.demo-contract { display: inline-flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 2rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--muted); font-size: .75rem; }.contract-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--electric-purple); }.contract-arrow { width: 1rem; height: 1rem; color: var(--blue); }
.demo-shell-section { min-height: 160vh; background: var(--paper-2); }.demo-shell-sticky { position: sticky; top: 0; min-height: 100vh; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(420px, 1fr); align-items: center; gap: 5vw; padding: 7rem 8vw 4rem; overflow: hidden; }.demo-shell-copy { max-width: 540px; }.shell-status { display: inline-flex; align-items: center; margin-top: 1.8rem; padding: .6rem .8rem; border: 1px solid #e6d7c8; border-radius: 999px; background: rgba(255,255,255,.62); color: var(--muted); font-size: .74rem; }
.phone-stage { position: relative; display: grid; place-items: center; min-height: 620px; }.phone-device { position: relative; z-index: 1; width: min(340px, 76vw); aspect-ratio: .51 / 1; padding: .68rem; border-radius: 44px; background: #20364a; box-shadow: 0 35px 80px rgba(23,48,71,.25), inset 0 0 0 2px #39576e; transform: translateY(8%); }.phone-island { position: absolute; z-index: 2; top: .94rem; left: 50%; width: 35%; height: 1.35rem; transform: translateX(-50%); border-radius: 999px; background: #132538; }.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #f8faf8; }.phone-status { display: flex; justify-content: space-between; padding: 1rem 1.1rem .4rem; color: #617180; font: 600 .68rem "DM Sans", sans-serif; }.phone-appbar { display: flex; align-items: center; gap: .55rem; padding: .75rem 1rem; border-bottom: 1px solid #e4e9e4; }.app-logo { display: inline-flex; align-items: end; gap: 2px; height: .8rem; }.app-logo i { display: block; width: 3px; border-radius: 5px; background: var(--blue); }.app-logo i:nth-child(1) { height: .45rem; }.app-logo i:nth-child(2) { height: .8rem; background: var(--orange); }.app-logo i:nth-child(3) { height: .6rem; background: var(--green); }.phone-appbar strong { font-size: .74rem; }.app-menu { margin-left: auto; color: #8998a2; letter-spacing: .15em; }.phone-content { padding: 1.15rem .95rem; }.phone-greeting small { color: #7e8d93; font-size: .68rem; }.phone-greeting h3 { margin: .35rem 0 1.1rem; font-size: 1.2rem; letter-spacing: 0; }.phone-import-card { display: flex; align-items: center; gap: .6rem; padding: .8rem; border-radius: 15px; background: var(--blue); color: white; box-shadow: 0 12px 24px rgba(36,107,209,.18); }.import-icon { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 11px; background: rgba(255,255,255,.18); font-size: 1.25rem; }.phone-import-card strong, .phone-import-card small { display: block; }.phone-import-card strong { font-size: .75rem; }.phone-import-card small { margin-top: .2rem; color: rgba(255,255,255,.78); font-size: .58rem; }.import-arrow { margin-left: auto; font-size: 1.4rem; }.phone-demo-label { margin: 1.3rem 0 .55rem; color: var(--orange); font: 700 .54rem "DM Sans", sans-serif; letter-spacing: .12em; }.phone-preview-card { padding: .8rem; border: 1px solid #dce6df; border-radius: 14px; background: white; }.preview-title { display: flex; align-items: center; gap: .4rem; font-size: .7rem; }.preview-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); }.phone-preview-card p { margin: .55rem 0 .75rem; color: #6c7b86; font-size: .64rem; line-height: 1.6; }.preview-actions { display: flex; gap: .35rem; }.preview-actions span { padding: .28rem .45rem; border-radius: 999px; background: #f1f4f2; color: #446056; font-size: .58rem; }.phone-bottom { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; padding: .75rem .4rem .95rem; border-top: 1px solid #e4e9e4; background: rgba(248,250,248,.94); color: #94a1a3; }.phone-bottom span { display: grid; justify-items: center; gap: .2rem; font-size: .85rem; }.phone-bottom small { font-size: .52rem; }.phone-bottom .active { color: var(--blue); }.phone-shadow { position: absolute; width: 300px; height: 60px; bottom: 12%; border-radius: 50%; background: rgba(23,48,71,.2); filter: blur(24px); }
.site-footer { display: flex; justify-content: space-between; padding: 1.5rem 8vw; background: var(--ink); color: rgba(255,255,255,.72); font-size: .72rem; }
.hero-caption { display: grid; gap: .35rem; justify-items: end; }

@media (max-width: 900px) { .site-nav { display: none; }.section-pad { padding: 6.5rem 6vw; }.hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; padding-top: 8.5rem; }.hero-visual { min-height: 460px; }.card-notice { left: 5%; }.card-check { right: 3%; }.principles-grid { grid-template-columns: 1fr; }.principle-card { min-height: 180px; }.principle-card h3 { margin-top: 2rem; }.story-step { grid-template-columns: 48px 1fr; gap: 1rem; }.step-visual { grid-column: 2; }.demo-shell-sticky { grid-template-columns: 1fr; gap: 1rem; padding-top: 6rem; }.demo-shell-section { min-height: 125vh; }.phone-stage { min-height: 580px; }.demo-shell-copy { max-width: 600px; }.demo-shell-copy h2 { font-size: clamp(2.45rem, 10vw, 4.3rem); } }
@media (max-width: 560px) { .site-header { padding: 1rem 5vw; }.header-action { font-size: .68rem; }.brand { font-size: .78rem; }.hero-title { font-size: clamp(2.9rem, 14vw, 4.6rem); }.hero-lede { font-size: .96rem; }.hero-visual { min-height: 390px; }.hero-grid { inset: 6% 0 8% 0; background-size: 24px 24px; }.hero-kicker { top: 0; right: 0; font-size: .62rem; }.card-notice { width: 85%; top: 13%; left: 1%; }.card-check { right: 0; bottom: 9%; }.story-step { display: block; padding: 1.7rem 0; }.step-index { margin-bottom: .55rem; }.step-visual { margin-top: 1rem; }.principles-grid { margin-top: 2.5rem; }.demo-contract { border-radius: 18px; line-height: 1.6; }.demo-shell-sticky { padding-right: 5vw; padding-left: 5vw; }.phone-stage { min-height: 520px; }.phone-device { width: min(300px, 82vw); }.site-footer { padding-right: 5vw; padding-left: 5vw; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Icon treatment: keep semantic symbols crisp and consistent across the page. */
.app-menu { width: 1rem; height: 1rem; margin-left: auto; color: #69758a; }
.import-arrow { width: 1.05rem; height: 1.05rem; margin-left: auto; }
.import-icon svg { width: 1.05rem; height: 1.05rem; }
.phone-bottom span svg { width: .95rem; height: .95rem; }
.phone-demo-label { color: var(--electric-purple); }
.phone-bottom .active { color: var(--blue); }
.app-logo i:nth-child(2) { background: var(--electric-purple); }
.app-logo i:nth-child(3) { background: var(--yellow); }
.check-icon svg { width: 1rem; height: 1rem; }
.site-header { background: rgba(255,250,242,.9); }

/* Interactive phone demo states. */
.phone-content { position: relative; min-height: 100%; }
.phone-content button { border: 0; font: inherit; cursor: pointer; }
.phone-import-card { width: 100%; text-align: left; }
.phone-file-card, .phone-consent, .phone-progress-card, .phone-notice-card, .phone-source-card, .phone-source-note { margin-top: .8rem; padding: .78rem; border: 1px solid #dbe4ee; border-radius: 13px; background: #fff; }
.phone-file-card { display: flex; align-items: center; gap: .55rem; }
.phone-file-card strong, .phone-file-card small { display: block; }.phone-file-card strong { font-size: .68rem; }.phone-file-card small { margin-top: .18rem; color: #718095; font-size: .56rem; }
.file-icon { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; color: var(--electric-purple); background: var(--electric-purple-soft); border-radius: 9px; }.file-icon svg { width: .95rem; height: .95rem; }
.phone-consent strong { display: block; font-size: .68rem; }.phone-consent p { margin: .4rem 0 0; color: #6f7789; font-size: .58rem; line-height: 1.55; }
.phone-actions { display: flex; gap: .45rem; margin-top: .8rem; }.phone-actions.stacked { display: grid; }.phone-primary, .phone-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 1.85rem; padding: .45rem .65rem; border-radius: 999px; font-size: .62rem; font-weight: 700; }.phone-primary { flex: 1; background: var(--blue); color: white; box-shadow: 0 7px 14px rgba(49,94,234,.18); }.phone-secondary { flex: 1; background: #eef1f7; color: #43516d; }.phone-primary svg, .phone-secondary svg { width: .8rem; height: .8rem; }.phone-primary.wide, .phone-secondary.wide { width: 100%; }
.phone-progress-card { display: flex; align-items: center; gap: .65rem; }.phone-progress-card strong, .phone-progress-card small { display: block; }.phone-progress-card strong { font-size: .68rem; }.phone-progress-card small { margin-top: .18rem; color: #738095; font-size: .56rem; }.loader-ring { width: 1.55rem; height: 1.55rem; border: 3px solid #d5e1ff; border-top-color: var(--blue); border-radius: 50%; animation: ring-spin 1s linear infinite; }.phone-progress-line { height: .35rem; margin: .9rem 0 .55rem; overflow: hidden; border-radius: 99px; background: #e7edff; }.phone-progress-line span { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--blue); }.phone-hint { margin: 0; color: #748096; font-size: .58rem; line-height: 1.55; }
.phone-notice-card { display: grid; gap: .55rem; }.notice-row { display: grid; grid-template-columns: 2.3rem 1fr; gap: .3rem; align-items: baseline; }.notice-row span { color: #8490a2; font-size: .56rem; }.notice-row strong { font-size: .62rem; }.phone-actions.stacked button { width: 100%; }
.phone-source-card p { margin: 0; color: #34415a; font-size: .68rem; line-height: 1.7; }.source-highlight { display: inline-block; margin-top: .55rem; padding: .22rem .35rem; border-radius: 5px; background: var(--yellow-soft); color: #6f5310; font-size: .58rem; font-weight: 700; }.phone-source-note { display: flex; align-items: flex-start; gap: .35rem; border-color: #c9d8ff; background: #f1f5ff; color: var(--blue); font-size: .56rem; line-height: 1.5; }.phone-source-note svg { flex: 0 0 auto; width: .82rem; height: .82rem; margin-top: .05rem; }
.phone-checklist { display: grid; gap: .48rem; margin-top: .8rem; }.phone-checklist label { display: flex; align-items: center; gap: .45rem; padding: .5rem .55rem; border: 1px solid #e2e7ee; border-radius: 9px; background: #fff; font-size: .62rem; }.phone-checklist input { accent-color: var(--green); }.phone-checklist label.uncertain { color: #b45c18; border-color: #f0d7ad; background: #fff8e9; }.phone-checklist label.uncertain svg { width: .85rem; height: .85rem; }
.phone-saved-state { display: grid; justify-items: center; padding: 1.3rem .4rem .4rem; text-align: center; }.saved-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .65rem; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 10px 18px rgba(37,169,130,.22); }.saved-icon svg { width: 1.35rem; height: 1.35rem; }.phone-saved-state small { color: var(--green); font-size: .58rem; font-weight: 700; }.phone-saved-state h3 { margin: .4rem 0 .35rem; font-size: 1rem; }.phone-saved-state p { margin: 0 0 .9rem; color: #718095; font-size: .6rem; line-height: 1.55; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader-ring { animation: none; } }

/* Campus workspace demo: compact mobile-first controls and readable states. */
.phone-bottom { z-index: 4; }
.phone-bottom button { display: grid; justify-items: center; gap: .2rem; min-width: 3.35rem; padding: .2rem .25rem; border: 0; background: transparent; color: #94a1a3; cursor: pointer; font: inherit; }
.phone-bottom button svg { width: .95rem; height: .95rem; }
.phone-bottom button.active { color: var(--blue); }
.phone-bottom button:focus-visible, .shortcut-grid button:focus-visible, .course-item:focus-visible, .day-picker button:focus-visible, .qa-suggestions button:focus-visible, .qa-docs button:focus-visible, .saved-item:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.workspace-home { padding-bottom: 4rem; }
.next-class { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: center; padding: .72rem; border: 1px solid #d9e4f4; border-radius: 14px; background: #f3f7ff; }
.next-class > .status-dot { margin-top: .2rem; }
.next-class small, .next-class strong, .next-class p { display: block; }
.next-class small { color: #647997; font-size: .55rem; }.next-class strong { margin-top: .18rem; font-size: .7rem; }.next-class p { margin: .15rem 0 0; color: #718095; font-size: .56rem; }
.next-class button { padding: .25rem .35rem; border: 0; background: transparent; color: var(--blue); font-size: .56rem; font-weight: 700; cursor: pointer; }.next-class button svg { width: .7rem; height: .7rem; vertical-align: -.15rem; }
.shortcut-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; margin-top: .7rem; }
.shortcut-grid button { display: grid; gap: .18rem; min-height: 4.2rem; padding: .62rem; border: 1px solid #e2e7ee; border-radius: 12px; background: white; color: #34415a; text-align: left; cursor: pointer; }.shortcut-grid button svg { width: 1rem; height: 1rem; color: var(--blue); }.shortcut-grid strong { font-size: .62rem; }.shortcut-grid small { color: #8190a0; font-size: .52rem; }
.home-notice { margin-top: .7rem; padding: .7rem; border: 1px solid #eadfd2; border-radius: 13px; background: #fffaf4; }.home-notice div { display: flex; align-items: center; gap: .35rem; }.home-notice strong { font-size: .66rem; }.home-notice em, .notice-entry em { margin-left: auto; color: #b45c18; font-size: .52rem; font-style: normal; }.home-notice p { margin: .45rem 0; color: #6c7782; font-size: .58rem; }.home-notice button { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: .58rem; font-weight: 700; cursor: pointer; }.home-notice button svg { width: .7rem; height: .7rem; vertical-align: -.15rem; }
.demo-boundary { display: flex; align-items: flex-start; gap: .35rem; margin: .65rem 0 0; color: #738095; font-size: .56rem; line-height: 1.5; }.demo-boundary svg { width: .8rem; height: .8rem; flex: 0 0 auto; }.demo-boundary.compact { margin: .55rem 0; }
.week-controls { display: flex; align-items: center; justify-content: space-between; margin: -.3rem 0 .65rem; }.week-controls button { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border: 1px solid #dfe6ef; border-radius: 8px; background: white; color: var(--blue); cursor: pointer; }.week-controls button svg { width: .8rem; height: .8rem; }.week-controls .week-current { width: auto; padding: 0 .65rem; color: #53657b; font-size: .58rem; }
.day-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: .22rem; }.day-picker button { display: grid; gap: .1rem; padding: .35rem .1rem; border: 1px solid transparent; border-radius: 8px; background: #f3f5f7; color: #778594; cursor: pointer; }.day-picker button strong { font-size: .55rem; }.day-picker button small { font-size: .48rem; }.day-picker button.active { border-color: #c9d8ff; background: #edf3ff; color: var(--blue); }
.course-list { display: grid; gap: .45rem; }.course-item { display: grid; grid-template-columns: 4.1rem 1fr auto; gap: .35rem; align-items: center; width: 100%; padding: .68rem; border: 1px solid #e1e6ed; border-radius: 11px; background: white; color: #34415a; text-align: left; cursor: pointer; }.course-item.is-next { border-color: #b9cdfb; box-shadow: 0 5px 12px rgba(49,94,234,.08); }.course-time { color: #65758b; font-size: .53rem; }.course-main strong, .course-main small { display: block; }.course-main strong { font-size: .65rem; }.course-main small { margin-top: .17rem; color: #8190a0; font-size: .52rem; }.course-item em { padding: .2rem .3rem; border-radius: 999px; background: #edf3ff; color: var(--blue); font-size: .48rem; font-style: normal; }.course-item > svg { width: .75rem; height: .75rem; color: #9aa7b5; }.empty-state { display: grid; justify-items: center; gap: .3rem; padding: 1.2rem .5rem; color: #7b8796; text-align: center; }.empty-state svg { width: 1.35rem; height: 1.35rem; color: var(--orange); }.empty-state strong { font-size: .68rem; }.empty-state small { font-size: .55rem; }
.detail-card { display: grid; gap: .55rem; padding: .8rem; border: 1px solid #dbe4ee; border-radius: 13px; background: white; }.detail-card div { display: grid; grid-template-columns: 3.4rem 1fr; gap: .3rem; }.detail-card span { color: #8490a2; font-size: .56rem; }.detail-card strong { font-size: .64rem; }
.qa-boundary { display: grid; gap: .2rem; padding: .65rem .7rem; border: 1px solid #c9d8ff; border-radius: 11px; background: #f1f5ff; color: var(--blue); }.qa-boundary strong { font-size: .62rem; }.qa-boundary small { color: #647997; font-size: .54rem; line-height: 1.45; }.qa-docs, .qa-suggestions { display: flex; gap: .3rem; overflow-x: auto; padding: .62rem 0 .25rem; scrollbar-width: none; }.qa-docs button, .qa-suggestions button { flex: 0 0 auto; padding: .32rem .45rem; border: 1px solid #e1e6ed; border-radius: 999px; background: white; color: #65758b; font-size: .53rem; cursor: pointer; }.qa-docs button.active { border-color: #b9cdfb; background: #edf3ff; color: var(--blue); }.qa-suggestions button { border-color: #eadfd2; background: #fffaf4; color: #8c5b24; }
.qa-form { display: flex; gap: .35rem; margin-top: .4rem; }.qa-form input { min-width: 0; flex: 1; padding: .55rem .65rem; border: 1px solid #dce4ed; border-radius: 10px; background: white; color: #34415a; font: inherit; font-size: .58rem; }.qa-form input:focus { border-color: var(--blue); outline: 2px solid #d6e2ff; }.qa-form button { display: grid; place-items: center; width: 1.9rem; border: 0; border-radius: 10px; background: var(--blue); color: white; cursor: pointer; }.qa-form button svg { width: .85rem; height: .85rem; }
.qa-answer { margin-top: .7rem; padding: .72rem; border: 1px solid #dce6df; border-radius: 12px; background: white; }.answer-label { display: flex; justify-content: space-between; align-items: center; color: var(--green); font-size: .57rem; font-weight: 700; }.answer-label em { padding: .2rem .3rem; border-radius: 999px; background: #eef8f4; color: var(--green); font-size: .48rem; font-style: normal; }.qa-answer p { margin: .5rem 0; color: #34415a; font-size: .64rem; line-height: 1.7; }.qa-source { display: flex; align-items: center; gap: .35rem; padding-top: .5rem; border-top: 1px solid #eef1f3; color: #566b80; font-size: .56rem; }.qa-source > svg { width: .85rem; height: .85rem; color: var(--blue); }.qa-source span { flex: 1; }.qa-source small { display: block; margin-top: .12rem; color: #8794a2; font-size: .5rem; }.qa-source button, .save-answer { border: 0; background: transparent; color: var(--blue); font-size: .54rem; font-weight: 700; cursor: pointer; }.save-answer { display: inline-flex; align-items: center; gap: .2rem; margin-top: .55rem; padding: .35rem .45rem; border-radius: 7px; background: #edf3ff; }.save-answer svg { width: .72rem; height: .72rem; }.qa-empty { display: grid; justify-items: center; gap: .35rem; padding: 1.1rem .5rem; color: #8190a0; text-align: center; }.qa-empty svg { width: 1.3rem; height: 1.3rem; color: var(--blue); }.qa-empty small { font-size: .56rem; line-height: 1.5; }
.save-note { display: flex; gap: .35rem; padding: .55rem .65rem; border: 1px solid #dce6df; border-radius: 10px; background: #f4faf7; color: #557666; font-size: .54rem; line-height: 1.45; }.save-note svg { width: .8rem; height: .8rem; flex: 0 0 auto; }.saved-group { margin-top: .8rem; }.saved-group h4 { margin: 0 0 .4rem; color: #64758b; font-size: .6rem; }.saved-item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .62rem .65rem; border: 1px solid #e1e6ed; border-radius: 10px; background: white; color: #34415a; text-align: left; cursor: pointer; }.saved-item + .saved-item { margin-top: .35rem; }.saved-item strong, .saved-item small { display: block; }.saved-item strong { font-size: .62rem; }.saved-item small { margin-top: .15rem; color: #8190a0; font-size: .52rem; }.saved-item > svg { width: .75rem; height: .75rem; color: #9aa7b5; }.todo-list { display: grid; gap: .32rem; margin-top: .45rem; }.todo-list label { display: flex; gap: .35rem; align-items: center; padding: .35rem .45rem; border-radius: 7px; background: #f7f8fa; color: #65758b; font-size: .55rem; }.todo-list input { accent-color: var(--green); }.saved-empty { margin: 0; color: #8995a3; font-size: .54rem; }.text-button { margin-top: .65rem; border: 0; background: transparent; color: var(--blue); font-size: .58rem; font-weight: 700; cursor: pointer; }
.notice-entry { width: 100%; text-align: left; cursor: pointer; }.notice-entry .preview-title { display: flex; align-items: center; }.notice-entry p { margin-bottom: .65rem; }
.phone-content { overflow-y: auto; scrollbar-width: thin; padding-bottom: 4.8rem; }.phone-content > *:last-child { margin-bottom: .3rem; }.phone-primary:disabled { opacity: .65; cursor: default; }
.qa-original { margin-top: .5rem; padding: .55rem; border-left: 3px solid var(--orange); background: #fffaf4; color: #6b5a42; font-size: .54rem; line-height: 1.55; }.qa-original strong { font-size: .56rem; }.qa-original p { margin: .25rem 0 0; font-size: .54rem; }

/* Bright dopamine technology presentation theme. */
:root {
  --paper: #f7f8ff;
  --paper-2: #eef4ff;
  --ink: #15203b;
  --muted: #65718c;
  --line: #d8e1f4;
  --blue: #3568f0;
  --blue-soft: #e5edff;
  --orange: #ff6a3d;
  --orange-soft: #fff0e9;
  --green: #16a889;
  --green-soft: #e3f8f1;
  --electric-purple: #7c3aed;
  --electric-purple-soft: #eee7ff;
  --yellow: #f2bb22;
  --yellow-soft: #fff7d7;
  --violet: #7657df;
  --violet-soft: #eee9ff;
  --shadow: 0 28px 80px rgba(54, 74, 130, .16);
}
body { background: #f7f8ff; color: var(--ink); }
.site-header { background: rgba(255,255,255,.86); border-bottom-color: rgba(191,204,234,.68); backdrop-filter: blur(18px); }
.site-header.is-scrolled { border-color: #d5def0; box-shadow: 0 10px 30px rgba(58,77,132,.1); }
.brand, .site-nav a { color: #192541; }.site-nav a { color: #68738d; }.site-nav a:hover, .header-action, .text-link { color: var(--blue); }
.hero, .story, .principles, .demo-intro, .demo-shell-section { background: #f7f8ff; }
.hero-title, .section-intro h2, .principles-heading h2, .demo-intro-copy h2, .demo-shell-copy h2 { color: #14203d; }.hero-title em, .section-intro h2 em, .principles-heading h2 em, .demo-intro-copy h2 em, .demo-shell-copy h2 em { color: var(--electric-purple); }
.hero-lede, .section-intro p, .demo-intro-copy p, .demo-shell-copy > p { color: #66728c; }.eyebrow { color: var(--violet); }
.hero-grid { opacity: .42; background-image: linear-gradient(#dce5ff 1px, transparent 1px), linear-gradient(90deg, #dce5ff 1px, transparent 1px); }
.hero-visual { background: #edf3ff; border-color: #d8e4ff; box-shadow: 0 24px 60px rgba(81,103,173,.13); }
.hero-kicker, .hero-caption { color: #697693; }.hero-phone-mockup { border-color: #cbd8f6; background: #ffffff; box-shadow: 0 25px 65px rgba(63,82,142,.22), inset 0 0 0 1px rgba(255,255,255,.8); color: #192541; }.hero-phone-top { color: #7d89a2; }.hero-chat-title { border-color: #e3e8f4; }.hero-chat-title small { color: var(--blue); }.hero-chat-bubble.user { background: #3568f0; color: #fff; box-shadow: 0 8px 18px rgba(53,104,240,.2); }.hero-chat-bubble.assistant { background: #f3f6fc; color: #33415c; border: 1px solid #e1e7f2; }.hero-chat-bubble small { color: #6d7fa9; }.hero-chat-input { border-color: #d5def0; background: #f8faff; color: #8290aa; box-shadow: 0 8px 20px rgba(76,99,160,.1); }.hero-chat-input svg { background: var(--electric-purple); color: white; }
.story-step, .principle-card { background: #ffffff; border-color: #dce4f2; box-shadow: 0 12px 28px rgba(68,87,143,.06); }.story-step.is-active { border-color: #b9c9f6; background: #f0f5ff; }.step-copy h3, .principle-card h3 { color: #182542; }.step-copy p, .principle-card p { color: #69748b; }.principle-card:nth-child(1) { background: #fff9df; border-color: #f3e09a; }.principle-card:nth-child(2) { background: #f0ebff; border-color: #c9b8ff; }.principle-card:nth-child(3) { background: #f0ecff; border-color: #d7cafb; }
.demo-contract, .shell-status { background: rgba(255,255,255,.8); border-color: #d9e2f3; color: #69758d; }.phone-device { background: #18243d; border-color: #8da4da; box-shadow: 0 35px 80px rgba(46,64,118,.26), inset 0 0 0 2px #3a4e7d; }.phone-screen { background: #fbfcff; }.phone-status, .phone-appbar { color: #72809a; border-color: #e0e7f2; }.phone-appbar strong { color: #1b2948; }.phone-bottom { background: rgba(251,252,255,.96); border-color: #e1e7f1; }.phone-content { color: #1d2a47; }
.phone-greeting small, .phone-hint, .phone-file-card small, .phone-consent p, .phone-progress-card small { color: #7c89a0; }.phone-greeting h3, .phone-notice-card strong, .course-main strong, .saved-item strong { color: #1b2948; }.phone-file-card, .phone-consent, .phone-progress-card, .phone-notice-card, .phone-source-card, .phone-source-note, .detail-card, .course-item, .saved-item, .qa-answer, .shortcut-grid button, .phone-preview-card { background: #ffffff; border-color: #dce5f2; color: #263652; box-shadow: 0 6px 16px rgba(75,94,146,.06); }.phone-import-card, .phone-primary { background: var(--blue); }.phone-secondary { background: #eef3ff; color: #3f5279; }.next-class, .qa-boundary { background: #edf3ff; border-color: #cbd9fb; }.home-notice, .qa-suggestions button { background: #fff5ec; border-color: #f3d2b7; }.demo-boundary, .course-time, .course-main small, .saved-item small { color: #78869e; }.shortcut-grid button small, .empty-state, .qa-empty { color: #7f8ba0; }.qa-docs button, .qa-suggestions button { background: #ffffff; border-color: #dce5f2; color: #5f6f89; }.qa-docs button.active { background: #e8efff; border-color: #a9bdf5; color: var(--blue); }.qa-form input, .chat-composer input { background: #ffffff; border-color: #cedaf0; color: #263652; }.qa-form input::placeholder, .chat-composer input::placeholder { color: #8a96aa; }.qa-original { background: #fff7eb; color: #7a6248; }.save-note { background: #edfbf5; border-color: #bde8d7; color: #4b806d; }.todo-list label { background: #f5f7fb; color: #65748c; }
.site-footer { background: #18233d; border-top: 1px solid #2e426e; color: rgba(255,255,255,.78); }
.hero-phone-mockup { top: 5%; right: 7%; bottom: 5%; left: 7%; width: auto; height: auto; aspect-ratio: auto; transform: none; border-radius: 30px; }
.hero-phone-top { padding-top: .9rem; }.hero-chat-title { padding-top: 1.3rem; }.hero-chat-bubble { max-width: 72%; }.hero-chat-input { right: 1.1rem; bottom: 1.1rem; left: 1.1rem; }
@media (max-width: 900px) { .hero-phone-mockup { top: 6%; right: 10%; bottom: 6%; left: 10%; } }
.chat-workbench { padding-bottom: 3.6rem; }.chat-composer { position: relative; z-index: 2; margin-top: .15rem; }
.hero-visual { background: transparent; border: 0; box-shadow: none; }
.hero-visual .hero-grid, .hero-visual .hero-kicker, .hero-visual .hero-rail, .hero-visual .hero-caption { display: none; }
.hero-phone-mockup { top: 3%; right: auto; bottom: auto; left: 50%; width: min(360px, 62%); height: auto; aspect-ratio: .54 / 1; transform: translateX(-50%); border-radius: 34px; }
.hero-phone-mockup .hero-chat-title { padding-top: .7rem; }.hero-phone-mockup .hero-chat-bubble { max-width: 86%; }.hero-phone-mockup .hero-chat-input { right: .7rem; bottom: .8rem; left: .7rem; }
@media (min-width: 901px) {
  .hero { grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr); gap: 2vw; min-height: 100vh; padding: 6rem 2.4vw 2.2rem 8vw; }
  .hero-copy { max-width: 760px; padding-left: 0; }
  .hero-title { max-width: 760px; font-size: clamp(3.3rem, 5.1vw, 5.5rem); line-height: 1.03; }
  .hero-title em { white-space: nowrap; }
  .hero-lede { max-width: 600px; margin-top: 1.35rem; }
  .hero-actions { margin-top: 1.35rem; }.hero-notes { margin-top: 1.6rem; }
  .hero-visual { min-height: calc(100vh - 8.2rem); align-self: stretch; }
  .hero-phone-mockup { --hero-float-y: 0px; top: 50%; right: -.4vw; left: auto; width: auto; height: min(820px, calc(100vh - 7.4rem)); aspect-ratio: .54 / 1; transform: translateY(calc(-50% + var(--hero-float-y))); }
  .demo-shell-sticky { grid-template-columns: minmax(360px, .72fr) minmax(560px, 1.28fr); gap: 3vw; padding: 4.6rem 2.4vw 1.8rem 6vw; }
  .demo-shell-copy { max-width: 560px; }
  .demo-shell-copy h2 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.03; }
  .phone-stage { min-height: 0; height: min(820px, calc(100vh - 7.4rem)); place-items: center end; align-self: center; }
  .phone-device { width: auto; height: min(820px, calc(100vh - 7.4rem)); aspect-ratio: .51 / 1; transform: none; }
  .phone-shadow { right: 3%; bottom: 1%; width: min(420px, 32vw); background: rgba(87,111,176,.18); }
}
@media (min-width: 901px) {
  .phone-content { height: calc(100% - 5.7rem); min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b9c8eb transparent; }
  .chat-workbench { display: flex; flex-direction: column; }
  .chat-messages { flex: 1; max-height: none; }
  .chat-composer { bottom: 4.3rem; background: #fbfcff; border-color: #e1e7f1; }
  .chat-suggestions { margin-bottom: 3.2rem; }
}
.hero-phone-mockup .hero-chat-bubble { transition: opacity .3s ease, transform .3s ease; }
.hero-phone-mockup .hero-chat-bubble.is-typing { color: #70809c; }
.hero-phone-mockup .hero-chat-bubble.is-typing::after { content: '•••'; display: inline-block; margin-left: .25rem; letter-spacing: .16em; color: var(--electric-purple); animation: hero-typing 1s ease-in-out infinite; }
@keyframes hero-typing { 0%,100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-1px); } }

/* Hero phone conversation: a readable light surface for the looping concept demo. */
.hero-phone-mockup { position: absolute; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #cbd8f6; background: #fff; }
.hero-phone-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 1.05rem 1.15rem .55rem; color: #7887a3; font: 600 .68rem "DM Sans", sans-serif; }
.hero-phone-top svg { width: .95rem; height: .95rem; }
.hero-chat-title { display: grid; gap: .28rem; padding: .85rem 1.15rem 1rem; border-bottom: 1px solid #e3e8f4; }
.hero-chat-title small { color: var(--blue); font-size: .68rem; font-weight: 700; }
.hero-chat-title strong { color: #192541; font-size: 1.1rem; }
.hero-chat-bubble { width: fit-content; margin: .9rem 1.15rem 0; padding: .7rem .8rem; border-radius: 15px; font-size: .7rem; line-height: 1.65; }
.hero-chat-bubble.user { align-self: flex-end; margin-left: 2.5rem; background: var(--blue); color: #fff; }
.hero-chat-bubble.assistant { align-self: flex-start; margin-right: 1.15rem; background: #f3f6fc; color: #33415c; }
.hero-chat-bubble.assistant span, .hero-chat-bubble.assistant small { display: block; }
.hero-chat-bubble.assistant small { margin-top: .5rem; color: #6d7fa9; font-size: .58rem; }
.hero-chat-bubble.assistant.is-missing { background: #fff5ec; border-color: #f3d2b7; color: #76583f; }
.hero-chat-input { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding: .65rem .7rem .65rem .85rem; border: 1px solid #d5def0; border-radius: 999px; background: #f8faff; color: #8290aa; font-size: .64rem; }
.hero-chat-input svg { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; padding: .32rem; border-radius: 50%; background: var(--electric-purple); color: #fff; }
.hero-phone-mockup .hero-chat-input { margin-right: .7rem; margin-bottom: .8rem; margin-left: .7rem; }

/* Chat workbench layout: keep the message area, suggestions, composer and nav in separate bands. */
.chat-workbench { display: flex; flex-direction: column; min-height: 100%; padding: .1rem .78rem 3.75rem; gap: .5rem; color: #263652; }
.chat-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: .45rem; }
.chat-topbar small { display: block; color: #7d8aa2; font-size: .55rem; }
.chat-topbar h3 { margin: .25rem 0 0; color: #1b2948; font-size: .94rem; }
.chat-top-actions { display: flex; gap: .24rem; }
.chat-top-actions button { display: inline-flex; align-items: center; gap: .2rem; min-height: 1.55rem; padding: .28rem .42rem; border: 1px solid #dce5f2; border-radius: 8px; background: #fff; color: #556987; font-size: .5rem; cursor: pointer; }
.chat-top-actions button svg { width: .7rem; height: .7rem; }
.chat-doc-row { display: grid; gap: .25rem; }
.chat-doc-row > span { color: #7a879d; font-size: .52rem; }
.chat-doc-row .qa-docs { padding: 0; }
.chat-messages { display: flex; flex: 1 1 auto; min-height: 7.5rem; flex-direction: column; gap: .55rem; overflow-y: auto; padding: .1rem .05rem .2rem; scrollbar-width: thin; scrollbar-color: #c4d2ed transparent; }
.chat-empty { display: grid; justify-items: center; gap: .32rem; margin: auto 0; padding: 1rem .5rem; color: #7c8aa0; text-align: center; }
.chat-empty svg { width: 1.25rem; height: 1.25rem; color: var(--electric-purple); }
.chat-empty strong { color: #465a7b; font-size: .65rem; }
.chat-empty small { max-width: 18rem; font-size: .54rem; line-height: 1.5; }
.chat-message { max-width: 88%; padding: .56rem .62rem; border-radius: 12px; font-size: .59rem; line-height: 1.6; }
.chat-message.user { align-self: flex-end; background: var(--blue); color: #fff; box-shadow: 0 6px 13px rgba(53,104,240,.17); }
.chat-message.assistant { align-self: flex-start; background: #f3f6fc; border: 1px solid #dfe7f3; color: #34445f; }
.chat-message.assistant .answer-label { margin-bottom: .25rem; }
.chat-message.assistant p { margin: .28rem 0 0; color: #34445f; font-size: .59rem; line-height: 1.62; }
.chat-message.assistant .qa-source { margin-top: .48rem; padding-top: .42rem; font-size: .52rem; }
.chat-message.assistant .qa-source button { white-space: nowrap; }
.qa-loading { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3.4rem; color: #6f7f9c; font-size: .57rem; }
.qa-loading .loader-ring { width: 1.1rem; height: 1.1rem; border-width: 2px; }
.chat-suggestions { display: flex; align-items: center; gap: .28rem; overflow-x: auto; padding: .15rem 0 .2rem; scrollbar-width: none; }
.chat-suggestions > span { flex: 0 0 auto; color: #7d8aa0; font-size: .5rem; }
.chat-suggestions button { flex: 0 0 auto; padding: .3rem .42rem; border: 1px solid #f0d5c0; border-radius: 999px; background: #fff5ec; color: #8c5b24; font-size: .5rem; cursor: pointer; }
.chat-composer { display: flex; flex: 0 0 auto; align-items: center; gap: .3rem; margin: 0; padding: .28rem; border: 1px solid #dce5f2; border-radius: 11px; background: #fff; box-shadow: 0 5px 14px rgba(75,94,146,.07); }
.chat-composer input { min-width: 0; flex: 1; height: 1.75rem; padding: .35rem .5rem; border: 0; border-radius: 8px; background: #f8faff; color: #263652; font-size: .56rem; outline: none; }
.chat-composer button { display: grid; place-items: center; flex: 0 0 auto; width: 1.75rem; height: 1.75rem; border: 0; border-radius: 8px; background: var(--electric-purple); color: #fff; cursor: pointer; }
.chat-composer button svg { width: .8rem; height: .8rem; }
.chat-history { position: absolute; z-index: 5; top: 3.2rem; right: .8rem; left: .8rem; padding: .6rem; border: 1px solid #dce5f2; border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: 0 16px 30px rgba(56,74,128,.18); }
.history-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; color: #465a7b; font-size: .62rem; }
.history-heading button { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 0; border-radius: 7px; background: #f3f6fc; color: #657895; cursor: pointer; }
.history-heading button svg { width: .7rem; height: .7rem; }
.history-item { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .5rem; padding: .45rem .5rem; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #536886; text-align: left; cursor: pointer; }
.history-item + .history-item { margin-top: .2rem; }.history-item.active { border-color: #c8d6f5; background: #edf3ff; color: var(--blue); }.history-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .57rem; }.history-item small { flex: 0 0 auto; color: #8794a8; font-size: .48rem; }
.chat-workbench .phone-bottom { position: absolute; right: 0; bottom: 0; left: 0; }
@media (min-width: 901px) { .chat-workbench { padding-right: .9rem; padding-left: .9rem; }.chat-messages { min-height: 0; }.chat-suggestions { margin-bottom: 0; }.chat-composer { bottom: auto; } }

/* Product landing sections and controlled demo affordances. */
.capabilities, .answer-flow, .question-gallery, .final-cta { background: #f7f8ff; }
.capabilities { padding-top: 7rem; padding-bottom: 7rem; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.capability-card { min-height: 190px; display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem; border: 1px solid #dce4f2; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(68,87,143,.06); }
.capability-card svg { width: 1.5rem; height: 1.5rem; }.capability-card strong { font-size: 1rem; color: #182542; }.capability-card span { color: #6b7891; font-size: .8rem; line-height: 1.75; }
.capability-blue { background: #edf3ff; border-color: #cbd9fb; color: var(--blue); }.capability-purple { background: #f0ebff; border-color: #c9b8ff; color: var(--electric-purple); }.capability-orange { background: #fff2ea; border-color: #f3d2b7; color: var(--orange); }.capability-green { background: #edfbf5; border-color: #bde8d7; color: var(--green); }
.answer-flow { background: #eef4ff; }.answer-flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 3.5rem; border: 1px solid #d8e3f6; border-radius: 18px; overflow: hidden; background: #d8e3f6; }.answer-flow-step { min-height: 220px; display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem; background: #fff; }.answer-flow-step span { color: var(--electric-purple); font: 700 .75rem "DM Sans", sans-serif; }.answer-flow-step svg { width: 1.45rem; height: 1.45rem; color: var(--blue); }.answer-flow-step strong { color: #182542; font-size: .98rem; }.answer-flow-step p { margin: 0; color: #6b7891; font-size: .8rem; line-height: 1.7; }
.question-gallery { padding-top: 7rem; padding-bottom: 7rem; }.question-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-top: 3rem; }.question-card { position: relative; min-height: 150px; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.15rem; border: 1px solid #dce4f2; border-radius: 18px; color: #182542; text-align: left; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }.question-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(68,87,143,.12); }.question-card span { font-size: .68rem; color: #687792; }.question-card strong { max-width: 84%; font-size: 1rem; line-height: 1.45; }.question-card svg { position: absolute; right: 1rem; bottom: 1rem; width: 1rem; height: 1rem; }.question-blue { background: #edf3ff; border-color: #cbd9fb; }.question-blue svg { color: var(--blue); }.question-purple { background: #f0ebff; border-color: #c9b8ff; }.question-purple svg { color: var(--electric-purple); }.question-orange { background: #fff2ea; border-color: #f3d2b7; }.question-orange svg { color: var(--orange); }.question-green { background: #edfbf5; border-color: #bde8d7; }.question-green svg { color: var(--green); }
.demo-controls { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.25rem; }.demo-control { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.2rem; padding: .5rem .72rem; border: 1px solid #d3dff3; border-radius: 10px; background: #fff; color: #536886; font-size: .7rem; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }.demo-control:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(68,87,143,.12); border-color: #a9bdf5; }.demo-control svg { width: .85rem; height: .85rem; }.demo-control-primary { border-color: var(--blue); background: var(--blue); color: #fff; }.demo-control[disabled] { opacity: .48; cursor: default; transform: none; box-shadow: none; }.demo-stepper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 22rem; margin-top: .65rem; color: #78869e; font-size: .64rem; }.demo-stepper span:last-child { color: var(--blue); font-weight: 700; }
.final-cta { padding-top: 8rem; padding-bottom: 8rem; text-align: center; }.final-cta-inner { max-width: 760px; margin: 0 auto; }.final-cta h2 { color: #14203d; }.final-cta h2 em { color: var(--electric-purple); }.final-cta p:not(.eyebrow) { max-width: 520px; margin: 1.25rem auto 1.6rem; color: #66728c; line-height: 1.8; }
.task-card { margin-top: .55rem; padding: .6rem; border: 1px solid #f0d5a9; border-radius: 10px; background: #fff9ea; color: #6f531b; }.task-card strong { display: block; color: #8c6417; font-size: .55rem; }.task-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .32rem .55rem; margin-top: .4rem; }.task-card-grid span { display: block; color: #7d6b45; font-size: .5rem; line-height: 1.45; }.task-card-grid b { display: block; color: #5d4a24; font-size: .55rem; font-weight: 700; }.task-card button { margin-top: .45rem; padding: .3rem .45rem; border: 0; border-radius: 7px; background: #fff0c8; color: #8c6417; font-size: .52rem; font-weight: 700; cursor: pointer; }.qa-original { border-left-color: var(--blue); }
.chat-message.assistant .save-answer { margin-top: .45rem; }.chat-message.assistant .save-answer.is-saved { color: var(--green); background: #edfbf5; }.chat-message.assistant .qa-original { margin-top: .45rem; }
@media (max-width: 1100px) { .capability-grid, .answer-flow-grid, .question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .capabilities, .question-gallery, .final-cta { padding-top: 5.5rem; padding-bottom: 5.5rem; }.answer-flow-grid { grid-template-columns: 1fr 1fr; }.demo-controls { max-width: 28rem; } }
@media (max-width: 560px) { .capability-grid, .answer-flow-grid, .question-grid { grid-template-columns: 1fr; }.answer-flow-step { min-height: 150px; }.demo-stepper { max-width: none; } }

/* Demo phone UI cleanup: keep every control inside the readable screen width. */
.phone-screen, .phone-content, .chat-workbench, .chat-doc-row, .chat-topbar { min-width: 0; }
.phone-content { padding: 1rem .9rem 0; }
.chat-workbench { gap: .58rem; padding: .1rem .72rem 5rem; }
.chat-top-actions { flex: 0 0 auto; }
.chat-top-actions button { min-height: 1.8rem; padding: .34rem .5rem; font-size: .56rem; }
.chat-top-actions button svg { width: .76rem; height: .76rem; }
.qa-boundary { padding: .62rem .68rem; }
.chat-doc-row .qa-docs { display: flex; flex-wrap: wrap; gap: .28rem; overflow: visible; padding: .32rem 0 .1rem; }
.chat-doc-row .qa-docs button { max-width: 100%; min-height: 1.65rem; padding: .3rem .42rem; white-space: normal; line-height: 1.25; }
.chat-messages { min-width: 0; }
.chat-message { max-width: 94%; overflow-wrap: anywhere; }
.chat-suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: .3rem; overflow: visible; padding: .12rem 0 .2rem; }
.chat-suggestions > span { grid-column: 1 / -1; }
.chat-suggestions button { min-width: 0; min-height: 1.85rem; padding: .32rem .4rem; white-space: normal; line-height: 1.35; }
.chat-composer { margin-bottom: .28rem; }
.chat-composer input { height: 2rem; font-size: .64rem; }
.chat-composer button { width: 2rem; height: 2rem; }
.chat-workbench .phone-bottom { min-height: 4.15rem; padding: .62rem .3rem .82rem; }
.chat-workbench .phone-bottom button { min-width: 0; flex: 1 1 0; }
.chat-workbench .phone-bottom button svg { width: 1.05rem; height: 1.05rem; }
.chat-workbench .phone-bottom button small { font-size: .54rem; }
