/* Outmoat - editorial hairline design system (aligned with landing.css) */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-subtle: #F3F3F1;
  --ink: #0A0A0B;
  --ink-2: #56565C;
  --ink-3: #7A7A82;
  --line: #E5E5E1;
  --line-strong: #D4D4CE;
  --accent: #0A84FF;
  --accent-hover: #0070E0;
  --accent-soft: rgba(10, 132, 255, 0.08);
  --green: #16A34A;
  --amber: #D97706;
  --danger: #DC2626;

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-brand: "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: var(--font-sans);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --wrap: 1040px;
  --wrap-settings: 760px;
  --wrap-setup: 520px;
  --wrap-review: 460px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "cv11" 1, "ss01" 1;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--mono);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--ink-2);
}

.subtle {
  color: var(--ink-3);
}

/* Containers */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-settings {
  max-width: var(--wrap-settings);
}

.wrap-setup {
  max-width: var(--wrap-setup);
}

.wrap-review {
  max-width: var(--wrap-review);
}

/* Typography */

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(32px, 4.6vw, 46px);
  line-height: 1.06;
  font-weight: 700;
}

h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Semantic Status Dots (no badge/pill soup) */

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  flex-shrink: 0;
}

.dot-accent {
  background: var(--accent);
}

.dot-green {
  background: var(--green);
}

.dot-amber {
  background: var(--amber);
}

.dot-danger {
  background: var(--danger);
}

.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}

/* Top Preview Strip (demo only) */

.demo-strip {
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}

.demo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.demo-strip-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-strip a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.demo-strip a:hover {
  text-decoration-color: var(--ink);
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark-dot {
  display: none;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.nav-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 72px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.14s ease;
}

.nav-tab:hover {
  color: var(--ink);
}

.nav-tab.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}

.nav-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.14s ease;
}

.nav-text-link:hover,
.nav-text-link.active {
  color: var(--ink);
}

.setup-progress-track {
  width: 100%;
  height: 2px;
  background: var(--line);
}

.setup-progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--ink);
  transition: width 0.2s ease;
}

/* Buttons & Links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.25;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.btn:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: var(--line-strong);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
}

.btn-primary:hover:not(:disabled) {
  background: #232327;
  border-color: #232327;
}

.btn-secondary {
  background: var(--surface-subtle);
  border-color: transparent;
  color: var(--ink);
  font-weight: 550;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--line);
  border-color: transparent;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--surface-subtle);
  border-color: transparent;
  color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
}

.btn-accent:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 520;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.14s ease, color 0.14s ease;
}

.text-link:hover {
  text-decoration-color: var(--ink);
}

.text-link-muted {
  color: var(--ink-2);
  text-decoration: none;
}

.text-link-muted:hover {
  color: var(--ink);
}

/* Inline Flat Text Toggles (zero pill soup) */

.inline-toggle-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.inline-toggle-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.toggle-sep {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

.toggle-opt {
  position: relative;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 13.5px;
  font-weight: 480;
  color: var(--ink-2);
  transition: color 0.14s ease;
}

.toggle-opt:hover {
  color: var(--ink);
}

.toggle-opt.active {
  color: var(--ink);
  font-weight: 590;
}

.toggle-opt.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: var(--ink);
}

/* Segmented Stone Pill Controls (shared across Upload, Review, Settings, Modal) */

#magic-style-group,
#settings-channel-group,
#ig-trial-grad-wrap,
#modal-style-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  width: fit-content;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface-subtle);
}

#ig-trial-grad-wrap.hidden {
  display: none;
}

#magic-style-group .toggle-opt,
#settings-channel-group .toggle-opt,
#ig-trial-grad-wrap .toggle-opt,
#modal-style-group .toggle-opt {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.25;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}

#magic-style-group .toggle-opt:hover,
#settings-channel-group .toggle-opt:hover,
#ig-trial-grad-wrap .toggle-opt:hover,
#modal-style-group .toggle-opt:hover {
  color: var(--ink);
}

#magic-style-group .toggle-opt.active,
#settings-channel-group .toggle-opt.active,
#ig-trial-grad-wrap .toggle-opt.active,
#modal-style-group .toggle-opt.active {
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
}

#magic-style-group .toggle-opt.active::after,
#settings-channel-group .toggle-opt.active::after,
#ig-trial-grad-wrap .toggle-opt.active::after,
#modal-style-group .toggle-opt.active::after {
  display: none;
}

/* Inputs & Form Controls */

.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.4;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.input:hover:not(:focus),
.select:hover:not(:focus),
.textarea:hover:not(:focus) {
  border-color: var(--line-strong);
}

