/* instant.im marketing site. One stylesheet, no framework. The build serves it under a
   content-hashed name with a year-long cache. */

:root {
  color-scheme: light dark;
  --bg: #f7f7fb;
  --bg-2: #efeff6;
  --panel: #ffffff;
  --fg: #111118;
  --muted: #5d5d72;
  --faint: #8a8aa0;
  --line: #e4e4ee;
  --accent: #5b5bf6;
  --accent-2: #8b5cf6;
  --accent-soft: #ececff;
  --accent-fg: #ffffff;
  --ok: #16a34a;
  --shadow: 0 1px 2px rgb(17 17 24 / 6%), 0 12px 40px rgb(17 17 24 / 10%);
  --shadow-sm: 0 1px 2px rgb(17 17 24 / 6%), 0 4px 16px rgb(17 17 24 / 6%);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b12;
    --bg-2: #11111a;
    --panel: #15151f;
    --fg: #f2f2f7;
    --muted: #a0a0b8;
    --faint: #6f6f88;
    --line: #262636;
    --accent: #7b6bff;
    --accent-2: #a78bfa;
    --accent-soft: #1f1d3a;
    --ok: #4ade80;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 40px rgb(0 0 0 / 45%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%), 0 4px 16px rgb(0 0 0 / 30%);
  }
}

* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center-text { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 20; background: var(--panel); padding: 0.5rem 1rem; border-radius: 10px; }
.skip:focus { top: 0.75rem; }

/* ------------------------------------------------------------------ Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.12rem; color: var(--fg); text-decoration: none; letter-spacing: -0.02em; }
.logo img { width: 28px; height: 28px; border-radius: 8px; }
.nav { display: flex; gap: 0.25rem; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; padding: 0.4rem 0.7rem; border-radius: 8px; }
.nav a:hover { color: var(--fg); background: var(--bg-2); }
.nav a[aria-current] { color: var(--fg); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 0.9rem; }
.signin { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.signin:hover { color: var(--fg); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.2s; }
.menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-panel { position: fixed; inset: 64px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem 16px 1.25rem; display: grid; box-shadow: var(--shadow); }
.menu-panel a { color: var(--fg); text-decoration: none; font-size: 1.1rem; font-weight: 600; padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line); }
.menu-panel a:last-child { border-bottom: 0; }
@media (max-width: 900px) {
  .nav, .signin { display: none; }
  .menu { display: block; }
  .actions { gap: 0.4rem; }
}

/* ------------------------------------------------------------------ Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.72rem 1.2rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-weight: 600; font-size: 0.97rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn:hover { box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-fg); box-shadow: 0 1px 0 rgb(255 255 255 / 20%) inset, 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { padding: 0.45rem 0.85rem; font-size: 0.88rem; border-radius: 10px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.links { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after, .more::after { content: " →"; }
.signup { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 34rem; }
.signup input, .signup select { flex: 1 1 14rem; min-width: 0; padding: 0.72rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: inherit; font: inherit; }
.signup input:focus, .signup select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.signup select { flex: 0 1 11rem; }
.signup .btn { flex: 1 0 auto; }
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.form-error { color: #d93b3b; font-size: 0.9rem; margin-top: 0.5rem; min-height: 1.2em; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; padding: clamp(3rem, 9vw, 6rem) 0 0; text-align: center; }
.hero::before, .page-hero::before { content: ""; position: absolute; z-index: -1; top: -64px; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 640px; background: radial-gradient(50% 55% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(30% 40% at 78% 10%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%); pointer-events: none; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 5rem); max-width: 14ch; margin: 0 auto 1.25rem; letter-spacing: -0.045em; }
.hero .lede, .page-hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 38rem; margin: 0 auto 2rem; }
.hero .signup { margin-inline: auto; justify-content: center; }
.pill { display: inline-flex; gap: 0.35rem; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 1.25rem; text-decoration: none; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.shot { margin: clamp(2.5rem, 6vw, 4rem) auto 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.shot .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.shot.small { margin: 0; border-radius: var(--radius); }
.shot.tall { max-width: 320px; justify-self: center; max-height: 560px; }
.shot.tall img { object-fit: cover; object-position: top; }

.page-hero { position: relative; padding: clamp(3rem, 8vw, 5.5rem) 0 0; }
.page-hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.2rem); max-width: 16ch; margin-bottom: 1.1rem; letter-spacing: -0.04em; }
.page-hero .lede { margin: 0; }
.page-hero.center-text h1, .page-hero.center-text .lede { margin-inline: auto; }
.page-hero .links { margin-top: 1.75rem; }
.page-visual { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.page-visual > .mock { max-width: 760px; margin-inline: auto; }
.page-visual.narrow { max-width: 760px; margin-inline: auto; text-align: left; }

/* ------------------------------------------------------------------ Sections */
section { padding: clamp(4rem, 10vw, 7rem) 0 0; }
section.tight { padding-top: clamp(3rem, 7vw, 4.5rem); }
.kicker { color: var(--accent); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 0.75rem; }
.kicker a { color: inherit; text-decoration: none; }
.head { max-width: 42rem; margin-bottom: 2.5rem; }
.head h2, .split h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.head p { color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; margin-inline: auto; }

