/* ─────────────────────────────────────────────────────────────────────────
   Unvent — Outwrite the room.
   Aesthetic: editorial poshness × tech-forward sharpness.
   Warm ink base, bone text, champagne accent. Instrument Serif + Geist.
   ───────────────────────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

:root {
  /* Palette: warm ink (default) */
  --bg:        oklch(0.16 0.008 75);
  --bg-2:      oklch(0.20 0.010 75);
  --bg-3:      oklch(0.24 0.011 75);
  --ink:       oklch(0.96 0.008 75);
  --ink-2:     oklch(0.86 0.010 75);
  --ink-3:     oklch(0.66 0.012 75);
  --ink-4:     oklch(0.46 0.012 75);
  --rule:      oklch(0.96 0.008 75 / 0.10);
  --rule-2:    oklch(0.96 0.008 75 / 0.18);
  --accent:    oklch(0.86 0.13 90);     /* champagne */
  --accent-2:  oklch(0.74 0.14 90);
  --accent-ink: oklch(0.20 0.020 90);

  /* Surface tones for fake productivity UI in the demo */
  --paper:     oklch(0.98 0.004 95);
  --paper-2:   oklch(0.94 0.005 95);
  --paper-ink: oklch(0.22 0.010 75);
  --paper-rule: oklch(0.22 0.010 75 / 0.10);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --w: min(1240px, calc(100vw - 48px));
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv11";
}

* { box-sizing: border-box; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ── Palette variants (Tweaks) ────────────────────────────────────────── */
body[data-palette="bone"] {
  --bg:        oklch(0.97 0.006 88);
  --bg-2:      oklch(0.94 0.006 88);
  --bg-3:      oklch(0.91 0.007 88);
  --ink:       oklch(0.20 0.012 75);
  --ink-2:     oklch(0.32 0.012 75);
  --ink-3:     oklch(0.48 0.012 75);
  --ink-4:     oklch(0.62 0.012 75);
  --rule:      oklch(0.20 0.012 75 / 0.12);
  --rule-2:    oklch(0.20 0.012 75 / 0.22);
}
body[data-palette="midnight"] {
  --bg:        oklch(0.14 0.020 250);
  --bg-2:      oklch(0.18 0.022 250);
  --bg-3:      oklch(0.22 0.025 250);
  --ink:       oklch(0.96 0.010 250);
  --ink-2:     oklch(0.84 0.012 250);
  --ink-3:     oklch(0.64 0.014 250);
  --ink-4:     oklch(0.46 0.016 250);
  --rule:      oklch(0.96 0.010 250 / 0.10);
  --rule-2:    oklch(0.96 0.010 250 / 0.18);
}

/* Accent variants */
body[data-accent="emerald"]   { --accent: oklch(0.82 0.16 155); --accent-2: oklch(0.70 0.17 155); --accent-ink: oklch(0.16 0.020 155); }
body[data-accent="electric"]  { --accent: oklch(0.88 0.20 120); --accent-2: oklch(0.78 0.22 120); --accent-ink: oklch(0.18 0.020 120); }
body[data-accent="violet"]    { --accent: oklch(0.78 0.16 295); --accent-2: oklch(0.66 0.17 295); --accent-ink: oklch(0.16 0.020 295); }
body[data-accent="ember"]     { --accent: oklch(0.82 0.16 55);  --accent-2: oklch(0.72 0.17 55);  --accent-ink: oklch(0.18 0.020 55);  }

/* ── Typography utilities ─────────────────────────────────────────────── */
.serif      { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif-i    { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.mono       { font-family: var(--mono); font-weight: 500; letter-spacing: 0.01em; }
.eyebrow    { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.dot        { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin: 0 8px 2px; }

/* ── Layout shell ─────────────────────────────────────────────────────── */
.shell { width: var(--w); margin: 0 auto; }

.rule-t { border-top: 0.5px solid var(--rule); }
.rule-b { border-bottom: 0.5px solid var(--rule); }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 0.5px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em;
}
.brand-mark {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 17px;
  line-height: 1; padding-bottom: 2px;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px;
  border-radius: 999px; border: 0;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: transform .12s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 20px color-mix(in oklab, var(--accent) 30%, transparent);
}
.btn-accent:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 0.5px solid var(--rule-2);
}
.btn-ghost:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }

.btn-chrome {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 22px 0 18px;
  border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 500; cursor: pointer; border: 0;
  transition: transform .12s ease;
}
.btn-chrome:hover { transform: translateY(-1px); }
.btn-chrome .ico {
  width: 22px; height: 22px; border-radius: 50%;
  background:
    conic-gradient(from 200deg, #ea4335 0 33%, #34a853 33% 66%, #fbbc04 66% 100%);
  position: relative;
}
.btn-chrome .ico::after {
  content: ""; position: absolute; inset: 6px;
  background: #4285f4; border-radius: 50%;
  border: 1.5px solid var(--ink);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 40px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 8.4vw, 124px);
  line-height: 0.94; letter-spacing: -0.025em;
  margin: 16px 0 24px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero h1 .strike {
  position: relative; display: inline-block;
  color: var(--ink-3);
}
.hero h1 .strike::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 54%;
  height: 2px; background: var(--ink-3); transform: rotate(-2deg);
}
.hero-sub {
  font-size: 19px; line-height: 1.5; color: var(--ink-2);
  max-width: 38ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 28px; display: flex; gap: 22px; align-items: center;
  font-size: 13px; color: var(--ink-3);
}
.hero-meta .stars { letter-spacing: 1px; color: var(--accent); }

.hero-accent-glow {
  position: absolute;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 38%, transparent), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  top: -200px; right: -200px;
  opacity: 0.5;
  z-index: 0;
}
.hero > *:not(.hero-accent-glow) { position: relative; z-index: 1; }