.input::placeholder, .textarea::placeholder {
  color: var(--ink-3);
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.textarea {
  resize: vertical;
  min-height: 82px;
  font-size: 14px;
  line-height: 1.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 13.5px;
  font-weight: 560;
  color: var(--ink);
}

.field-hint {
  font-size: 12.5px;
  color: var(--ink-3);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inline-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.inline-form .input {
  flex: 1;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Inline Feedback Notices (flat hairline left border, zero pill clutter) */

.notice {
  padding: 11px 14px;
  border-left: 2.5px solid var(--line-strong);
  border-radius: 0 10px 10px 0;
  background: var(--surface-subtle);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

.notice-ok {
  border-left-color: var(--green);
  color: var(--green);
}

.notice-warn {
  border-left-color: var(--amber);
  color: var(--amber);
}

.notice-error {
  border-left-color: var(--danger);
  color: var(--danger);
}

/* =========================================================
   FLOW 1: LANDING PAGE (Signed-out /)
   ========================================================= */

.hero {
  padding: 44px 0 52px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 468px;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 3.6vw, 43px);
  line-height: 1.07;
  margin-bottom: 16px;
}

.hero-copy .lead {
  max-width: 46ch;
  font-size: 16.5px;
  margin-bottom: 26px;
}

.access-box {
  max-width: 430px;
}

.access-switch {
  margin-top: 11px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-proof-strip {
  display: flex;
  align-items: baseline;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-proof-num {
  font-size: 18px;
  font-weight: 640;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
}

.hero-proof-cap {
  font-size: 12.5px;
  color: var(--ink-2);
}

/* Above-the-fold live product stage (Raw take + SMS -> Auto-playing Sketch video) */

.hero-stage {
  display: grid;
  grid-template-columns: 180px 272px;
  gap: 16px;
  align-items: center;
  justify-content: end;
}

.hero-before-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.raw-pip-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  transition: transform 0.14s ease;
}

.raw-pip-card:hover {
  transform: translateY(-1px);
}

.raw-pip-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #0A0A0B;
  border: 1px solid var(--line-strong);
}

.raw-pip-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
}

.raw-pip-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  background: rgba(10, 10, 11, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #FFFFFF;
  font-size: 12px;
  backdrop-filter: blur(4px);
  transition: transform 0.14s ease, background 0.14s ease;
}

.raw-pip-card:hover .raw-pip-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(10, 10, 11, 0.88);
}

.raw-pip-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(10, 10, 11, 0.78);
  color: #FFFFFF;
  font-size: 10.5px;
  line-height: 1.25;
}

.raw-pip-caption {
  font-size: 12.5px;
  font-weight: 540;
  color: var(--ink-2);
}

.raw-pip-card:hover .raw-pip-caption {
  color: var(--ink);
}

/* Authentic iPhone iMessage UI (Hero mini + Beat 2 3-column strip) */

.imsg-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #DFDFE4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 10, 11, 0.04);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--sans);
}

.imsg-card-mini {
  border-radius: 15px;
}

.imsg-bar {
  display: grid;
  grid-template-columns: 52px 1fr 56px;
  align-items: center;
  padding: 9px 12px;
  background: rgba(246, 246, 248, 0.96);
  border-bottom: 1px solid #E5E5EA;
}

.imsg-bar-mini {
  grid-template-columns: 20px 1fr 20px;
  padding: 6px 10px;
}

.imsg-back {
  color: #007AFF;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}

.imsg-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.imsg-contact-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.imsg-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #A2A6B0 0%, #838893 100%);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.imsg-avatar-xs {
  width: 17px;
  height: 17px;
  font-size: 8.5px;
}

.imsg-name {
  font-size: 11px;
  font-weight: 560;
  color: #000000;
  line-height: 1.15;
}

.imsg-chev {
  color: #AEAEB2;
  font-size: 11px;
}

.imsg-step-label {
  justify-self: end;
  font-size: 10.5px;
  font-weight: 540;
  color: #8E8E93;
  white-space: nowrap;
}

.imsg-thread {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 15px 15px;
  background: #FFFFFF;
  flex: 1;
}

.imsg-thread-mini {
  gap: 5px;
  padding: 9px 11px 10px;
}

.imsg-stamp {
  text-align: center;
  font-size: 10.5px;
  color: #8E8E93;
  margin-bottom: 3px;
}

.imsg-stamp strong {
  font-weight: 600;
  color: #8E8E93;
}

.imsg-bubble {
  position: relative;
  max-width: 86%;
  padding: 8px 12px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.38;
  white-space: pre-line;
  letter-spacing: -0.005em;
}

.imsg-thread-mini .imsg-bubble {
  max-width: 92%;
  padding: 6px 9px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.32;
}

.imsg-in {
  align-self: flex-start;
  background: #E9E9EB;
  color: #000000;
}

.imsg-out {
  align-self: flex-end;
  background: #007AFF;
  color: #FFFFFF;
}

.imsg-in.imsg-tail::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 14px;
  height: 14px;
  background: #E9E9EB;
  border-bottom-right-radius: 12px 10px;
}

.imsg-in.imsg-tail::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 15px;
  background: #FFFFFF;
  border-bottom-right-radius: 9px;
}

.imsg-out.imsg-tail::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 14px;
  height: 14px;
  background: #007AFF;
  border-bottom-left-radius: 12px 10px;
}

.imsg-out.imsg-tail::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -10px;
  width: 10px;
  height: 15px;
  background: #FFFFFF;
  border-bottom-left-radius: 9px;
}

.imsg-receipt {
  align-self: flex-end;
  margin-top: -3px;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 540;
  color: #8E8E93;
  letter-spacing: -0.01em;
}

/* Authentic iMessage rich link card */

.imsg-link-card {
  display: block;
  align-self: flex-start;
  width: 88%;
  border-radius: 15px;
  overflow: hidden;
  background: #E9E9EB;
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.14s ease, filter 0.14s ease;
}

.imsg-link-card:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.imsg-link-preview {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 12px;
  background: #141418;
  color: #FFFFFF;
}

.imsg-link-kicker {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.68);
}

.imsg-link-headline {
  font-size: 13px;
  font-weight: 620;
  color: #FFFFFF;
  letter-spacing: -0.015em;
}

.imsg-link-foot {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 12px 9px;
  background: #E9E9EB;
}

.imsg-link-title {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
  line-height: 1.3;
}

.imsg-link-domain {
  font-size: 11px;
  color: #6E6E73;
}

/* Magic-Link Mobile Upload Page (/u/:token) */

.upload-page-title {
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.038em;
}

.upload-sparks {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-subtle);
  border: 0;
}

.upload-sparks-head {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.upload-sparks-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.upload-sparks-tip {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 560;
}

.upload-actions-stack {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--line-strong);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.upload-actions-stack.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.upload-drop-hint {
  text-align: center;
  font-size: 12.5px;
  margin-top: 2px;
}

.hero-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.phone-frame-hero {
  max-width: 272px;
}

.phone-corner-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(10, 10, 11, 0.74);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  line-height: 1.2;
  pointer-events: none;
}

