/* ============================================================
   Duha landing page · light-only (the page IS the morning)
   Brand canon: brand/duha v1.0 — Sunbeam ground, Ink content,
   Baloo 2 display / General Sans body / Fira Code data.
   Register: bright everywhere except .serene blocks.
   ============================================================ */

:root {
  --sun: #FFC53D; --sun-deep: #F5A81C; --sun-tint: #FFF3D6;
  --gold: #FFB800; --ink: #211500; --cloud: #FDFBF6;
  --card: #FFFFFF; --line: #EDE5D2; --soft: #6B6150;
  --emerald: #2E7D5B; --amber: #C77E00;
  --ink-pop: #16122B; --ink-panel: #1e1938; --ink-line: #332B59; --ink-fg: #F2EFE6; --ink-soft: #A99F8C;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --arabic: "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", "Scheherazade New", "Amiri", "Traditional Arabic", serif;
  --mono: "Fira Code", ui-monospace, Menlo, monospace;
  --sans: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Baloo 2", var(--sans);
  --duha-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cloud); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.tight { max-width: 760px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; max-width: 62ch; }
.muted { color: var(--soft); }

:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 16.5px;
  border-radius: 999px; padding: 12px 28px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.12s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 22px rgba(33, 21, 0, 0.28); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(33, 21, 0, 0.28); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[aria-disabled="true"] {
  background: #E8E2D4; color: #9A9081; cursor: not-allowed; position: relative;
}
.btn[aria-disabled="true"]:hover { box-shadow: none; background: #E8E2D4; }
.btn[aria-disabled="true"]:active { transform: none; }
.gate-note { font-size: 13px; color: var(--soft); margin-top: 10px; }
.on-sun .gate-note { color: #6B4A00; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sun) 96%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(33, 21, 0, 0.08);
}
.nav-inner { display: flex; align-items: center; gap: 26px; padding: 13px 24px; max-width: 1080px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.nav-lockup { height: 40px; width: auto; display: block; }
.nav a.link { font-weight: 600; font-size: 15px; text-decoration: none; opacity: 0.85; }
.nav a.link:hover { opacity: 1; }
.nav .btn { padding: 8px 20px; font-size: 15px; }
@media (max-width: 720px) { .nav a.link { display: none; } }

/* ---------- hero ---------- */
.hero { background: var(--sun); position: relative; overflow: hidden; }
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.035; pointer-events: none;
  background: url("/static/brand/pattern-big-window.svg") center / 520px repeat;
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1080px; margin: 0 auto;
  padding: 72px 24px 84px; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding-top: 56px; } }
.hero-eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: #6B4A00; margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow .ar-inline { font-family: var(--arabic); font-size: 17px; letter-spacing: 0; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 74px); font-weight: 800; letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.hero .sub { font-size: 19px; line-height: 1.6; max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-mark { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: 0.10; pointer-events: none; }
@media (max-width: 900px) { .hero-mark { display: none; } }

/* hero demo card */
.demo-card {
  background: var(--card); border-radius: 20px; padding: 24px 26px;
  box-shadow: 0 18px 60px rgba(33, 21, 0, 0.22);
  min-height: 300px; display: flex; flex-direction: column;
}
.demo-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.demo-head svg { width: 22px; height: 22px; }
.demo-head span { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--soft); }
.demo-q {
  background: var(--sun-tint); border: 1px solid #F3DFAE; border-radius: 16px 16px 4px 16px;
  padding: 10px 16px; font-size: 15px; margin-left: auto; max-width: 88%;
  width: fit-content; min-height: 1.5em;
}
.demo-q[dir="rtl"] { font-family: var(--arabic); font-size: 17.5px; }
.demo-a { font-size: 15px; line-height: 1.62; margin-top: 16px; min-height: 4.9em; }
.demo-cites { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; min-height: 30px; }
.cite-chip {
  font-family: var(--mono); font-size: 11.5px; border-radius: 999px; padding: 4px 12px;
  background: rgba(46, 125, 91, 0.10); color: var(--emerald);
  border: 1px solid rgba(46, 125, 91, 0.35);
  opacity: 0; transform: translateY(12px);
}
.cite-chip.refer { background: rgba(199, 126, 0, 0.10); color: var(--amber); border-color: rgba(199, 126, 0, 0.35); }
.cite-chip.on { opacity: 1; transform: translateY(0); transition: opacity 0.45s var(--duha-spring), transform 0.45s var(--duha-spring); }
.type-caret { display: inline-block; width: 2px; height: 1em; background: var(--gold); vertical-align: text-bottom; animation: caret-blink 0.9s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.think-dots { display: inline-flex; gap: 5px; align-items: center; height: 16px; }
.think-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: think-bob 1.05s ease-in-out infinite; }
.think-dots i:nth-child(2) { animation-delay: 0.15s; }
.think-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes think-bob { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-7px); opacity: 1; } }