/* ── Ticker / receipts ────────────────────────────────────────────────── */
.ticker {
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  overflow: hidden; padding: 14px 0;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.ticker-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: ticker 60s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 12px; }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ── Section header ───────────────────────────────────────────────────── */
.sec { padding: 96px 0; }
.sec-hd {
  display: flex; flex-direction: column; gap: 24px;
  margin-bottom: 56px;
}
.sec-hd .sec-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.sec-hd .sec-label::before {
  content: ""; width: 28px; height: 1px; background: var(--ink-3);
  display: inline-block;
}
.sec-hd h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance;
}
.sec-hd h2 em { font-style: italic; color: var(--accent); }

/* ── Manifesto ────────────────────────────────────────────────────────── */
.manifesto {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance;
}
.manifesto p { margin: 0 0 32px; }
.manifesto p:last-child { margin-bottom: 0; }
.manifesto em { font-style: italic; color: var(--accent); }
.manifesto .small {
  display: block;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}

/* ── Tone cards ───────────────────────────────────────────────────────── */
.tone-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 920px) { .tone-grid { grid-template-columns: 1fr; } }
.tone-card {
  padding: 28px; border-radius: 18px;
  background: var(--bg-2);
  border: 0.5px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
}
.tone-card .tone-name {
  font-family: var(--serif); font-size: 30px; line-height: 1;
  letter-spacing: -0.02em;
}
.tone-card .tone-desc { font-size: 14px; color: var(--ink-3); }
.tone-card blockquote {
  margin: auto 0 0; padding: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.4;
  color: var(--ink-2);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}