.phone-play-btn {
  position: absolute;
  left: 10px;
  bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.2;
  transition: background 0.14s ease;
}

.phone-play-btn:hover {
  background: var(--ink);
}

.phone-sound-btn {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 4;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.2;
  transition: background 0.14s ease;
}

.phone-sound-btn:hover {
  background: var(--ink);
}

.phone-sound-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
}

.phone-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 4;
  pointer-events: none;
}

.phone-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.25s linear;
}

.hero-style-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 272px;
  padding: 0 2px;
  flex-wrap: nowrap;
}

.hero-style-bar .toggle-opt {
  font-size: 13px;
  white-space: nowrap;
}

.hero-time-readout {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
}

.hairline-section {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-sub {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 60ch;
}

/* Beat 2: Paired iPhone iMessage <-> Behind-the-scenes role showcase */

.behind-rows {
  display: flex;
  flex-direction: column;
}

.behind-row {
  display: grid;
  grid-template-columns: 344px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.behind-row:first-child {
  padding-top: 8px;
  border-top: 0;
}

.behind-row:last-child {
  padding-bottom: 4px;
}

.behind-detail {
  padding-top: 6px;
}

.behind-role-meta {
  font-size: 11.5px;
  font-weight: 560;
  color: var(--accent);
  margin-bottom: 6px;
}

.behind-detail h3 {
  font-size: 19px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.imsg-link-static {
  cursor: default;
}

.imsg-link-static:hover {
  transform: none;
  filter: none;
}

/* Visual Proof Artifacts paired with each iMessage (zero <dl> feature tables) */

.proof-artifact {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.artifact-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.artifact-title {
  font-size: 12.5px;
  font-weight: 620;
  color: var(--ink);
}

.artifact-streak {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink);
}

/* Moment 1: 4-step no-doomscroll visual flow */

.flow-steps-4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.flow-node-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.flow-node-text {
  font-size: 12.5px;
  font-weight: 560;
  color: var(--ink);
  line-height: 1.25;
}

.flow-arrow {
  color: var(--ink-3);
  font-size: 13px;
  flex-shrink: 0;
}

.artifact-metrics-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.artifact-metric-num {
  display: block;
  font-size: 16px;
  font-weight: 640;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2px;
}

.artifact-metric-cap {
  display: block;
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--ink-2);
}

/* Moment 2: Descript-style real transcript cut & fact-check diff */

.diff-body {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
}

.diff-cut {
  color: var(--danger);
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.55);
  background: rgba(220, 38, 38, 0.06);
  padding: 1px 4px;
  border-radius: 4px;
  margin-right: 4px;
}

.diff-keep {
  color: var(--ink);
  font-weight: 500;
  margin-right: 4px;
}

.diff-claim {
  background: rgba(22, 163, 74, 0.10);
  color: #15803D;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 580;
}

.diff-check-bar {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--ink-2);
}

.diff-check-bar strong {
  color: var(--green);
  font-weight: 600;
}

.diff-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}

.diff-style-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.behind-style-jump {
  font-size: 12.5px;
}

.mini-retention-svg {
  width: 100%;
  height: auto;
}

/* Quiet Hairline FAQ Band on Landing */

.landing-faq-band {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.landing-faq-title {
  margin-bottom: 14px;
}

.landing-faq-band .disclosure-body p {
  max-width: 66ch;
  font-size: 14px;
  line-height: 1.58;
}

/* Beat 4: Calm Founder Beta & $299/mo Transparent Anchor */

.beta-pricing-band {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.beta-price-line {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 660;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}

.beta-price-unit {
  font-size: 15px;
  font-weight: 460;
  color: var(--ink-2);
  letter-spacing: 0;
}

.beta-price-sub {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
}

.beta-includes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink);
}

.beta-includes li {
  position: relative;
  padding-left: 16px;
}

.beta-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.beta-pricing-right {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.beta-access-label {
  font-size: 13px;
  font-weight: 580;
  color: var(--ink);
  margin-bottom: 10px;
}

/* Proof 1: Transformation 2-column hairline layout */

.proof-transform {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.phone-frame {
  background: #0A0A0B;
  border-radius: 28px;
  padding: 8px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 20px 48px rgba(10, 10, 11, 0.14);
}

.phone-screen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #040405;
  aspect-ratio: 9 / 16;
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #040405;
}

.phone-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(10, 10, 11, 0.84);
  pointer-events: none;
}

.selector-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.selector-row {
  position: relative;
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 15px 12px 15px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  background: transparent;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.selector-row:hover {
  background: var(--surface-subtle);
}

.selector-row.active {
  border-left-color: var(--accent);
}

.selector-row-title {
  font-size: 15px;
  font-weight: 520;
  color: var(--ink-2);
  margin-bottom: 2px;
}

.selector-row.active .selector-row-title,
.selector-row:hover .selector-row-title {
  color: var(--ink);
}

.selector-row.active .selector-row-title {
  font-weight: 620;
}

.selector-row-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

.selector-row-meta {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  flex-shrink: 0;
}

.selector-row.active .selector-row-meta {
  color: var(--accent);
}

.player-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* Proof 2: Borderless Compounding Chart + Vertical Hairline Stats */

.chart-open-stage {
  width: 100%;
}

.chart-open-stage svg {
  width: 100%;
  height: auto;
  overflow: visible;
  user-select: none;
}

.chart-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.chart-readout-main {
  font-weight: 580;
  color: var(--ink);
}

.chart-readout-note {
  color: var(--ink-2);
}

.stats-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 8px;
}

