/* Foyerbox landing: the product's own overview as the hero, then the rest of the story told in the same
   white cards on a grey canvas. Black canvas in dark mode. */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--canvas); }
body { overflow-x: clip; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(8px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { transform: translateY(8px); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes glow-drift { from { transform: translate3d(0, 0, 0); opacity: 0.88; } to { transform: translate3d(-2%, -2%, 0); opacity: 1; } }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border: 0; border-radius: 14px; font-size: 0.95rem; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s var(--ease);
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { cursor: progress; opacity: 0.7; }
.btn .icon { width: 1em; height: 1em; }
.btn-sm { height: 38px; padding: 0 15px; font-size: 0.9rem; border-radius: 12px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 16px; }
.btn-xs { height: 26px; padding: 0 10px; gap: 5px; font-size: 0.75rem; font-style: normal; border-radius: 8px; }
.btn-black, .btn-primary { background: var(--pill); color: var(--on-pill); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.55); }
.btn-black:hover, .btn-primary:hover { background: color-mix(in srgb, var(--pill) 86%, var(--card)); }
.btn-white { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-white:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-md); }
.btn-grey, .btn-quiet { background: var(--card-3); color: var(--text); }
.btn-grey:hover, .btn-quiet:hover { background: color-mix(in srgb, var(--card-3) 80%, var(--text) 6%); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color 0.3s, box-shadow 0.3s; }
.nav-inner { display: flex; align-items: center; gap: 30px; max-width: 1280px; height: 72px; margin: 0 auto; padding: 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 1.4rem; font-weight: 500; letter-spacing: -0.025em; }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 8px; margin-left: auto; }
.nav[data-light] { background: color-mix(in srgb, var(--canvas) 82%, transparent); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 20px clamp(64px, 8vw, 110px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 28px 56px; max-width: 1240px; margin: 0 auto; }
.hero h1 { margin: 0; font-size: clamp(3rem, 7.6vw, 6rem); font-weight: 400; line-height: 0.96; letter-spacing: -0.04em; }
.hero h1 .w { display: inline-block; animation: word-in 1s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 80ms); }
@keyframes word-in { from { opacity: 0; transform: translateY(0.3em); filter: blur(10px); } }
.hero-side { padding-bottom: 8px; animation: rise 0.9s var(--ease) 0.45s both; }
.lede { margin: 0; color: var(--text-2); font-size: 1.08rem; line-height: 1.55; }
.lede .kbd { font-size: 0.76rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-meta { margin: 14px 0 0; color: var(--text-3); font-size: 0.875rem; }
.hero-caption { max-width: 1240px; margin: 16px auto 0; color: var(--text-3); font-size: 0.85rem; text-align: center; }

/* ---------- the overview frame ---------- */
.ov {
  display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 14px; max-width: 1240px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 14px;
  border-radius: var(--r-frame); background: var(--frame); font-size: 13px; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -40px rgba(17, 17, 17, 0.35);
  transform-origin: 50% 0; animation: ov-in 1.3s var(--ease) 0.6s both;
}
@keyframes ov-in { from { opacity: 0; transform: perspective(1800px) rotateX(16deg) translateY(60px) scale(0.96); } }
.ov-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 6px 6px 8px; }
.ov-brand { display: flex; align-items: center; gap: 9px; margin: 2px 6px 14px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.ov-search { display: flex; align-items: center; gap: 8px; height: 36px; margin-bottom: 10px; padding: 0 6px 0 11px; border-radius: 11px; background: var(--card); color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.ov-search .icon { width: 15px; height: 15px; }
.ov-search span:first-of-type { flex: 1; }
.ov-search .kbd { background: var(--card-2); box-shadow: none; font-size: 10.5px; }
.ov-item { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 11px; border-radius: 11px; color: var(--text); font-size: 13.5px; }
.ov-item .icon { width: 17px; height: 17px; color: var(--text-2); }
.ov-item em { margin-left: auto; color: var(--text-3); font-size: 11.5px; font-style: normal; }
.ov-item em.hot { display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 600; }
.ov-item i { width: 8px; height: 8px; margin: 0 4.5px; border-radius: 50%; background: var(--c); }
.ov-item.is-on { background: var(--pill); color: var(--on-pill); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5); }
.ov-item.is-on .icon { color: var(--on-pill); }
.ov-label { margin: 16px 11px 6px; color: var(--text-3); font-size: 11.5px; }
.ov-user { display: flex; align-items: center; gap: 9px; margin: auto 4px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.ov-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; }
.ov-user b { display: block; font-size: 13px; font-weight: 500; }
.ov-user small { color: var(--blue); font-size: 11.5px; }
.ov-main { min-width: 0; padding: 4px 2px 2px 0; }
.ov-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 12px; }
.ov-head b { font-size: 30px; font-weight: 400; letter-spacing: -0.04em; }
.ov-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 10px; background: var(--card-3); font-size: 12.5px; font-weight: 500; }
.ov-pill .icon { width: 14px; height: 14px; }
.ov-pill.is-white { background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.ov-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 0.98fr); grid-template-areas: "metric bars right" "days bars right"; }
.ov-card { min-width: 0; padding: 18px 18px 16px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.ov-grid > *, .ov-col-right > * { animation: pop 0.7s var(--ease-pop) both; }
.ov-metric { grid-area: metric; animation-delay: 1.1s !important; }
.ov-bars { grid-area: bars; animation-delay: 1.18s !important; }
.ov-col-right { grid-area: right; display: flex; flex-direction: column; gap: 12px; min-width: 0; animation: none !important; }
.ov-insight { animation-delay: 1.26s !important; }
.ov-needs { flex: 1; animation-delay: 1.32s !important; }
.ov-days { grid-area: days; animation-delay: 1.24s !important; }
.ov-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.ov-card-head b { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: -0.015em; }
.ov-card-head small { display: block; margin-top: 2px; color: var(--text-3); font-size: 12px; }
.ov-round { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.ov-round .icon { width: 15px; height: 15px; }
.ov-link { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 500; }
.ov-link .icon { width: 13px; height: 13px; }
.ov-note-r { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.ov-num { margin: 2px 0 0; font-size: 60px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ov-pills { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--text-3); font-size: 12px; }
.ov .delta { height: 24px; padding: 0 9px; font-size: 11.5px; }
.ov-text { margin: 12px 0 0; color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
.ov-meter { position: relative; display: block; height: 10px; margin: 14px 0 0; overflow: hidden; border-radius: 999px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.ov-meter span { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--hatch-blue); transform-origin: left; animation: grow-x 1.1s var(--ease) 1.5s both; }
.ov-legend { display: flex; justify-content: space-between; margin: 6px 0 0; color: var(--text-3); font-size: 11.5px; }
.ov-kv { margin: 10px 0 0; }
.ov-kv div { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; border-top: 1px solid var(--line); }
.ov-kv dt { color: var(--text-2); font-size: 12.5px; }
.ov-kv dd { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ov-hbars { display: grid; gap: 2px; margin: 4px 0 0; padding: 0; list-style: none; }
.ov-hbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 10px; padding: 5px 0; }
.ov .hb-label { font-size: 12.5px; font-weight: 500; }
.ov .hb-val { color: var(--text-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.ov .hb-val.is-noise { color: var(--pink-text); }
.ov .hb-track { grid-column: 1 / -1; height: 17px; }
.ov .hb-bar { display: block; width: var(--w); height: 100%; border-radius: 3px; background: var(--hatch-blue); transform-origin: left; animation: grow-x 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 1.4s); }
.ov .hb-bar.is-solid { background: var(--blue); }
.ov .hb-bar.is-noise { background: var(--hatch-pink); }
.ov-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--card-2); color: var(--text-2); font-size: 12px; line-height: 1.45; }
.ov-note b { display: block; color: var(--text); font-size: 12.5px; font-weight: 500; }
.ins-chip { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 26px; white-space: nowrap; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); color: #fff; font-size: 11.5px; font-weight: 500; }
.ins-chip .icon { width: 12px; height: 12px; }
.ov-insight {
  position: relative; isolation: isolate; overflow: hidden; min-height: 262px; padding: 16px 18px 18px; border-radius: 18px; color: #fff; box-shadow: var(--shadow-md);
  background: linear-gradient(165deg, #141c45 0%, #1c338f 50%, #2b4fb0 100%);
  animation: pop 0.7s var(--ease-pop) 1.26s both;
}
.ov-insight::after { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(75% 60% at 100% 100%, #8fd3ff, rgba(143, 211, 255, 0) 70%), radial-gradient(50% 40% at 100% 100%, rgba(204, 222, 255, 0.55), rgba(204, 222, 255, 0) 70%); animation: glow-drift 16s ease-in-out infinite alternate; pointer-events: none; }
.ov-insight::before { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ov-ins-top { display: flex; align-items: center; justify-content: space-between; margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ov-slide { margin-top: 18px; }
.ov-slide.is-in > * { animation: rise 0.5s var(--ease) both; }
.ov-slide.is-in > :nth-child(2) { animation-delay: 0.05s; }
.ov-slide.is-in > :nth-child(3) { animation-delay: 0.1s; }
.ov-slide.is-in > :nth-child(4) { animation-delay: 0.15s; }
.ov-big { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px 10px; margin: 0; }
.ov-big b { font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.ov-big span { max-width: 8em; margin-bottom: 4px; color: rgba(255, 255, 255, 0.82); font-size: 11.5px; line-height: 1.3; }
.ov-ins-title { margin: 10px 0 0; font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.ov-ins-body { margin: 8px 0 14px; color: rgba(255, 255, 255, 0.82); font-size: 12.5px; line-height: 1.45; }
.ov-cta { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 11px; background: #fff; color: #111; font-size: 12.5px; font-weight: 500; }
.ov-cta .icon { width: 13px; height: 13px; }
.ov-needs-list { margin: -2px -6px -6px; padding: 0; list-style: none; }
.ov-needs-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 6px; animation: row-in 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 1.6s); }
.ov-needs-list li + li { box-shadow: inset 0 1px 0 var(--line); }
.ov-needs-main { min-width: 0; }
.ov-needs-main b { display: block; overflow: hidden; font-size: 12.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.ov-needs-main span { display: block; overflow: hidden; color: var(--text-3); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.ov .chev { width: 14px; height: 14px; color: var(--text-3); }
.tone { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.tone .icon { width: 15px; height: 15px; }
.tone-blue { background: var(--blue-soft); color: var(--blue); }
.tone-sky { background: var(--sky-soft); color: var(--sky-text); }
.tone-pink { background: var(--pink-soft); color: var(--pink-text); }
.tone-warn { background: var(--warn-soft); color: var(--warn); }
.tone-grey { background: var(--card-2); color: var(--text-2); }
.ov-cols { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 5px; height: 128px; padding-top: 20px; }
.ov-col { position: relative; height: var(--h); border-radius: 3px 3px 0 0; background: var(--hatch-blue); transform-origin: bottom; animation: grow-y 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 1.5s); }
.ov-col.is-today { background: var(--blue); }
.ov-col b { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); font-size: 11.5px; font-weight: 500; }
.ov-avg { position: absolute; left: 0; right: 0; bottom: var(--avg); border-top: 1.5px dashed color-mix(in srgb, var(--text-3) 70%, transparent); }
.ov-avg span { position: absolute; left: 0; bottom: 3px; padding-right: 6px; background: var(--card); color: var(--text-3); font-size: 11px; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 9vw, 128px) 20px 0; }
.wrap { max-width: 1240px; margin: 0 auto; }
.head { max-width: 46rem; margin-bottom: clamp(28px, 3.6vw, 44px); }
.section h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.head p { max-width: 40rem; margin: 16px 0 0; color: var(--text-2); font-size: 1.08rem; line-height: 1.55; }
.head p .kbd { font-size: 0.76rem; }
.caption { margin: 16px 0 0; color: var(--text-3); font-size: 0.85rem; text-align: center; }
.card-like { border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.spot { background-image: radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), color-mix(in srgb, var(--blue) 7%, transparent), transparent 60%); }

/* ---------- AI that reads every inbox ---------- */
.ai-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "ask sum draft" "ask brief engines"; }
.ai-ask {
  grid-area: ask; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 580px; padding: 26px 28px 24px; border-radius: 28px; color: #fff; box-shadow: var(--shadow-md);
  background: linear-gradient(165deg, #141c45 0%, #1c338f 50%, #2b4fb0 100%);
}
.ai-ask::after { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(70% 45% at 100% 100%, #8fd3ff, rgba(143, 211, 255, 0) 70%), radial-gradient(45% 32% at 100% 100%, rgba(204, 222, 255, 0.5), rgba(204, 222, 255, 0) 70%); animation: glow-drift 18s ease-in-out infinite alternate; pointer-events: none; }
.ai-ask::before { content: ""; position: absolute; z-index: -1; right: -140px; bottom: -150px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ai-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin: 0; }
.ai-top .ins-chip { height: 30px; padding: 0 12px; font-size: 0.82rem; }
.ai-top .ins-chip .icon { width: 14px; height: 14px; }
.ai-top-note { color: rgba(255, 255, 255, 0.8); font-size: 0.84rem; }
.ai-q { display: flex; align-items: center; gap: 12px; min-height: 60px; margin-top: 26px; padding: 12px 18px; border-radius: 18px; background: rgba(8, 14, 44, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); font-size: 1.12rem; letter-spacing: -0.01em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ai-q .icon { width: 20px; height: 20px; flex: none; color: rgba(255, 255, 255, 0.8); }
.ai-caret { width: 2px; height: 1.2em; margin-left: -8px; border-radius: 1px; background: #fff; animation: caret 1s steps(1) infinite; }
.ai-a { margin-top: 16px; padding: 20px 22px; border-radius: 18px; background: rgba(8, 14, 44, 0.46); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.ai-a p { min-height: 4.8em; margin: 0; font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; transition: opacity 0.3s; }
.ai-a.is-dim p, .ai-a.is-dim .ai-sources { opacity: 0.4; }
.ai-sources { transition: opacity 0.3s; }
.ai-a sup { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.24); font-size: 0.68rem; font-weight: 600; vertical-align: 0.35em; line-height: 1; }
.ai-sources { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; margin: 14px 0 0; padding: 0; list-style: none; }
.ai-sources li { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); font-size: 0.8rem; animation: pop 0.45s var(--ease-pop) both; }
.ai-sources li:nth-child(2) { animation-delay: 0.08s; }
.ai-sources li:nth-child(3) { animation-delay: 0.16s; }
.ai-sources b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: 0.7rem; font-weight: 600; }
.ai-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.ai-suggest button { height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: rgba(8, 14, 44, 0.62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); color: #fff; font-size: 0.875rem; cursor: pointer; transition: transform 0.15s var(--ease); }
.ai-suggest button:hover { background: rgba(8, 14, 44, 0.8); }
.ai-suggest button:active { transform: scale(0.97); }
.ai-suggest button[aria-pressed="true"] { background: #fff; color: #111; box-shadow: none; }
.ai-fine { align-self: flex-start; margin: auto 0 0; padding: 5px 10px; border-radius: 8px; background: rgba(8, 14, 44, 0.42); color: rgba(255, 255, 255, 0.86); font-size: 0.8rem; }
.ai-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 24px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.ai-card header { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.ai-card .tone { width: 40px; height: 40px; }
.ai-card .tone .icon { width: 18px; height: 18px; }
.ai-card h3 { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em; }
.ai-card header p { margin: 4px 0 0; color: var(--text-3); font-size: 0.9rem; line-height: 1.45; }
.ai-sum { grid-area: sum; }
.ai-draft { grid-area: draft; }
.ai-brief { grid-area: brief; }
.ai-engines { grid-area: engines; }
.sum-demo, .draft-demo { padding: 16px; border-radius: 16px; background: var(--card-2); }
.sum-from { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font-size: 0.875rem; }
.sum-from i, .draft-from i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c); }
.sum-from b { font-weight: 500; white-space: nowrap; }
.sum-from span { overflow: hidden; color: var(--text-3); white-space: nowrap; text-overflow: ellipsis; }
.sum-body { margin: 10px 0 0; overflow: hidden; color: var(--text-2); font-size: 0.875rem; line-height: 1.55; transition: opacity 0.5s; }
.sum-out { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); color: var(--text); font-size: 0.95rem; font-weight: 500; line-height: 1.5; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.sum-out .icon { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--blue); }
.js-ai .ai-sum:not(.is-done) .sum-out { opacity: 0; transform: translateY(8px); }
.js-ai .ai-sum.is-done .sum-body { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; opacity: 0.45; }
.draft-from, .draft-intent { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.875rem; }
.draft-intent { margin-top: 8px; }
.draft-from span, .draft-intent span { width: 40px; color: var(--text-3); }
.draft-from b, .draft-intent b { font-weight: 500; }
.draft-intent b { color: var(--blue); }
.draft-out { min-height: 4.7em; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); font-size: 0.95rem; line-height: 1.55; }
.draft-out.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--blue); vertical-align: -0.12em; animation: caret 1s steps(1) infinite; }
.brief-demo { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.6; }
.brief-sent { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 30px; margin-top: auto; padding: 0 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 0.82rem; font-weight: 500; }
.brief-sent .icon { width: 14px; height: 14px; }
.eng-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eng-pills li { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--card-2); font-size: 0.875rem; font-weight: 500; }
.ai-engines .head-link { margin-top: auto; }
.motion .ai-grid[data-reveal] > * { opacity: 0; transform: translateY(30px) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.motion .ai-grid.is-in > * { opacity: 1; transform: none; }
.motion .ai-grid.is-in > :nth-child(2) { transition-delay: 0.08s; }
.motion .ai-grid.is-in > :nth-child(3) { transition-delay: 0.16s; }
.motion .ai-grid.is-in > :nth-child(4) { transition-delay: 0.24s; }
.motion .ai-grid.is-in > :nth-child(5) { transition-delay: 0.32s; }
@media (max-width: 1180px) {
  .ai-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "ask ask" "sum draft" "brief engines"; }
  .ai-ask { min-height: 520px; }
}
@media (max-width: 760px) {
  .ai-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ask" "sum" "draft" "brief" "engines"; }
  .ai-ask { padding: 22px 20px; border-radius: 24px; min-height: 0; }
  .ai-a p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .ai-ask::after, .ov-insight::after, .price.is-featured::after { animation: none; } }

/* ---------- the live inbox window ---------- */
.window {
  display: grid; grid-template-columns: 214px minmax(0, 350px) minmax(0, 1fr); gap: 12px; height: 600px; padding: 12px; overflow: hidden; transform-origin: 50% 0;
  border-radius: var(--r-frame); background: var(--frame); box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -40px rgba(17, 17, 17, 0.3);
}
.w-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 4px; }
.w-cmd { display: flex; align-items: center; gap: 8px; height: 36px; margin-bottom: 10px; padding: 0 6px 0 11px; border-radius: 11px; background: var(--card); color: var(--text-3); font-size: 0.82rem; box-shadow: inset 0 0 0 1px var(--line-2); }
.w-cmd .icon { width: 15px; height: 15px; }
.w-cmd span:first-of-type { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w-cmd .kbd { font-size: 0.62rem; background: var(--card-2); box-shadow: none; }
.w-nav { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 11px; border: 0; border-radius: 11px; background: transparent; color: var(--text); font-size: 0.875rem; text-align: left; cursor: pointer; transition: background-color 0.15s; }
.w-nav .icon { width: 17px; height: 17px; color: var(--text-2); }
.w-nav:hover { background: var(--hover); }
.w-nav.is-on { background: var(--pill); color: var(--on-pill); }
.w-nav.is-on .icon { color: var(--on-pill); }
.w-count { margin-left: auto; color: inherit; opacity: 0.6; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.w-label { margin: 14px 11px 6px; color: var(--text-3); font-size: 0.75rem; }
.w-dot { width: 8px; height: 8px; flex: none; margin: 0 4.5px; border-radius: 50%; background: var(--c); }
.w-acc-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w-list { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.w-bar { display: flex; align-items: baseline; gap: 8px; padding: 18px 18px 10px; }
.w-bar b { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.w-sub { color: var(--text-3); font-size: 0.8rem; }
.w-rows { flex: 1; min-height: 0; margin: 0; padding: 0 8px 10px; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.w-row { position: relative; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 2px 10px; padding: 11px 10px 12px; border-radius: 12px; cursor: pointer; transition: background-color 0.15s; }
.w-row:not(.is-sel)::after { content: ""; position: absolute; left: 30px; right: 10px; bottom: 0; height: 1px; background: var(--line); }
.w-row:hover { background: var(--hover); }
.w-row.is-sel { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.w-row:focus-visible { outline-offset: -2px; }
.w-dot2 { grid-row: 1 / span 3; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--c); }
.w-from { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.875rem; font-weight: 500; }
.w-time { color: var(--text-3); font-size: 0.75rem; white-space: nowrap; }
.w-subj { grid-column: 2 / -1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.84rem; }
.w-snip { grid-column: 2 / -1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-3); font-size: 0.8rem; }
.w-meta { grid-column: 2 / -1; margin-top: 5px; }
.w-row.is-unread .w-from, .w-row.is-unread .w-subj { font-weight: 600; }
.w-row.is-unread .w-from::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--blue); vertical-align: 1px; }
.w-row.is-new { animation: w-in 0.7s var(--ease-pop), w-glow 2.8s ease-out; }
@keyframes w-in { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }
@keyframes w-glow { 0%, 30% { background: var(--blue-soft); } 100% { background: transparent; } }
.tag, .w-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--card-2); color: var(--text-2); font-size: 0.74rem; font-weight: 500; font-style: normal; white-space: nowrap; }
[data-c="reply"] { background: var(--blue-soft); color: var(--blue); }
[data-c="code"] { background: var(--card-2); color: var(--text-2); }
[data-c="money"] { background: var(--sky-soft); color: var(--sky-text); }
[data-c="alert"], [data-c="security"] { background: var(--pink-soft); color: var(--pink-text); }
[data-c="news"] { background: var(--card-2); color: var(--text-2); }
.w-read { min-width: 0; padding: 20px 26px 26px; overflow-y: auto; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.w-read > * { animation: settle 0.4s var(--ease) both; }
.w-read.is-static > *, .w-read.is-static .w-gauges li { animation: none; }
.w-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.w-act { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 7px 0 11px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 0.8rem; font-weight: 500; }
.w-act:first-child { background: var(--pill); color: var(--on-pill); box-shadow: none; }
.w-act:first-child .kbd { background: rgba(255, 255, 255, 0.14); color: var(--on-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.w-act .icon { width: 14px; height: 14px; }
.w-act .kbd { font-size: 0.62rem; }
.w-read h3 { margin: 0 0 14px; font-size: 1.5rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.w-who { display: flex; align-items: center; gap: 10px; }
.w-av { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card-2); color: var(--text-2); font-size: 0.76rem; font-weight: 600; }
.w-who b { display: block; font-size: 0.9rem; font-weight: 500; }
.w-pill { display: block; color: var(--text-3); font-size: 0.78rem; }
.w-who time { margin-left: auto; color: var(--text-3); font-size: 0.78rem; white-space: nowrap; }
.w-slip { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--card-2); color: var(--text-2); font-size: 0.84rem; line-height: 1.45; }
.w-slip .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--blue); }
.w-body { margin-top: 16px; white-space: pre-wrap; color: var(--text-2); font-size: 0.92rem; line-height: 1.65; }
.w-code { display: inline-block; margin-bottom: 4px; padding: 8px 14px; border-radius: 12px; background: var(--card-2); color: var(--text); font-family: var(--font-mono); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.06em; }
.w-reply { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 0; padding: 10px 10px 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-3); font-size: 0.84rem; }
.w-reply b { color: var(--text); font-weight: 500; }
.w-reply .keys { color: var(--text-2); gap: 6px; }
.w-brief-date { margin: -8px 0 16px; color: var(--text-3); font-size: 0.84rem; }
.w-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px; padding: 0; list-style: none; overflow: hidden; border-radius: 14px; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.w-gauges li { display: grid; gap: 2px; padding: 12px 13px; background: var(--card); animation: pop 0.5s var(--ease-pop) both; }
.w-gauges b { font-size: 1.6rem; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.w-gauges span { color: var(--text-3); font-size: 0.74rem; font-weight: 500; }
.w-gauges small { color: var(--text-2); font-size: 0.74rem; }
.w-gauges li.is-hot b { color: var(--blue); }
.w-brief { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.w-brief li { color: var(--text-2); font-size: 0.9rem; line-height: 1.5; }
.w-brief b { color: var(--text); font-weight: 500; }

/* ---------- notice ---------- */
.notice { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-frame); background-color: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.notice-copy p { max-width: 36rem; margin: 18px 0 0; color: var(--text-2); font-size: 1.05rem; line-height: 1.6; }
.notice-copy .source { color: var(--text-3); font-size: 0.875rem; }
.timeline { position: relative; margin: 0; padding: 4px 0 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 32px 38px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 24px; bottom: -2px; width: 2px; background: var(--hatch-blue); transform-origin: top; }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 4px var(--blue); }
.timeline li:last-child::after { box-shadow: inset 0 0 0 4px var(--pink); }
.timeline time { display: block; font-size: 1.7rem; font-weight: 400; line-height: 1.1; letter-spacing: -0.035em; }
.timeline p { margin: 6px 0 0; color: var(--text-2); line-height: 1.55; }

/* ---------- search launcher ---------- */
.launcher {
  position: relative; width: min(100%, 940px); margin: 0 auto; overflow: hidden; border-radius: var(--r-card); background: var(--card); color: var(--text); text-align: left;
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 70px -30px rgba(17, 17, 17, 0.3); transition: box-shadow 0.25s var(--ease);
}
.launcher:focus-within { box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 4px var(--blue-soft), 0 30px 70px -30px rgba(17, 17, 17, 0.3); }
.l-head { position: relative; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px 0 22px; }
.l-search-icon { width: 20px; height: 20px; color: var(--text-3); }
.l-input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 1.2rem; letter-spacing: -0.01em; }
.l-input::placeholder { color: var(--text-3); }
.l-input:focus-visible { outline: 0; }
.l-caret { position: absolute; top: 50%; width: 2px; height: 22px; margin-top: -11px; border-radius: 1px; background: var(--blue); animation: caret 1s steps(1) infinite; pointer-events: none; }
.l-scope { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 10px; background: var(--card-2); color: var(--text-2); font-size: 0.8rem; font-weight: 500; }
.l-dots { display: flex; padding-left: 3px; }
.l-dots i { width: 9px; height: 9px; margin-left: -3px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--card-2); }
.l-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; height: 360px; border-top: 1px solid var(--line); }
.l-list { position: relative; overflow-y: auto; padding: 6px 10px 10px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.l-hi { position: absolute; z-index: 0; left: 10px; right: 10px; top: 0; height: 46px; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); transform: translateY(var(--y, 0)); transition: transform 0.28s var(--ease), opacity 0.2s; pointer-events: none; }
.l-group { position: relative; z-index: 1; margin: 0; padding: 12px 10px 5px; color: var(--text-3); font-size: 0.76rem; font-weight: 500; animation: fade 0.3s both; }
.l-row { position: relative; z-index: 1; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border-radius: 12px; cursor: pointer; animation: row-in 0.4s var(--ease) both; animation-delay: calc(var(--n, 0) * 28ms); }
.l-row > .icon { width: 18px; height: 18px; color: var(--text-3); transition: color 0.2s; }
.l-row[aria-selected="true"] > .icon { color: var(--blue); }
.l-row-main { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.95rem; }
.l-row-main b { font-weight: 500; }
.l-row-main span { margin-left: 8px; color: var(--text-3); }
.l-acc { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 0.8rem; white-space: nowrap; }
.l-acc i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.l-empty { position: relative; z-index: 1; padding: 34px 14px; color: var(--text-3); font-size: 0.92rem; text-align: center; }
.l-detail { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px; overflow-y: auto; border-left: 1px solid var(--line); background: var(--card-2); }
.l-detail > * { animation: fade 0.25s ease-out both; animation-delay: calc(var(--n, 0) * 30ms); }
.ld-kind { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--text-3); font-size: 0.8rem; font-weight: 500; }
.ld-kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ld-big { margin: 0; font-size: 2.2rem; font-weight: 500; line-height: 1.05; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.ld-big.is-code { font-family: var(--font-mono); font-size: 2.15rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.ld-title { margin: -6px 0 0; color: var(--text-2); font-size: 0.9rem; line-height: 1.45; }
.ld-meta { display: grid; gap: 7px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.ld-meta div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
.ld-meta dt { color: var(--text-3); }
.ld-meta dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-life { height: 6px; border-radius: 999px; background: var(--card-3); overflow: hidden; }
.ld-life span { display: block; height: 100%; border-radius: inherit; background: var(--hatch-blue); transform-origin: left; transition: transform 1s linear; }
.l-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 50px; padding: 0 14px 0 20px; border-top: 1px solid var(--line); background: var(--card); }
.l-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 0.84rem; font-weight: 500; }
.l-acts { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 0.84rem; }
.l-act { color: var(--text); font-weight: 500; }
.l-act-2 { color: var(--text-2); }
.l-sep { width: 1px; height: 16px; margin: 0 6px; background: var(--line-2); }
.kbd.is-pressed { transform: translateY(1.5px); background: var(--card-3); }

.l-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px;
  border-radius: 16px; background: var(--pill); color: var(--on-pill); font-size: 0.9rem; box-shadow: var(--shadow-pop);
  opacity: 0; transform: translate(-50%, 12px) scale(0.98); transition: opacity 0.2s, transform 0.35s var(--ease-pop); pointer-events: none;
}
.l-toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.steps li { position: relative; padding: 30px 30px 32px; }
.steps li + li { box-shadow: inset 1px 0 0 var(--line); }
.step-key { width: 48px; height: 48px; margin-bottom: 24px; border-radius: 14px; font-size: 1.1rem; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 3px 0 var(--line-2); }
.steps h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.steps p { max-width: 34ch; margin: 0; color: var(--text-2); line-height: 1.6; }

/* ---------- features ---------- */
.cmds { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 20px; align-items: start; }
.cmd-list { display: grid; gap: 2px; padding: 10px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.cmd { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 13px 14px; overflow: hidden; border: 0; border-radius: 14px; background: transparent; color: var(--text); text-align: left; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.cmd > .icon { width: 20px; height: 20px; color: var(--text-2); transition: color 0.2s; }
.cmd-text { min-width: 0; }
.cmd-text b { display: block; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }
.cmd-text span { display: block; margin-top: 2px; color: var(--text-3); font-size: 0.875rem; }
.cmd:hover { background: var(--hover); }
.cmd[aria-selected="true"] { background: var(--pill); color: var(--on-pill); }
.cmd[aria-selected="true"] > .icon { color: var(--on-pill); }
.cmd[aria-selected="true"] .cmd-text span { color: color-mix(in srgb, var(--on-pill) 70%, transparent); }
.cmd[aria-selected="true"] .kbd { background: rgba(255, 255, 255, 0.14); color: var(--on-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
:root[data-theme="dark"] .cmd[aria-selected="true"] .kbd { background: rgba(0, 0, 0, 0.06); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cmd[aria-selected="true"] .kbd { background: rgba(0, 0, 0, 0.06); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); } }
.cmd[aria-selected="true"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 1px; background: var(--brand); transform-origin: left; animation: progress 6s linear both; }
.cmds:not(.is-live) .cmd::after, .cmds.is-paused .cmd::after { animation-play-state: paused; }
.cmds.is-manual .cmd::after { display: none; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cmd-stage { position: relative; padding: 4px 0 0; }
.cmd-panel { display: grid; gap: 24px; }
.cmd-panel[hidden] { display: none; }
.cmd-copy h3 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 400; letter-spacing: -0.035em; }
.cmd-copy p { max-width: 52ch; margin: 0; color: var(--text-2); line-height: 1.6; }
.cmd-panel.is-in .cmd-copy { animation: rise 0.5s var(--ease) 0.1s both; }
.cmd-note { margin: 18px 0 0; color: var(--text-3); font-size: 0.8rem; }
.also { max-width: 62ch; margin: 28px 0 0; color: var(--text-2); line-height: 1.6; }

.mini { padding: 10px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.cmd-panel.is-in .mini { animation: pop 0.55s var(--ease-pop) both; }
.mini em { font-style: normal; }
.mini-rows { margin: 0; padding: 0; list-style: none; }
.mini-rows li { display: grid; grid-template-columns: 10px minmax(0, auto) minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 12px; font-size: 0.9rem; }
.cmd-panel.is-in .mini-rows li { animation: row-in 0.5s var(--ease) both; }
.cmd-panel.is-in .mini-rows li:nth-child(2) { animation-delay: 0.07s; }
.cmd-panel.is-in .mini-rows li:nth-child(3) { animation-delay: 0.14s; }
.cmd-panel.is-in .mini-rows li:nth-child(4) { animation-delay: 0.21s; }
.cmd-panel.is-in .mini-rows li:nth-child(5) { animation-delay: 0.28s; }
.mini-rows li + li { box-shadow: inset 0 1px 0 var(--line); }
.mini-rows i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mini-rows b { font-weight: 500; white-space: nowrap; }
.mini-rows span { min-width: 0; overflow: hidden; color: var(--text-3); white-space: nowrap; text-overflow: ellipsis; }
.mini-rows time { color: var(--text-3); font-size: 0.78rem; white-space: nowrap; }
.mini-rows li.mini-fold { display: flex; gap: 8px; color: var(--text-3); font-size: 0.85rem; }
.mini-rows .mini-fold .icon { width: 16px; height: 16px; }
.mini-noise li { grid-template-columns: 10px minmax(0, auto) minmax(0, 1fr) auto; }
.mn-done { display: inline-flex; align-items: center; gap: 5px; color: var(--up); font-size: 0.82rem; font-weight: 500; }
.mn-done .icon { width: 14px; height: 14px; }
.mini-health li { grid-template-columns: 10px minmax(0, auto) minmax(0, 1fr); }
.mini-health li > span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; color: var(--text-2); font-size: 0.85rem; }
.mini-health .icon { width: 15px; height: 15px; }
.mh-warn { color: var(--pink-text) !important; }
.mh-ok { color: var(--up) !important; }
.mh-meter { display: inline-block; width: 80px; height: 8px; border-radius: 999px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mh-meter span { display: block; height: 100%; border-radius: inherit; background: var(--hatch-pink); transform-origin: left; }
.cmd-panel.is-in .mh-meter span { animation: grow-x 1.1s var(--ease) 0.3s both; }
.mini-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; background: transparent; box-shadow: none; }
.mini-code { position: relative; display: grid; gap: 14px; padding: 20px; overflow: hidden; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.cmd-panel.is-in .mini-code { animation: pop 0.6s var(--ease-pop) both; }
.cmd-panel.is-in .mini-code + .mini-code { animation-delay: 0.12s; }
.mini-code p { margin: 0; }
.mc-top { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 0.85rem; }
.mc-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mc-top b { color: var(--text); font-weight: 500; }
.mc-digits { font-family: var(--font-mono); font-size: 2.1rem; font-weight: 600; line-height: 1; letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.mc-link { font-size: 1.5rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; }
.mc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text-3); font-size: 0.82rem; }
.mc-life { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--blue); transform: scaleX(var(--life)); transform-origin: left; }
.cmd-panel.is-in .mc-life { animation: grow-x 1s var(--ease) 0.35s both; }
.mini-brief { padding: 24px 26px; }
.mb-date { margin: 0 0 14px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.mini-brief ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mini-brief li { color: var(--text-2); font-size: 0.95rem; line-height: 1.5; }
.cmd-panel.is-in .mini-brief li { animation: rise 0.5s var(--ease) both; }
.cmd-panel.is-in .mini-brief li:nth-child(2) { animation-delay: 0.15s; }
.cmd-panel.is-in .mini-brief li:nth-child(3) { animation-delay: 0.3s; }
.cmd-panel.is-in .mini-brief li:nth-child(4) { animation-delay: 0.45s; }
.mini-brief li b { color: var(--text); font-weight: 500; }
.mb-sent { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 0.82rem; font-weight: 500; }
.cmd-panel.is-in .mb-sent { animation: pop 0.5s var(--ease-pop) 0.7s both; }
.mb-sent .icon { width: 14px; height: 14px; }
.mini-reply { padding: 24px 26px; }
.mr-to { margin: 0 0 14px; color: var(--text-2); font-size: 0.95rem; }
.mr-to b { color: var(--text); font-weight: 500; }
.mr-from { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); }
.mr-label { color: var(--text-3); font-size: 0.84rem; }
.mr-addr { display: inline-flex; align-items: center; gap: 8px; font-size: 0.98rem; font-weight: 500; }
.mr-addr i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mr-via { margin-left: auto; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--card-2); color: var(--text-2); font-size: 0.8rem; }
.mr-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.mr-checks li { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 0.82rem; font-weight: 500; }
.cmd-panel.is-in .mr-checks li { animation: pop 0.5s var(--ease-pop) both; }
.cmd-panel.is-in .mr-checks li:nth-child(1) { animation-delay: 0.3s; }
.cmd-panel.is-in .mr-checks li:nth-child(2) { animation-delay: 0.45s; }
.cmd-panel.is-in .mr-checks li:nth-child(3) { animation-delay: 0.6s; }
.mr-checks .icon { width: 14px; height: 14px; }
.mr-why { margin: 14px 0 0; color: var(--text-3); font-size: 0.875rem; }

/* ---------- result-list cards (AI engines, privacy, integrations, questions) ---------- */
.privacy { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.privacy-lead p { max-width: 34rem; margin: 18px 0 0; color: var(--text-2); font-size: 1.08rem; line-height: 1.6; }
.rl { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.rl-wide { max-width: 940px; }
.rl-head { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px 0 22px; border-bottom: 1px solid var(--line); }
.rl-head > .icon { width: 19px; height: 19px; color: var(--text-3); }
.rl-q { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); font-size: 1.08rem; letter-spacing: -0.01em; }
.rl-q::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; border-radius: 1px; background: var(--blue); vertical-align: -0.16em; animation: caret 1s steps(1) infinite; }
.rl-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); min-height: 300px; }
.rl-list { position: relative; margin: 0; padding: 8px 10px 10px; list-style: none; }
.rl-hi { position: absolute; z-index: 0; left: 10px; right: 10px; top: 0; height: 54px; border-radius: 14px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(var(--y, 0)); transition: transform 0.3s var(--ease), opacity 0.2s; pointer-events: none; }
.rl-row { position: relative; z-index: 1; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 9px 14px; border: 0; border-radius: 14px; background: transparent; color: var(--text); font: inherit; text-align: left; }
button.rl-row { cursor: pointer; }
.rl-row > .icon { width: 19px; height: 19px; color: var(--text-3); transition: color 0.2s; }
.rl-row[aria-selected="true"] > .icon, .rl-row.is-hot > .icon { color: var(--blue); }
.rl-main { min-width: 0; }
.rl-main b { display: block; font-size: 0.98rem; font-weight: 500; }
.rl-main span { display: block; margin-top: 2px; color: var(--text-3); font-size: 0.875rem; }
.rl-acc { color: var(--text-3); font-size: 0.84rem; white-space: nowrap; }
.rl-row.is-hot .rl-acc { color: var(--text-2); }
.rl-enter { opacity: 0; transition: opacity 0.2s; }
.rl-row[aria-selected="true"] .rl-enter { opacity: 1; }
.rl-detail { min-width: 0; padding: 24px 26px; border-left: 1px solid var(--line); background: var(--card-2); }
.rd-panel.is-in > * { animation: settle 0.4s var(--ease) both; }
.rd-panel.is-in > :nth-child(2) { animation-delay: 0.05s; }
.rd-panel.is-in > :nth-child(3) { animation-delay: 0.1s; }
.rd-kind { margin: 0 0 8px; color: var(--text-3); font-size: 0.82rem; font-weight: 500; }
.rd-big { margin: 0; font-size: 2.2rem; font-weight: 400; line-height: 1.05; letter-spacing: -0.04em; }
.rd-text { max-width: 46ch; margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.6; }
.rd-meta { display: grid; gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.rd-meta div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.rd-meta dt { color: var(--text-3); font-size: 0.875rem; }
.rd-meta dd { margin: 0; color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.rl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 50px; padding: 0 14px 0 20px; border-top: 1px solid var(--line); }
.rl-faq .rl-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

/* ---------- privacy + integrations in the dashboard's own language ---------- */
.priv-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 16px; }
.priv-metric, .priv-list, .int-card { padding: 28px 28px 26px; }
.pm-head { display: flex; align-items: flex-start; justify-content: space-between; margin: 0 0 6px; }
.pm-head b { display: block; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.pm-head small { display: block; margin-top: 4px; color: var(--text-3); font-size: 0.9rem; }
.pm-num { margin: 14px 0 0; font-size: clamp(5rem, 9vw, 7.5rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.04em; }
.pm-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--text-3); font-size: 0.92rem; }
.pm-bars { display: grid; gap: 4px; margin: 24px 0 0; padding: 0; list-style: none; }
.pm-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 8px 0; }
.pm-bars .hb-label { font-size: 0.95rem; font-weight: 500; }
.pm-bars .hb-val { color: var(--text-2); font-size: 0.875rem; }
.pm-bars .hb-val.is-zero { color: var(--pink-text); }
.pm-bars .hb-track { grid-column: 1 / -1; height: 24px; border-radius: 4px; }
.pm-bars .hb-track.is-empty { background: var(--hatch-grey); opacity: 0.45; }
.pm-bars .hb-bar { display: block; width: var(--w); height: 100%; border-radius: 4px; background: var(--hatch-blue); transform-origin: left; }
.pm-bars .hb-bar.is-solid { background: var(--blue); }
.tone-list { margin: 10px -10px -8px; padding: 0; list-style: none; }
.tone-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 10px; border-radius: 14px; transition: background-color 0.15s; }
.tone-list li + li { box-shadow: inset 0 1px 0 var(--line); }
.tone-list li:hover { background: var(--hover); box-shadow: none; }
.tone-list li:hover + li { box-shadow: none; }
.tone-list .tone { width: 40px; height: 40px; }
.tone-list .tone .icon { width: 18px; height: 18px; }
.tl-main { min-width: 0; }
.tl-main b { display: block; font-size: 0.98rem; font-weight: 500; }
.tl-main span { display: block; margin-top: 2px; color: var(--text-3); font-size: 0.875rem; }
.tl-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--card-2); color: var(--text-2); font-size: 0.8rem; font-weight: 500; white-space: nowrap; }
.int-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin-top: -8px; }
.int-list li:nth-child(2) { box-shadow: none; }
.int-list li:hover + li + li { box-shadow: none; }
/* reveal variants: the page enters in more than one way */
.motion [data-reveal="left"] { opacity: 0; transform: translateX(-36px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.motion [data-reveal="right"] { opacity: 0; transform: translateX(36px); transition: opacity 0.9s var(--ease) 0.1s, transform 1s var(--ease) 0.1s; }
.motion [data-reveal="scale"] { opacity: 0; transform: scale(0.94); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.motion [data-reveal="left"].is-in, .motion [data-reveal="right"].is-in, .motion [data-reveal="scale"].is-in { opacity: 1; transform: none; }
.motion .priv-metric .hb-bar { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.motion .priv-metric.is-in .hb-bar { transform: none; }
.motion .priv-metric.is-in li:nth-child(2) .hb-bar { transition-delay: 0.15s; }
.motion .tone-list li { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 0.25s); }
.motion .is-in .tone-list li, .motion .tone-list.is-in li { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .priv-grid { grid-template-columns: minmax(0, 1fr); }
  .int-list { grid-template-columns: minmax(0, 1fr); }
  .int-list li:nth-child(2) { box-shadow: inset 0 1px 0 var(--line); }
}
@media (max-width: 600px) {
  .priv-metric, .priv-list, .int-card { padding: 22px 20px; }
  .tl-tag { display: none; }
  .tone-list li { grid-template-columns: 36px minmax(0, 1fr); }
}

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; gap: 16px; }
.price { position: relative; display: flex; flex-direction: column; padding: 30px 30px 32px; border-radius: var(--r-frame); background-color: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.price h3 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.amount { margin: 16px 0 0; font-size: 4rem; font-weight: 400; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.amount span { margin-left: 4px; color: var(--text-3); font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.per { margin: 8px 0 0; color: var(--text-3); font-size: 0.95rem; }
.ticks { display: grid; margin: 24px -10px 28px; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 11px; padding: 10px 10px; border-radius: 10px; color: var(--text-2); font-size: 0.95rem; line-height: 1.45; transition: background-color 0.15s, color 0.15s; }
.ticks li + li { box-shadow: inset 0 1px 0 var(--line); }
.ticks li:hover { background: var(--hover); color: var(--text); }
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: var(--up);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price .btn { width: 100%; height: 50px; margin-top: auto; border-radius: 16px; }
.price-buys { display: grid; gap: 8px; margin-top: auto; }
.price-buys .btn { margin-top: 0; }
.price.is-featured {
  isolation: isolate; overflow: hidden; color: #fff; box-shadow: var(--shadow-md);
  background: linear-gradient(170deg, #121a42 0%, #1a3088 50%, #2b4fb0 100%);
}
.price.is-featured::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 30% at 100% 100%, #8fd3ff, rgba(143, 211, 255, 0) 70%); animation: glow-drift 20s ease-in-out infinite alternate; pointer-events: none; }
.price.is-featured .per, .price.is-featured .amount span { color: rgba(255, 255, 255, 0.78); }
.price.is-featured .ticks li { color: rgba(255, 255, 255, 0.9); }
.price.is-featured .ticks li + li { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.price.is-featured .ticks li:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.price.is-featured .ticks li::before { background: #fff; }
.price.is-featured a:not(.btn) { color: #fff; }
.price.is-featured .btn-primary { background: #fff; color: #111; }
.badge { position: absolute; top: 28px; right: 28px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); color: #fff; font-size: 0.8rem; font-weight: 500; }
.fine { margin: 20px 0 0; color: var(--text-3); font-size: 0.9rem; }

/* ---------- close ---------- */
.close { padding: clamp(96px, 11vw, 150px) 20px 0; }
.close-card { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 20px; max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) 24px; border-radius: var(--r-frame); background: var(--frame); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.close-card::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 46%; background: var(--hatch-blue); opacity: 0.12; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }
.close h2 { margin: 0; font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 400; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.close-card > p { margin: 0; color: var(--text-2); font-size: 1.08rem; }
.close-bar {
  display: flex; align-items: center; gap: 14px; width: min(100%, 560px); height: 64px; margin-top: 10px; padding: 0 14px 0 22px;
  border-radius: 18px; background: var(--card); color: var(--text); text-decoration: none; font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -24px rgba(17, 17, 17, 0.35); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.close-bar:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -24px rgba(17, 17, 17, 0.45); }
.close-bar .icon { width: 20px; height: 20px; color: var(--text-3); }
.close-type { position: relative; flex: 1; text-align: left; }
.close-type span { display: inline-block; }
.close-type::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; border-radius: 1px; background: var(--blue); vertical-align: -0.18em; animation: caret 1s steps(1) infinite; }
.close-bar .kbd { font-size: 0.82rem; }
.beta { display: grid; gap: 10px; width: min(100%, 520px); margin-top: 18px; padding: 22px; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); text-align: left; animation: rise 0.5s var(--ease) both; }
.beta-title { margin: 0; color: var(--text-2); font-size: 0.95rem; line-height: 1.5; }
.beta-title b { color: var(--text); font-weight: 500; }
.beta-row { display: flex; gap: 8px; }
.beta-input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 1rem; }
.beta-input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.beta-row .btn { height: 48px; }
.beta-note { margin: 0; color: var(--text-3); font-size: 0.82rem; }
.beta-note.is-done { color: var(--up); }
@media (max-width: 520px) { .beta-row { flex-direction: column; } }

/* ---------- footer ---------- */
.foot { padding: 34px 20px 44px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 1240px; margin: 0 auto; color: var(--text-3); font-size: 0.875rem; }
.foot-inner p { margin: 0; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- scroll motion (only when JS confirms motion is welcome) ---------- */
.motion .head[data-reveal] > *, .motion .notice-copy[data-reveal] > *, .motion .privacy-lead[data-reveal] > * {
  opacity: 0; transform: translateY(28px); filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.motion [data-reveal] > :nth-child(2) { transition-delay: 0.08s; }
.motion [data-reveal] > :nth-child(3) { transition-delay: 0.16s; }
.motion [data-reveal].is-in > * { opacity: 1; transform: none; filter: none; }

.motion .window[data-reveal] { opacity: 0; transform: perspective(1800px) rotateX(16deg) translateY(60px) scale(0.95); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.motion .window[data-reveal].is-in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .motion .window[data-reveal] { opacity: 1; transform: none; transition: none; animation: unfold linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes unfold { from { opacity: 0.3; transform: perspective(1800px) rotateX(22deg) translateY(80px) scale(0.92); } to { opacity: 1; transform: none; } }
}
.motion .launcher[data-reveal], .motion .cmds[data-reveal], .motion .rl[data-reveal], .motion .steps[data-reveal] { opacity: 0; transform: translateY(32px) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.motion .launcher[data-reveal].is-in, .motion .cmds[data-reveal].is-in, .motion .rl[data-reveal].is-in, .motion .steps[data-reveal].is-in { opacity: 1; transform: none; }

.motion .timeline li::before { transform: scaleY(0); transition: transform 1.2s var(--ease) 0.3s; }
.motion .timeline li::after { transform: scale(0); transition: transform 0.6s var(--ease-pop); }
.motion .timeline li:nth-child(2)::after { transition-delay: 1.1s; }
.motion .timeline li > * { opacity: 0; transform: translateX(-10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.motion .timeline li:nth-child(2) > * { transition-delay: 1.15s; }
.motion .timeline.is-in li::before { transform: scaleY(1); }
.motion .timeline.is-in li::after { transform: scale(1); }
.motion .timeline.is-in li > * { opacity: 1; transform: none; }

.motion .steps li > :not(.step-key) { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 0.4s + 0.5s); }
.motion .steps .step-key { opacity: 0; }
.motion .steps.is-in li > :not(.step-key) { opacity: 1; transform: none; }
.motion .steps.is-in .step-key { animation: keypress 0.8s var(--ease) both; animation-delay: calc(var(--i) * 0.4s + 0.2s); }
@keyframes keypress {
  0% { opacity: 0; transform: translateY(-14px); }
  45% { opacity: 1; transform: translateY(0); }
  62% { transform: translateY(3px); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 var(--line-2); background: var(--blue-soft); color: var(--blue); }
  100% { opacity: 1; transform: none; }
}
.motion .rl[data-reveal] .rl-row { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.motion .rl.is-in .rl-row { opacity: 1; transform: none; }
.motion .rl.is-in .rl-row:nth-child(2) { transition-delay: 0.06s; } .motion .rl.is-in .rl-row:nth-child(3) { transition-delay: 0.12s; }
.motion .rl.is-in .rl-row:nth-child(4) { transition-delay: 0.18s; } .motion .rl.is-in .rl-row:nth-child(5) { transition-delay: 0.24s; }
.motion .rl.is-in .rl-row:nth-child(n + 6) { transition-delay: 0.3s; }
.motion .prices[data-reveal] .price { opacity: 0; transform: translateY(40px) scale(0.97); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.motion .prices.is-in .price { opacity: 1; transform: none; }
.motion .prices.is-in .price + .price { transition-delay: 0.12s; }
.motion .close[data-reveal] h2 { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.motion .close[data-reveal] .close-bar { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s, box-shadow 0.3s; }
.motion .close[data-reveal] .close-type span { clip-path: inset(0 100% 0 0); }
.motion .close.is-in h2 { opacity: 1; transform: none; filter: none; }
.motion .close.is-in .close-bar { opacity: 1; transform: none; }
.motion .close.is-in .close-bar:hover { transform: translateY(-3px); transition-delay: 0s; }
.motion .close.is-in .close-type span { animation: type 1s steps(13) 0.75s forwards; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .ov-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "metric bars" "days bars" "right right"; }
  .ov-col-right { flex-direction: row; }
  .ov-col-right > * { flex: 1; }
  .window { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .w-side { display: none; }
}
@media (max-width: 960px) {
  .hero-top { grid-template-columns: minmax(0, 1fr); }
  .ov { grid-template-columns: minmax(0, 1fr); }
  .ov-side { display: none; }
  .l-body { grid-template-columns: minmax(0, 1fr); }
  .l-detail { display: none; }
  .cmds { grid-template-columns: minmax(0, 1fr); }
  .cmd-list { display: flex; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: none; }
  .cmd-list::-webkit-scrollbar { display: none; }
  .cmd { flex: none; grid-template-columns: auto auto; width: auto; gap: 8px; padding: 10px 14px; }
  .cmd > .icon { width: 17px; height: 17px; }
  .cmd-text b { font-size: 0.9rem; }
  .cmd-text span, .cmd .keys { display: none; }
  .notice, .privacy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav-demo { display: none; }
  .ov-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "metric" "right"; }
  .ov-bars, .ov-days { display: none; }
  .ov-col-right { flex-direction: column; }
  .ov-head .ov-actions .ov-pill:not(.is-white) { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { box-shadow: inset 0 1px 0 var(--line); }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .window { grid-template-columns: minmax(0, 1fr); height: 520px; }
  .w-read { display: none; }
  .mini-rows li { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .mini-rows li > span:not(.mh-warn):not(.mh-ok) { display: none; }
  .mini-rows li time { display: none; }
  .mini-health li { grid-template-columns: 10px minmax(0, 1fr); }
  .mini-health li > span { display: inline-flex !important; grid-column: 2; justify-content: flex-start; }
  .mini-noise li { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .mini-codes { grid-template-columns: minmax(0, 1fr); }
  .rl-body, .rl-faq .rl-body { grid-template-columns: minmax(0, 1fr); }
  .rl-detail { border-left: 0; border-top: 1px solid var(--line); }
  .rl-acc { display: none; }
  .rl-foot .l-act-2, .rl-foot .l-sep, .rl-foot .l-act-2 + .keys { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: 24px; }
  .ov { padding: 10px; border-radius: 26px; }
  .l-head { height: 56px; padding: 0 12px 0 16px; }
  .l-input { font-size: 1.02rem; }
  .l-scope { display: none; }
  .l-body { height: 300px; }
  .l-acc span { display: none; }
  .l-act-2, .l-sep, .l-act-2 + .keys { display: none; }
  .notice { padding: 26px 22px; border-radius: 26px; }
  .price { padding: 26px 22px; border-radius: 26px; }
  .badge { top: 24px; right: 22px; }
  .close-bar { height: 58px; font-size: 1.05rem; }
  .close-card { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .ov, .ov-insight, .price.is-featured { animation: none; }
}

/* The overview preview, matching the app */
.ov-compose { display: flex; align-items: center; gap: 9px; height: 34px; margin: 0 0 8px; padding: 0 9px 0 11px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; }
.ov-compose .icon { width: 15px; height: 15px; color: var(--text-2); }
.ov-compose .kbd { margin-left: auto; }
.ov-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--card-3); font-size: 12px; font-weight: 500; }
.ov-seg span { display: grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 8px; color: var(--text-2); }
.ov-seg span.is-on { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.ov-digest { display: grid; gap: 1px; margin: 12px 0 0; padding: 0; list-style: none; }
.ov-digest li { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; color: var(--text-2); font-size: 12.5px; line-height: 1.4; }
.ov-digest .icon { flex: none; width: 14px; height: 14px; margin-top: 1px; color: var(--blue); }
.ov-digest b { color: var(--text); font-weight: 600; }
.sum-out { display: grid; gap: 10px; align-items: stretch; font-weight: 400; }
.sum-tl { display: flex; gap: 9px; align-items: flex-start; margin: 0; font-weight: 500; }
.sum-todo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; }
.sum-box { flex: none; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.sum-chip { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--text-2); font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-chip .icon { width: 12px; height: 12px; margin: 0; color: var(--text-3); }
.sum-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.sum-quick span { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 9px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8rem; font-weight: 500; }
ul.brief-demo { display: grid; gap: 6px; padding-left: 1.1em; }
ul.brief-demo li::marker { color: var(--blue); }
