/* Dovuni's website (dovuni.com). Its own look — Dovuni's Peacock palette and type, not 4thWeek's.
   Night Plume #0A1B2A · Royal Plume #3D6BFF (Work) · Peacock Teal #19B5A5 (Study, actions) · Feather Lime #B5DB4C
   (Personal) · Ivory Core #F2F5F0; on light grounds the deep set #2F55E0 · #0E8F83 · #5C9A2A.
   Sora for headings, Inter for reading, DM Mono for small labels. */
:root {
  --night: #0a1b2a; --night-2: #0f2336; --night-3: #16304a; --ivory: #f2f5f0;
  --paper: #f6f7f3; --surface: #ffffff; --tint: #eef2ec; --text: #0a1b2a; --muted: #566573; --faint: #8593a0; --line: #e0e6de;
  --study: #19b5a5; --work: #3d6bff; --personal: #b5db4c;
  --study-d: #0e8f83; --work-d: #2f55e0; --personal-d: #5c9a2a;
  --accent: #0e8f83; --accent-h: #0b7a70;
  --sora: 'Sora', 'Inter', system-ui, sans-serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px); --max: 1200px; --nav-h: 68px;
  --r: 18px; --shadow: 0 1px 2px #0a1b2a0d, 0 12px 40px #0a1b2a14;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; } a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sora); letter-spacing: -0.025em; line-height: 1.12; font-weight: 600; }