.stat-col {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.stat-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-cap {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* =========================================================
   FLOW 4: SIGNED-IN WORKSPACE (Videos & Ideas)
   ========================================================= */

.attention-strip {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
}

.attention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex-wrap: wrap;
}

.attention-title {
  color: var(--ink);
  font-weight: 540;
}

.stat-strip-ws {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.stat-strip-ws .stat-col {
  padding: 0 22px;
}

.stat-strip-ws .stat-col:first-child {
  padding-left: 0;
}

.stat-strip-ws .stat-num {
  font-size: 28px;
}

.stat-streak-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.stat-streak-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.16);
}

.ws-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.ws-section:last-child {
  border-bottom: 0;
  padding-bottom: 64px;
}

/* Compounding Reach Legend & Chart */

.legend-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 2px 0;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: opacity 0.14s ease, color 0.14s ease;
}

.legend-item:hover,
.legend-item.active {
  color: var(--ink);
  font-weight: 560;
}

.legend-item.dim {
  opacity: 0.32;
}

.legend-swatch {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}

.perf-band {
  transition: opacity 0.14s ease;
}

.perf-band.dim {
  opacity: 0.16;
}

.ws-footnote {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* Videos x Channels Flat Hairline Ledger Table */

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ledger-table th,
.ledger-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ledger-table thead th {
  font-weight: 520;
  font-size: 12.5px;
  color: var(--ink-2);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}

.ledger-table th:first-child,
.ledger-table td:first-child {
  text-align: left;
  padding-left: 0;
}

.ledger-table th:last-child,
.ledger-table td:last-child {
  padding-right: 0;
}

.sort-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sort-btn.active {
  color: var(--ink);
  font-weight: 600;
}

.ledger-row {
  cursor: pointer;
  transition: background 0.12s ease;
}

.ledger-row:hover {
  background: var(--surface-subtle);
}

.ledger-row.is-selected {
  background: rgba(10, 132, 255, 0.06);
}

.ledger-video-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
}

.ledger-video-title {
  display: block;
  font-weight: 560;
  color: var(--ink);
  font-size: 14px;
  white-space: normal;
  min-width: 180px;
}

.ledger-video-sub {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 1px;
}

.heat-cell {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  min-width: 58px;
  padding: 4px 7px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  background: rgba(10, 132, 255, var(--heat-a, 0));
  color: var(--ink);
}

.heat-cell-muted {
  background: transparent;
  color: var(--ink-3);
}

.heat-sub {
  font-size: 11px;
  color: var(--ink-2);
}

.bm {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
}

.bm-above {
  color: var(--green);
}

.bm-below {
  color: var(--danger);
}

.bm-typical {
  color: var(--ink-3);
}

.ledger-table tfoot th,
.ledger-table tfoot td {
  border-top: 1px solid var(--line-strong);
  border-bottom: 0;
  font-weight: 600;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  padding-top: 12px;
}

.ledger-table tfoot th {
  font-family: var(--sans);
  font-weight: 560;
  color: var(--ink-2);
}

/* Mobile-native hairline video list (replaces wide 7-col table below 680px) */

.m-ledger {
  border-top: 1px solid var(--line-strong);
}

.m-ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12.5px;
  color: var(--ink-2);
}

.m-ledger-row {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 13px 0;
  transition: background 0.12s ease;
}

.m-ledger-row:active,
.m-ledger-row.is-selected {
  background: rgba(10, 132, 255, 0.06);
}

.m-ledger-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.m-ledger-title-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.m-ledger-title-wrap .dot {
  transform: translateY(-1px);
}

.m-ledger-title {
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink);
  line-height: 1.35;
}

.m-ledger-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

.m-ledger-sub {
  margin-top: 2px;
  padding-left: 14px;
  font-size: 12px;
  color: var(--ink-3);
}

.m-ledger-chs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  padding-left: 14px;
  font-size: 12px;
  color: var(--ink-2);
}

.m-ledger-ch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.m-ledger-ch strong {
  font-weight: 560;
  color: var(--ink);
}

.m-ledger-foot {
  padding: 13px 0 2px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
}

.m-ledger-foot .m-ledger-chs {
  padding-left: 0;
}

/* Right-Hand Slide-Over Attention Drawer (genuine interactive container) */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 10, 11, 0.24);
  display: flex;
  justify-content: flex-end;
}

.drawer-panel {
  width: min(520px, 100vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 36px rgba(10, 10, 11, 0.08);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-head {
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}

.drawer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
}

.drawer-body-scroll {
  padding: 20px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-channel-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.drawer-section {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.drawer-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.drawer-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.drawer-curve-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.drop-list {
  display: flex;
  flex-direction: column;
}

.drop-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.drop-item:first-child {
  padding-top: 0;
}

.drop-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.drop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-family: var(--mono);
  margin-bottom: 5px;
}

.drop-quote {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

.drop-note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

.drawer-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.drawer-mini-table th,
.drawer-mini-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.drawer-mini-table th:first-child,
.drawer-mini-table td:first-child {
  text-align: left;
  padding-left: 0;
}

.drawer-mini-table th:last-child,
.drawer-mini-table td:last-child {
  padding-right: 0;
}

.drawer-mini-table thead th {
  font-size: 12px;
  font-weight: 520;
  color: var(--ink-2);
}

/* Floating Chart Tooltip */

.chart-hover-tip {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  background: var(--ink);
  color: #FFFFFF;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  line-height: 1.45;
  min-width: 165px;
  box-shadow: 0 8px 24px rgba(10, 10, 11, 0.18);
}

.tip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* =========================================================
   FLOW 4 (VIEW B): IDEAS VIEW
   ========================================================= */

.try-next-callout {
  margin: 32px 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--accent);
}

.try-next-label {
  font-size: 13px;
  font-weight: 560;
  color: var(--accent);
  margin-bottom: 4px;
}

.try-next-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 64ch;
}

.idea-list {
  border-top: 1px solid var(--line);
}

.idea-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.idea-main {
  max-width: 66ch;
}

.idea-title {
  font-size: 16px;
  font-weight: 580;
  color: var(--ink);
  line-height: 1.38;
}

.idea-desc {
  margin-top: 5px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.idea-source {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}

a.idea-source:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclosure-list {
  border-top: 1px solid var(--line);
}

.disclosure {
  border-bottom: 1px solid var(--line);
}

.disclosure summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 540;
  color: var(--ink);
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink-3);
}