/* ── Surfaces strip ───────────────────────────────────────────────────── */
.surfaces {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
@media (max-width: 920px) { .surfaces { grid-template-columns: repeat(3, 1fr); } }
.surf {
  padding: 32px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border-left: 0.5px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.surf:first-child { border-left: 0; }
.surf svg { width: 26px; height: 26px; opacity: 0.86; }

/* ── Receipts cards ───────────────────────────────────────────────────── */
.receipts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 920px) { .receipts { grid-template-columns: 1fr; } }
.receipt {
  padding: 24px;
  background: var(--bg-2);
  border: 0.5px solid var(--rule);
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 200px;
}
.receipt .num {
  font-family: var(--serif); font-size: 42px; line-height: 1; letter-spacing: -0.02em;
  color: var(--accent);
}
.receipt .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.receipt p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* ── Pricing / CTA ────────────────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 48px 0 120px;
  border-top: 0.5px solid var(--rule);
  position: relative; overflow: hidden;
}
.cta-block h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.96; letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.cta-block h2 em { font-style: italic; color: var(--accent); }
.cta-block .cta-sub {
  font-size: 18px; color: var(--ink-3);
  max-width: 44ch; margin: 0 auto 36px;
}
.cta-block-glow {
  position: absolute; left: 50%; bottom: -300px; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in oklab, var(--accent) 38%, transparent), transparent 60%);
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.6;
}
.cta-block > *:not(.cta-block-glow) { position: relative; z-index: 1; }

/* ── Hero visual: stacked rewrite cards ──────────────────────────────── */
.hero-vis { position: relative; height: 480px; }
.hv-stack {
  position: relative; width: 100%; height: 100%;
  perspective: 1200px;
}
.hv-card, .hv-raw {
  position: absolute;
  border-radius: 16px;
  padding: 18px 20px;
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  border: 0.5px solid var(--rule-2);
}
.hv-card { background: var(--bg-2); color: var(--ink); }
.hv-card p { margin: 8px 0 0; }
.hv-row { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.hv-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); display: inline-block; }
.hv-card-1 {
  background: var(--accent);
  color: var(--accent-ink);
  width: 92%;
  top: 80px; right: 0;
  z-index: 3;
  transform: rotate(-1.2deg);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}
.hv-card-1 .hv-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklab, var(--accent-ink) 65%, transparent); margin-bottom: 8px; }
.hv-card-1 p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.4; letter-spacing: -0.005em; }
.hv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.hv-foot .mono { font-family: var(--mono); font-size: 10.5px; color: color-mix(in oklab, var(--accent-ink) 65%, transparent); }
.hv-foot .hv-cta { font-family: var(--sans); font-size: 12px; font-weight: 600; }
.hv-card-2 {
  width: 80%; top: 32px; right: 28px; z-index: 2;
  transform: rotate(2deg);
  opacity: 0.9;
}
.hv-card-3 {
  width: 76%; top: 0; right: 50px; z-index: 1;
  transform: rotate(-3deg);
  opacity: 0.7;
}
.hv-raw {
  bottom: 0; left: 0;
  width: 70%;
  background: var(--bg-3);
  color: var(--ink-2);
  transform: rotate(1.5deg);
  border-style: dashed;
  border-color: var(--rule-2);
}
.hv-raw-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }
.hv-raw p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink-3); }
@media (max-width: 1080px) {
  .hero-vis { min-height: 460px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   INTERACTIVE COMPOSER DEMO
   ───────────────────────────────────────────────────────────────────────── */

.composer { display: flex; flex-direction: column; gap: 22px; }

.composer-tabs {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.composer-tab-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
}
.composer-tabs-wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.composer-tab {
  appearance: none; border: 0;
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 8px 14px;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 0.5px solid var(--rule);
  border-radius: 10px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
}
.composer-tab:hover { background: var(--bg-3); }
.composer-tab.on {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.composer-tab.on .composer-tab-surface { color: color-mix(in oklab, var(--bg) 50%, transparent); }
.composer-tab-surface {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-4);
}
.composer-tab-name { font-size: 14px; font-weight: 500; }

/* The fake browser surface */
.composer-stage {
  position: relative;
  padding: 0;
  background: var(--bg-2);
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.04) inset;
}
/* When the Unvent popover is open, push the chrome's bottom edge down
   so the white surface fully wraps the popover with a small spill below.
   Slack scenario: popover floats ABOVE the composer instead, so we add
   top-padding to the feed and skip the bottom inflation. */
.composer-stage.pop-open .gmail-body { padding-bottom: 200px; }
.composer-stage.pop-open.stage-slack-up .gmail-body { padding-bottom: 6px; }
.composer-stage.pop-open .slack-composer { padding-bottom: 200px; }
.composer-stage.pop-open.stage-slack-up .slack-composer { padding-bottom: 0; }
.composer-stage.pop-open.stage-slack-up .slack-feed { padding-top: 320px; }
.composer-stage.pop-open .li-composer { padding-bottom: 200px; }
@media (max-width: 720px) {
  .composer-stage.pop-open .gmail-body,
  .composer-stage.pop-open .li-composer { padding-bottom: 320px; }
  .composer-stage.pop-open .slack-composer { padding-bottom: 320px; }
  .composer-stage.pop-open.stage-slack-up .slack-feed { padding-top: 440px; }
  .composer-stage.pop-open.stage-slack-up .slack-composer { padding-bottom: 0; }
}

.srf {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 20px;
  overflow: visible;  /* let the Unvent popover escape; bar gets its own clip */
  position: relative;
}
.srf-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--paper-2);
  border-bottom: 0.5px solid var(--paper-rule);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.srf-traffic { display: flex; gap: 7px; }