p { margin: 0; } ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
.ic { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--surface); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--study); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow.on-dark { color: var(--study); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.personal { background: var(--personal); } .dot.study { background: var(--study); } .dot.work { background: var(--work); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--study); box-shadow: 0 0 0 0 #19b5a580; animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px #19b5a500; } 100% { box-shadow: 0 0 0 0 #19b5a500; } }
.grad { background: linear-gradient(100deg, var(--study) 0%, #7fd3ff 45%, var(--personal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { font-size: 13px; color: var(--faint); margin-top: 26px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); margin-top: 28px; }
.text-link:hover .ic { transform: translateX(3px); } .text-link .ic { transition: transform .3s var(--ease); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s; background: none; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px #0e8f8340; }
.btn.primary:hover { background: var(--accent-h); }
.btn.ghost { border-color: var(--line); background: var(--surface); }
.btn.ghost:hover { border-color: var(--text); }
.btn.ghost-dark { border-color: #ffffff2e; color: var(--ivory); background: #ffffff0a; }
.btn.ghost-dark:hover { background: #ffffff16; border-color: #ffffff55; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn .ic { transition: transform .3s var(--ease); } .btn:hover .ic { transform: translateX(3px); }

/* ---------- Space chips ---------- */
.sp-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 600; border: 1px solid; }
.sp-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sp-chip.personal { color: var(--personal-d); border-color: #5c9a2a40; background: #b5db4c1f; }
.sp-chip.study { color: var(--study-d); border-color: #0e8f8340; background: #19b5a51a; }
.sp-chip.work { color: var(--work-d); border-color: #2f55e040; background: #3d6bff14; }
.sp-chip.off { color: var(--faint); border-color: var(--line); background: none; }
.sp-chip.off::before { background: var(--line); }

/* ---------- Navigation: sticky, more compact and blurred once you scroll ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: height .35s var(--ease), background .35s, border-color .35s, box-shadow .35s; border-bottom: 1px solid transparent; color: var(--ivory); }
.nav-row { display: flex; align-items: center; gap: 20px; height: 100%; }
.nav.scrolled { --nav-h: 58px; height: 58px; background: #0a1b2acc; backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: #ffffff14; }
.light-nav .nav { color: var(--text); }
.light-nav .nav.scrolled { background: #f6f7f3cc; border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 600 21px/1 var(--sora); letter-spacing: -.04em; }
.logo .plume-root { fill: currentColor; }
.nav-center { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 13px; border-radius: 10px; font-size: 14.5px; font-weight: 500; background: none; border: 0; cursor: pointer; opacity: .82; transition: opacity .2s, background .2s; }
.nav-link:hover, .nav-item.open .nav-link { opacity: 1; background: #ffffff10; }
.light-nav .nav-link:hover, .light-nav .nav-item.open .nav-link { background: #0a1b2a0a; }
.nav-link .ic { transition: transform .25s var(--ease); } .nav-item.open .nav-link .ic { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 290px; padding: 8px; border-radius: 16px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav-item.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu-link { display: flex; align-items: flex-start; gap: 11px; padding: 10px 12px; border-radius: 11px; }
.menu-link .dot { margin-top: 7px; }
.menu-link:hover { background: var(--tint); }
.menu-link b { display: block; font-weight: 600; font-size: 14.5px; } .menu-link small { color: var(--muted); font-size: 13px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-login { padding: 0 12px; height: 38px; display: inline-flex; align-items: center; font-weight: 500; font-size: 14.5px; opacity: .85; }
.nav-login:hover { opacity: 1; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid #ffffff26; background: none; cursor: pointer; align-items: center; justify-content: center; }
.light-nav .nav-burger { border-color: var(--line); }
.sheet { position: fixed; inset: 58px 0 0 0; z-index: 49; background: var(--paper); padding: 16px var(--gutter) 32px; overflow-y: auto; display: grid; align-content: start; gap: 2px; }
.sheet[hidden] { display: none; }
.sheet a { display: flex; align-items: center; gap: 10px; padding: 12px 6px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
.sheet-label { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 16px 6px 2px; }
.sheet-top { margin-top: 6px; }
.sheet-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.sheet-cta a { border: 0; justify-content: center; }
body.sheet-open { overflow: hidden; }
@media (max-width: 960px) { .nav-center, .nav-login, .nav-right > .btn { display: none; } .nav-burger { display: inline-flex; } .nav-right { margin-left: auto; } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section.tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 18px; }
.sec-head p { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--ivory); padding: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; mask-image: linear-gradient(#000 65%, transparent); -webkit-mask-image: linear-gradient(#000 65%, transparent); background: radial-gradient(60% 70% at 85% 20%, #3d6bff33, transparent 60%), radial-gradient(50% 60% at 5% 100%, #19b5a52e, transparent 60%), radial-gradient(40% 40% at 60% 90%, #b5db4c14, transparent 60%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 980px) { .hero-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 24px; }
.hero .lead { color: #c9d4dc; max-width: 33em; margin-bottom: 32px; }
.hero-note { font-size: 14px; color: #93a5b4; margin-top: 16px; }
.hero-spaces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-spaces .sp-chip { background: #ffffff0a; }
.hero-spaces .sp-chip.personal { color: var(--personal); } .hero-spaces .sp-chip.study { color: var(--study); } .hero-spaces .sp-chip.work { color: #7f9dff; }
.hero-visual { position: relative; aspect-ratio: 1 / .92; min-height: 320px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Product preview: heading and switcher on the dark band, the app window overlapping into the light ---------- */
.preview-sec { background: var(--paper); padding-bottom: clamp(80px, 11vw, 140px); }
.preview-top { background: var(--night); padding: clamp(20px, 3vw, 40px) 0 clamp(170px, 18vw, 230px); }
.preview-sec .browser { position: relative; margin-top: clamp(-200px, -16vw, -140px); }
.preview-sec .sec-head { color: var(--ivory); margin-bottom: 30px; }
.preview-sec .sec-head p { color: #b8c5cf; }
.preview-sec .eyebrow { color: var(--study); }
.seg { display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 5px; border-radius: 14px; background: #ffffff10; border: 1px solid #ffffff1a; }
.seg-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 0; background: none; color: #c9d4dc; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .25s, color .25s; }
.seg-btn[aria-selected='true'] { background: var(--ivory); color: var(--night); }
.browser { border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px #0a1b2a40, 0 0 0 1px #0a1b2a14; overflow: hidden; max-width: 1040px; margin: 0 auto; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #f1f3ef; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7ddd5; }
.browser-bar span { margin: 0 auto; font: 12px var(--mono); color: var(--faint); padding: 4px 14px; background: var(--surface); border-radius: 8px; border: 1px solid var(--line); }
.browser-body { position: relative; min-height: 440px; }
.pane { animation: paneIn .6s var(--ease) both; }
.pane[hidden] { display: none; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px) scale(.99); filter: blur(4px); } }

/* The little app inside the preview */
.pv-app { --c: var(--study); --cd: var(--study-d); display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 440px; font-size: 13px; color: var(--text); }
.pv-app.personal { --c: var(--personal); --cd: var(--personal-d); } .pv-app.work { --c: var(--work); --cd: var(--work-d); }
.pv-side { background: #f6f8f4; border-right: 1px solid var(--line); padding: 16px 10px; display: grid; align-content: start; gap: 2px; }
.pv-logo { display: flex; align-items: center; gap: 6px; padding: 0 8px 14px; font: 600 14px var(--sora); letter-spacing: -.03em; }
.pv-logo .plume-root { fill: var(--text); }
.pv-side span:not(.pv-logo) { padding: 8px 10px; border-radius: 9px; color: var(--muted); font-weight: 500; }
.pv-side span.on { background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--cd); font-weight: 600; }
.pv-main { padding: 20px 22px; min-width: 0; }
.pv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pv-head small { color: var(--faint); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.pv-head b { display: block; font: 600 20px var(--sora); letter-spacing: -.03em; }
.pv-pill { padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--cd); font-weight: 600; font-size: 12px; white-space: nowrap; }
.pv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pv-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); min-width: 0; }
.pv-card h4 { font: 600 12px var(--sans); color: var(--muted); margin-bottom: 10px; letter-spacing: 0; }
.pv-task { display: flex; align-items: center; gap: 9px; padding: 5px 0; }
.pv-task i { width: 15px; height: 15px; border-radius: 50%; border: 1.6px solid var(--line); flex: none; transition: background .3s, border-color .3s; }
.pv-task.done { color: var(--faint); text-decoration: line-through; }
.pv-task.done i, .pane.on .anim-check i { background: var(--cd); border-color: var(--cd); box-shadow: inset 0 0 0 3px var(--surface); }
.pane.on .anim-check i { animation: tick 1s 1.4s both; } .pane.on .anim-check { animation: strike 1s 1.4s both; }
@keyframes tick { from { background: none; border-color: var(--line); box-shadow: none; } }
@keyframes strike { to { color: var(--faint); text-decoration: line-through; } }
.rings { display: flex; gap: 10px; }
.rings span { --p: 50; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--cd) calc(var(--p) * 1%), var(--tint) 0); position: relative; }
.rings span::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); }
.rings b { position: relative; z-index: 1; font-size: 14px; }
.pane.on .anim-ring { animation: ring 1.6s 1s var(--ease) both; }
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes ring { from { --p: 0; } }
.pv-card small { color: var(--faint); font-size: 12px; display: block; margin-top: 8px; }
.timer { text-align: center; padding: 6px 0; } .timer b { display: block; font: 600 30px var(--sora); letter-spacing: -.04em; color: var(--cd); }
.bar { display: block; height: 8px; border-radius: 9px; background: var(--tint); overflow: hidden; }
.bar i, .bar em { display: block; height: 100%; width: var(--to); border-radius: inherit; background: var(--cd); }
.pane.on .anim-bar { animation: grow 1.6s .5s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.pv-ready p { display: grid; grid-template-columns: 96px minmax(0, 1fr) 34px; gap: 8px; align-items: center; padding: 4px 0; }
.pv-ready p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pv-ready p b { text-align: right; font-size: 12px; }
.flip { perspective: 600px; height: 74px; }
.flip-in { position: relative; height: 100%; transform-style: preserve-3d; }
.pane.on .flip-in { animation: flip 6s 1.2s infinite; }
.flip-in span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 8px; border-radius: 11px; background: color-mix(in srgb, var(--c) 12%, var(--surface)); backface-visibility: hidden; font-weight: 600; font-size: 12.5px; }
.flip-in span + span { transform: rotateY(180deg); background: var(--cd); color: #fff; }
@keyframes flip { 0%, 35% { transform: rotateY(0); } 45%, 85% { transform: rotateY(180deg); } 95%, 100% { transform: rotateY(360deg); } }
.pv-next p { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.tag { font: 500 10.5px var(--mono); text-transform: uppercase; padding: 3px 7px; border-radius: 6px; font-style: normal; }
.tag.study { background: #19b5a51f; color: var(--study-d); }
.pv-ask { display: flex; align-items: center; gap: 10px; background: var(--night); color: var(--ivory); border-color: var(--night); font-weight: 500; }
.ask-orb { width: 26px; height: 26px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--study) 30%, var(--work) 70%, #0a1b2a 100%); box-shadow: 0 0 16px #19b5a580; animation: orb 4s ease-in-out infinite; }
@keyframes orb { 50% { transform: scale(1.08); box-shadow: 0 0 26px #3d6bff80; } }
.pv-avatars { display: flex; } .pv-avatars i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 10.5px var(--sans); font-style: normal; color: #fff; margin-left: -6px; border: 2px solid var(--surface); background: var(--work-d); }
.pv-avatars i:nth-child(2) { background: var(--study-d); } .pv-avatars i:nth-child(3) { background: var(--personal-d); } .pv-avatars i:nth-child(4) { background: var(--muted); }
.pv-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; position: relative; }
.col { background: #f4f6f2; border-radius: 13px; padding: 10px; min-width: 0; }
.col h5 { font: 600 12px var(--sans); margin: 0 0 8px; color: var(--muted); display: flex; justify-content: space-between; }
.col h5 em { font-style: normal; color: var(--faint); }
.kc { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; margin-bottom: 8px; font-weight: 600; font-size: 12.5px; box-shadow: 0 1px 2px #0a1b2a0a; }
.kc small { display: block; font-weight: 400; color: var(--faint); font-size: 11px; margin-top: 3px; }
.kc.ghost { border-style: dashed; box-shadow: none; background: none; height: 46px; }
.pane.on .anim-move { animation: move 6s 1.2s var(--ease) infinite; position: relative; z-index: 2; }
@keyframes move { 0%, 20% { transform: none; box-shadow: 0 1px 2px #0a1b2a0a; } 32% { transform: translate(6px, -6px) rotate(2deg); box-shadow: 0 14px 30px #0a1b2a26; } 52%, 80% { transform: translate(calc(100% + 30px), 54px) rotate(0); box-shadow: 0 1px 2px #0a1b2a0a; } 100% { transform: none; } }
.pv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pv-stats span { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pv-stats small { display: block; color: var(--faint); font-size: 11px; } .pv-stats b { font: 600 18px var(--sora); letter-spacing: -.03em; }
@media (max-width: 720px) { .pv-app { grid-template-columns: minmax(0, 1fr); } .pv-side { display: none; } .pv-grid { grid-template-columns: minmax(0, 1fr); } .pv-board { grid-template-columns: repeat(3, 140px); overflow-x: auto; } .pv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .browser-body, .pv-app { min-height: 0; } }

/* ---------- Three experiences ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.exp { --c: var(--study); --cd: var(--study-d); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.exp.personal { --c: var(--personal); --cd: var(--personal-d); } .exp.work { --c: var(--work); --cd: var(--work-d); }
.exp:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.exp-shot { height: 220px; overflow: hidden; position: relative; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, var(--night)), var(--night)); padding: 22px 0 0 22px; }
.exp-shot .mini { width: 760px; transform: scale(.52); transform-origin: top left; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px #0006; background: var(--surface); pointer-events: none; }
.exp-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.exp-name { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cd); }
.exp h3 { font-size: 26px; }
.exp ul { display: grid; gap: 8px; color: var(--muted); }
.exp li { display: flex; align-items: center; gap: 9px; } .exp li .ic { color: var(--cd); }
.exp-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cd); padding-top: 8px; }
.exp-link .ic { transition: transform .3s var(--ease); } .exp:hover .exp-link .ic { transform: translateX(4px); }

/* ---------- Core capabilities (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cap { grid-column: span 1; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-width: 0; }
.cap.big { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; min-height: 290px; }
.cap.dark { background: var(--night); color: var(--ivory); border-color: var(--night); }
.cap.dark p { color: #b8c5cf; }
.cap-text { display: flex; flex-direction: column; gap: 12px; }
.cap h3 { font-size: 20px; } .cap p { color: var(--muted); font-size: 15px; }
.cap-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent); }
.cap.dark .cap-ic { background: #ffffff12; color: var(--study); }
.avail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; }
.avail .sp-chip { height: 24px; font-size: 11.5px; padding: 0 9px; }
.avail small { font-size: 12px; color: var(--faint); }
.cap.dark .sp-chip.off { border-color: #ffffff22; color: #7f8f9c; } .cap.dark .sp-chip.study { color: var(--study); } .cap.dark .sp-chip.work { color: #7f9dff; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cap.big { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .cap.big { grid-column: auto; grid-template-columns: minmax(0, 1fr); } }
/* Feature demos */
.demo { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); padding: 14px; font-size: 13px; position: relative; }
.cap.dark .demo { background: var(--night-2); border-color: #ffffff14; }
.demo-tasks { display: grid; gap: 12px; }
.dt-list { position: relative; height: 112px; }
.dt-list p { position: absolute; left: 0; right: 0; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; transition: top .8s var(--ease); }
.dt-list p[data-k=a] { top: 0; } .dt-list p[data-k=b] { top: 40px; } .dt-list p[data-k=c] { top: 80px; }
.pr { font: 500 10.5px var(--mono); text-transform: uppercase; padding: 3px 7px; border-radius: 6px; font-style: normal; transition: background .4s, color .4s; }
.pr.low { background: var(--tint); color: var(--muted); } .pr.med { background: #fff3d6; color: #9a6b00; } .pr.high { background: #ffe3dd; color: #c2410c; }
.dt-day { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px 10px; align-items: center; font-size: 12px; }
.dt-day span { color: var(--faint); font-family: var(--mono); }
.dt-day b { font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #19b5a51a; color: var(--study-d); border-left: 3px solid var(--study-d); transition: opacity .4s; }
.demo-tasks.swap .dt-list p[data-k=a] { top: 40px; } .demo-tasks.swap .dt-list p[data-k=b] { top: 0; }
.demo-ai { display: grid; gap: 10px; }
.demo-ai p { padding: 10px 12px; border-radius: 12px; max-width: 92%; }
.demo-ai .me { justify-self: end; background: var(--study-d); color: #fff; }
.demo-ai .em { display: flex; gap: 10px; align-items: flex-start; background: #ffffff10; color: var(--ivory); }
.demo-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 10px; }
.demo-cal span { display: grid; gap: 5px; align-content: start; min-height: 74px; }
.demo-cal small { font: 11px var(--mono); color: var(--faint); text-align: center; }
.ev { display: block; height: 18px; border-radius: 5px; font-style: normal; opacity: 0; transform: scaleX(.3); transform-origin: left; }
.in .ev, .wf-demo.on .ev { animation: evIn .7s var(--d, 0ms) var(--ease) both; }
@keyframes evIn { to { opacity: 1; transform: none; } }
.ev.study { background: var(--study); } .ev.work { background: var(--work); } .ev.personal { background: var(--personal); }
.demo-proj p { display: grid; gap: 6px; font-weight: 600; padding: 4px 0; }
.demo-proj i, .goals i { display: block; height: 7px; border-radius: 9px; background: var(--tint); overflow: hidden; }
.demo-proj em, .goals em { display: block; height: 100%; width: 0; background: var(--work-d); border-radius: inherit; transition: width 1.6s .3s var(--ease); }
.in .demo-proj em, .wf-demo.on .goals em { width: var(--to); }
.goals em { background: var(--personal-d); }
.demo-notes p { line-height: 1.5; }
.demo-notes mark { background: #19b5a52e; color: inherit; border-radius: 4px; padding: 0 2px; }
.to-card { display: inline-block; margin-top: 8px; font: 500 11.5px var(--mono); color: var(--study-d); background: #19b5a51a; padding: 4px 9px; border-radius: 7px; }
.demo-focus, .streak { display: flex; align-items: center; gap: 14px; }
.demo-focus svg, .streak svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.demo-focus circle, .streak circle { fill: none; stroke: var(--tint); stroke-width: 4.5; }
.demo-focus .arc { stroke: var(--study-d); stroke-dasharray: 113; stroke-dashoffset: 113; stroke-linecap: round; transition: stroke-dashoffset 2.4s .4s var(--ease); }
.in .demo-focus .arc { stroke-dashoffset: 34; }
.demo-focus b { font: 600 26px var(--sora); letter-spacing: -.04em; }

/* ---------- Emina ---------- */
.emina { background: var(--night); color: var(--ivory); overflow: hidden; isolation: isolate; }
.emina::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 15% 30%, #19b5a524, transparent 65%), radial-gradient(40% 50% at 90% 80%, #3d6bff26, transparent 65%); }
.emina-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 980px) { .emina-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.emina h2 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 20px; }
.emina .lead { color: #c3cfd8; margin-bottom: 26px; }
.emina-list { display: grid; gap: 12px; color: #d6dee4; }
.emina-list li { display: flex; gap: 10px; align-items: flex-start; } .emina-list .ic { color: var(--study); margin-top: 3px; }
.emina-orb { position: relative; width: 92px; height: 92px; margin: 30px 0 56px 30px; }
.emina-orb i { position: absolute; inset: 0; border-radius: 50%; }
.emina-orb i:nth-child(1) { background: radial-gradient(circle at 35% 30%, #fff 0 6%, var(--study) 32%, var(--work) 70%, #0a1b2a 100%); box-shadow: 0 0 60px #19b5a566, 0 0 120px #3d6bff33; animation: orb 5s ease-in-out infinite; }
.emina-orb i:nth-child(2) { inset: -14px; border: 1px dashed #19b5a566; animation: spin 18s linear infinite; }
.emina-orb i:nth-child(3) { inset: -30px; border: 1px solid #b5db4c2e; animation: spin 30s linear infinite reverse; }
.emina-orb i:nth-child(3)::after { content: ''; position: absolute; top: 6px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--personal); box-shadow: 0 0 12px var(--personal); }
@keyframes spin { to { transform: rotate(360deg); } }
.chat { border-radius: 22px; background: #0f2336e6; border: 1px solid #ffffff17; box-shadow: 0 30px 80px #0008; padding: 18px; backdrop-filter: blur(10px); }
.chat-tabs { display: flex; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid #ffffff14; margin-bottom: 16px; flex-wrap: wrap; }
.chat-tabs button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid #ffffff1f; background: none; color: #b8c5cf; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.chat-tabs button[aria-selected='true'] { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.chat-body { min-height: 230px; display: grid; align-content: start; gap: 12px; }
.chat-script { display: none; } .chat-script.on { display: grid; gap: 12px; }
.bubble { padding: 12px 15px; border-radius: 16px; max-width: 88%; font-size: 15px; line-height: 1.55; animation: paneIn .5s var(--ease) both; }
.bubble.me { justify-self: end; background: var(--study-d); color: #fff; border-bottom-right-radius: 6px; }
.bubble.em { display: flex; gap: 11px; align-items: flex-start; background: #ffffff0d; border: 1px solid #ffffff12; border-bottom-left-radius: 6px; }
.bubble .src { display: block; margin-top: 8px; font: 500 11.5px var(--mono); color: var(--study); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: #ffffff0d; border-radius: 16px; width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b8c5cf; animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }
.chat-note { font-size: 13px; color: #8ea0ae; margin-top: 16px; border-top: 1px solid #ffffff14; padding-top: 14px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.step-n { font: 500 13px var(--mono); color: var(--accent); }
.step-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--night); color: var(--study); }
.step h3 { font-size: 22px; } .step p { color: var(--muted); }
@media (min-width: 900px) { .step:not(:last-child)::after { content: ''; position: absolute; top: 52px; right: -21px; width: 22px; height: 1px; background: var(--line); } }

/* ---------- Workflows ---------- */
.wf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 980px) { .wf { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.wf-tabs { display: grid; gap: 10px; }
.wf-tabs button { text-align: left; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; gap: 4px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); position: relative; overflow: hidden; }
.wf-tabs button::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, var(--study-d)); opacity: 0; transition: opacity .3s; }
.wf-tabs button.study { --c: var(--study-d); } .wf-tabs button.work { --c: var(--work-d); } .wf-tabs button.personal { --c: var(--personal-d); }
.wf-tabs button b { font: 600 17px var(--sora); letter-spacing: -.02em; } .wf-tabs button small { color: var(--muted); font-size: 14.5px; }
.wf-tabs button[aria-selected='true'] { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: var(--shadow); }
.wf-tabs button[aria-selected='true']::before { opacity: 1; }
.wf-stage { position: relative; min-height: 340px; border-radius: 22px; background: var(--night); padding: 28px; overflow: hidden; color: var(--ivory); display: grid; }
.wf-demo { display: none; align-items: center; } .wf-demo.on { display: flex; animation: paneIn .6s var(--ease) both; }
.wf-demo[data-wfd=students] { gap: 16px; flex-wrap: wrap; justify-content: center; }
.syl { background: var(--ivory); color: var(--text); border-radius: 14px; padding: 16px; font-size: 13px; width: 200px; display: grid; gap: 7px; box-shadow: 0 16px 40px #0006; }
.syl b { font-size: 13px; margin-bottom: 4px; } .syl p { padding: 5px 8px; border-radius: 7px; background: var(--tint); }
.wf-arrow { color: var(--study); }
.sem { display: grid; grid-template-columns: repeat(4, 64px); gap: 8px; }
.sem span { display: grid; gap: 6px; align-content: start; background: #ffffff0a; border: 1px solid #ffffff14; border-radius: 12px; padding: 10px 8px; min-height: 120px; }
.sem small { font: 11px var(--mono); color: #93a5b4; text-align: center; }
.tl { display: grid; gap: 10px; width: 100%; max-width: 420px; margin: auto; }
.tl p { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; opacity: 0; transform: translateX(-12px); }
.wf-demo.on .tl p { animation: evIn .6s var(--d) var(--ease) both; }
.tl small { font: 12px var(--mono); color: #93a5b4; }
.blk { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; border-left: 3px solid; }
.blk.work { background: #3d6bff22; border-color: var(--work); } .blk.personal { background: #b5db4c1c; border-color: var(--personal); }
.assign { display: grid; gap: 14px; width: 100%; max-width: 440px; margin: auto; }
.assign .kc { color: var(--text); } .assign .kc b { color: var(--work-d); }
.notif { display: flex; gap: 11px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #ffffff0f; border: 1px solid #ffffff17; font-size: 14px; }
.wf-demo.on .notif { animation: paneIn .6s .8s var(--ease) both; }
.mini-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-board span { padding: 12px; border-radius: 12px; background: #ffffff0a; border: 1px solid #ffffff14; font-size: 13px; color: #b8c5cf; display: grid; gap: 4px; }
.mini-board b { font: 600 22px var(--sora); color: var(--ivory); }
.mini-board .hl { border-color: #fbbf2466; background: #fbbf2414; }
.life { display: flex; gap: 28px; align-items: center; width: 100%; max-width: 460px; margin: auto; flex-wrap: wrap; justify-content: center; }
.streak { flex-direction: column; position: relative; gap: 2px; }
.streak svg { width: 120px; height: 120px; }
.streak circle { stroke: #ffffff14; } .streak .arc { stroke: var(--personal); stroke-dasharray: 113; stroke-dashoffset: 113; stroke-linecap: round; transition: stroke-dashoffset 2s .3s var(--ease); }
.wf-demo.on .streak .arc { stroke-dashoffset: 22; }
.streak b { position: absolute; top: 34px; font: 600 34px var(--sora); } .streak small { color: #93a5b4; }
.goals { display: grid; gap: 14px; min-width: 220px; flex: 1; }
.goals p { display: grid; gap: 7px; font-weight: 600; font-size: 14px; }
.goals i { background: #ffffff14; }

/* ---------- Integrations ---------- */
.int-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.int { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: border-color .3s, transform .4s var(--ease); }
.int:hover { transform: translateY(-3px); border-color: #0a1b2a33; }
.int-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--text); margin-bottom: 4px; }
.int.study .int-ic { color: var(--study-d); background: #19b5a51a; } .int.work .int-ic { color: var(--work-d); background: #3d6bff14; }
.int h3 { font-size: 16.5px; } .int p { color: var(--muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; gap: 4px; width: max-content; margin: 0 auto 28px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.billing-toggle button { height: 38px; padding: 0 16px; border-radius: 9px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }
.billing-toggle button small { font-weight: 500; color: var(--accent); margin-left: 4px; }
.billing-toggle button[aria-pressed='true'] { background: var(--night); color: var(--ivory); } .billing-toggle button[aria-pressed='true'] small { color: var(--study); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; align-items: stretch; }
.plan { --cd: var(--study-d); position: relative; padding: 26px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.plan.work { --cd: var(--work-d); } .plan.all { --cd: var(--accent); }
.plan.best { border-color: var(--night); box-shadow: 0 0 0 1px var(--night), var(--shadow); }
.plan-flag { position: absolute; top: -12px; left: 22px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--night); color: var(--ivory); padding: 5px 10px; border-radius: 99px; }
.plan h3 { font-size: 22px; color: var(--cd); }
.price { margin: 14px 0 16px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font: 600 40px var(--sora); letter-spacing: -.04em; } .price span { color: var(--muted); font-size: 14px; }
.plan ul { display: grid; gap: 9px; margin-bottom: 22px; color: var(--muted); font-size: 14.5px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; } .plan li .ic { color: var(--cd); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; border-radius: 24px; background: var(--night); color: var(--ivory); align-items: center; }
@media (min-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.calc h2 { font-size: 30px; margin-bottom: 10px; } .calc .muted { color: #a9b8c3; }
.calc-ui { display: grid; gap: 14px; }
.calc-ui input { width: 100%; accent-color: var(--study); }
.calc-total b { font: 600 46px var(--sora); letter-spacing: -.04em; } .calc-total span { color: #a9b8c3; }
.calc .small.muted { color: #a9b8c3; }
.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); } .faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ---------- Final call to action ---------- */
.final { background: var(--night); color: var(--ivory); overflow: hidden; isolation: isolate; text-align: center; }
.final-in { display: grid; justify-items: center; gap: 22px; }
.final h2 { font-size: clamp(36px, 5.6vw, 68px); letter-spacing: -0.04em; }
.final .lead { color: #c3cfd8; }
.final .plume-root { fill: var(--ivory); }
.final.small { padding: clamp(60px, 8vw, 100px) 0; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--night); color: var(--ivory); padding: calc(var(--nav-h) + clamp(50px, 8vw, 110px)) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 10%, #3d6bff2e, transparent 60%), radial-gradient(45% 60% at 0% 100%, #19b5a529, transparent 60%); }
.tone-personal .page-hero::before { background: radial-gradient(60% 80% at 80% 0%, #b5db4c2a, transparent 60%); }
.tone-study .page-hero::before { background: radial-gradient(60% 80% at 80% 0%, #19b5a538, transparent 60%); }
.tone-work .page-hero::before { background: radial-gradient(60% 80% at 80% 0%, #3d6bff40, transparent 60%); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 66px); letter-spacing: -0.04em; margin-bottom: 18px; max-width: 16ch; }
.page-hero .lead { color: #c3cfd8; max-width: 36em; margin-bottom: 26px; }
.page-hero .eyebrow { color: var(--study); }
.soon { padding: 36px; border-radius: 22px; background: var(--surface); border: 1px dashed #0a1b2a2e; display: grid; gap: 12px; }
.soon h2 { font-size: 26px; }

/* ---------- Footer ---------- */
.foot { background: #07141f; color: #b8c5cf; padding: 72px 0 28px; }
.foot-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); } }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 14px; max-width: 300px; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot .logo { color: var(--ivory); } .foot-brand p { font-size: 14.5px; }
.foot h2 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #7f909d; margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; font-size: 14.5px; }
.foot a:hover { color: var(--ivory); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #ffffff12; font-size: 13.5px; }
.foot-base a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.foot-note { display: inline-flex; align-items: center; gap: 6px; color: #7f909d; }

/* ---------- Waitlist ---------- */
.modal-layer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: #0a1b2a99; backdrop-filter: blur(6px); }
.modal-layer[hidden] { display: none; }
.modal { position: relative; width: min(100%, 460px); background: var(--surface); border-radius: 22px; padding: 30px 26px 24px; box-shadow: 0 30px 90px #0a1b2a66; animation: paneIn .5s var(--ease) both; }
.modal h2 { font-size: 26px; margin-bottom: 8px; } .modal .eyebrow { color: var(--accent); }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--tint); cursor: pointer; display: grid; place-items: center; }
.wl-form { display: grid; gap: 14px; margin-top: 20px; }
.wl-form input[type=email] { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); outline: none; }
.wl-form input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #0e8f8326; }
.wl-spaces { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wl-spaces legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.wl-spaces label { cursor: pointer; } .wl-spaces input { position: absolute; opacity: 0; }
.wl-spaces .sp-chip { opacity: .55; transition: opacity .2s; } .wl-spaces input:checked + .sp-chip { opacity: 1; box-shadow: 0 0 0 2px currentColor inset; }
.wl-spaces input:focus-visible + .sp-chip { outline: 2px solid var(--study); outline-offset: 2px; }
.wl-msg { font-size: 14px; min-height: 1.4em; } .wl-msg.ok { color: var(--accent); font-weight: 600; } .wl-msg.err { color: #c2410c; }

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

/* ---------- Solution pages (Personal · Study · Work): each in its own colour ---------- */
.tone-personal { --tone: var(--personal); --tone-d: var(--personal-d); --tone-on: var(--night); }
.tone-study { --tone: var(--study); --tone-d: var(--study-d); --tone-on: #fff; }
.tone-work { --tone: var(--work); --tone-d: var(--work-d); --tone-on: #fff; }
[class*='tone-'] .btn.primary { background: var(--tone-d); color: #fff; box-shadow: 0 6px 20px color-mix(in srgb, var(--tone-d) 30%, transparent); }
.tone-personal .btn.primary { background: var(--personal); color: var(--night); }
.tone-personal .btn.primary:hover { background: #c4e46a; }
.tone-work .btn.primary:hover { background: #2446c4; }
[class*='tone-'] .eyebrow { color: var(--tone-d); }
[class*='tone-'] .page-hero .eyebrow, [class*='tone-'] .sol-emina .eyebrow { color: var(--tone); }
[class*='tone-'] .text-link { color: var(--tone-d); }
.sol-hero { padding-bottom: 0; }
.sol-hero-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
@media (min-width: 1040px) { .sol-hero-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; padding-bottom: 70px; } }
.sol-hero .browser { margin: 0; box-shadow: 0 30px 80px #0008, 0 0 0 1px #ffffff14; }
@media (max-width: 1039px) { .sol-hero .browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.feat { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: transform .4s var(--ease), border-color .3s; }
.feat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone, var(--study)) 45%, var(--line)); }
.feat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 4px; background: color-mix(in srgb, var(--tone, var(--study)) 16%, transparent); color: var(--tone-d, var(--study-d)); }
.feat h3 { font-size: 17px; } .feat p { color: var(--muted); font-size: 14.5px; }
.rows { display: grid; gap: clamp(60px, 9vw, 120px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 960px) { .row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; } .row.rev .row-text { order: 2; } }
.row-n { font: 500 13px var(--mono); color: var(--tone-d); }
.row h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 16px; }
.row-text p { color: var(--muted); font-size: 17.5px; }
.row-visual { border-radius: 24px; background: var(--night); padding: clamp(20px, 3vw, 34px); min-height: 300px; display: grid; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.row-visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 10%, color-mix(in srgb, var(--tone) 28%, transparent), transparent 65%); }
.sol-emina { background: var(--night); color: var(--ivory); overflow: hidden; isolation: isolate; }
.sol-emina::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 10% 30%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 65%); }
.sol-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 960px) { .sol-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sol-emina h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 20px; }
.sol-emina .lead { color: #c3cfd8; margin-bottom: 22px; }
.sol-emina .emina-list .ic { color: var(--tone); }
.sol-emina .chat-body { min-height: 0; }
.plans.only-2 { max-width: 760px; margin: 0 auto; }

/* Mock-ups in the deep-dive rows */
.mock { color: var(--ivory); font-size: 14px; display: grid; gap: 12px; }
.mk-label { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #93a5b4; }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chips span { padding: 8px 14px; border-radius: 99px; border: 1px solid #ffffff1f; color: #c3cfd8; font-weight: 500; }
.mk-chips span.on { background: var(--tone); border-color: var(--tone); color: #fff; }
.mk-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mk-flow span { padding: 9px 12px; border-radius: 10px; background: #ffffff0d; border: 1px solid #ffffff17; font-weight: 600; font-size: 13px; opacity: 0; transform: translateY(6px); }
.in .mk-flow span { animation: evIn .6s var(--d) var(--ease) both; }
.mk-flow i { width: 14px; height: 1px; background: #ffffff33; }
.mk-rule { padding: 14px 16px; border-radius: 14px; background: #ffffff0b; border: 1px solid #ffffff17; }
.mk-rule b { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--tone); margin-right: 8px; }
.mk-rule em { font-style: normal; font-weight: 600; color: #fff; }
.mk-rule.rep b { color: var(--personal); } .mk-rule.form b { color: var(--study); }
.mk-access table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mk-access th { font: 500 11px var(--mono); text-transform: uppercase; color: #93a5b4; padding: 8px 6px; text-align: center; }
.mk-access td { padding: 10px 6px; border-top: 1px solid #ffffff12; text-align: center; }
.mk-access td:first-child { text-align: left; font-weight: 600; }
.mk-access i { font-style: normal; } .mk-access .y { color: var(--personal); font-weight: 700; } .mk-access .n { color: #5f7283; } .mk-access .o { font-size: 11px; color: #c3cfd8; background: #ffffff12; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 560px) { .mk-access table { font-size: 11px; } .mk-access .o { font-size: 9.5px; padding: 2px 4px; } }
.mk-foot { font-size: 12.5px; color: #93a5b4; }
.mk-invoice { background: var(--ivory); color: var(--text); border-radius: 16px; padding: 20px; box-shadow: 0 20px 50px #0006; gap: 10px; }
.mk-inv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mk-badge { font: 500 11px var(--mono); text-transform: uppercase; padding: 4px 9px; border-radius: 99px; }
.mk-badge.ok { background: #16a34a1f; color: #15803d; }
.mk-invoice p { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mk-invoice p.tot { border: 0; font-size: 16px; } .mk-invoice .mk-foot { color: var(--muted); border: 0; }
.mk-syl { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.mk-cards { grid-template-columns: minmax(0, 1fr); }
.mk-note { background: var(--ivory); color: var(--text); border-radius: 14px; padding: 16px; }
.mk-note small { font: 11px var(--mono); color: var(--faint); } .mk-note p { margin-top: 6px; line-height: 1.55; }
.mk-note mark { background: #19b5a533; border-radius: 4px; padding: 0 2px; }
.mk-made { display: grid; gap: 8px; }
.mk-made p { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 14px; border-radius: 12px; background: #ffffff0b; border: 1px solid #ffffff17; opacity: 0; }
.in .mk-made p { animation: evIn .6s var(--d) var(--ease) both; }
.mk-made small { color: var(--study); font: 500 11px var(--mono); }
.mk-ready { grid-template-columns: minmax(0, 1fr); }
.mk-ready .pv-card { color: var(--text); }
.in .mk-ready .anim-bar { animation: grow 1.6s .3s var(--ease) both; }
.mk-plan { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: #ffffff0b; border: 1px solid #ffffff17; }
.mk-plan p { display: flex; align-items: center; gap: 10px; color: #c3cfd8; }
.mk-plan .ev { width: 22px; flex: none; }
.mk-group { grid-template-columns: minmax(0, 1fr); }
.mk-chat { display: grid; gap: 8px; }
.mk-chat p { padding: 10px 13px; border-radius: 14px; max-width: 85%; background: #ffffff0d; }
.mk-chat p b { display: block; font-size: 12px; color: var(--study); }
.mk-chat p.me { justify-self: end; background: var(--study-d); }
.mk-room { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: 14px; border: 1px solid #19b5a555; background: #19b5a514; }
.mk-room small { color: #93a5b4; margin-left: auto; }
.mk-room .pv-avatars i { border-color: var(--night); }
.mk-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-day .pv-card { color: var(--text); } .mk-day .pv-card:first-child { grid-row: span 2; }
.mk-safe b { display: block; font: 600 34px var(--sora); color: var(--personal-d); letter-spacing: -.04em; }
.mk-day .pv-task.done i { background: var(--personal-d); border-color: var(--personal-d); }
.mk-day .rings span { background: conic-gradient(var(--personal-d) calc(var(--p) * 1%), var(--tint) 0); }
.in .streak .arc { stroke-dashoffset: 22; }
.in .goals em { width: var(--to); }
.mk-money { grid-template-columns: minmax(0, 1fr); }
.mk-bud { display: grid; gap: 10px; }
.mk-bud p { display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.mk-bud i { height: 8px; border-radius: 9px; background: #ffffff14; overflow: hidden; }
.mk-bud em { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--personal); transition: width 1.4s .3s var(--ease); }
.mk-bud em.warn { background: #fbbf24; }
.in .mk-bud em { width: var(--to); }
.mk-bills { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: #ffffff0b; border: 1px solid #ffffff17; }
.mk-bills p { display: flex; justify-content: space-between; color: #c3cfd8; }
.mk-journal { grid-template-columns: minmax(0, 1fr); }
.mk-entry { background: var(--ivory); color: var(--text); border-radius: 14px; padding: 18px; display: grid; gap: 8px; }
.mk-entry small { font: 11px var(--mono); color: var(--faint); }
.mk-lock { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px var(--mono); color: var(--personal-d); }
.mk-moods { display: flex; align-items: flex-end; gap: 10px; height: 90px; padding: 0 4px; }
.mk-moods i { flex: 1; height: 0; border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--personal), #7fae2f); transition: height .9s var(--d) var(--ease); }
.in .mk-moods i { height: var(--h); }

/* ---------- Phase 3 pages ---------- */
.emina-hero .emina-big { display: grid; place-items: center; min-height: 260px; }
.emina-big .emina-orb { width: 170px; height: 170px; margin: 40px; }
.emina-big .emina-orb i:nth-child(2) { inset: -26px; } .emina-big .emina-orb i:nth-child(3) { inset: -54px; }
.text-link.inline { margin: 0; font-size: inherit; }
.fx-study { color: var(--study-d); } .fx-work { color: var(--work-d); } .fx-personal { color: var(--personal-d); }
.feat-grid.fx-study .feat h3 { color: var(--study-d); } .feat-grid.fx-work .feat h3 { color: var(--work-d); } .feat-grid.fx-personal .feat h3 { color: var(--personal-d); }
.feat-grid[class*='fx-'] { color: var(--text); }
.int-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.int-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.int-card .int-ic { flex: none; margin: 0; }
.int-card.study .int-ic { color: var(--study-d); background: #19b5a51a; } .int-card.work .int-ic { color: var(--work-d); background: #3d6bff14; }
.int-card h3 { font-size: 18px; margin-bottom: 6px; } .int-card p { color: var(--muted); font-size: 15px; }
.int-what { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px !important; }
.int-detail .fine { grid-column: 1 / -1; }
.changelog { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.changelog > li { position: relative; padding: 0 0 42px 28px; }
.changelog > li::before { content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.changelog time { font: 500 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.changelog h2 { font-size: 26px; margin: 6px 0 12px; }
.changelog ul { display: grid; gap: 8px; color: var(--muted); }
.changelog ul li { padding-left: 18px; position: relative; } .changelog ul li::before { content: ''; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.about-split h2, .sol-split h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.about-split .feat-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-mini { display: grid; gap: 14px; }
.timeline-mini li { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.timeline-mini b { display: block; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 4px; }
/* Legal */
.legal-hero h1 { max-width: none; }
.legal-meta { font: 500 12.5px var(--mono); color: #93a5b4; text-transform: uppercase; letter-spacing: .06em; }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1040px; }
@media (min-width: 960px) { .legal-wrap { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } .legal-draft { grid-column: 1 / -1; } .legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); } }
.legal-draft { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff7e0; border: 1px solid #f5d98a; color: #6b4e00; font-size: 14.5px; }
.legal-toc p { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 10px; }
.legal-toc ol { display: grid; gap: 6px; font-size: 14px; counter-reset: t; }
.legal-toc a { color: var(--muted); } .legal-toc a:hover { color: var(--text); }
.legal section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 22px; margin-bottom: 12px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal p, .legal li { color: #334250; font-size: 16px; line-height: 1.7; }
.legal ul { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
mark.todo { background: #fff1b8; color: #6b4e00; border-radius: 4px; padding: 1px 5px; font-size: .92em; }

/* ---------- Help Center ---------- */
.help-hero .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.help-hero h1 { max-width: none; }
.help-search { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: 16px; background: #ffffff12; border: 1px solid #ffffff26; color: #b8c5cf; max-width: 620px; }
.help-search:focus-within { border-color: var(--study); }
.help-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ivory); font-size: 17px; }
.help-search input::placeholder { color: #8ea0ae; }
.help-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.help-cat { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.help-cat[hidden] { display: none; }
.help-cat h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 12px; }
.help-cat .feat-ic { width: 34px; height: 34px; margin: 0; }
.help-cat li[hidden] { display: none; }
.help-cat a { display: grid; gap: 2px; padding: 10px 10px; margin: 0 -10px; border-radius: 12px; }
.help-cat a:hover { background: var(--tint); }
.help-cat b { font-weight: 600; font-size: 15px; } .help-cat small { color: var(--muted); font-size: 13.5px; }
.help-none { text-align: center; color: var(--muted); padding: 24px; }
.help-contact { margin-top: 28px; }
.help-steps { counter-reset: step; display: grid; gap: 14px; }
.help-steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); line-height: 1.6; }
.help-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--study); font: 600 14px var(--sora); }
.help-more { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; }
.help-more .text-link { margin: 0; }

/* ---------- The guided tour ---------- */
.tour { position: relative; width: min(100%, 1060px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 24px; background: var(--surface); box-shadow: 0 40px 120px #0a1b2a80; display: grid; grid-template-columns: minmax(0, 1fr); animation: paneIn .5s var(--ease) both; }
@media (min-width: 900px) { .tour { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.tour .modal-x { z-index: 3; }
.tour-stage { background: var(--night); padding: clamp(16px, 3vw, 30px); display: grid; align-items: center; min-height: 300px; overflow: hidden; position: relative; isolation: isolate; }
.tour-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 10%, #3d6bff33, transparent 60%), radial-gradient(50% 60% at 0% 100%, #19b5a52e, transparent 60%); }
.tour-stage.in > * { animation: paneIn .55s var(--ease) both; }
.tour-stage .browser { margin: 0; max-width: none; pointer-events: none; }
.tour-stage .pv-app { min-height: 0; }
@media (max-width: 720px) { .tour-stage .pv-app { grid-template-columns: minmax(0, 1fr); } }
.tour-focus { position: relative; z-index: 2; outline: 3px solid var(--study); outline-offset: 4px; border-radius: 12px; animation: tourPulse 1.8s ease-in-out infinite; }
@keyframes tourPulse { 50% { outline-color: #19b5a566; outline-offset: 8px; } }
.tour-chat { display: grid; gap: 12px; color: var(--ivory); }
.tour-chat .bubble.em.tour-focus { outline-offset: 6px; border-radius: 16px; }
.tour-end { display: grid; justify-items: center; gap: 20px; }
.tour-end .plume { width: 110px; height: 110px; } .tour-end .plume-root { fill: var(--ivory); }
.tour-text { padding: clamp(22px, 3vw, 36px); display: grid; align-content: center; gap: 14px; }
.tour-text h2 { font-size: clamp(24px, 2.6vw, 32px); }
.tour-dots { display: flex; gap: 6px; } .tour-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .3s var(--ease), background .3s; } .tour-dots i.on { width: 24px; background: var(--accent); }
.tour-nav { display: flex; gap: 10px; margin-top: 6px; } .tour-nav .btn { flex: 1; } .tour-nav .btn:disabled { opacity: .45; cursor: default; }
@media (max-width: 899px) { .tour-stage { max-height: 46dvh; overflow: hidden; align-items: start; } }

/* ---------- System status ---------- */
.st-overall { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.st-overall h1 { font-size: clamp(22px, 3.4vw, 32px); color: var(--text); }
.st-overall .muted { color: var(--muted); }
.st-overall .st-dot { width: 16px; height: 16px; }
.st-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--faint); }
[data-state="ok"] .st-dot { background: #2fae63; box-shadow: 0 0 0 4px #2fae6322; }
[data-state="slow"] .st-dot { background: #e0a21b; box-shadow: 0 0 0 4px #e0a21b22; }
[data-state="down"] .st-dot { background: #e04a3b; box-shadow: 0 0 0 4px #e04a3b22; }
[data-state="checking"] .st-dot { animation: st-pulse 1.2s ease-in-out infinite; }
@keyframes st-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { [data-state="checking"] .st-dot { animation: none; } }
.st-list { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.st-row summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.st-row summary::-webkit-details-marker { display: none; }
.st-row summary > div { flex: 1; min-width: 0; }
.st-row summary:hover { background: #f8faf6; }
.st-chev { width: 8px; height: 8px; border-right: 1.8px solid var(--faint); border-bottom: 1.8px solid var(--faint); transform: rotate(45deg); margin: -4px 2px 0 4px; transition: transform .25s var(--ease); flex: none; }
.st-row[open] .st-chev { transform: rotate(225deg); margin-top: 4px; }
.st-detail { padding: 4px 20px 20px; border-top: 1px dashed var(--line); background: #fbfcfa; }
.st-parts { display: grid; gap: 2px; margin: 12px 0 6px; }
.st-part { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; }
.st-part small { color: var(--muted); font: 500 12px var(--mono); text-align: right; }
.st-part[data-state="slow"] small { color: #a8740a; } .st-part[data-state="down"] small { color: #c0392b; }
.st-incident { margin: 12px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid #f5d98a; background: #fff9e8; font-size: 14.5px; display: grid; gap: 6px; }
.st-incident.maint { border-color: #c8d6f5; background: #f3f6fd; }
.st-incident h4 { font: 600 15px var(--sans); letter-spacing: 0; }
.st-tag { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.st-h5 { font: 600 13px var(--sans); letter-spacing: 0; margin: 16px 0 6px; color: var(--muted); }
.st-recent { display: grid; gap: 10px; } .st-recent li { padding-left: 12px; border-left: 2px solid var(--line); display: grid; gap: 2px; font-size: 14.5px; }
.st-src { margin-top: 14px; font-size: 12.5px; color: var(--faint); }
.st-hint { margin-top: 10px; }
.st-row + .st-row { border-top: 1px solid var(--line); }
.st-row summary b { display: block; font-weight: 600; } .st-row summary small { color: var(--muted); font-size: 13.5px; }
.st-pill { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--muted); white-space: nowrap; }
.st-row[data-state="ok"] .st-pill { color: #1f8a4c; } .st-row[data-state="slow"] .st-pill { color: #a8740a; } .st-row[data-state="down"] .st-pill { color: #c0392b; }
.st-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: 15px; }
.st-note .ic { margin-top: 3px; color: var(--accent); }
.st-h2 { font-size: 22px; margin: 44px 0 12px; }
.st-incidents li { padding: 16px 0; border-top: 1px solid var(--line); } .st-incidents h3 { font-size: 18px; margin-bottom: 6px; }
.st-foot { margin-top: 36px; }
@media (max-width: 520px) { .st-overall { padding: 18px; gap: 14px; } }

/* ---------- Guides ---------- */
.guide-h1 { max-width: 22ch; font-size: clamp(32px, 4.6vw, 54px); }
.guide-list { display: grid; gap: 14px; }
.guide-list a { display: block; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.guide-list a:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-list .eyebrow { margin-bottom: 8px; } .guide-list h2 { font-size: 21px; margin-bottom: 6px; }
.cmp-scroll { overflow-x: auto; margin: 6px 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); line-height: 1.5; }
.cmp thead th { border-top: 0; font: 600 13px var(--sans); background: var(--tint); }
.cmp tbody th { font-weight: 600; color: var(--text); width: 26%; }
.cmp td { color: #334250; }
.guide-faq dt { font-weight: 600; margin-top: 14px; } .guide-faq dd { margin: 4px 0 0; color: #334250; line-height: 1.7; }
.guide p + p { margin-top: 12px; } .guide .muted.small { margin-top: 8px; }
/* a part's own dot wins over its row's colour */
.st-part[data-state] > .st-dot { background: var(--faint); box-shadow: none; animation: none; }
.st-part[data-state="ok"] > .st-dot { background: #2fae63; } .st-part[data-state="slow"] > .st-dot, .st-part[data-state="maintenance"] > .st-dot { background: #e0a21b; } .st-part[data-state="down"] > .st-dot { background: #e04a3b; }
[data-state="maintenance"] .st-dot { background: #4f7be8; box-shadow: 0 0 0 4px #4f7be822; }
.st-row[data-state="maintenance"] .st-pill { color: #2f55e0; }
@media (max-width: 520px) { .st-row summary { padding: 14px 16px; } .st-detail { padding: 4px 16px 16px; } .st-part { grid-template-columns: auto 1fr; } .st-part small { grid-column: 2; text-align: left; } }
.st-steps { display: grid; gap: 2px; font: 500 12.5px var(--mono); color: var(--muted); padding-left: 12px; border-left: 2px solid #f5d98a; }

/* ---------- Contact ---------- */
.ct-wrap { display: grid; gap: 28px; max-width: 1040px; }
@media (min-width: 900px) { .ct-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.ct-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ct-row { display: grid; gap: 16px; } @media (min-width: 640px) { .ct-row { grid-template-columns: 1fr 1fr; } }
.ct-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ct-form input, .ct-form select, .ct-form textarea { font: 16px/1.5 var(--sans); font-weight: 400; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--text); outline: none; width: 100%; min-width: 0; }
.ct-form textarea { resize: vertical; min-height: 150px; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #0e8f8326; }
.ct-form .btn { justify-self: start; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-side { display: grid; gap: 12px; }
.ct-card { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ct-card .feat-ic { grid-row: span 2; } .ct-card small { color: var(--muted); font-size: 14px; line-height: 1.5; }
a.ct-card { transition: border-color .2s; } a.ct-card:hover { border-color: var(--accent); }
.ct-done { display: grid; gap: 10px; text-align: center; padding: 30px 10px; } .ct-done h2 { font-size: 24px; }