.disclosure[open] summary::after {
  content: "-";
  color: var(--ink);
}

.disclosure-body {
  padding: 0 0 18px;
}

/* =========================================================
   FLOW 5: DAY-0 EMPTY STATE
   ========================================================= */

.day0-wrap {
  max-width: 680px;
  padding: 56px 0 72px;
}

.day0-wrap h1 {
  font-size: clamp(30px, 4.2vw, 40px);
  margin-bottom: 12px;
}

.day0-wrap .lead {
  margin-bottom: 32px;
}

.dropzone {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 28px 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--ink);
  background: var(--surface-subtle);
}

.day0-upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.day0-alt-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.day0-ideas {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.progress-track {
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin: 10px 0 8px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 0.12s linear;
}

/* =========================================================
   UPLOAD MODAL (genuine interactive dialog)
   ========================================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 10, 11, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 20px 48px rgba(10, 10, 11, 0.14);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-cue {
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--accent);
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--ink);
}

/* =========================================================
   FLOW 2: AUTH, INVITE, CONNECT & SETUP
   ========================================================= */

.setup-main {
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 72px;
}

.wrap-auth {
  max-width: 440px;
}

.setup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: none;
}

.setup-card-head {
  margin: 0 0 24px;
}

.setup-step h1 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}

.setup-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 0;
}

.setup-step[data-step="2"] .setup-sub,
.setup-step[data-step="3"] .setup-sub {
  margin-bottom: 24px;
}

.auth-foot-sep {
  margin: 0 7px;
  color: var(--line-strong);
}

.input-auth {
  height: 46px;
  padding: 0 14px;
  font-size: 15px;
  border-radius: 12px;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.input-auth:focus,
.input-otp:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.input-otp {
  height: 52px;
  padding: 0 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-align: center;
  border-radius: 12px;
}

.auth-submit-wrap {
  margin-top: 2px;
}

.btn-auth {
  height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 600;
}

.otp-dest-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 0;
  font-size: 13.5px;
}

.otp-dest-phone {
  font-weight: 560;
  color: var(--ink);
}

.linq-activate-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-subtle);
  border: 0;
}

.linq-activate-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.linq-activate-desc {
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-2);
}

.otp-resend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
}

.invite-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 0;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.invite-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 640;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.14s ease;
}

.card-back-btn:hover {
  color: var(--ink);
}

.qr-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  margin: 22px 0 26px;
}

.qr-wrap svg {
  width: 176px;
  height: 176px;
  display: block;
}

.btn-connected {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.28);
  color: var(--green);
}

.btn-connected:hover:not(:disabled) {
  background: rgba(22, 163, 74, 0.13);
  border-color: rgba(22, 163, 74, 0.4);
}

.setup-auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 520px) {
  .setup-main {
    justify-content: flex-start;
    padding: 24px 0 56px;
  }

  .setup-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .setup-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .setup-actions > a,
  .setup-actions > button {
    justify-content: center;
  }
}

.setup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.swatch-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-2);
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 11, 0.14);
  flex-shrink: 0;
}

.style-pick-list {
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.style-pick-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 10px 14px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  background: transparent;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.style-pick-row:last-child {
  border-bottom: 0;
}

.style-pick-row:hover {
  background: var(--surface-subtle);
}

.style-pick-row.active {
  border-left-color: var(--accent);
}

.style-thumb {
  width: 68px;
  height: 38px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.channel-list {
  border-top: 1px solid var(--line);
}

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.channel-row:last-child {
  border-bottom: 0;
}

.channel-name {
  font-size: 15px;
  font-weight: 560;
  color: var(--ink);
}

.channel-meta {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* =========================================================
   FLOW 3: MOBILE REVIEW (/r/:id)
   ========================================================= */

.review-main {
  padding: 32px 0 72px;
}

.review-title {
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.review-player-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 300px;
  margin: 12px auto 0;
  font-size: 13px;
  color: var(--ink-2);
}

.review-style-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 300px;
  margin: 14px auto 0;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border-bottom: 0;
}

.review-style-switch .toggle-opt {
  padding: 7px 6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}

.review-style-switch .toggle-opt:hover {
  color: var(--ink);
}

.review-style-switch .toggle-opt.active {
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
}

.review-style-switch .toggle-opt.active::after {
  display: none;
}

.review-notes {
  margin-top: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}

.review-flag {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0 8px 12px;
  border-left: 2px solid var(--danger);
  color: var(--ink);
}

.review-decision {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.review-post-sub {
  margin-top: 9px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

.review-tweak-form {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.review-tweak-form .input {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 16px;
}

.review-live-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13.5px;
}

.caption-block {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.caption-block:last-child {
  border-bottom: 0;
}

.caption-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink);
}

.fc-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fc-item:last-child {
  border-bottom: 0;
}

.fc-claim {
  font-size: 14px;
  font-weight: 540;
  color: var(--ink);
  margin-top: 4px;
}

.fc-note {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}

/* =========================================================
   FLOW 6: SETTINGS LEDGER (/settings)
   ========================================================= */

.settings-main {
  padding: 40px 0 80px;
}

.settings-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.settings-page-head h1 {
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.038em;
}

.settings-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.settings-section:last-child {
  border-bottom: 0;
}

.settings-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.settings-section-head h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.028em;
}

.settings-channels-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.settings-channels-table th,
.settings-channels-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
  white-space: nowrap;
}

.settings-channels-table thead th {
  font-size: 12px;
  font-weight: 520;
  color: var(--ink-2);
  padding-bottom: 9px;
}

.settings-channels-table th:first-child,
.settings-channels-table td:first-child {
  text-align: left;
  padding-left: 0;
}

.settings-channels-table th:last-child,
.settings-channels-table td:last-child {
  padding-right: 0;
}

.settings-channels-table tbody tr:last-child td,
.settings-channels-table tbody tr:last-child th {
  border-bottom: 0;
}

.delta-pos {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12.5px;
}

.delta-neg {
  color: var(--danger);
  font-family: var(--mono);
  font-size: 12.5px;
}

.delta-flat {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12.5px;
}

.sparkline-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

/* Toggle Switch */

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: absolute;
  inset: 0;
  background: var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease;
}

