/* Public website (landing, desk pages, legal pages). Separate from app.css: the dashboard stays lean. */
@font-face { font-family: "Noto Nastaliq Urdu"; src: url("../fonts/NotoNastaliqUrdu-Regular.c36c97a3e8b2.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #0f1f1d;
  --ink-2: #3b4a48;
  --muted: #64748b;
  --brand: #0f766e;
  --brand-2: #0b5f58;
  --brand-3: #14b8a6;
  --accent: #f59e0b;
  --bg: #ffffff;
  --tint: #f3f8f7;
  --line: #e3ebe9;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 31, 29, .06), 0 8px 28px rgba(15, 31, 29, .08);
  --shadow-lg: 0 30px 60px -20px rgba(11, 95, 88, .35), 0 12px 24px -12px rgba(15, 31, 29, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.site {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, iframe { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.light { color: #fff; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; padding: .62rem 1.15rem;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:focus-visible { outline: 3px solid rgba(20, 184, 166, .45); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(15, 118, 110, .6); }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-soft { background: #e6f4f2; color: var(--brand-2); }
.btn-soft:hover { background: #d5ede9; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2)); font-family: "Noto Nastaliq Urdu", serif; line-height: 1; padding-bottom: 4px; }
.logo-img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; gap: .4rem; align-items: center; }
@media (max-width: 880px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-actions .btn-ghost { display: none; } }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden;
  background: radial-gradient(900px 500px at 85% -10%, rgba(20, 184, 166, .16), transparent 60%),
              radial-gradient(700px 400px at -10% 20%, rgba(245, 158, 11, .10), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--brand-2);
  background: #e6f4f2; border-radius: 999px; padding: .3rem .8rem; margin-bottom: 1.25rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 0 4px rgba(20, 184, 166, .2); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; margin-bottom: 1.25rem; }
.grad { background: linear-gradient(100deg, var(--brand) 10%, var(--brand-3) 60%, #0ea5a4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 36rem; }
.lede.center { margin-left: auto; margin-right: auto; }
.urdu { font-family: "Noto Nastaliq Urdu", serif; font-size: 1.5rem; color: var(--brand-2); line-height: 2.2; margin: -.25rem 0 1rem; text-align: start; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0 2rem; }
.proof { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.proof li { display: flex; flex-direction: column; }
.proof strong { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.proof span { font-size: .85rem; color: var(--muted); }

/* Phone mockup */
.phone { justify-self: center; width: 100%; max-width: 360px; border-radius: 34px; background: #0f1f1d; padding: 10px; box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg); }
.phone-top { display: flex; align-items: center; gap: .6rem; background: var(--brand-2); color: #fff; border-radius: 26px 26px 0 0; padding: .9rem 1rem; }
.phone-top small { display: block; opacity: .8; font-size: .75rem; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-weight: 700; }
.phone-body { background: #ece5dd linear-gradient(180deg, #efeae2, #e9e2d8); border-radius: 0 0 26px 26px; padding: 14px 12px 18px; min-height: 430px;
  display: flex; flex-direction: column; gap: 9px; font-size: .84rem; }
.bubble { max-width: 88%; border-radius: 14px; padding: .55rem .75rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); line-height: 1.4; }
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.voice { display: flex; align-items: center; gap: .55rem; }
.play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; }
.wave { display: flex; gap: 3px; align-items: center; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: #94a3b8; height: 40%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { height: 85%; animation-delay: .2s; } .wave i:nth-child(4n) { height: 60%; animation-delay: .4s; } .wave i:nth-child(5n) { height: 100%; animation-delay: .1s; }
@keyframes wave { 50% { transform: scaleY(.45); } }
.transcript em { color: var(--ink-2); }
.b-title { font-weight: 700; margin: 0 0 .35rem; }
.b-lines { width: 100%; border-collapse: collapse; font-size: .78rem; }
.b-lines td { padding: .15rem 0; vertical-align: top; } .b-lines td:last-child { text-align: end; white-space: nowrap; padding-inline-start: .5rem; }
.b-total { border-top: 1px dashed rgba(0, 0, 0, .15); margin: .4rem 0 .45rem; padding-top: .35rem; display: flex; justify-content: space-between; }
.b-buttons { display: flex; gap: 4px; } .b-buttons span { flex: 1; text-align: center; background: rgba(255, 255, 255, .75); border-radius: 8px; padding: .3rem 0; color: var(--brand-2); font-weight: 600; font-size: .78rem; }
.doc { display: flex; align-items: center; gap: .6rem; } .doc small { display: block; color: var(--muted); }
.pdf { display: grid; place-items: center; width: 36px; height: 42px; border-radius: 6px; background: #dc2626; color: #fff; font-size: .65rem; font-weight: 800; }
.anim { opacity: 0; transform: translateY(8px) scale(.98); animation: pop .45s ease forwards; animation-delay: var(--d); }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: 88px 0; }
.band { padding: 64px 0; background: var(--ink); color: #e7efed; }
.band .section-title { color: #fff; text-align: center; margin-bottom: 2.25rem; }
.tinted { background: var(--tint); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .6rem; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.pain { background: rgba(255, 255, 255, .05); box-shadow: none; border: 1px solid rgba(255, 255, 255, .1); }
.pain h3 { color: #fff; font-size: 1.1rem; margin: .6rem 0 .5rem; }
.pain p { color: #b9c9c6; margin: 0; }
.pain-ico { font-size: 1.6rem; }

.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-weight: 800; color: #fff; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2)); }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--ink-2); margin: 0; }

/* Live demo */
.try-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.chip { font: inherit; font-size: .88rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .85rem; cursor: pointer; color: var(--ink-2); }
.chip:hover { border-color: var(--brand-3); color: var(--brand-2); }
.chip[lang="ur"] { font-family: "Noto Nastaliq Urdu", serif; line-height: 2; padding-block: .15rem; }
.try-frame { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); height: 600px; border: 1px solid var(--line); }
.try-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.try-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .25rem; }

/* Features */
.features { margin-top: 2.25rem; }
.feature { padding: 1.5rem 1.5rem 1.5rem 1.6rem; border-left: 3px solid var(--brand-3); background: linear-gradient(90deg, rgba(20, 184, 166, .06), transparent 70%); border-radius: 0 var(--radius) var(--radius) 0; }
.feature h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* Desks */
.desks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 2.5rem; }
.desk { grid-column: span 2; background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.desk:nth-child(-n+2) { grid-column: span 3; }
.desk.featured { border: 2px solid var(--brand-3); box-shadow: var(--shadow); }
.desk:not(.live) { background: rgba(255, 255, 255, .6); }
.desk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.desk-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e6f4f2; font-size: 1.4rem; }
.ico-box::before { content: "📦"; } .ico-cap::before { content: "🎓"; } .ico-pulse::before { content: "🩺"; } .ico-home::before { content: "🏠"; } .ico-school::before { content: "🏫"; }
.badge { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .2rem .65rem; background: #f1f5f9; color: var(--muted); }
.badge-live { background: #dcfce7; color: #166534; }
.desk h3 { font-size: 1.25rem; }
.desk-who { color: var(--brand-2); font-weight: 600; font-size: .92rem; margin: .2rem 0 .6rem; }
.desk p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.tags li { font-size: .78rem; background: var(--tint); border-radius: 999px; padding: .2rem .65rem; color: var(--ink-2); }
.desk-link { margin-top: auto; font-weight: 600; text-decoration: none; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.price-card { background: #fff; border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.price { font-size: 1.6rem; font-weight: 800; margin: .15rem 0 0; letter-spacing: -.02em; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.checks li { position: relative; padding-inline-start: 1.75rem; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #dcfce7;
  color: #166534; font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: .2rem; }
.checks.light li::before { background: rgba(255, 255, 255, .18); color: #fff; }
.price-card .center { margin: .75rem 0 0; }

.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 2.5rem 0 1.25rem; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.75rem; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand-3); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 1.3rem; }
.plan .price { margin: .5rem 0 1rem; }
.plan .checks { flex: 1; }
.plan-badge { position: absolute; top: -12px; left: 1.5rem; }
.plan-wide { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 1.5rem; align-items: center; margin-bottom: 1.25rem; padding: 1.25rem 1.75rem; }
.plan-wide .checks { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.5rem; margin: 0; }
@media (max-width: 1100px) { .plans-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } .plan-wide { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; } }
@media (max-width: 700px) { .plans-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* FAQ */
.faq { margin-top: 2rem; display: grid; gap: .75rem; }
.faq details { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.1rem; margin: 0; }

/* Book a demo */
.cta { background: radial-gradient(800px 400px at 100% 0%, rgba(20, 184, 166, .35), transparent 60%), linear-gradient(135deg, #0b5f58, #083d39); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lede.light { color: #cfe5e1; }
.form-card { background: #fff; border-radius: 24px; padding: 1.75rem; box-shadow: var(--shadow-lg); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .65rem .8rem; border: 1px solid #cfdcd9; border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 4px rgba(20, 184, 166, .18); }
.has-error input, .has-error select { border-color: #dc2626; }
.field-error, .form-error { color: #b91c1c; font-size: .85rem; margin: .3rem 0 0; }
.form-error { margin-bottom: 1rem; }
.form-card .center { margin: .75rem 0 0; }
.sent { text-align: center; padding: 2rem 1rem; }
.sent-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #166534; font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.sent h3 { font-size: 1.4rem; margin-bottom: .5rem; }

/* Footer */
.site-footer { background: #0a1715; color: #9fb3af; padding: 48px 0; }
.site-footer .logo { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: #cfe0dc; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.site-footer p { margin: .5rem 0 0; }

/* Legal pages */
.legal { padding-top: 56px; padding-bottom: 88px; }
.legal h1 { font-size: 2.2rem; margin-bottom: .5rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal .note { background: #fef3c7; color: #78350f; border-radius: 12px; padding: .75rem 1rem; font-size: .9rem; }

/* Scroll reveal (site.js adds .in); without JS everything is visible */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media print { .js .reveal { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .try-grid, .pricing-grid, .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { transform: none; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .desks { grid-template-columns: 1fr 1fr; }
  .desk, .desk:nth-child(-n+2) { grid-column: span 1; }
  .desk.featured { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .hero { padding: 32px 0 56px; }
  .section { padding: 64px 0; }
  .grid-3, .steps, .desks, .form-2, .price-row { grid-template-columns: 1fr; }
  .desk.featured { grid-column: span 1; }
  .try-frame { height: 540px; }
  .proof { gap: 1.25rem; }
}
@media (max-width: 420px) { .hero h1 { font-size: 1.85rem; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .wave i { animation: none; }
}

/* ---------------------------------------------------------------- Desk pages (/for/<page>/) */
.b-note { font-size: .78rem; color: #92400e; background: rgba(245, 158, 11, .14); border-radius: 8px; padding: .25rem .5rem; margin: .4rem 0 0; }
.photo { padding: .4rem; }
.paper { display: flex; flex-direction: column; gap: .15rem; background: #fffdf5 repeating-linear-gradient(180deg, transparent 0 22px, #dbe7f3 22px 23px);
  border-radius: 8px; padding: .5rem .8rem .7rem; min-width: 190px; transform: rotate(-1.5deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; color: #1e3a8a; font-size: .9rem; line-height: 23px; }
.photo small { display: block; color: var(--muted); padding: .35rem .3rem 0; }

.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 2.25rem; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cap-trade { grid-column: span 2; border: 2px solid var(--brand-3); background: linear-gradient(135deg, #f0fdfa, #fff 60%); box-shadow: var(--shadow); }
.cap-trade ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; }
.cap h3 { font-size: 1.12rem; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.cap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.cap li { position: relative; padding-inline-start: 1.6rem; }
.cap li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .15rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #dcfce7;
  color: #166534; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.cap li strong { display: block; font-size: .97rem; }
.cap li span { display: block; color: var(--ink-2); font-size: .92rem; line-height: 1.5; }

.spot-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.screen { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: #f8fafc; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.screen-bar span { margin-inline-start: .6rem; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-body { padding: 1rem 1.25rem 1.25rem; overflow-x: auto; }
.screen-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.screen-table th { text-align: start; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .5rem .5rem; border-bottom: 1px solid var(--line); }
.screen-table td { padding: .65rem .5rem; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.screen-table th:last-child, .screen-table td:last-child { text-align: end; white-space: nowrap; }
.screen-foot { margin: 1rem 0 0; display: grid; gap: .3rem; }
.screen-foot div { display: flex; justify-content: space-between; gap: 1rem; }
.screen-foot div:last-child { font-weight: 800; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: .4rem; }
.screen-foot dt, .screen-foot dd { margin: 0; }
.temp { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .15rem .6rem; }
.temp-hot { background: #fee2e2; color: #b91c1c; } .temp-warm { background: #fef3c7; color: #92400e; } .temp-cold { background: #e0f2fe; color: #075985; }

.compare { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-row span { padding: 1rem 1.25rem; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-head span { font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.compare-head span:first-child { background: #f8fafc; color: var(--muted); }
.compare-head span:last-child { background: var(--brand); color: #fff; }
.before { color: var(--muted); background: #fbfcfd; text-decoration: line-through; text-decoration-color: rgba(100, 116, 139, .45); }
.after { font-weight: 600; background: #f0fdfa; }

.other-desks { padding: 48px 0; }
.desk-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.desk-links a { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; text-decoration: none; font-weight: 600; font-size: .92rem; }
.desk-links a:hover { border-color: var(--brand-3); }
.desk-pages { margin-top: auto; display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.desk-pages .desk-link { margin-top: 0; font-size: .92rem; }
.footer-desks { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .75rem; font-size: .88rem; }
.footer-desks a { color: #9fb3af; text-decoration: none; }
.footer-desks a:hover { color: #fff; }

.btn-wa { background: #25d366; color: #073b1d; }
.btn-wa:hover { background: #1fbe5b; }
.cta .btn-wa { margin-top: 1.5rem; }

/* Phones: a sticky "Book a demo" bar for ad visitors (hidden while the form is on screen) */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { display: flex; gap: .5rem; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transition: transform .25s ease; }
  .sticky-cta .btn { flex: 1; }
  .sticky-cta.away { transform: translateY(110%); }
  .desk-page .site-footer { padding-bottom: 96px; }
}

@media (max-width: 960px) {
  .spot-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .caps, .cap-trade ul { grid-template-columns: 1fr; }
  .cap-trade { grid-column: span 1; }
  .compare-row span { padding: .8rem .9rem; font-size: .92rem; }
  .screen-table { font-size: .82rem; }
}
.static .reveal, .static .anim { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
@media (max-width: 640px) { .nav-start { display: none; } }

/* Landing hero: example desks with tabs */
.hero-desks { justify-self: center; width: 100%; max-width: 360px; }
.desk-tabs { display: flex; justify-content: center; gap: 4px; margin: 0 auto 14px; padding: 4px; width: max-content; background: #e6f4f2; border-radius: 999px; }
.desk-tabs button { border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: var(--brand-2); padding: .4rem 1rem; border-radius: 999px; cursor: pointer; }
.desk-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.desk-panel .phone { max-width: none; }
.b-rows td:first-child { white-space: nowrap; padding-inline-end: .6rem; }
.b-rows td:last-child { white-space: normal; }
/* Time and effort: minutes per order, block by block */
.effort-race { display: grid; gap: 1.25rem; margin: 2rem 0 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; }
.race-title { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; margin: 0 0 .5rem; }
.race-title span { color: var(--muted); font-size: .9rem; }
.race-track { display: flex; gap: 4px; }
.seg { flex: 0 0 calc(var(--w) / var(--total) * 100% - 4px); min-height: 52px; border-radius: 12px; padding: .45rem .6rem; font-size: .8rem; font-weight: 600; line-height: 1.2;
  display: flex; align-items: center; transform-origin: left; transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.seg-hand { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.seg-desk { background: linear-gradient(90deg, var(--brand-3), var(--brand)); color: #fff; }
.effort-race.in .seg { transform: none; }
.static .seg { transform: none; transition: none; }
.effort-race.in .race-row:first-child .seg:nth-child(2) { transition-delay: .15s; }
.effort-race.in .race-row:first-child .seg:nth-child(3) { transition-delay: .3s; }
.effort-race.in .race-row:first-child .seg:nth-child(4) { transition-delay: .45s; }
.effort-race.in .race-row:nth-child(2) .seg { transition-delay: .8s; }
.race-scale { margin: 0; }
.effort-people .who { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem; }
.who-ico { font-size: 1.6rem; }
.who .before { color: var(--muted); margin: .25rem 0; background: none; }
.who .after { font-weight: 700; color: var(--brand-2); margin: 0; background: none; }
@media (max-width: 640px) { .seg { font-size: .7rem; padding: .35rem .4rem; min-height: 60px; } }
@media (prefers-reduced-motion: reduce) { .seg { transform: none; transition: none; } }
.effort-head { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.effort-pct { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--brand-2); }
.effort-head p { margin: 0; max-width: 34rem; }
.effort-head strong { display: block; font-size: 1.15rem; }

.counts { max-width: 760px; margin: 1.75rem auto 1rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem 1.5rem; }
.counts h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.counts ul { margin: 0 0 .6rem; padding-inline-start: 1.1rem; display: grid; gap: .4rem; }
.counts p { margin: 0; }
.try-frame:has(.phone) { height: auto; background: none; box-shadow: none; border: 0; overflow: visible; }

/* Animated story (templates/marketing/_scene.html): 7-second loop */
.scene { margin: 0 auto 2.5rem; max-width: 900px; }
.scene svg { width: 100%; height: auto; display: block; overflow: visible; }
.scene * { transform-box: fill-box; transform-origin: center; }
.sc-label { font-size: 16px; font-weight: 700; fill: var(--ink-2, #475569); }
.sc-chip { font-size: 14px; font-weight: 600; fill: #1f2933; }
.sc-tag { font-size: 11px; font-weight: 800; fill: #fff; }
.sc-person { animation: sc-bob 3.5s ease-in-out infinite; }
.sc-desk { animation-delay: -1.2s; }
.sc-owner { animation-delay: -2.4s; }
.sc-msg { opacity: 0; animation: sc-msg 7s ease-in-out infinite; }
.sc-out { opacity: 0; animation: sc-out 7s ease-in-out infinite; }
.sc-alert { opacity: 0; animation: sc-alert 7s ease-out infinite; }
.sc-spark { opacity: 0; animation: sc-spark 7s ease-in-out infinite; }
.sc-ledger { animation: sc-ledger 7s ease-in-out infinite; }
.sc-tick { opacity: 0; animation: sc-tick 7s ease-out infinite; }
.sc-screen { animation: sc-screen 7s linear infinite; }
.sc-glow { animation: sc-glow 3.5s ease-in-out infinite; }
.sc-orbit { animation: sc-orbit 2.5s linear infinite; }
.sc-antenna { animation: sc-antenna 1.4s ease-in-out infinite; }
.sc-eyes { animation: sc-blink 5s ease-in-out infinite; }
.sc-beam { opacity: .25; animation: sc-beam 7s ease-in-out infinite; }
.sc-nodes { opacity: .55; animation: sc-nodes 7s ease-in-out infinite; }
@keyframes sc-bob { 50% { transform: translateY(-4px); } }
@keyframes sc-glow { 50% { transform: scale(1.12); opacity: .75; } }
@keyframes sc-orbit { to { stroke-dashoffset: -30; } }
@keyframes sc-antenna { 50% { transform: scale(1.35); fill: #fbbf24; } }
@keyframes sc-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.1); } }
@keyframes sc-beam { 0%, 26% { opacity: .2; } 32%, 48% { opacity: 1; } 54%, 100% { opacity: .2; } }
@keyframes sc-nodes { 0%, 26% { opacity: .45; } 34%, 48% { opacity: 1; } 56%, 100% { opacity: .45; } }
@keyframes sc-msg { 0% { opacity: 0; transform: translateX(0); } 6% { opacity: 1; } 26% { opacity: 1; transform: translateX(170px); } 32%, 100% { opacity: 0; transform: translateX(185px); } }
@keyframes sc-spark { 0%, 28% { opacity: 0; transform: scale(.6); } 34% { opacity: 1; transform: scale(1.1); } 40% { transform: scale(.95); } 46% { opacity: 1; transform: scale(1.05); } 52%, 100% { opacity: 0; transform: scale(.6); } }
@keyframes sc-ledger { 0%, 30%, 50%, 100% { transform: translateY(0); } 36%, 44% { transform: translateY(-5px); } }
@keyframes sc-out { 0%, 46% { opacity: 0; transform: translateX(0); } 52% { opacity: 1; transform: translateX(0); } 72% { opacity: 1; transform: translateX(-195px); } 78%, 100% { opacity: 0; transform: translateX(-205px); } }
@keyframes sc-alert { 0%, 52% { opacity: 0; transform: scale(.6) translateY(10px); } 58% { opacity: 1; transform: scale(1.06); } 62% { transform: scale(1); } 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes sc-tick { 0%, 74% { opacity: 0; transform: scale(.4); } 80% { opacity: 1; transform: scale(1.15); } 84%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes sc-screen { 0%, 52% { fill: #99f6e4; } 56%, 62% { fill: #fde68a; } 66%, 100% { fill: #99f6e4; } }
@media (prefers-reduced-motion: reduce) {
  .scene * { animation: none !important; }
  .sc-msg, .sc-alert, .sc-tick { opacity: 1; }
}
.static .scene * { animation: none !important; }
.static .sc-msg, .static .sc-alert, .static .sc-tick { opacity: 1; }

/* Five example desks: the tab bars scroll sideways on phones */
.desk-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.desk-tabs::-webkit-scrollbar { display: none; }
.desk-tabs button { white-space: nowrap; flex: none; }
.try-tabs { margin: 0 0 14px; }
.demo-intro { margin: 0 0 .5rem; }
