/* OutletOne product page (v2)
   Outlet One design-system components come from /assets/css/outletone-ds.css (oo- classes).
   This file only lays out the page; <main> carries .oo-root so the OutletOne tokens apply. */

.o1-main { font-size: 16px; line-height: 1.55; background: var(--surface); }
.o1-main a:not(.oo-btn) { color: var(--blue-text); }
.o1-main :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Shared bits ---------- */
.o1-section { padding: 96px 0; }
.o1-bg-alt { background: var(--surface-alt); }
.o1-stack { display: flex; flex-direction: column; }
.o1-gap-32 { gap: 32px; }
.o1-gap-40 { gap: 40px; }
.o1-gap-48 { gap: 48px; }
.o1-gap-96 { gap: 96px; }
.o1-head { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.o1-maxw { max-width: 640px; }
.o1-minw0 { min-width: 0; }

.o1-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-text); }
.o1-eyebrow-orange { color: var(--orange-text); }
.o1-blue { color: var(--blue); }
.o1-h1 { font-family: var(--font-display); font-size: 52px; line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.o1-h2 { font-family: var(--font-display); font-size: 36px; line-height: 1.2; font-weight: 600; color: var(--ink); }
.o1-h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.2; font-weight: 600; color: var(--ink); }
.o1-lede { font-size: 18px; color: var(--ink-muted); }
.o1-mono-note { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.o1-fine { font-size: 13px; color: var(--ink-muted); }

.o1-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.o1-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* ---------- Sub-brand bar ---------- */
.o1-subbar { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.o1-subbar-inner { display: flex; align-items: center; gap: 24px; min-height: 56px; flex-wrap: wrap; }
.o1-subbar-logo { height: 24px; width: auto; }
.o1-subbar-by { font-size: 13px; color: var(--ink-muted); }
.o1-subnav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; font-weight: 600; }
.o1-main .o1-subnav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.o1-main .o1-subnav a:hover { color: var(--blue-text); }

/* ---------- Hero + demo video ---------- */
.o1-hero-section { padding: 64px 0 56px; }
.o1-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.o1-hero-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.o1-player { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.o1-video { border-radius: var(--radius-xl); background: var(--navy); padding: 10px; box-shadow: var(--shadow-md); }
.o1-video-screen {
  position: relative; border-radius: 20px; aspect-ratio: 16 / 9; background: #1C2F5E; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.o1-video-ghost { position: absolute; inset: 20px 20px 64px; border-radius: 14px; background: var(--surface-alt); opacity: 0.12; }
.o1-video-play {
  position: relative; width: 88px; height: 88px; border-radius: 999px; border: 0; background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 12px 30px rgba(242, 92, 31, 0.45); transition: transform .15s ease, background-color .15s ease;
}
.o1-video-play:hover { transform: scale(1.05); }
.o1-video-play:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.o1-video-bar {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(transparent, rgba(14, 31, 69, 0.9)); color: #FFFFFF;
}
.o1-video-time { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.o1-video-track { flex: 1; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); display: flex; min-width: 40px; }
.o1-video-progress { background: var(--orange); border-radius: 999px; transition: width .25s ease; }
.o1-video-title { font-size: 13px; font-weight: 600; white-space: nowrap; }
.o1-video-badge {
  position: absolute; top: 14px; left: 14px; max-width: calc(100% - 28px);
  font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--navy); background: var(--cream);
  padding: 4px 10px; border-radius: 999px;
}

.o1-chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.o1-chapters li { display: flex; min-width: 0; }
.o1-chapter {
  font: inherit; text-align: left; width: 100%; display: flex; flex-direction: column; gap: 2px; min-height: 56px;
  padding: 8px 10px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.o1-chapter:hover { border-color: var(--line-strong); }
.o1-chapter[aria-current="true"] { border-color: var(--blue); background: var(--blue-soft); }
.o1-chapter-start { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }
.o1-chapter-title { font-size: 13px; font-weight: 600; line-height: 1.25; }

/* ---------- Built in MOMOYO ---------- */
.o1-proven { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.o1-proven-inner { padding-top: 40px; padding-bottom: 40px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.o1-proven-title { font-family: var(--font-display); font-size: 22px; line-height: 1.3; font-weight: 600; max-width: 520px; }
.o1-proven-note { flex: 1; min-width: 280px; color: var(--ink-muted); }

/* ---------- Deep dives ---------- */
.o1-alt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.o1-alt-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.o1-alt-copy p { color: var(--ink-muted); font-size: 17px; }
.o1-shot {
  border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  color: var(--ink-muted); font-size: 15px;
}

/* ---------- How it works ---------- */
.o1-steps { list-style: none; margin: 0; padding: 0; }
.o1-step { display: flex; flex-direction: column; gap: 12px; }
.o1-step-title { font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 600; }
.o1-step p { color: var(--ink-muted); }

/* ---------- Pricing ---------- */
.o1-prices { align-items: start; }

/* ---------- FAQ ---------- */
.o1-faq-wrap { max-width: calc(860px + 2 * var(--gutter)); }
.o1-faq-title { margin-bottom: 24px; }
.o1-faq summary { min-height: 44px; }
.o1-faq details p { color: var(--ink-muted); }

/* ---------- Demo CTA band + form ---------- */
.o1-demo-inner { align-items: center; }
.o1-demo-copy { flex: 1 1 380px; min-width: 0; }
.o1-demo-actions { margin-top: 24px; }
.o1-form {
  flex: 1 1 460px; max-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md);
}
.o1-form-full { grid-column: 1 / -1; }
.o1-form .oo-btn { width: 100%; }
.o1-form .oo-field select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230E1F45' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.o1-form .oo-field select:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.o1-form .oo-field input:user-invalid { border-color: var(--danger); }
/* .oo-cta p (muted, top margin) must not reach the form's own paragraphs */
.o1-demo .o1-form .form-status { margin: 0; color: var(--ink); }
.o1-demo .o1-form .form-status:empty { display: none; }
.o1-demo .o1-form .form-status.ok { color: var(--success); }
.o1-demo .o1-form .form-status.err { color: var(--danger); }
.o1-form .form-note { color: var(--ink-muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .o1-hero, .o1-alt { grid-template-columns: 1fr; gap: 32px; }
  .o1-g3, .o1-g4 { grid-template-columns: 1fr 1fr; }
  .o1-chapters { grid-template-columns: 1fr 1fr; }
  .o1-h1 { font-size: 40px; }
  .o1-alt .o1-order-media { order: 2; }
  .o1-form { max-width: none; }
}
@media (max-width: 720px) {
  .o1-section { padding: 64px 0; }
  .o1-gap-96 { gap: 64px; }
  .o1-hero-section { padding: 40px 0; }
  .o1-g3, .o1-g4 { grid-template-columns: 1fr; }
  .o1-h1 { font-size: 36px; }
  .o1-h2, .o1-demo h2 { font-size: 28px; line-height: 1.25; }
  .o1-h3 { font-size: 24px; }
  .o1-subbar-inner { gap: 4px 16px; padding-top: 8px; }
  .o1-subnav { margin-left: 0; width: 100%; overflow-x: auto; gap: 20px; -webkit-overflow-scrolling: touch; }
  .o1-hero-copy .oo-hero-actions { width: 100%; }
  .o1-hero-copy .oo-btn { flex: 1 1 100%; }
  .o1-video { padding: 6px; border-radius: 20px; }
  .o1-video-screen { border-radius: 14px; }
  .o1-video-play { width: 64px; height: 64px; }
  .o1-video-ghost { display: none; }
  .o1-video-bar { padding: 10px 12px; gap: 8px; }
  .o1-video-title { overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
  .o1-video-badge { font-size: 11px; top: 8px; left: 8px; max-width: calc(100% - 16px); border-radius: 10px; }
  .o1-proven-note { min-width: 0; flex-basis: 100%; }
  .o1-prices { gap: 32px; }
  .o1-demo.oo-cta { padding: 48px 0; }
  .o1-demo-inner { padding: 0 var(--gutter); }
  .o1-demo-copy, .o1-form { flex-basis: 100%; }
  .o1-demo-actions .oo-btn { width: 100%; }
  .o1-form { grid-template-columns: 1fr; padding: 20px; }
}

/* ---------- Product previews built from the MOMOYO OutletOne screens ----------
   The hero poster sits behind the play button until the demo video has an ID;
   the two deep-dive shots replace the "[to record]" placeholders. All copy
   inside is demo data from the MOMOYO system. */
.o1-poster { position: absolute; inset: 0; padding: 22px 22px 70px; display: flex; align-items: flex-start; gap: 16px; pointer-events: none; }
.o1-poster::after { content: ""; position: absolute; inset: 0; background: rgba(14, 31, 69, 0.28); }
.o1-poster .oo-board { flex: 1 1 58%; min-width: 0; padding: 16px; border-radius: 18px; font-size: 13px; }
.o1-poster .oo-board-row { padding: 9px 0; gap: 10px; }
.o1-poster .oo-board-name { font-size: 13px; }
.o1-poster .oo-board-sub, .o1-poster .oo-board-meta { font-size: 11px; }
.o1-poster .oo-board-val { font-size: 12px; }
.o1-poster-side { flex: 1 1 38%; min-width: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 44px; }
.o1-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink); min-width: 0; }
.o1-card-head { display: flex; align-items: center; gap: 10px; }
.o1-card-head .oo-badge { margin-left: auto; }
.o1-card-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--blue-soft); color: var(--blue-text); }
.o1-card-title { font-weight: 600; line-height: 1.2; }
.o1-card-sub { font-size: 11px; color: var(--ink-muted); }
.o1-card-actions { display: flex; gap: 8px; }
.o1-card-actions .oo-btn { height: 32px; padding: 0 12px; font-size: 12px; flex: 1; }
.o1-video-play { z-index: 2; }
.o1-video-bar, .o1-video-badge { z-index: 2; }
.o1-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.o1-shot-live { position: relative; overflow: hidden; text-align: left; color: var(--ink); background: var(--surface-alt); padding: 20px; align-items: center; justify-content: center; gap: 16px; }

/* Telegram approval */
.o1-phone { width: min(60%, 320px); height: 100%; max-height: 100%; border-radius: 34px; background: var(--navy); padding: 8px; box-shadow: var(--shadow-md); flex: none; font-size: 12px; line-height: 1.4; }
.o1-phone-inner { height: 100%; border-radius: 27px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.o1-phone-head { height: 48px; flex: none; background: var(--navy); color: #FFFFFF; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.o1-phone-head img { width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; padding: 3px; box-sizing: border-box; }
.o1-phone-head b { font-weight: 600; font-size: 13px; display: block; line-height: 1.1; }
.o1-phone-head small { font-size: 10px; color: var(--on-deep-muted); }
.o1-chat { flex: 1; min-height: 0; background: var(--surface-alt); padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.o1-chat-date { align-self: center; font-size: 10px; color: var(--ink-muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.o1-bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; max-width: 94%; }
.o1-bubble-me { align-self: flex-end; background: var(--blue); color: #FFFFFF; border: 0; border-radius: 14px 14px 4px 14px; max-width: 80%; }
.o1-bubble b { font-weight: 600; }
.o1-bubble .o1-muted { color: var(--ink-muted); }
.o1-tg-btn { display: block; text-align: center; background: var(--blue-soft); color: var(--blue-text); font-weight: 600; border-radius: 8px; padding: 6px 8px; }
.o1-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; font-size: 11px; }
.o1-lines span:nth-child(2n) { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.o1-bubble .o1-card-actions .oo-btn { height: 28px; font-size: 11px; padding: 0 8px; }
.o1-shot-live .o1-card.o1-float { flex: 1 1 auto; max-width: 240px; }

/* Assistant drawer */
.o1-app { width: 100%; height: 100%; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; }
.o1-app-bar { height: 30px; flex: none; background: var(--surface-alt); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); }
.o1-app-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.o1-app-bar i:nth-child(3) { margin-right: 6px; }
.o1-app-body { flex: 1; min-height: 0; display: flex; }
.o1-app-page { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0.55; }
.o1-app-page h4 { margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.o1-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.o1-table-row { display: grid; grid-template-columns: 1.7fr 0.8fr 0.6fr 0.9fr; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--line); align-items: center; font-size: 11px; }
.o1-table-row:first-child { border-top: 0; background: var(--surface-alt); font-weight: 700; font-size: 9px; letter-spacing: 0.08em; color: var(--ink-muted); }
.o1-table-row .o1-mono { font-size: 11px; }
.o1-warn { color: var(--warning); font-weight: 600; } .o1-bad { color: var(--danger); font-weight: 600; } .o1-ok { color: var(--success); font-weight: 600; }
.o1-drawer { width: 58%; flex: none; border-left: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.o1-drawer-head { padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.o1-drawer-head .oo-feature-icon { width: 30px; height: 30px; border-radius: 8px; }
.o1-drawer-head b { font-weight: 600; display: block; line-height: 1.15; font-size: 12px; }
.o1-drawer-head small { font-size: 10px; color: var(--ink-muted); }
.o1-drawer-head .oo-badge { margin-left: auto; font-size: 10px; line-height: 18px; padding: 0 7px; }
.o1-drawer-body { flex: 1; min-height: 0; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.o1-drawer-body .o1-bubble { max-width: 96%; }
.o1-drawer-foot { padding: 8px 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.o1-drawer-foot .o1-fake-input { flex: 1; height: 32px; border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 0 10px; display: flex; align-items: center; color: var(--ink-muted); font-size: 11px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o1-drawer-foot .oo-btn { height: 32px; padding: 0 10px; font-size: 11px; }
.o1-src { font-size: 10px; color: var(--ink-muted); }

@media (max-width: 900px) {
  .o1-poster-side { display: none; }
  .o1-poster .oo-board { flex-basis: 100%; }
}
@media (max-width: 720px) {
  .o1-poster { padding: 12px 12px 56px; }
  .o1-shot-live { padding: 12px; }
  .o1-shot-live .o1-card.o1-float { display: none; }
  .o1-phone { width: min(78%, 300px); }
  .o1-app-page { display: none; }
  .o1-drawer { width: 100%; border-left: 0; }
}

/* Preview tuning after a first render: tighter poster board, phone stretched to the shot's height,
   compact table in the assistant shot. */
.o1-video-screen { container-type: inline-size; }
.o1-poster .oo-board-val { display: none; }
.o1-poster .oo-board-row { grid-template-columns: 26px minmax(0, 1fr) auto; padding: 7px 0; }
.o1-poster .oo-board-num { width: 26px; height: 26px; font-size: 11px; }
.o1-poster .oo-badge { font-size: 11px; line-height: 18px; padding: 0 8px; }
.o1-poster .o1-card { font-size: 12px; }
.o1-poster .o1-card-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 760px) { .o1-poster .o1-card + .o1-card { display: none; } }
@container (max-width: 640px) { .o1-poster-side { display: none; } .o1-poster .oo-board { flex-basis: 100%; } }
@container (max-width: 520px) { .o1-poster .oo-board-sub { display: none; } .o1-poster .oo-board-row:nth-child(n + 6) { display: none; } }

.o1-shot-live { align-items: stretch; }
.o1-shot-live .o1-card.o1-float { align-self: center; }
.o1-phone { height: auto; align-self: stretch; font-size: 11px; line-height: 1.35; }
.o1-phone-head { height: 42px; }
.o1-chat { gap: 6px; padding: 8px; }
.o1-bubble { padding: 7px 9px; gap: 4px; }
.o1-lines { font-size: 10px; }
.o1-lines span:nth-child(2n + 1) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.o1-app { font-size: 11px; }
.o1-table-row { grid-template-columns: minmax(0, 1.5fr) 0.7fr 0.6fr 0.9fr; gap: 6px; padding: 6px 8px; font-size: 10px; }
.o1-table-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o1-table-row .o1-mono { font-size: 10px; white-space: nowrap; }
.o1-app-page h4 { font-size: 13px; }
.o1-drawer-body .o1-bubble { font-size: 11px; }

/* ---------- Looping product demo in the hero (scenes) ----------
   The demo frame keeps the 16:9 player; each .live-scene is one MOMOYO screen. */
.o1-hero-seg { height: 6px; width: 160px; margin-top: 4px; }
.o1-live[data-live] { position: absolute; inset: 0; }
.o1-live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 31, 69, 0.06), rgba(14, 31, 69, 0.22)); pointer-events: none; z-index: 1; }
.o1-live .live-scene { padding: 18px 18px 64px; display: flex; align-items: stretch; justify-content: center; }
.sc-app, .sc-chat { width: 100%; max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.sc-head { height: 30px; flex: none; background: var(--surface-alt); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.sc-url { margin-left: 8px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); }
.sc-body { flex: 1; min-height: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sc-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; }
.sc-title b { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.sc-rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sc-row { display: grid; grid-template-columns: minmax(0, 1.6fr) auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 12px; }
.sc-rows .sc-row:first-child { border-top: 0; }
.sc-row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-row .o1-mono { font-size: 12px; white-space: nowrap; }
.sc-row .oo-badge { font-size: 10px; line-height: 18px; padding: 0 7px; }
.sc-card { border: 1px solid var(--line); border-radius: 10px; grid-template-columns: auto minmax(0, 1fr) auto; }
.sc-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-text); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.sc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; flex-wrap: wrap; }
.sc-foot .oo-badge { font-size: 11px; }
.sc-btn.oo-btn { height: 30px; padding: 0 12px; font-size: 12px; }
.sc-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sc-week span { height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.sc-week .on { background: var(--blue-soft); color: var(--blue-text); }
.sc-week .off { background: var(--surface-alt); color: var(--ink-muted); }
.sc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sc-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.sc-kpi span { font-size: 11px; color: var(--ink-muted); }
.sc-kpi b { font-weight: 500; font-size: 15px; }
.sc-ok { color: var(--success); }
.sc-chat { padding: 12px 14px; gap: 8px; background: var(--surface-alt); }
.sc-chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.sc-chat-head img { width: 22px; height: 22px; }
.sc-chat-head .o1-muted { margin-left: auto; font-size: 11px; }
.sc-ai { width: 22px; height: 22px; border-radius: 50%; background: var(--orange-soft); border: 2px solid var(--orange); box-sizing: border-box; }
.sc-bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 11px; display: flex; flex-direction: column; gap: 5px; max-width: 92%; font-size: 12px; }
.sc-bubble b { font-weight: 600; }
.sc-me { align-self: flex-end; background: var(--blue); color: #FFFFFF; border: 0; border-radius: 14px 14px 4px 14px; max-width: 78%; }
.sc-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-small { font-size: 10px; }
.sc-actions { display: flex; gap: 6px; margin-top: 2px; }
.sc-assistant .m-typing { color: var(--ink-muted); padding: 2px 4px; }
.o1-video-play { z-index: 2; }
.o1-live + .o1-video-play { opacity: 0.92; }
.o1-video-screen:hover .o1-video-play { opacity: 1; }

/* ---------- Module cards with a mini screen ---------- */
.o1-modules .oo-feature { gap: 12px; }
.o1-mini { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-alt); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; min-height: 96px; justify-content: center; }
.o1-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.o1-mini-row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.o1-mini-row .o1-mono { font-size: 11px; white-space: nowrap; color: var(--ink-muted); }
.o1-mini-row .oo-badge { font-size: 10px; line-height: 18px; padding: 0 7px; }
.o1-mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.o1-mini-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--brown-soft); }
.o1-mini-bars i:nth-child(4), .o1-mini-bars i:nth-child(6) { background: var(--brown); }
.o1-mini-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.o1-mini-week span { height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.o1-mini-week .on { background: var(--blue-soft); color: var(--blue-text); }
.o1-mini-week .off { background: var(--surface); color: var(--ink-muted); border: 1px solid var(--line); }
.o1-mini-chat { gap: 6px; }
.o1-mini-bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; padding: 6px 9px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; max-width: 92%; }
.o1-mini-bubble b { font-weight: 600; }
.o1-mini-me { align-self: flex-end; background: var(--blue); color: #FFFFFF; border: 0; border-radius: 12px 12px 3px 12px; }
.o1-ok { color: var(--success); }

@media (max-width: 720px) {
  .o1-live .live-scene { padding: 10px 10px 52px; }
  .sc-app, .sc-chat { font-size: 12px; border-radius: 12px; }
  .sc-body { padding: 10px 12px; gap: 8px; }
  .sc-row { padding: 6px 10px; font-size: 11px; }
  .sc-row > span:nth-child(3) { display: none; }
  .sc-kpis { grid-template-columns: 1fr 1fr; }
  .sc-kpi:nth-child(3) { grid-column: 1 / -1; }
  .sc-week span { height: 28px; font-size: 10px; }
  .o1-hero-seg { width: 120px; }
}

/* ---------- Hero on the Ink Navy deep band: app window + floating alerts + assistant ---------- */
.o1-hero-deep { background: var(--surface-deep); color: var(--on-deep); padding: 64px 0 56px; overflow: hidden; }
.o1-hero-deep .o1-hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.o1-hero-deep .o1-h1 { color: #FFFFFF; font-size: 58px; }
.o1-hero-deep .o1-lede { color: var(--on-deep-muted); }
.o1-hero-deep .o1-mono-note { color: var(--on-deep-muted); }
.o1-eyebrow-cream { color: var(--cream); }
.o1-hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 8px; }
.o1-hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.o1-hero-stats b { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.1; color: #FFFFFF; }
.o1-hero-stats span { font-size: 13px; color: var(--on-deep-muted); }

.o1-stage { position: relative; aspect-ratio: 16 / 11; }
.o1-win { position: absolute; left: 6%; right: 0; top: 7%; bottom: 7%; background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.38); overflow: hidden; display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.o1-win-bar { height: 34px; flex: none; background: var(--surface-alt); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.o1-win-url { margin-left: 10px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-muted); background: var(--surface); border-radius: 6px; padding: 3px 10px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o1-win-body { flex: 1; min-height: 0; display: flex; }
.o1-win-side { width: 148px; flex: none; border-right: 1px solid var(--line); background: #FFFFFF; padding: 12px 10px; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.o1-win-brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 6px; font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--ink); }
.o1-win-brand img { width: 20px; height: 20px; }
.o1-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.o1-nav li { padding: 5px 8px; border-radius: 6px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .25s, color .25s; }
.o1-nav li.o1-nav-h { margin-top: 6px; padding: 2px 8px; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--ink-muted); opacity: 0.8; }
.o1-nav li.is-active { background: var(--blue-soft); color: var(--blue-text); font-weight: 600; }
.o1-win-main { flex: 1; min-width: 0; position: relative; background: var(--surface); }
.o1-win-main .live-scene { padding: 14px 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.o1-win-main .live-dots { bottom: 7px; }
.o1-win-main .live-dot { background: rgba(14, 31, 69, 0.14); }
.o1-win-main .live-dot i { background: var(--blue); }
.w-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.w-head > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.w-head b { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.w-head > div span { font-size: 11px; color: var(--ink-muted); }
.w-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.w-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.w-kpi span { font-size: 10px; color: var(--ink-muted); }
.w-kpi b { font-family: var(--font-mono); font-weight: 500; font-size: 16px; color: var(--ink); white-space: nowrap; }
.w-amber { color: var(--warning) !important; } .w-green { color: var(--success) !important; }
.w-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.w-tr { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 0.9fr) auto; gap: 8px; align-items: center; padding: 7px 10px; border-top: 1px solid var(--line); font-size: 11px; }
.w-table .w-tr:first-child { border-top: 0; }
.w-th { background: var(--surface-alt); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--ink-muted); }
.w-tr > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-tr .o1-mono { font-size: 10.5px; }
.w-tr .oo-badge { font-size: 10px; line-height: 18px; padding: 0 7px; justify-self: end; }
.w-tr .sc-avatar { width: 24px; height: 24px; }
.w-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; flex-wrap: wrap; }
.w-chat { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.w-chat .sc-bubble { max-width: 94%; }

.o1-float { position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; background: #FFFFFF; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32); font-size: 12px; max-width: 260px; }
.o1-float > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.o1-float b { font-weight: 600; font-size: 12.5px; }
.o1-float > div span { font-size: 10.5px; color: var(--ink-muted); }
.o1-float-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.o1-float-ok { background: var(--success-soft); color: var(--success); }
.o1-float-warn { background: var(--danger-soft); color: var(--danger); }
.o1-float-tr { right: -3%; top: -4%; }
.o1-float-ml { left: -5%; top: 46%; }
.o1-assist { position: absolute; z-index: 3; right: -2%; bottom: -9%; width: 58%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.o1-assist-bubble { background: #FFFFFF; color: var(--ink); border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32); }
.o1-assist-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: var(--on-orange); font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.o1-assist-btn img { width: 20px; height: 20px; background: #FFFFFF; border-radius: 50%; padding: 2px; box-sizing: border-box; }

.o1-hero-deep .o1-chapters { margin-top: 64px; }
.o1-hero-deep .o1-chapter { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); color: #FFFFFF; }
.o1-hero-deep .o1-chapter:hover { border-color: rgba(255, 255, 255, 0.5); }
.o1-hero-deep .o1-chapter-start { color: var(--on-deep-muted); }
.o1-hero-deep .o1-chapter[aria-current="true"] { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy); }
.o1-hero-deep .o1-chapter[aria-current="true"] .o1-chapter-start { color: var(--blue); }
.o1-player-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--on-deep-muted); }
.o1-watch { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #FFFFFF; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.o1-watch:hover { border-color: #FFFFFF; }

@media (max-width: 900px) {
  .o1-hero-deep .o1-hero { grid-template-columns: 1fr; gap: 36px; }
  .o1-hero-deep .o1-h1 { font-size: 42px; }
  .o1-stage { aspect-ratio: 16 / 12; }
  .o1-hero-deep .o1-chapters { margin-top: 56px; }
}
@media (max-width: 720px) {
  .o1-hero-deep { padding: 40px 0 40px; }
  .o1-hero-deep .o1-h1 { font-size: 36px; }
  .o1-hero-stats { gap: 20px; }
  .o1-hero-stats b { font-size: 22px; }
  .o1-stage { aspect-ratio: 4 / 3; }
  .o1-win { left: 0; top: 0; bottom: 0; border-radius: 14px; font-size: 11px; }
  .o1-win-side { display: none; }
  .o1-float, .o1-assist { display: none; }
  .o1-hero-deep .o1-chapters { margin-top: 16px; }
  .w-kpis { grid-template-columns: 1fr 1fr; }
  .w-kpi:nth-child(3) { grid-column: 1 / -1; }
  .w-tr { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; }
  .w-tr > span:nth-child(3) { display: none; }
}

/* Tablet: keep the floating alerts inside the viewport once the hero stacks */
@media (max-width: 900px) {
  .o1-float-tr { right: 8px; }
  .o1-float-ml { left: 8px; }
}