.switch-track::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 0.16s ease;
}

.switch input:checked + .switch-track {
  background: var(--ink);
}

.switch input:checked + .switch-track::before {
  transform: translateX(18px);
}

.invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.invite-row:last-child {
  border-bottom: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  font-size: 13px;
  color: var(--ink-3);
}

.site-footer [data-app-wordmark] {
  font-family: var(--font-brand);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: -0.038em;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-stage {
    justify-content: start;
  }

  .behind-row,
  .beta-pricing-band {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .flow-steps-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .flow-steps-4 .flow-arrow {
    display: none;
  }

  .artifact-metrics-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 840px) {
  .proof-transform {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-row-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat-col {
    padding: 0;
    border-left: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .stat-col:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .stat-strip-ws {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    padding: 20px 0;
  }

  .stat-strip-ws .stat-col {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-strip-ws .stat-col:nth-child(1),
  .stat-strip-ws .stat-col:nth-child(2) {
    padding-top: 0;
    border-top: 0;
  }

  .idea-row {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 18px;
  }

  .header-inner {
    height: 60px;
    gap: 10px;
  }

  .wordmark {
    font-size: 1.3rem;
  }

  .setup-main {
    min-height: calc(100vh - 61px);
  }

  .header-left {
    gap: 14px;
  }

  .nav-tabs {
    gap: 12px;
    height: 60px;
  }

  .nav-tab {
    height: 60px;
    font-size: 13.5px;
  }

  .header-right {
    gap: 10px;
  }

  .header-right .nav-text-link {
    font-size: 13.5px;
  }

  .header-right .btn-sm {
    padding: 6px 12px;
    font-size: 13px;
  }

  .attention-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 4px 10px;
  }

  .attention-item .dot {
    margin-top: 7px;
  }

  .attention-item a,
  .attention-item button {
    grid-column: 2;
    justify-self: start;
  }

  .stat-strip-ws .stat-num {
    font-size: 22px;
    white-space: nowrap;
  }

  .ws-section {
    padding: 26px 0;
  }

  .drawer-head {
    padding: 16px 18px 14px;
  }

  .drawer-body-scroll {
    padding: 16px 18px 28px;
  }

  .settings-channels-table th:nth-child(4),
  .settings-channels-table td:nth-child(4),
  .settings-channels-table th:nth-child(5),
  .settings-channels-table td:nth-child(5) {
    display: none;
  }

  .settings-channels-table th,
  .settings-channels-table td {
    padding: 10px 6px;
    font-size: 13px;
  }

  .settings-channels-table th:first-child,
  .settings-channels-table td:first-child {
    padding-left: 0;
  }

  .settings-channels-table th:last-child,
  .settings-channels-table td:last-child {
    padding-right: 0;
  }

  .hero {
    padding: 36px 0 40px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-before-col {
    display: none;
  }

  .hero-proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-proof-num {
    font-size: 16px;
  }

  .hero-proof-cap {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .header-nav-hide-sm {
    display: none;
  }

  .inline-form {
    flex-direction: column;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .toggle-sep {
    display: none;
  }

  .inline-toggle-bar {
    gap: 10px 16px;
  }
}

/* =========================================================
   SIGNED-IN WORKSPACE V2 (Matches outmoat-brand-preview)
   Pure white paper, stone pills, obsidian ink, #0A84FF blue
   ========================================================= */

body.is-workspace {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-subtle: #F3F3F1;
  --ink: #0A0A0B;
  --ink-2: #56565C;
  --ink-3: #7A7A82;
  --line: #E5E5E1;
  --line-strong: #D4D4CE;
  --accent: #0A84FF;
  --accent-hover: #0070E0;
  --accent-soft: rgba(10, 132, 255, 0.08);
  --green: #16A34A;
  --amber: #D97706;
  --danger: #DC2626;
  --font-brand: "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FFFFFF;
  color: #0A0A0B;
  font-feature-settings: "cv11" 1, "ss01" 1;
  font-variant-numeric: tabular-nums;
}

body.is-workspace .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #E5E5E1;
}

body.is-workspace .wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.038em;
  line-height: 1;
  color: #0A0A0B;
}

body.is-workspace .wordmark-dot {
  display: none;
}

body.is-workspace .nav-tab {
  color: #56565C;
  font-weight: 500;
}

body.is-workspace .nav-tab:hover {
  color: #0A0A0B;
}

body.is-workspace .nav-tab.active {
  color: #0A0A0B;
  font-weight: 600;
}

body.is-workspace .btn-primary {
  background: #0A0A0B;
  border-color: #0A0A0B;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 600;
}

body.is-workspace .btn-primary:hover:not(:disabled) {
  background: #232327;
  border-color: #232327;
}

body.is-workspace .demo-strip {
  background: #F3F3F1;
  border-bottom-color: #E5E5E1;
}

body.is-workspace .ws-section {
  padding: 36px 0;
  border-top: 1px solid #E5E5E1;
}

body.is-workspace .ws-section:first-of-type {
  border-top: 0;
  padding-top: 24px;
}

body.is-workspace h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0A0A0B;
}

body.is-workspace .section-sub {
  color: #56565C;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}

/* Segmented Stone Pill Controls (mirrors landing switcher) */
.ws-pill-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ws-seg {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #F3F3F1;
  border-radius: 999px;
  gap: 2px;
}

.ws-seg-btn {
  border: 0;
  background: transparent;
  color: #56565C;
  font-size: 12.5px;
  font-weight: 520;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.25;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}

.ws-seg-btn:hover {
  color: #0A0A0B;
}

.ws-seg-btn.active {
  background: #0A0A0B;
  color: #FFFFFF;
}

/* Top Hero Band: Momentum Strip + Visual Streak Calendar */
.ws-hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 24px 0 26px;
  border-bottom: 1px solid #E5E5E1;
}

body.is-workspace .ws-hero-band .stat-strip-ws {
  padding: 0;
  border-bottom: 0;
}

.streak-cal-wrap {
  min-width: 0;
}

.scal-d-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scal-d-months {
  display: grid;
  grid-template-columns: repeat(12, 14px);
  gap: 4px;
  padding-left: 18px;
  font-size: 10.5px;
  color: #7A7A82;
  line-height: 1;
}

.scal-d-body {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.scal-d-dows {
  display: grid;
  grid-template-rows: repeat(7, 14px);
  gap: 4px;
  width: 12px;
  font-size: 10px;
  color: #7A7A82;
  line-height: 14px;
  text-align: right;
}

.scal-d-cols {
  display: flex;
  gap: 4px;
}

.scal-d-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scal-d-cell {
  width: 14px;
  height: 14px;
  border-radius: 3.5px;
  background: #F3F3F1;
  border: 0;
  padding: 0;
  display: block;
}

.scal-d-cell.is-future {
  background: #FAFAF9;
  border: 1px solid #EFEFED;
}

.scal-d-cell.is-done {
  cursor: pointer;
  transition: transform 0.12s ease;
}

.scal-d-cell.is-done:hover {
  transform: scale(1.18);
}

.scal-d-cell.is-lvl-1, .scal-m-cell.is-lvl-1, .scal-sw.l1 { background: #CBE4FF; color: #0A3870; }
.scal-d-cell.is-lvl-2, .scal-m-cell.is-lvl-2, .scal-sw.l2 { background: #7AB8FF; color: #FFFFFF; }
.scal-d-cell.is-lvl-3, .scal-m-cell.is-lvl-3, .scal-sw.l3 { background: #2D93FF; color: #FFFFFF; }
.scal-d-cell.is-lvl-4, .scal-m-cell.is-lvl-4, .scal-sw.l4 { background: #0A84FF; color: #FFFFFF; }
.scal-sw.l0 { background: #F3F3F1; }

.scal-d-cell.is-open,
.scal-m-cell.is-open {
  background: #FFFFFF;
  border: 1.5px dashed #0A0A0B;
  color: #0A0A0B;
  cursor: pointer;
}

.scal-d-cell.is-done.is-today,
.scal-m-cell.is-done.is-today {
  box-shadow: 0 0 0 2px #0A0A0B;
}

.scal-d-foot,
.scal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #7A7A82;
}

.scal-legend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.scal-sw {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
}

/* Mobile 4-week Mon-Sun calendar */
.scal-m-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.scal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 560;
  color: #7A7A82;
  padding-bottom: 2px;
}

.scal-m-cell {
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  background: #F3F3F1;
  color: #7A7A82;
  border: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scal-m-cell.is-future {
  background: #FAFAF9;
  color: #C7C7CC;
}

/* Top Momentum Stat Strip */
body.is-workspace .stat-strip-ws {
  padding: 28px 0 24px;
  border-bottom: 1px solid #E5E5E1;
}

body.is-workspace .stat-strip-ws .stat-num {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0A0A0B;
}

body.is-workspace .stat-strip-ws .stat-num.is-blue {
  color: #0A84FF;
}

body.is-workspace .stat-streak-dot {
  width: 8px;
  height: 8px;
  background: #0A84FF;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.16);
}

/* Beat 1: Visual Streak Thumbnail Wall */
.clip-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 14px;
  margin-top: 20px;
}

.clip-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  min-width: 0;
  cursor: pointer;
}

.clip-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #F3F3F1;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.clip-card:hover .clip-frame {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 10, 11, 0.08);
}

.clip-card.is-selected .clip-frame {
  box-shadow: 0 0 0 2px #0A84FF;
}

.clip-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clip-frame-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(155deg, #F3F3F1 0%, #E5E5E1 100%);
  color: #56565C;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.clip-scrim {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 8px 8px;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.86) 0%, rgba(10, 10, 11, 0.36) 62%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #FFFFFF;
}

.clip-reach {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.62);
  backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.clip-score {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.clip-title {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0A0A0B;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-meta {
  margin-top: 2px;
  font-size: 12px;
  color: #7A7A82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

.clip-record-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  border: 1.5px dashed #D4D4CE;
  background: #FAFAF9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #56565C;
  padding: 12px;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.clip-card:hover .clip-record-slot {
  border-color: #0A0A0B;
  background: #F3F3F1;
  color: #0A0A0B;
}

.clip-record-plus {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #0A0A0B;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.clip-wall-more {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.ws-more-btn {
  border: 1px solid #E5E5E1;
  background: #FFFFFF;
  color: #0A0A0B;
  font-size: 13px;
  font-weight: 540;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.ws-more-btn:hover {
  background: #F3F3F1;
  border-color: #D4D4CE;
}

/* Beat 3: Retention Lab (Overlaid Curves + Top 10 Checkpoint Rankings) */
.ret-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 20px;
  align-items: start;
}

.ret-focus-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 22px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: #56565C;
}

.ret-focus-title {
  font-weight: 600;
  color: #0A0A0B;
}

.ret-focus-title.is-blue {
  color: #0A84FF;
}

.ret-focus-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Inline touch/scrub readouts for charts (zero nested cards, pure editorial typography) */
.chart-readout {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid #EFEFED;
  font-size: 12.5px;
  color: #56565C;
}

#corr-dot-readout.chart-readout {
  margin-top: 8px;
  margin-bottom: 0;
  padding: 10px 0 0;
  border-bottom: 0;
  border-top: 1px solid #EFEFED;
}

.readout-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.readout-main {
  font-size: 13px;
  font-weight: 600;
  color: #0A0A0B;
}

.readout-gain {
  color: #0A84FF;
  font-weight: 600;
}

.readout-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: #56565C;
}

.readout-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.readout-chip strong {
  color: #0A0A0B;
  font-weight: 600;
}

.readout-open {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #0A84FF;
  cursor: pointer;
  white-space: nowrap;
}

.readout-open:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ret-svg-stage svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.rank-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #E5E5E1;
}

.rank-row {
  display: grid;
  grid-template-columns: 20px 28px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border: 0;
  border-bottom: 1px solid #E5E5E1;
  background: transparent;
  text-align: left;
  width: 100%;
  transition: background 0.12s ease;
}

.rank-row:hover,
.rank-row.is-hot {
  background: #F3F3F1;
}

.rank-num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #7A7A82;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.rank-thumb {
  width: 28px;
  height: 35px;
  border-radius: 5px;
  object-fit: cover;
  background: #F3F3F1;
  display: block;
}

.rank-main {
  min-width: 0;
}

.rank-title {
  font-size: 13px;
  font-weight: 560;
  color: #0A0A0B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-bar-track {
  margin-top: 4px;
  height: 4px;
  border-radius: 999px;
  background: #EFEFED;
  overflow: hidden;
}

.rank-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #0A0A0B;
  transition: background 0.14s ease;
}

.rank-row:hover .rank-bar-fill,
.rank-row.is-hot .rank-bar-fill {
  background: #0A84FF;
}

.rank-val {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #0A0A0B;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Beat 4: Craft Score vs Performance */
.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 20px;
  align-items: start;
}

.craft-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: #56565C;
}

.craft-legend-items {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.craft-dot-lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.craft-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.corr-pair-label {
  font-size: 13px;
  font-weight: 600;
  color: #0A0A0B;
}

.corr-r-badge {
  font-size: 12.5px;
  font-weight: 600;
  color: #0A0A0B;
  font-variant-numeric: tabular-nums;
}

.corr-r-badge.is-blue {
  color: #0A84FF;
}

.corr-bar-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #E5E5E1;
}

.corr-bar-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border: 0;
  border-bottom: 1px solid #E5E5E1;
  background: transparent;
  text-align: left;
  width: 100%;
  border-radius: 0;
  transition: background 0.12s ease;
}