.srf-traffic i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.srf-url {
  flex: 1;
  font-family: var(--mono); font-size: 11.5px; color: color-mix(in oklab, var(--paper-ink) 60%, transparent);
  text-align: center;
  padding: 5px 10px;
  background: color-mix(in oklab, var(--paper-ink) 4%, transparent);
  border-radius: 6px;
}
.srf-spacer { width: 56px; }

/* ── Gmail compose ──────────────────────────────────────────────────── */
.gmail-compose { padding: 0; }
.gmail-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px;
  background: #404040; color: #fff;
  font-size: 13px; font-weight: 500;
}
.gmail-head-actions { display: flex; gap: 14px; }
.gmail-head-actions i { width: 12px; height: 12px; background: rgba(255,255,255,.6); border-radius: 2px; display: block; }
.gmail-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  border-bottom: 0.5px solid var(--paper-rule);
  font-size: 14px;
}
.gmail-row label { color: color-mix(in oklab, var(--paper-ink) 55%, transparent); width: 56px; }
.gmail-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px;
  background: color-mix(in oklab, var(--paper-ink) 6%, transparent);
  border-radius: 999px;
  font-size: 13px;
}
.gmail-pill::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.72 0.12 30), oklch(0.62 0.16 290));
}
.gmail-subj { color: var(--paper-ink); font-weight: 500; }
.gmail-body { padding: 20px 18px 6px; }
.gmail-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px 16px;
}
.gmail-send {
  background: #1a73e8; color: #fff;
  border: 0; border-radius: 999px;
  padding: 9px 22px; font-weight: 500;
  cursor: default;
}
.gmail-foot-actions { display: flex; gap: 18px; }
.gmail-foot-actions i { width: 14px; height: 14px; background: color-mix(in oklab, var(--paper-ink) 40%, transparent); border-radius: 3px; display: block; }

/* ── Slack ──────────────────────────────────────────────────────────── */
.slack-feed { padding: 18px 22px 8px; display: flex; flex-direction: column; gap: 12px; }
.slack-msg { display: flex; gap: 12px; }
.slack-avatar {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: 14px;
  flex-shrink: 0;
}
.slack-bubble { flex: 1; }
.slack-name { font-weight: 700; font-size: 14px; color: var(--paper-ink); }
.slack-name span { font-weight: 400; color: color-mix(in oklab, var(--paper-ink) 50%, transparent); font-size: 12px; }
.slack-text { font-size: 14.5px; color: color-mix(in oklab, var(--paper-ink) 88%, transparent); line-height: 1.45; margin-top: 1px; }

.slack-composer {
  margin: 6px 18px 18px;
  border: 1px solid color-mix(in oklab, var(--paper-ink) 18%, transparent);
  border-radius: 12px;
  overflow: visible;
  background: var(--paper);
}
.slack-composer-tools, .slack-composer-foot {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: color-mix(in oklab, var(--paper-ink) 3%, transparent);
}
.slack-composer-tools i {
  font-style: normal; font-size: 12px; font-weight: 600;
  color: color-mix(in oklab, var(--paper-ink) 55%, transparent);
}
.slack-composer-foot { justify-content: space-between; }
.slack-channel { font-family: var(--mono); font-size: 11px; color: color-mix(in oklab, var(--paper-ink) 50%, transparent); }
.slack-send {
  width: 28px; height: 28px; border: 0; border-radius: 6px;
  background: #007a5a; color: #fff;
  font-size: 16px; cursor: default;
}