/* ---------- marquee ---------- */
.marquee {
  border-bottom: 1px solid var(--line); padding: 14px 0; overflow: hidden;
  white-space: nowrap; background: var(--cloud);
}
.marquee-track {
  display: inline-block; font-family: var(--mono); font-size: 12.5px; color: var(--soft);
  animation: marquee-roll 42s linear infinite; will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sun-deep); margin: 0 0 10px;
}
.section h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; margin-bottom: 14px; }
.section .lede { font-size: 18px; color: var(--soft); max-width: 58ch; margin-bottom: 40px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 22px; }
.step .glyph { width: 40px; height: 40px; border-radius: 12px; background: var(--sun-tint); display: grid; place-items: center; margin-bottom: 16px; }
.step .glyph svg { width: 22px; height: 22px; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--soft); margin: 0; }

.serene {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 38px 44px; font-family: var(--serif); font-size: 17.5px; line-height: 1.85;
}
.serene p { max-width: 58ch; margin: 0; }
.serene .ar-inline { font-family: var(--arabic); font-size: 1.2em; }
.serene .ladder { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--sans); }
.trust-chip {
  font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 4px 13px;
}
.trust-chip.em { background: rgba(46, 125, 91, 0.10); color: var(--emerald); border: 1px solid rgba(46, 125, 91, 0.32); }
.trust-chip.am { background: rgba(199, 126, 0, 0.10); color: var(--amber); border: 1px solid rgba(199, 126, 0, 0.32); }
.ladder-note { font-family: var(--sans); font-size: 13.5px; color: var(--soft); margin-top: 12px !important; }

/* status board */
.status-board { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .status-board { grid-template-columns: 1fr; } }
.status-col { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px; }
.status-col.now { background: var(--sun-tint); border-color: #F3DFAE; }
.status-col h3 { font-size: 21px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.status-col ul { list-style: none; margin: 0; padding: 0; }
.status-col li { padding: 8px 0; border-bottom: 1px solid rgba(33, 21, 0, 0.06); font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.status-col li:last-child { border-bottom: none; }
.status-col .tick { color: var(--emerald); font-weight: 700; flex-shrink: 0; }
.status-col .dot-soon { color: var(--sun-deep); font-weight: 700; flex-shrink: 0; }
.counter-line { margin-top: 34px; text-align: center; }
.counter {
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(44px, 6vw, 64px);
  font-weight: 600; letter-spacing: -0.02em; display: block; line-height: 1.1;
}
.counter-caption { font-size: 15px; color: var(--soft); }
.status-honesty { text-align: center; font-size: 15.5px; color: var(--soft); margin: 26px auto 0; font-style: italic; }

/* ---------- workspace (ink pop) ---------- */
.workspace { background: var(--ink-pop); color: var(--ink-fg); }
.workspace .section-eyebrow { color: var(--sun); }
.workspace .lede { color: var(--ink-soft); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cell {
  background: var(--ink-panel); border: 1px solid var(--ink-line); border-radius: 16px;
  padding: 24px; grid-column: span 2; transition: transform 0.2s var(--ease-out), border-color 0.2s;
}
.cell:hover { transform: translateY(-2px); border-color: #4A3F7A; }
.cell.wide { grid-column: span 3; }
.cell.full { grid-column: span 6; padding: 0; overflow: hidden; }
.cell.tall { grid-column: span 3; }
@media (max-width: 860px) { .cell, .cell.wide, .cell.tall { grid-column: span 6; } }
.cell h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink-fg); }
.cell p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.cell .cell-glyph { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 197, 61, 0.12); display: grid; place-items: center; margin-bottom: 14px; }
.cell .cell-glyph svg { width: 19px; height: 19px; }
.cell.full img { width: 100%; height: auto; }
.cell.spotlight { background: linear-gradient(135deg, #241c48 0%, var(--ink-panel) 70%); border-color: rgba(255, 197, 61, 0.35); }
.cell.spotlight h3 { color: var(--sun); }
.shot { border-radius: 12px; border: 1px solid var(--ink-line); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4); }
.cell.tall .shot { margin-top: 16px; }

/* family */
.demo-card--family { border: 1px solid var(--line); box-shadow: 0 14px 44px rgba(33, 21, 0, 0.10); min-height: 280px; }

.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .family-grid { grid-template-columns: 1fr; } }
.family-points { list-style: none; margin: 0; padding: 0; }
.family-points li { padding: 10px 0 10px 34px; position: relative; font-size: 15.5px; }
.family-points li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 4px var(--cloud), inset 0 0 0 5px var(--sun);
}
.family-shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(33, 21, 0, 0.14); }