.corr-bar-row:hover {
  background: #F7F7F5;
}

.corr-bar-row.is-active {
  background: #F3F3F1;
}

.corr-factor-name {
  font-size: 13px;
  font-weight: 540;
  color: #0A0A0B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.corr-bar-row.is-active .corr-factor-name {
  font-weight: 640;
}

.corr-diverging-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: #EFEFED;
  overflow: hidden;
}

.corr-zero-tick {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #C7C7CC;
  z-index: 1;
}

.corr-diverging-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: #0A0A0B;
  transition: background 0.12s ease;
}

.corr-diverging-fill.is-pos-strong {
  background: #0A84FF;
}

.corr-diverging-fill.is-neg {
  background: #9A9AA2;
}

.corr-r-val {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #0A0A0B;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.corr-r-val.is-blue {
  color: #0A84FF;
}

.axis-balance-block.is-footer {
  margin-top: 16px;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.axis-balance-block {
  padding-bottom: 18px;
  border-bottom: 1px solid #E5E5E1;
  margin-bottom: 16px;
}

.axis-balance-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.axis-balance-title {
  font-size: 13px;
  font-weight: 600;
  color: #0A0A0B;
}

.axis-next-cue {
  font-size: 12px;
  font-weight: 560;
  color: #0A84FF;
}

.axis-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #F3F3F1;
  gap: 2px;
}