/* ── LinkedIn ───────────────────────────────────────────────────────── */
.li-thread { padding: 0; }
.li-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--paper-rule);
}
.li-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.68 0.12 240), oklch(0.5 0.18 260));
  color: #fff; display: grid; place-items: center;
  font-weight: 600;
}
.li-name { font-weight: 600; color: var(--paper-ink); font-size: 14.5px; }
.li-sub { font-size: 12px; color: color-mix(in oklab, var(--paper-ink) 55%, transparent); }
.li-msgs { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.li-bub {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}
.li-bub-them {
  background: color-mix(in oklab, var(--paper-ink) 6%, transparent);
  border-bottom-left-radius: 4px;
  color: var(--paper-ink);
}
.li-time {
  font-family: var(--mono);
  font-size: 10px;
  color: color-mix(in oklab, var(--paper-ink) 45%, transparent);
  margin-top: 6px;
}
.li-composer { padding: 12px 18px 14px; border-top: 0.5px solid var(--paper-rule); }
.li-composer-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
}
.li-tools { display: flex; gap: 14px; }
.li-tools i { font-style: normal; font-size: 13px; color: color-mix(in oklab, var(--paper-ink) 55%, transparent); }
.li-send {
  background: #0a66c2; color: #fff;
  border: 0; border-radius: 999px;
  padding: 8px 22px; font-weight: 500; font-size: 13px;
  cursor: default;
}

/* ── Textarea (shared across surfaces) ──────────────────────────────── */
.ta-wrap {
  position: relative;
}
.ta {
  width: 100%;
  background: transparent;
  color: var(--paper-ink);
  border: 0; outline: 0;
  resize: none;
  font-family: var(--sans);
  font-size: 14.5px; line-height: 1.55;
  padding: 0;
  transition: opacity .2s ease, transform .25s ease;
}
.ta.fading { opacity: 0.2; transform: translateY(2px); }
.ta.applied {
  animation: applied-flash 1.1s ease-out;
}
@keyframes applied-flash {
  0%   { background: color-mix(in oklab, var(--accent) 40%, transparent); }
  100% { background: transparent; }
}

/* ── Unvent floating chip ───────────────────────────────────────────── */
.uv-chip {
  position: absolute;
  bottom: -10px; right: -10px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 11px;
  border: 0; border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 10px 28px rgba(0,0,0,.28),
    0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.3,1.2), box-shadow .25s;
}
.uv-chip.on {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
  animation: chip-glow 3.2s ease-in-out infinite;
}
@keyframes chip-glow {
  0%, 100% { box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 10px 28px rgba(0,0,0,.28),
    0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
  50% { box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 10px 28px rgba(0,0,0,.28),
    0 0 0 7px color-mix(in oklab, var(--accent) 14%, transparent); }
}
.uv-chip:hover { transform: translateY(-2px) scale(1.02); }
.uv-chip-mark {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 5px;
  display: grid; place-items: center;
  position: relative;
}
.uv-chip-mark i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  display: block;
}
.uv-chip-label { letter-spacing: -0.005em; }
.uv-chip-kbd {
  font-family: var(--mono); font-size: 10px;
  color: color-mix(in oklab, var(--bg) 60%, transparent);
  padding: 2px 6px;
  border: 0.5px solid color-mix(in oklab, var(--bg) 30%, transparent);
  border-radius: 4px;
}
.uv-chip-kbd-alt {
  opacity: 0.7;
}