/* pillars */
.pillars-bg { background: var(--sun-tint); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--card); border: 1px solid #F3DFAE; border-radius: 18px; padding: 30px; }
.pillar h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--soft); margin: 0; }

/* verse */
.verse { text-align: center; padding: 96px 24px; }
.verse .ayah { font-family: var(--arabic); font-size: clamp(30px, 4.5vw, 42px); line-height: 2; direction: rtl; margin-bottom: 14px; }
.verse .tr { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--soft); margin-bottom: 8px; }
.verse .ref { font-family: var(--mono); font-size: 12.5px; color: var(--soft); }
.verse p { margin-left: auto; margin-right: auto; }

/* closing CTA */
.closing { background: var(--sun); position: relative; overflow: hidden; text-align: center; }
.closing-arcs { position: absolute; inset: auto -12% -58% -12%; height: 120%; opacity: 0.14; pointer-events: none; }
.closing-arcs i { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.closing-arcs i:nth-child(2) { inset: 16% 9% 0; }
.closing-arcs i:nth-child(3) { inset: 32% 18% 0; }
.closing-inner { position: relative; z-index: 1; padding: 96px 24px 104px; max-width: 640px; margin: 0 auto; }
.closing h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 16px; }
.closing p { font-size: 18px; margin: 0 auto 32px; }
.closing .hero-ctas { justify-content: center; }