.axis-bar-width {
  background: #0A84FF;
  height: 100%;
}

.axis-bar-depth {
  background: #0A0A0B;
  height: 100%;
}

.axis-balance-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: #56565C;
}

.dim-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dim-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dim-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.dim-name {
  font-weight: 540;
  color: #0A0A0B;
}

.dim-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dim-tag {
  font-size: 11px;
  font-weight: 560;
  color: #7A7A82;
}

.dim-tag.is-driver {
  color: #0A84FF;
}

.dim-score {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: #0A0A0B;
  font-variant-numeric: tabular-nums;
}

.dim-bar-track {
  height: 5px;
  border-radius: 999px;
  background: #F3F3F1;
  overflow: hidden;
}

.dim-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #0A0A0B;
}

.dim-bar-fill.is-driver {
  background: #0A84FF;
}

/* Video Detail Drawer thumbnail & rubric bars */
.drawer-hero-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E5E1;
  margin-bottom: 16px;
}

.drawer-thumb {
  width: 56px;
  height: 70px;
  border-radius: 9px;
  object-fit: cover;
  background: #F3F3F1;
  flex-shrink: 0;
}

.drawer-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: #56565C;
}

.drawer-hero-stats strong {
  color: #0A0A0B;
  font-weight: 650;
}

@media (max-width: 900px) {
  .ws-hero-band {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .clip-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ret-lab-grid,
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  body.is-workspace .wordmark {
    font-size: 1.3rem;
  }

  .clip-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .ws-seg-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  body.is-workspace .ws-section {
    padding: 28px 0;
  }

  body.is-workspace .stat-strip-ws {
    padding: 20px 0 18px;
  }
}