/* ── Pricing plans ───────────────────────────────────────────────────── */
.plans {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 760px; margin: 56px auto 40px;
  text-align: left;
}
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 0.5px solid var(--rule);
  display: flex; flex-direction: column; gap: 0;
}
.plan > .plan-name { min-height: 20px; margin-bottom: 0; }
.plan > .plan-price { margin-top: -10px; margin-bottom: 18px; }
.plan-pro {
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  border-color: color-mix(in oklab, var(--accent) 28%, var(--rule));
}
.plan-name {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
}
.plan-pro .plan-name { color: var(--accent); }
.plan-tag {
  font-size: 9px;
  padding: 2px 7px;
  background: color-mix(in oklab, var(--accent) 24%, transparent);
  color: var(--accent);
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.plan-price {
  font-family: var(--serif); font-size: 48px; line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.plan-price span {
  font-family: var(--sans); font-size: 14px;
  color: var(--ink-3);
  margin-left: 6px;
}
.plan ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14.5px; color: var(--ink-2);
}
.plan ul li {
  position: relative; padding-left: 20px;
}
.plan ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-size: 12px; font-weight: 600;
}
.plan ul li.plan-perk-hl {
  color: var(--accent);
}

/* ── Waitlist form ───────────────────────────────────────────────────── */
.waitlist {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 5px 5px 18px;
  background: var(--bg-2);
  border: 0.5px solid var(--rule-2);
  border-radius: 999px;
  max-width: 480px;
  width: 100%;
}
.waitlist.large { padding: 6px 6px 6px 22px; }
.waitlist input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  font-family: var(--sans); font-size: 15px;
  color: var(--ink);
  padding: 8px 0;
}
.waitlist input::placeholder { color: var(--ink-4); }
.waitlist-cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 22px;
  font-weight: 600; letter-spacing: -0.005em;
  box-shadow:
    0 1px 0 rgba(255,255,255,.25) inset,
    0 0 0 1px color-mix(in oklab, var(--accent) 70%, black 0%),
    0 10px 26px color-mix(in oklab, var(--accent) 45%, transparent),
    0 2px 6px color-mix(in oklab, var(--accent) 25%, transparent);
  border: 0; border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease;
  white-space: nowrap;
}
.waitlist.large .waitlist-cta { height: 52px; padding: 0 28px; font-size: 15px; }
.waitlist-cta:hover { transform: translateY(-1px); }
.waitlist-cta:disabled { opacity: 0.6; cursor: wait; transform: none; }
.waitlist-cta-arrow { transition: transform .15s; }
.waitlist-cta:hover .waitlist-cta-arrow { transform: translateX(2px); }

.waitlist-err {
  width: 100%;
  font-family: var(--mono); font-size: 11px;
  color: oklch(0.72 0.16 25);
  margin-top: 6px;
}

.waitlist-done {
  padding: 14px 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  border-color: color-mix(in oklab, var(--accent) 30%, var(--rule-2));
}
.waitlist-tick {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 50%; font-size: 11px;
  margin-right: 10px;
}

.cta-waitlist {
  max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cta-waitlist-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.cta-waitlist-meta {
  font-size: 12px; color: var(--ink-4);
}

/* ── Unvent expanded popover ────────────────────────────────────────── */
.uv-pop {
  position: absolute;
  bottom: -20px; right: -20px;
  transform: translateY(40%);
  width: min(440px, calc(100% + 40px));
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  padding: 18px 18px 16px;
  font-family: var(--sans);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 24px 60px rgba(0,0,0,.4),
    0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
  z-index: 10;
  animation: pop-in .35s cubic-bezier(.2,.7,.3,1.1);
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(46%) scale(0.96); }
  to   { opacity: 1; transform: translateY(40%) scale(1); }
}
@keyframes pop-in-up {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.uv-pop.uv-pop-up {
  top: auto;
  bottom: 100%;
  margin-bottom: 64px;  /* clears the slack-composer tools row + textarea wrap */
  transform: none;
  animation: pop-in-up .35s cubic-bezier(.2,.7,.3,1.1);
}
@media (max-width: 720px) {
  .uv-pop { right: 0; left: 0; width: auto; }
}

.uv-pop-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.uv-pop-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.uv-mark {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 5px;
  display: grid; place-items: center;
}
.uv-mark i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); display: block; }
.uv-pop-title { font-weight: 600; letter-spacing: -0.005em; }
.uv-pop-dot { color: color-mix(in oklab, var(--bg) 40%, transparent); }
.uv-pop-meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
}
.uv-pop-x {
  width: 22px; height: 22px;
  border: 0; background: transparent;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
  cursor: pointer; border-radius: 5px;
  font-size: 11px;
}
.uv-pop-x:hover { background: color-mix(in oklab, var(--bg) 10%, transparent); color: var(--bg); }