/* waitlist */
.waitlist { margin: 26px auto 0; max-width: 440px; }
.waitlist form { display: flex; gap: 10px; }
.waitlist input {
  flex: 1; border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  padding: 11px 20px; font-size: 15.5px; font-family: var(--sans); color: var(--ink); min-width: 0;
}
.waitlist input::placeholder { color: #9A9081; }
.waitlist .msg { font-size: 14px; margin-top: 12px; font-weight: 600; min-height: 1.4em; }
.waitlist .msg.ok { color: #14532D; }
.waitlist .msg.err { color: #8A2A2A; }
.hidden { display: none !important; }

/* footer */
.footer { background: var(--cloud); border-top: 1px solid var(--line); }
.footer-band { height: 44px; background: url("/static/brand/pattern-kufic-band.svg") center / auto 44px repeat-x; opacity: 0.10; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 44px 24px 52px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand .ar-lockup { height: 38px; margin-top: 12px; }
.footer-tag { font-size: 14px; color: var(--soft); margin-top: 14px; max-width: 34ch; }
.footer-col { font-size: 14px; }
.footer-col b { font-family: var(--display); display: block; margin-bottom: 8px; }
.footer-col a { display: block; color: var(--soft); text-decoration: none; padding: 3px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-amen { font-family: var(--arabic); font-size: 17px; color: var(--soft); }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.lit { opacity: 1; transform: none; }
.sunwash { position: relative; }
.sunwash::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 197, 61, 0.10), transparent 70%);
  opacity: 0; transition: opacity 1.1s ease-out;
}
.sunwash.lit::before { opacity: 1; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .sunwash::before { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .think-dots i, .type-caret { animation: none !important; }
  .cite-chip { opacity: 1; transform: none; transition: none; }
  .cell:hover { transform: none; }
}

/* ---------- bento mini-animations ----------
   Each cell demos its feature with a small looping vignette.
   Pure CSS keyframes; all disabled under prefers-reduced-motion. */
.mini { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

/* models: fallback chain */
.mini-chain { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; }
.chain-pill { position: relative; background: #262046; border: 1px solid var(--ink-line); border-radius: 999px; padding: 5px 14px; color: var(--ink-fg); }
.chain-arrow { color: var(--ink-soft); }
.c429 { position: absolute; top: -9px; right: -8px; background: #C43A3A; color: #fff; font-size: 9.5px; font-style: normal; border-radius: 999px; padding: 1px 6px; opacity: 0; }
.chain-pill.c1 { animation: chain-dim 7s ease-in-out infinite; }
.chain-pill.c1 .c429 { animation: chain-429 7s ease-in-out infinite; }
.chain-pill.c2 { animation: chain-take 7s ease-in-out infinite; }
@keyframes chain-dim { 0%, 20% { opacity: 1; } 30%, 80% { opacity: 0.38; } 90%, 100% { opacity: 1; } }
@keyframes chain-429 { 0%, 18% { opacity: 0; transform: scale(0.6); } 24%, 74% { opacity: 1; transform: scale(1); } 82%, 100% { opacity: 0; } }
@keyframes chain-take { 0%, 26% { border-color: var(--ink-line); background: #262046; color: var(--ink-fg); }
  36%, 78% { border-color: var(--sun); background: rgba(255, 197, 61, 0.16); color: var(--sun); }
  88%, 100% { border-color: var(--ink-line); background: #262046; color: var(--ink-fg); } }

/* agent: task rows ticking */
.mini-agent .t-row { display: flex; align-items: center; gap: 9px; padding: 4px 0; opacity: 0.35; }
.mini-agent .tick { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-soft); flex-shrink: 0; position: relative; }
.mini-agent .tick::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 9px; color: var(--ink-pop); background: var(--sun); border-radius: 50%; opacity: 0; }
.mini-agent .t1 { animation: t-live 9s infinite; } .mini-agent .t1 .tick::after { animation: t-tick 9s infinite; }
.mini-agent .t2 { animation: t-live 9s 0.4s infinite; } .mini-agent .t2 .tick::after { animation: t-tick 9s 2.6s infinite; }
.mini-agent .t3 { animation: t-live 9s 0.8s infinite; } .mini-agent .t3 .tick::after { animation: t-tick 9s 5s infinite; }
@keyframes t-live { 0%, 4% { opacity: 0.35; } 8%, 88% { opacity: 1; } 94%, 100% { opacity: 0.35; } }
@keyframes t-tick { 0%, 18% { opacity: 0; transform: scale(0.5); } 24%, 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; } }

/* documents: typo correction accepted */
.mini-doc { font-family: var(--serif); font-size: 14px; color: var(--ink-fg); background: #262046; border: 1px solid var(--ink-line); border-radius: 10px; padding: 10px 14px; }
.sug { position: relative; display: inline-block; }
.sug-old { position: absolute; left: 0; top: 0; text-decoration: underline wavy #C77E00 1.5px; animation: sug-out 6s infinite; }
.sug-new { color: #6fcf9f; opacity: 0; animation: sug-in 6s infinite; }
@keyframes sug-out { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sug-in { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* calendar: chips pop in */
.mini-cal { display: flex; flex-wrap: wrap; gap: 7px; }
.cal-chip { background: rgba(255, 197, 61, 0.10); border: 1px solid rgba(255, 197, 61, 0.35); color: var(--sun); border-radius: 999px; padding: 4px 12px; font-size: 12px; opacity: 0; }
.cal-chip.k1 { animation: chip-pop 8s var(--duha-spring) infinite; }
.cal-chip.k2 { animation: chip-pop 8s var(--duha-spring) 0.9s infinite; }
.cal-chip.k3 { animation: chip-pop 8s var(--duha-spring) 1.8s infinite; }
@keyframes chip-pop { 0%, 4% { opacity: 0; transform: translateY(10px); } 10%, 86% { opacity: 1; transform: translateY(0); } 93%, 100% { opacity: 0; } }

/* email: rows + tags */
.mini-mail .mail-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(51, 43, 89, 0.6); opacity: 0; }
.mini-mail .mail-row:last-child { border-bottom: none; }
.mail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); flex-shrink: 0; }
.mail-tag { margin-left: auto; font-style: normal; font-size: 10.5px; color: #6fcf9f; border: 1px solid rgba(111, 207, 159, 0.4); border-radius: 999px; padding: 1px 8px; opacity: 0; }
.mail-row.m1 { animation: mail-in 8.5s ease-out infinite; } .mail-row.m1 .mail-tag { animation: tag-in 8.5s infinite; }
.mail-row.m2 { animation: mail-in 8.5s ease-out 0.7s infinite; } .mail-row.m2 .mail-tag { animation: tag-in 8.5s 1.6s infinite; }
@keyframes mail-in { 0%, 3% { opacity: 0; transform: translateX(-8px); } 9%, 88% { opacity: 1; transform: translateX(0); } 95%, 100% { opacity: 0; } }
@keyframes tag-in { 0%, 26% { opacity: 0; transform: scale(0.7); } 33%, 88% { opacity: 1; transform: scale(1); } 95%, 100% { opacity: 0; } }

/* research: progress fill */
.res-bar { height: 7px; border-radius: 999px; background: #262046; border: 1px solid var(--ink-line); overflow: hidden; margin-bottom: 8px; }
.res-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sun-deep), var(--sun)); animation: res-fill 7s ease-in-out infinite; }
.res-label { font-family: var(--mono); font-size: 11.5px; }
@keyframes res-fill { 0% { width: 0; } 55%, 88% { width: 82%; } 96%, 100% { width: 0; } }

/* privacy band */
.privacy { margin-top: 18px; background: var(--card); border: 1px solid #F3DFAE; border-radius: 18px; padding: 32px 38px; }
.privacy h3 { font-size: 22px; font-weight: 700; margin: 0 0 14px; }
.privacy ul { list-style: none; margin: 0; padding: 0; }
.privacy li { padding: 9px 0 9px 30px; position: relative; font-size: 15px; color: var(--soft); max-width: 72ch; }
.privacy li strong { color: var(--ink); }
.privacy li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.privacy-more { margin: 14px 0 0; padding-left: 30px; font-size: 14px; }
.privacy-more a { color: var(--amber); text-decoration: none; }
.privacy-more a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .chain-pill, .c429, .mini-agent .t-row, .mini-agent .tick::after,
  .sug-old, .sug-new, .cal-chip, .mail-row, .mail-tag, .res-bar i {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .sug-old { display: none; }
  .res-bar i { width: 82%; }
}

/* ---------- workspace mock (animated, replaces static screenshot) ---------- */
.cell.full { min-height: 340px; }
.ws-mock { display: flex; background: var(--cloud); min-height: 340px; }
.ws-side {
  width: 168px; flex-shrink: 0; background: #FFFFFF; border-right: 1px solid var(--line);
  padding: 16px 14px; display: flex; flex-direction: column; gap: 2px;
}
.ws-logo { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.ws-logo svg { width: 20px; height: 20px; }
.ws-item { font-size: 12.5px; color: var(--soft); padding: 6px 9px; border-radius: 8px; }
.ws-item.on { background: var(--sun-tint); color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .ws-side { display: none; } }
.ws-main { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 18px; min-width: 0; }
.ws-feed { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.ws-msg { max-width: 78%; font-size: 14.5px; line-height: 1.55; color: var(--ink); border-radius: 15px; padding: 10px 15px; opacity: 0; transform: translateY(10px); }
.ws-msg.on, .ws-chips.on { opacity: 1; transform: none; transition: opacity 0.45s var(--duha-spring), transform 0.45s var(--duha-spring); }
.ws-user { align-self: flex-end; background: var(--sun-tint); border: 1px solid #F3DFAE; border-bottom-right-radius: 4px; }
.ws-duha { align-self: flex-start; background: #FFFFFF; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ws-duha em { font-style: italic; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 7px; opacity: 0; transform: translateY(10px); }
.tool-chip { font-size: 12px; font-weight: 600; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 4px 12px; }
.ws-composer {
  margin-top: 18px; border: 1.5px solid var(--sun); border-radius: 14px; background: #FFFFFF;
  padding: 11px 16px; font-size: 13.5px; color: #9A9081;
}
.ws-think { align-self: flex-start; padding: 10px 15px; }
@media (prefers-reduced-motion: reduce) {
  .ws-msg, .ws-chips { opacity: 1 !important; transform: none !important; transition: none !important; }
}