.ticks { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.ticks li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > div > .muted { font-size: 1.1rem; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* Replace strip */
.replace { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.replace div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.replace s { color: var(--faint); font-weight: 600; }
.replace strong { display: block; margin-top: 0.35rem; font-size: 1.05rem; }
.replace p { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }
@media (max-width: 760px) { .replace { grid-template-columns: 1fr; } }

/* Bento of product cards */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { position: relative; display: flex; flex-direction: column; gap: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; overflow: hidden; color: inherit; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.card-text p:not(.kicker) { color: var(--muted); }
.card .more { display: inline-block; margin-top: 0.9rem; color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.card > img { border-radius: 12px; border: 1px solid var(--line); margin-top: auto; max-height: 260px; width: 100%; object-fit: cover; object-position: top left; }
.card > .mock { margin-top: auto; }
.card.span-2 { grid-column: span 2; display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; }
.card.span-2 > img, .card.span-2 > .mock { margin: 0; }
.card.span-2 > img { max-height: none; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .card.span-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card.span-2 { grid-column: auto; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); font-size: 1.3rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.45rem; letter-spacing: -0.015em; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.soon { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 0.12rem 0.45rem; margin-left: 0.3rem; vertical-align: 0.15em; }

/* Next product links */
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.next a { display: grid; gap: 0.25rem; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none; color: var(--fg); transition: border-color 0.2s; }
.next a:hover { border-color: var(--accent); }
.next b { font-size: 1.15rem; }
.next b::after { content: " →"; color: var(--accent); }
.next span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

/* Scale */
.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.scale > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.scale h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.scale .size { color: var(--accent); font-weight: 700; display: block; }
@media (max-width: 760px) { .scale { grid-template-columns: 1fr; } }

/* Trust band and security grid */
.trust-band, .sec-grid, .savings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust-band { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; gap: 2rem; }
.trust-band h3, .sec-grid h3, .savings h3 { font-size: 1.1rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.trust-band p, .sec-grid p, .savings p { color: var(--muted); font-size: 0.97rem; }
.sec-grid > div, .savings > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.savings { grid-template-columns: 1fr 1fr; }
.savings > div:last-child { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
@media (max-width: 860px) { .trust-band, .sec-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .savings { grid-template-columns: 1fr; } }

.status-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.status-table th, .status-table td { text-align: left; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.status-table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.status-table tbody th { font-weight: 500; }
.status-table td { white-space: nowrap; text-align: right; }
.ok, .later { font-size: 0.85rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; }
.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.later { color: var(--muted); background: var(--bg-2); }

/* ------------------------------------------------------------------ Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .badge { position: absolute; top: -0.7rem; left: 1.4rem; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.plan .blurb { color: var(--muted); font-size: 0.93rem; min-height: 2.9em; }
.price { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 0.4rem; }
.per { color: var(--muted); font-size: 0.85rem; min-height: 2.6em; }
.plan .btn { width: 100%; }
.plan .limit { font-weight: 600; font-size: 0.9rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.plan .ticks { margin: 0; gap: 0.4rem; }
.plan .ticks li { font-size: 0.93rem; }
.pricing .m { display: none; }
.pricing[data-billing="monthly"] .m { display: inline; }
.pricing[data-billing="monthly"] .y { display: none; }
.billing { display: flex; width: max-content; margin: 2.5rem auto 2.25rem; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.billing button { font: inherit; font-size: 0.93rem; font-weight: 600; border: 0; background: none; color: var(--muted); padding: 0.45rem 1rem; border-radius: 9px; cursor: pointer; }
.billing button span { color: var(--accent); font-size: 0.8rem; margin-left: 0.2rem; }
.billing button[aria-checked="true"] { background: var(--panel); color: var(--fg); box-shadow: var(--shadow-sm); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .plans { grid-template-columns: 1fr; } .plan .blurb, .per { min-height: 0; } }
#pricing .fine { margin-top: 1.5rem; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare thead th { position: sticky; top: 0; background: var(--panel); font-size: 1rem; }
.compare tr.group th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: var(--bg-2); padding-top: 0.7rem; padding-bottom: 0.7rem; }
.compare td { color: var(--muted); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--faint); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* ------------------------------------------------------------------ Download */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.dl { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.dl-icon { color: var(--accent); }
.dl h2 { font-size: 1.7rem; }
.dl .soon { margin: 0; }
.dl .ticks { margin: 0.5rem 0; }
.dl .signup { width: 100%; margin-top: auto; }
@media (max-width: 760px) { .downloads { grid-template-columns: 1fr; } }
.web-now { display: flex; gap: 2rem; align-items: center; justify-content: space-between; background: var(--accent-soft); border-radius: 20px; padding: 2rem; }
.web-now h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
@media (max-width: 640px) { .web-now { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------------ FAQ */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 0.6rem; }

/* ------------------------------------------------------------------ Closing CTA */
.cta { position: relative; overflow: hidden; margin-top: clamp(4rem, 10vw, 7rem); padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3rem); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 24px; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgb(255 255 255 / 18%), transparent 70%); pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.cta p { position: relative; opacity: 0.9; margin: 0 auto 1.75rem; max-width: 34rem; }
.cta .signup { position: relative; margin-inline: auto; justify-content: center; }
.cta .signup input, .cta .signup select { border-color: transparent; color: #111118; background: #fff; }
.cta .btn.primary { background: #111118; box-shadow: none; }
.cta .form-error { color: #fff; margin-bottom: 0; }

/* ------------------------------------------------------------------ Footer */
.foot { margin-top: clamp(4rem, 9vw, 6rem); padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 2fr; gap: 2.5rem; }
.foot-brand p { margin-top: 0.75rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.foot-cols h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg); margin-bottom: 0.9rem; }
.foot-cols a { display: block; padding: 0.22rem 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.87rem; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Prose: privacy, about, blog */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.45rem; margin: 2.25rem 0 0.6rem; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 1.07rem; line-height: 1.7; }
.prose p + p { margin-top: 0.9rem; }
.prose .lede { color: var(--fg); font-size: 1.25rem; line-height: 1.55; margin-bottom: 1.5rem; }
.page { padding: clamp(3rem, 8vw, 5rem) 0 0; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 1rem; }
.message { min-height: 60vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; padding: 3rem 0; }
.message h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.message .links { margin-top: 0.5rem; justify-content: center; }

.posts { display: grid; gap: 1rem; max-width: 46rem; }
.post-card { display: block; padding: 1.6rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color 0.2s; }
.post-card:hover { border-color: var(--accent); }
.post-card time { color: var(--faint); font-size: 0.87rem; }
.post-card h2 { font-size: 1.45rem; margin: 0.35rem 0 0.5rem; }
.post-card p { color: var(--muted); }
.post-card .more { display: inline-block; margin-top: 0.75rem; color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.article { padding-top: clamp(3rem, 8vw, 5rem); }
.article header { max-width: 44rem; margin-bottom: 2.5rem; }
.article h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -0.04em; }
.byline { color: var(--faint); margin-top: 1rem; font-size: 0.95rem; }

/* ------------------------------------------------------------------ Mockups (site/mockups.mjs) */
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1rem; font-size: 0.85rem; line-height: 1.45; text-align: left; color: var(--fg); }
.av { --h: 250; flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.68rem; font-weight: 700; color: hsl(var(--h) 60% 30%); background: hsl(var(--h) 80% 88%); }
@media (prefers-color-scheme: dark) { .av { color: hsl(var(--h) 80% 85%); background: hsl(var(--h) 35% 28%); } }
.mock-bar { display: flex; align-items: center; gap: 6px; margin: -0.25rem 0 0.75rem; color: var(--muted); font-size: 0.78rem; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 0.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.tile { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; }
.tile .av { width: 38px; height: 38px; font-size: 0.8rem; margin-bottom: 14px; }
.tile > span:last-child { position: absolute; left: 6px; bottom: 5px; font-size: 0.68rem; background: rgb(0 0 0 / 55%); color: #fff; padding: 0.05rem 0.4rem; border-radius: 5px; white-space: nowrap; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; }
.tile.speaking { box-shadow: 0 0 0 2px var(--ok) inset; }
.tile.screen { grid-row: span 1; background: color-mix(in srgb, var(--accent) 12%, var(--bg-2)); }
.screen-doc { width: 70%; display: grid; gap: 5px; }
.screen-doc b { height: 8px; width: 60%; border-radius: 4px; background: var(--accent); opacity: 0.7; }
.screen-doc i { height: 6px; border-radius: 3px; background: var(--faint); opacity: 0.35; }
.callbar { display: flex; gap: 0.4rem; align-items: center; justify-content: center; margin-top: 0.75rem; flex-wrap: wrap; }
.callbar .ctl { width: 34px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--bg-2); font-size: 0.85rem; }
.callbar .leave { width: auto; padding: 0 0.7rem; background: #e5484d; color: #fff; font-weight: 600; font-size: 0.78rem; }
.pill-live { color: #e5484d; font-weight: 600; font-size: 0.75rem; margin-right: auto; }
.ai-head { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.75rem; }
.ai-head small { display: block; color: var(--muted); font-size: 0.75rem; }
.spark { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-size: 0.8rem; }
.mock-ai h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0.8rem 0 0.3rem; }
.mock-ai p, .mock-ai li { color: var(--fg); }
.mock-ai ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.15rem; }
.mock-ai ul.todo { list-style: none; padding: 0; }
.todo li { display: flex; gap: 0.5rem; align-items: center; }
.todo .box { width: 13px; height: 13px; border: 1.5px solid var(--faint); border-radius: 4px; }
.todo em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 0.75rem; }
.mock-ask { padding: 0; overflow: hidden; }
.ask-q { display: flex; gap: 0.6rem; align-items: center; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.ask-a { padding: 1rem; }
.ask-a p { font-size: 0.95rem; }
.ask-a sup { color: var(--accent); font-weight: 700; }
.sources { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.sources span { font-size: 0.75rem; color: var(--muted); background: var(--bg-2); border-radius: 6px; padding: 0.2rem 0.5rem; }
.sources b { color: var(--accent); margin-right: 0.2rem; }
.catch-row { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.tag { flex: none; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.1rem 0.45rem; border-radius: 5px; background: var(--accent); color: #fff; }
.tag.soft { background: var(--accent-soft); color: var(--accent); }
.mock-stage { text-align: center; }
.stage-top { display: flex; justify-content: center; gap: 0.75rem; padding: 1rem 0 0.5rem; }
.stage-top .av { width: 52px; height: 52px; font-size: 0.95rem; box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px color-mix(in srgb, var(--accent) 50%, transparent); }
.stage-label { font-size: 0.75rem; font-weight: 600; color: var(--accent); margin-bottom: 0.9rem; }
.crowd { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; padding: 0.9rem; background: var(--bg-2); border-radius: 10px; }
.crowd i { --h: 250; aspect-ratio: 1; border-radius: 50%; background: hsl(var(--h) 60% 78%); opacity: 0.85; }
@media (prefers-color-scheme: dark) { .crowd i { background: hsl(var(--h) 35% 38%); } }
.stage-foot { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; color: var(--muted); font-size: 0.78rem; }
.mock-thread { display: grid; gap: 0.85rem; }
.thread-head { display: flex; gap: 0.5rem; align-items: baseline; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.thread-head small, .msg small { color: var(--muted); font-size: 0.75rem; }
.msg { display: flex; gap: 0.6rem; }
.msg p { margin-top: 0.1rem; }
.reacts { display: flex; gap: 0.3rem; margin-top: 0.35rem; }
.reacts span { font-size: 0.75rem; padding: 0.05rem 0.45rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.file { display: inline-flex; gap: 0.4rem; align-items: center; margin-top: 0.4rem; padding: 0.4rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.8rem; }
.mock-link { display: grid; gap: 0.75rem; }
.link-card, .lobby { display: flex; gap: 0.7rem; align-items: center; padding: 0.8rem; border: 1px solid var(--line); border-radius: 12px; }
.link-card small { display: block; color: var(--muted); font-size: 0.75rem; }
.lobby { background: var(--bg-2); }
.lobby div { flex: 1; }
.lobby .btn { pointer-events: none; }

.mock-devices { position: relative; padding: 0 0 2rem; }
.mac { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); width: 88%; }
.mac-bar { display: flex; gap: 5px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.mac-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.phone { position: absolute; right: 0; bottom: 0; width: 34%; min-width: 150px; aspect-ratio: 9 / 19; border-radius: 28px; border: 6px solid #1c1c24; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.notch { width: 36%; height: 14px; margin: 6px auto 0; border-radius: 10px; background: #1c1c24; }
.phone-screen { padding: 0.6rem 0.65rem; display: grid; gap: 0.4rem; font-size: 0.72rem; }
.ph-title { font-weight: 700; font-size: 0.85rem; margin-bottom: 0.2rem; }
.ph-room { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.45rem; border-radius: 8px; background: var(--bg-2); }
.ph-room .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.ph-av { margin-left: auto; display: flex; }
.ph-av .av { width: 18px; height: 18px; font-size: 0.45rem; margin-left: -5px; box-shadow: 0 0 0 1.5px var(--bg-2); }
.ph-wave { margin-top: 0.3rem; padding: 0.45rem; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; text-align: center; }

/* ------------------------------------------------------------------ Phone tweaks */
@media (max-width: 640px) {
  .phone { display: none; }
  .mac { width: 100%; }
  .mock-devices { padding-bottom: 0; }
  .signup select { flex: 1 1 100%; }
}