.uv-tonebar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 4px;
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  border-radius: 10px;
  margin-bottom: 14px;
}
.uv-tone {
  appearance: none; border: 0; cursor: pointer;
  padding: 8px 10px;
  background: transparent;
  color: color-mix(in oklab, var(--bg) 72%, transparent);
  border-radius: 7px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  transition: background .15s, color .15s;
}
.uv-tone:hover { color: var(--bg); }
.uv-tone.on {
  background: var(--accent);
  color: var(--accent-ink);
}
.uv-tone-name { font-weight: 600; font-size: 13px; letter-spacing: -0.005em; }
.uv-tone-hint {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in oklab, currentColor 70%, transparent);
}
.uv-tone.on .uv-tone-hint { color: color-mix(in oklab, var(--accent-ink) 70%, transparent); }

.uv-preview {
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.uv-preview-text {
  margin: 0;
  font-size: 14px; line-height: 1.55;
  color: var(--bg);
  min-height: 6em;
}
.uv-caret {
  display: inline-block; width: 2px; height: 1em;
  background: var(--accent);
  margin-left: 2px; vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.uv-notes {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.uv-notes li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  font-family: var(--mono); font-size: 10.5px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--accent);
  border-radius: 999px;
}
.uv-tick { font-size: 10px; }

.uv-pop-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
}
.uv-foot-meta {
  font-family: var(--mono); font-size: 10.5px;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
  display: flex; gap: 8px; align-items: center;
}
.uv-foot-meta .mono {
  background: color-mix(in oklab, var(--bg) 14%, transparent);
  padding: 2px 5px; border-radius: 4px;
  color: color-mix(in oklab, var(--bg) 80%, transparent);
}
.uv-apply {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0; border-radius: 8px;
  padding: 9px 16px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: transform .12s;
}
.uv-apply:hover { transform: translateY(-1px); }

.applied-pill {
  position: absolute;
  top: -14px; right: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 8px;
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  color: var(--accent);
  border: 0.5px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: pop-in .4s ease;
}
.applied-tick {
  width: 14px; height: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9px;
}

.composer-caption {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-3);
  flex-wrap: wrap;
}
.composer-caption .mono {
  font-family: var(--mono); font-size: 11px;
  background: var(--bg-2);
  border: 0.5px solid var(--rule);
  padding: 3px 8px; border-radius: 6px;
  color: var(--ink-2);
}

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
  padding: 48px 0 36px;
  border-top: 0.5px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap; gap: 16px;
}
footer a:hover { color: var(--ink); }

/* ===== Legal pages (privacy.html / terms.html) ===== */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 120px 24px 96px; }
.legal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.legal-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); border-radius: 8px;
  font-family: var(--serif); font-style: italic; font-size: 19px;
}
.legal-wordmark { font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 38px; letter-spacing: -0.02em; margin: 28px 0 6px; }
.legal .legal-updated { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-bottom: 28px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 23px; margin: 38px 0 10px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.legal-tldr {
  background: var(--bg-2); border: 1px solid var(--paper-rule);
  border-radius: 14px; padding: 18px 22px; margin: 8px 0 16px;
}
.legal-tldr strong { color: var(--ink); }
.legal-note {
  font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--paper-rule);
  margin-top: 48px; padding-top: 18px;
}
.legal-foot { margin-top: 28px; font-family: var(--mono); font-size: 12px; }
.legal-foot a { margin-right: 18px; }
footer .foot-links { display: flex; gap: 28px; }
