﻿/* Product landing page. Attio-like: white, black type, thin guide lines with "+" corners.
   Font: the app's own (web/assets/app.css). Icons: Font Awesome, the app's copy. */

:root {
  --bg: #ffffff;
  --soft: #fafafa;
  --ink: #111113;
  --ink-2: #4b4b53;
  --muted: #8a8a93;
  --line: #ebebee;
  --line-2: #dededf;
  --accent: #0057ff;
  --blue: #2f6fe4;   --blue-s: #edf3fe;
  --amber: #d97706;  --amber-s: #fdf4e4;
  --violet: #7c4ddb; --violet-s: #f3eefc;
  --green: #16a34a;  --green-s: #e8f6ed;
  --dark: #0c0c0e;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1400px;
  /* the two edge colours of the page background (changed slowly while scrolling, assets/main.js) */
  --side-l: 232, 239, 255;
  --side-r: 241, 234, 255;
  --white-zone: 560px;   /* half the white middle, where the text is */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: linear-gradient(90deg, rgb(var(--side-l)) 0%, #fff calc(50% - var(--white-zone)), #fff calc(50% + var(--white-zone)), rgb(var(--side-r)) 100%) fixed; color: var(--ink); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.soft { color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; font: 550 14px/1 var(--font); white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn.full { width: 100%; }
.btn.dark { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(0,0,0,.2); }
.btn.dark:hover { background: #2a2a2e; }
.btn.ghost { background: #fff; border-color: var(--line-2); color: var(--ink); box-shadow: 0 1px 2px rgba(17,17,19,.05); }
.btn.ghost:hover { background: var(--soft); }
.btn.light { background: #fff; color: var(--ink); }
.btn.outline { border-color: rgba(255,255,255,.28); color: #fff; }
.btn.outline:hover { border-color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, rgba(var(--side-l), .82) 0%, rgba(255,255,255,.86) calc(50% - var(--white-zone)), rgba(255,255,255,.86) calc(50% + var(--white-zone)), rgba(var(--side-r), .82) 100%); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 32px; height: 60px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 16px; letter-spacing: -0.02em; }
/* the logo: assets/logo.svg used as a stencil, so it takes the text colour */
.logo-mark { display: inline-block; width: 24px; height: 24px; flex: none; background: currentColor; -webkit-mask: var(--brand-logo, url(logo.svg)) center / contain no-repeat; mask: var(--brand-logo, url(logo.svg)) center / contain no-repeat; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 6px 11px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; padding: 8px 16px 14px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 10px; font-size: 16px; }
  .nav-toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 640px) { .nav-in { padding: 0 16px; } .nav-cta .ghost { display: none; } }

/* ---------------------------------------------------------------- sections with guide lines */
.sec { border-top: 1px solid var(--line); }
.sec-in { position: relative; padding-top: 104px; padding-bottom: 104px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.sec-in::before, .sec-in::after { content: "+"; position: absolute; top: -12px; font: 300 18px/1 var(--font); color: #b9b9c0; background: transparent; padding: 2px 0; }
.sec-in::before { left: -6px; } .sec-in::after { right: -6px; }
.wrap.sec-in { padding-left: 48px; padding-right: 48px; }
@media (max-width: 640px) { .sec-in { padding-top: 68px; padding-bottom: 68px; } .wrap.sec-in { padding-left: 18px; padding-right: 18px; } }
.head { max-width: 680px; margin-bottom: 52px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.eyebrow .fa, .eyebrow .fa-brands { color: var(--muted); font-size: 12px; }
.head h2, .os h2 { font-size: clamp(32px, 4.4vw, 50px); }
.head p, .os p { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 600px; }
.head.center p { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 84px 0 0; }
/* the dots behind the hero: drawn on a canvas, they ripple like water around the pointer (assets/main.js) */
.hero-dots { position: absolute; left: 0; top: 0; width: 100%; height: 860px; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 8%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 72% 62% at 50% 8%, #000 30%, transparent 78%); }
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(17,17,19,.04); }
.pill:hover { border-color: #c9c9ce; }
.pill-new { padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.pill .fa { font-size: 10px; color: var(--muted); }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 6.6vw, 76px); max-width: 15ch; }
.lead { margin-top: 22px; max-width: 640px; font-size: clamp(16px, 1.8vw, 18.5px); color: var(--ink-2); }
.hero-cta { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* tabs above the preview, Attio style: they advance by themselves with a progress line */
.demo-wrap { position: relative; margin-top: 64px; }
.htabs { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.htabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 12px; border: 0; background: none; font-size: 14px; font-weight: 550; color: var(--muted); border-radius: 10px; overflow: hidden; }
.htabs button:hover { color: var(--ink-2); background: rgba(17,17,19,.03); }
.htabs button[aria-selected="true"] { color: var(--ink); }
.htabs .fa { font-size: 13px; }
.htabs .bar { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; }
.htabs button[aria-selected="true"] .bar { opacity: 1; }
.htabs .bar::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--ink); border-radius: 2px; }
.htabs button[aria-selected="true"] .bar::after { animation: tabfill var(--tab-ms, 7000ms) linear forwards; }
.htabs.paused button[aria-selected="true"] .bar::after { animation-play-state: paused; }
.htabs.static button[aria-selected="true"] .bar::after { animation: none; transform: scaleX(1); }
@keyframes tabfill { to { transform: scaleX(1); } }
.htab-caption { margin: 8px auto 22px; text-align: center; font-size: 14px; color: var(--muted); min-height: 1.6em; }

/* ---------------------------------------------------------------- the app preview */
.app { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 280px; height: 600px; border: 1px solid var(--line-2); border-radius: 14px 14px 0 0; border-bottom: 0; background: #fff; box-shadow: 0 0 0 6px rgba(17,17,19,.025), 0 30px 80px -20px rgba(17,17,19,.18); overflow: hidden; font-size: 13px; text-align: left; }
.app::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #fff 85%); pointer-events: none; }
.av { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 8.5px var(--font); font-style: normal; color: #fff; flex: none; }
.av.a1 { background: linear-gradient(135deg, #f76707, #e8590c); } .av.a2 { background: linear-gradient(135deg, #4263eb, #7048e8); } .av.a3 { background: linear-gradient(135deg, #12b886, #0ca678); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot.amber { background: var(--amber); } .dot.blue { background: var(--blue); } .dot.green { background: var(--green); } .dot.gray { background: #c2c2c8; } .dot.violet { background: var(--violet); }

/* left: the case list */
/* center: the case */
.a-case { display: flex; flex-direction: column; min-width: 0; }
.a-head { position: relative; padding: 16px 20px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.a-title { display: flex; align-items: center; gap: 9px; }
.a-title code { font: 11px var(--mono); color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; flex: none; }
.a-title h2 { font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-edit { font-size: 11px; color: #b4b4bb; }
.a-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 9px; font-size: 12.5px; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: var(--amber-s); color: #a15c05; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.who, .due { display: inline-flex; align-items: center; gap: 6px; }
.due .fa { color: var(--muted); font-size: 11px; }
.next-wrap { position: relative; margin-top: 10px; }
.next-pill { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 12.5px; color: var(--ink-2); cursor: default; transition: box-shadow .3s, border-color .3s; }
.next-pill .fa { color: var(--accent); font-size: 10px; }
.next-pill b { color: var(--ink); font-weight: 600; }
.next-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-pop { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; width: 300px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(17,17,19,.14); display: grid; gap: 9px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; pointer-events: none; transition: opacity .25s, transform .25s; }
.np-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.np-row b { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 550; }
.np-remind { display: flex; gap: 10px; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
.np-remind .fa { color: var(--muted); }
.np-remind b { display: block; font-size: 12px; } .np-remind small { display: block; font-size: 11px; color: var(--muted); line-height: 1.4; }
.switch { flex: none; width: 28px; height: 16px; border-radius: 999px; background: var(--ink); position: relative; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.a-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 20px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.a-btns { display: flex; gap: 6px; }
.a-btns span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--ink-2); font-size: 11.5px; background: #fff; }
.a-btns .fa { font-size: 10px; }
.a-btns .primary { background: var(--accent); border-color: var(--accent); color: #fff; }

/* the timeline: a time column and one column per conversation */
.tl { flex: 1; overflow: hidden; display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); align-content: start; background: linear-gradient(90deg, transparent 51px, var(--line) 51px, var(--line) 52px, transparent 52px), var(--soft); }
.th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; transition: box-shadow .4s; }
.th.corner { display: grid; place-items: center; color: #b4b4bb; padding: 0; }
.th b { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.th b i.sq { width: 8px; height: 8px; border-radius: 2.5px; flex: none; }
.th b em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 11px; color: var(--muted); }
.th small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th.blue i.sq { background: var(--blue); } .th.amber i.sq { background: var(--amber); } .th.violet i.sq { background: var(--violet); }
.day { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 12px 12px 4px 10px; font: 600 10.5px var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.day::after { content: ""; flex: 1; border-top: 1px dashed var(--line-2); }
.day em { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; color: #a6a6ad; }
.tm { padding: 10px 8px 0 0; text-align: right; font: 10.5px/1.4 var(--mono); color: var(--muted); }
.tm small { display: block; margin-top: 2px; white-space: nowrap; font: 600 9.5px/1.3 var(--font); color: #b0b0b7; }
/* the bottom line of an email: its file, and how long after the previous email it came (and from which conversation) */
.mail .mfoot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; margin-top: 7px; }
.mail .mfoot .file { margin-top: 0; }
.mail .gap { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 1px 7px; border-radius: 999px; background: rgba(17,17,19,.045); font-size: 10.5px; font-weight: 550; color: var(--ink-2); max-width: 100%; }
.mail .gap .fa { font-size: 9px; color: var(--muted); }
.mail .gap.first { background: var(--green-s); color: #157a3a; } .mail .gap.first .fa { color: var(--green); }
/* the whole case shows: the preview grows with its emails (no inner scrolling, no fade) */
.app { height: auto; min-height: 600px; border-radius: 14px; border-bottom: 1px solid var(--line-2); }
.app::after { display: none; }
.tl { overflow: visible; padding-bottom: 14px; }
.mail { padding: 8px 11px; }
.mail p { margin-top: 2px; }
.cell-t { padding: 5px 9px; border-right: 1px solid var(--line); min-width: 0; }
.mail { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(17,17,19,.04); animation: pop .45s both; }
.mail.out { background: var(--blue-s); border-color: #d9e5fb; }   /* every email you sent, whatever the conversation */
.mail .from { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; }
.mail .from span { font-weight: 400; color: var(--muted); font-size: 11px; }
.mail p { margin-top: 3px; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.mail .file { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: 10.5px var(--mono); color: var(--ink-2); }
.mail .file .fa { font-size: 10px; color: var(--muted); }
.mail .file .fa-file-pdf { color: #e03131; }
.mail .acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; font-size: 10px; color: #b4b4bb; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
@keyframes fadein { from { opacity: 0; } }
.nojs { grid-column: 1 / -1; padding: 30px 20px; color: var(--muted); }

/* right: notes, checklist, summary */
.a-side { border-left: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; min-width: 0; transition: box-shadow .4s; }
.ptabs { display: flex; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.ptabs button { position: relative; padding: 13px 0 12px; border: 0; background: none; font-size: 12px; white-space: nowrap; color: var(--muted); font-weight: 550; display: inline-flex; align-items: center; gap: 5px; }
.ptabs button[aria-selected="true"] { color: var(--ink); }
.ptabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.ptabs .fa { font-size: 10px; }
.cnt { padding: 0 5px; border-radius: 5px; background: var(--soft); border: 1px solid var(--line); font-size: 10.5px; color: var(--ink-2); }
.pbody { padding: 14px 16px; overflow: hidden; }
.phint { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.phint .fa { font-size: 10px; }
.note { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 9px; background: #fff; transition: box-shadow .4s, border-color .4s; }
.note > div { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.note time { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--muted); }
.note p { margin-top: 6px; font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.note p .mention { color: var(--accent); font-weight: 600; }
.prog { margin-bottom: 8px; font-size: 12px; color: var(--ink-2); }
.prog i { display: block; height: 5px; margin-top: 6px; border-radius: 4px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.prog i b { display: block; height: 100%; background: var(--green); transition: width .4s; }
.step { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.step .fa { font-size: 14px; color: #c9c9cf; }
.step.done span { color: var(--muted); text-decoration: line-through; }
.step.done .fa { color: var(--green); }
.step small { margin-left: auto; display: inline-flex; gap: 5px; align-items: center; font-size: 11px; color: var(--muted); white-space: nowrap; }
#summary h4 { margin: 0 0 3px; font-size: 12px; }
#summary .ai-line + .ai-line { margin-top: 12px; }
#summary p { font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.ai-line { opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.ai-line.in { opacity: 1; transform: none; }
.ask { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 12px; color: var(--muted); }
.ask .fa, .ptabs .fa-wand-magic-sparkles, .phint .fa-wand-magic-sparkles { color: var(--violet); }

/* what each hero tab highlights */
/* what each tab points at: a grey layer covers the case and only that part stays bright above it */
.spot { position: absolute; inset: 0; z-index: 10; background: rgba(17, 17, 19, .28); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.app[data-state="next"] .spot, .app[data-state="notes"] .spot, .app[data-state="ai"] .spot { opacity: 1; }   /* Timeline: no overlay, the whole case */
.tl, .next-wrap, .a-side { transition: box-shadow .4s ease; }
.app[data-state="next"] .next-wrap { position: relative; z-index: 11; }
.app[data-state="next"] .next-pill { box-shadow: 0 10px 30px -8px rgba(17,17,19,.45); }
.app[data-state="next"] .next-pop { opacity: 1; transform: none; }
.app[data-state="notes"] .a-side, .app[data-state="ai"] .a-side { position: relative; z-index: 11; box-shadow: -20px 0 50px -16px rgba(17,17,19,.45); }

/* alive: a pulsing "Live" mark, and the newest email rings once when it arrives */
.a-count { display: inline-flex; align-items: center; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px 1px 7px; border-radius: 999px; background: var(--green-s); color: #157a3a; font-size: 11px; font-weight: 600; }
.live i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: livering 2.4s ease-out infinite; }
@keyframes livering { 0% { transform: scale(.5); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.mail.newest { animation: pop .45s both, newring 1.6s .5s ease-out 1 both; }
@keyframes newring { 0% { box-shadow: 0 0 0 0 rgba(17,17,19,.18); } 100% { box-shadow: 0 0 0 10px rgba(17,17,19,0); } }

@media (max-width: 1100px) { .app { grid-template-columns: minmax(0, 1fr) 250px; } }
@media (max-width: 760px) {
  .demo-wrap { margin-top: 44px; }
  .app { grid-template-columns: minmax(0, 1fr); height: auto; border-radius: 14px; border-bottom: 1px solid var(--line-2); }
  .app::after { display: none; }
  .tl { grid-template-columns: minmax(0, 1fr); background: var(--soft); padding-bottom: 10px; }
  .th, .th.corner, .tm, .cell-t:empty { display: none; }
  .cell-t { border-right: 0; padding: 4px 12px; }
  .mail.out { margin-left: 24px; } .mail:not(.out) { margin-right: 24px; }
  .a-side { border-left: 0; border-top: 1px solid var(--line); }
  .a-tools .a-btns span:not(.primary) { display: none; }
  .next-pop { width: min(300px, calc(100vw - 70px)); }
  .htabs { gap: 0; }
  .htabs button { padding: 9px 10px 11px; font-size: 13px; }
  .htabs .bar { left: 10px; right: 10px; }
}

/* ---------------------------------------------------------------- logos */
.logos-sec .sec-in { padding-top: 40px; padding-bottom: 44px; }
.logos-title { text-align: center; font-size: 13.5px; color: var(--muted); }
.logos { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.logos li { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; color: #55555c; letter-spacing: -0.01em; }
.logos .fa, .logos .fa-brands, .logos img { font-size: 19px; width: 20px; height: 20px; }
.fa-microsoft.ms { color: #00a4ef; } .fa-google.gg { color: #4285f4; } .fa-whatsapp.wa { color: #25d366; } .fa-telegram.tg { color: #229ed9; } .fa.ai { color: var(--violet); } .fa-docker.dk { color: #1d63ed; }

/* ---------------------------------------------------------------- problem */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.vs-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(17,17,19,.04); }
.vs-card.good { border-color: var(--line-2); box-shadow: 0 0 0 5px var(--soft), 0 20px 50px -24px rgba(17,17,19,.2); }
.vs-label { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mail-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mail-list li { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; padding: 10px 12px; font-size: 13.5px; border-top: 1px solid var(--line); }
.mail-list li:first-child { border-top: 0; }
.mail-list li.dim { opacity: .4; }
.mail-list b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-list span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-list time { color: var(--muted); font-size: 12px; }
.vs-foot { margin-top: auto; padding-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.vs-arrow { align-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; }
.mini-case { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mini-top code { font: 11px var(--mono); color: var(--muted); }
.mini-case > b { font-size: 16px; letter-spacing: -0.01em; }
.mini-threads { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.t { padding: 3px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.t.blue { background: var(--blue-s); color: #1d4fb8; } .t.amber { background: var(--amber-s); color: #a15c05; } .t.violet { background: var(--violet-s); color: #5f36b8; }
.mini-next { display: grid; gap: 3px; padding: 12px; border-radius: 10px; background: var(--soft); }
.mini-next span { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.mini-next em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .versus { grid-template-columns: 1fr; } .vs-arrow { justify-self: center; transform: rotate(90deg); } }

/* ---------------------------------------------------------------- grid of cells sharing borders (Attio) */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { position: relative; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .2s; }
.cell:hover { background: var(--soft); }
.cell.span2 { grid-column: span 2; }
.cell h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: -0.02em; line-height: 1.3; }
.cell h3 .fa, .cell h3 .fa-brands { width: 18px; color: var(--muted); font-size: 14px; flex: none; }
.cell p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.tier { position: absolute; top: 24px; right: 24px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: #fff; }
.cell .tier + h3 { padding-right: 70px; }
.cell.dark { background: var(--dark); color: #fff; }
.cell.dark:hover { background: #151518; }
.cell.dark p { color: #a8a8b0; }
.cell.dark h3 .fa { color: #a98bff; }
.cell.dark .tier { background: transparent; border-color: #34343a; color: #cfcfd6; }
.chat { display: grid; gap: 10px; margin-top: 22px; max-width: 560px; }
.chat .q { justify-self: end; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: #24242a; font-size: 13.5px; }
.chat .a { padding: 11px 14px; border-radius: 14px 14px 14px 4px; border: 1px solid #2c2c33; font-size: 13.5px; color: #dcdce2; }
.chat .a .fa { color: #a98bff; margin-right: 4px; }
.ill-tl { display: grid; gap: 10px; margin-bottom: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.ill-tl div { display: flex; align-items: center; gap: 10px; }
.ill-tl i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.ill-tl b { height: 10px; border-radius: 5px; opacity: .85; }
.ill-tl .blue { background: var(--blue); } .ill-tl .amber { background: var(--amber); } .ill-tl .violet { background: var(--violet); }
.w38 { width: 38%; } .w28 { width: 28%; } .w22 { width: 22%; } .w30 { width: 30%; } .o18 { margin-left: 18%; } .o34 { margin-left: 34%; } .o52 { margin-left: 52%; }
@media (min-width: 901px) { .cell.dark.span2 { grid-row: span 2; } }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } .cell.span2 { grid-column: auto; } .cell { padding: 22px 18px; } }

/* ---------------------------------------------------------------- use cases */
.scen { border-top: 1px solid var(--line); }
.scen button { width: 100%; display: flex; align-items: center; gap: 22px; padding: 22px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; transition: background .2s; }
.scen button:hover, .scen button[aria-pressed="true"] { background: var(--soft); }
.scen .num { font: 11px var(--mono); color: var(--muted); align-self: flex-start; padding-top: 6px; }
.sc-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink-2); }
.scen button[aria-pressed="true"] .sc-ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.sc-t b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.sc-t small { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.scen .go { margin-left: auto; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--muted); font-size: 12px; transition: transform .2s; }
.scen button:hover .go { transform: translateX(3px); color: var(--ink); }
/* the list on the left, the chosen case on the right */
.uc-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.uc-layout .sc-t b { font-size: 17px; }
.uc-layout .sc-t small { font-size: 13.5px; }
.uc-card { position: sticky; top: 84px; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: 0 0 0 5px var(--soft), 0 20px 50px -24px rgba(17,17,19,.2); }
.uc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.uc-top code { font: 11px var(--mono); color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; }
.uc-card h3 { margin-top: 10px; font-size: 19px; }
.uc-co { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.uc-threads { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.uc-lines { list-style: none; margin: 0; padding: 0; }
.uc-lines li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.uc-lines .dot { margin-top: 6px; }
.uc-who { display: block; font-size: 12.5px; font-weight: 600; }
.uc-who em { font-style: normal; font-weight: 400; color: var(--muted); }
.uc-txt { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-lines time { font: 11px var(--mono); color: var(--muted); padding-top: 2px; white-space: nowrap; }
.uc-next { display: grid; gap: 2px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.uc-next span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.uc-next span .fa { color: var(--accent); }
.uc-next b { font-size: 14px; } .uc-next em { font-style: normal; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .uc-layout { grid-template-columns: 1fr; } .uc-card { position: static; } }
@media (max-width: 640px) { .scen button { gap: 14px; padding: 18px 6px; } .scen .num { display: none; } .sc-t b { font-size: 16.5px; } .sc-t small { font-size: 13px; } }

/* ---------------------------------------------------------------- what it is */
.head p.definition { max-width: 720px; }
.definition b { color: var(--ink); font-weight: 600; }
.pillars .cell { display: flex; flex-direction: column; padding-top: 30px; }
.pill-no { font: 11px var(--mono); color: var(--muted); margin-bottom: 16px; }
.pillars h3 { font-size: 18px; }
.more { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 550; color: var(--ink); }
.more .fa { font-size: 11px; transition: transform .2s; }
.more:hover .fa { transform: translateX(3px); }

/* ---------------------------------------------------------------- two-way sync */
.sync { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.sync h2 { font-size: clamp(32px, 4.4vw, 50px); }
.sync-text > p { margin-top: 18px; font-size: 17px; color: var(--ink-2); }

/* ---------------------------------------------------------------- ticket system + automation rule */
.tickets { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.tk-grid { grid-template-columns: 1fr 1fr; }
.tk-grid .cell { padding: 22px; }
.tk-grid .cell h3 { font-size: 15.5px; }
.tk-grid .cell p { font-size: 13.5px; }
.rule { position: sticky; top: 84px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: 0 0 0 6px rgba(17,17,19,.025), 0 30px 70px -30px rgba(17,17,19,.25); font-size: 13.5px; }
.rule-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rule-head .fa { color: var(--amber); }
.rule-on { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.rule-name { margin: 8px 0 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.rule-block, .rule-then { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--soft); color: var(--ink-2); }
.rule-block b { color: var(--ink); font-weight: 600; }
.rk { display: inline-block; min-width: 44px; margin-right: 6px; font: 600 10.5px var(--mono); text-transform: uppercase; color: var(--muted); }
.rule-then { background: #fff; }
.rule-acts { display: grid; gap: 6px; margin-top: 8px; }
.rule-acts span { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.rule-acts .fa { width: 15px; color: var(--accent); font-size: 12px; }
.rule-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 960px) { .tickets { grid-template-columns: 1fr; } .rule { position: static; } }
@media (max-width: 560px) { .tk-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- who it's for + topics */
.tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 12.5px var(--mono); color: var(--ink-2); background: #fff; }

/* ---------------------------------------------------------------- deals */
.deals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.deals h2 { font-size: clamp(32px, 4.4vw, 50px); }
.deals-text > p { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.tier-inline { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; }
.deal { border: 1px solid var(--line-2); border-radius: 16px; background: #fff; box-shadow: 0 0 0 6px rgba(17,17,19,.025), 0 30px 70px -28px rgba(17,17,19,.25); overflow: hidden; font-size: 13px; }
.deal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.deal-head code { display: block; font: 11px var(--mono); color: var(--muted); }
.deal-head b { font-size: 15px; letter-spacing: -0.01em; }
.deal-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.deal-seg button { padding: 5px 12px; border: 0; border-radius: 7px; background: none; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.deal-seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17,17,19,.12); }
.deal-body { padding: 14px 18px 4px; }
.deal-who { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 12.5px; color: var(--muted); }
.deal-who b { font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.stages { list-style: none; margin: 0; padding: 0; position: relative; }
.stages::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.st { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; }
.st-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: #b8b8be; font-size: 12px; }
.st.done .st-ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.st.warn .st-ic { background: var(--amber-s); border-color: #f0c98a; color: var(--amber); }
.st.late .st-ic { background: #fdecec; border-color: #f2b8b5; color: #c92a2a; }
.st b { display: block; font-size: 13px; }
.st div > span { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st.todo b, .st.todo div > span { color: var(--muted); }
.st small { display: block; font-size: 11.5px; color: var(--muted); }
.flag { margin-left: 4px; padding: 0 6px; border-radius: 5px; background: var(--amber-s); color: #a15c05; font-style: normal; font-size: 11px; font-weight: 600; }
.flag.late { background: #fdecec; color: #c92a2a; }
.st-go { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--accent); white-space: nowrap; }
.st-go time { color: var(--muted); font: 11px var(--mono); margin-right: 4px; }
.alerts { display: grid; gap: 6px; margin: 10px 0 12px; }
.al { display: flex; gap: 9px; align-items: flex-start; padding: 8px 11px; border-radius: 9px; font-size: 12.5px; line-height: 1.45; }
.al .fa { margin-top: 2px; font-size: 11px; }
.al.warn { background: var(--amber-s); color: #8a4f04; }
.al.late { background: #fdecec; color: #a61e1e; }
.al.info { background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); }
.deal-margin { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--soft); }
.deal-margin span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.deal-margin b { font-size: 17px; letter-spacing: -0.02em; color: var(--green); }
.deal-margin em { font-style: normal; font-size: 12.5px; color: var(--muted); }
@media (max-width: 960px) { .deals { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .st { grid-template-columns: 32px minmax(0, 1fr); } .st-go { grid-column: 2; } .deal-head { flex-wrap: wrap; } }

/* ---------------------------------------------------------------- integrations */
.int-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.int-logo { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 21px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(17,17,19,.04); }
.int-logo img { width: 22px; height: 22px; }
.int-tag { font: 10.5px var(--mono); color: var(--muted); }
.int-tag.pro { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 11px var(--font); color: var(--ink-2); }
.int .cell h3 { font-size: 16.5px; }
.int .cell p { font-size: 14px; }

/* ---------------------------------------------------------------- dark: self-host */
.sec.dark { background: var(--dark); color: #fff; border-top-color: var(--dark); }
.sec.dark .sec-in { border-color: #222227; }
.sec.dark .sec-in::before, .sec.dark .sec-in::after { color: #9a9aa2; background: transparent; }
.sec.dark .eyebrow { color: #c9c9d0; } .sec.dark .eyebrow .fa { color: #7a7a83; }
.sec.dark .soft { color: #77777f; }
.sec.dark .head p { color: #a8a8b0; }
.host { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.host-grid { grid-template-columns: 1fr 1fr; border-color: #222227; }
.host-grid .cell { background: transparent; border-color: #222227; padding: 24px; }
.host-grid .cell:hover { background: #141417; }
.host-grid .cell h3 { font-size: 15.5px; color: #fff; }
.host-grid .cell h3 .fa, .host-grid .cell h3 .fa-brands { color: #7a7a83; }
.host-grid .cell p { font-size: 13.5px; color: #a0a0a8; }
.terminal { border: 1px solid #26262c; border-radius: 14px; background: #121215; box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px 0 14px; border-bottom: 1px solid #222227; }
.term-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #2c2c33; }
.term-bar em { margin-left: 8px; font-style: normal; font-size: 12px; color: #77777f; }
.copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; border: 1px solid #33333a; background: #1a1a1e; color: #cfcfd6; font: 600 12px var(--font); }
.copy:hover { border-color: #4a4a52; }
.terminal pre { margin: 0; padding: 20px 22px 24px; font: 13px/1.75 var(--mono); color: #e6e6ec; overflow-x: auto; }
.terminal .c { color: #66666f; } .terminal .ok { color: #5fd38d; }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #222227; }
.facts div { padding: 26px 24px 0 0; }
.facts b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.facts span { display: block; margin-top: 8px; max-width: 26ch; font-size: 14px; color: #a0a0a8; }
@media (max-width: 960px) { .host { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .host-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- open source */
.os { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.os-cta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.os-list { border-top: 1px solid var(--line); }
.os-list div { display: flex; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.os-list .fa { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-2); font-size: 14px; }
.os-list b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.os-list span { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) { .os { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------------------------------------------------------- pricing */
.plans .plan { padding: 30px 28px; }
.plan h3 { font-size: 18px; }
.price { margin: 12px 0 4px; font-size: 36px; font-weight: 600; letter-spacing: -0.035em; }
.price span { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan > p { margin: 0 0 18px; font-size: 14px; }
.plan.featured { background: var(--soft); }
.plan.featured .tier { background: var(--ink); color: #fff; border-color: var(--ink); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.checks li::before { content: "\f00c"; position: absolute; left: 0; top: 1px; font: 900 9px/16px "Font Awesome 7 Free"; width: 16px; height: 16px; border-radius: 50%; text-align: center; background: var(--soft); border: 1px solid var(--line-2); color: var(--ink); }
.service { margin-top: 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: 14px; }
.service > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.service b { display: block; font-size: 16px; } .service small { font-size: 14px; color: var(--ink-2); }
.service .btn { margin-left: auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .fa { flex: none; font-size: 12px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .fa { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }

/* ---------------------------------------------------------------- final */
.final { position: relative; overflow: hidden; padding: 80px 24px; border-radius: 20px; background: var(--dark); color: #fff; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#2a2a30 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 70%); }
.final > * { position: relative; z-index: 1; }
/* the chameleon, white and faint, in the middle behind the text */
.final::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(300px, 60%); aspect-ratio: 1; transform: translate(-50%, -50%); background: #fff; opacity: .06; -webkit-mask: var(--brand-logo, url(logo.svg)) center / contain no-repeat; mask: var(--brand-logo, url(logo.svg)) center / contain no-repeat; pointer-events: none; z-index: 0; }
.final h2 { font-size: clamp(30px, 4.6vw, 52px); }
.final p { margin: 16px auto 0; max-width: 540px; font-size: 17px; color: #a8a8b0; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 30px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { margin-top: 12px; max-width: 300px; font-size: 14px; color: var(--muted); }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot-cols b { font-size: 13px; margin-bottom: 3px; }
.foot-cols a { color: var(--muted); } .foot-cols a:hover { color: var(--ink); }
.foot-bottom { position: relative; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px; background: var(--line); }
@media (max-width: 640px) { .foot-bottom::before { left: 16px; right: 16px; } }

/* ---------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mail, .mail.newest { animation: fadein .4s both; }
  .live i::after { animation-duration: 3.2s; }
  .ai-line { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------- the Deals tab of the case */
.sd-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 11.5px; color: var(--muted); }
.sd-head b { font-size: 15px; color: var(--ink); letter-spacing: -0.01em; }
.sd-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.sd-steps::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.sd-steps li { position: relative; display: grid; grid-template-columns: 21px minmax(0, 1fr); gap: 9px; align-items: center; padding: 5px 0; }
.sd-steps .ic { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: #b8b8be; font-size: 9px; }
.sd-steps .done .ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.sd-steps .warn .ic { background: var(--amber-s); border-color: #f0c98a; color: var(--amber); }
.sd-steps .late .ic { background: #fdecec; border-color: #f2b8b5; color: #c92a2a; }
.sd-steps b { display: block; font-size: 12px; }
.sd-steps span { display: block; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-steps .todo b, .sd-steps .todo span { color: var(--muted); }
.sd-alert { display: flex; gap: 7px; align-items: flex-start; margin-top: 10px; padding: 7px 9px; border-radius: 8px; font-size: 11.5px; line-height: 1.45; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.sd-alert.warn { background: var(--amber-s); border-color: #f3dcb2; color: #8a4f04; }
.sd-alert.late { background: #fdecec; border-color: #f6cfcd; color: #a61e1e; }
.sd-alert .fa { margin-top: 2px; font-size: 10px; }

/* ---------------------------------------------------------------- self-host: a quiet background (faint white dots, a soft glow) */
.sec.dark { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 85% 10%, rgba(120, 140, 255, .10), transparent 70%),
  radial-gradient(700px 420px at 10% 100%, rgba(180, 150, 255, .07), transparent 70%),
  var(--dark); }
.sec.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 80% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 55% 70% at 80% 30%, #000 10%, transparent 75%); }
.sec.dark .sec-in { position: relative; }

/* ---------------------------------------------------------------- two-way sync: two mini inboxes, changes travelling both ways */
.sync-vis { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); align-items: start; gap: 0; padding: 22px; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; box-shadow: 0 0 0 6px rgba(17,17,19,.025), 0 30px 70px -30px rgba(17,17,19,.25); }
.sv-box { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.sv-title { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 12.5px; }
.sv-title .logo-mark { width: 18px; height: 18px; }
.sv-mails { list-style: none; margin: 0; padding: 0; min-height: 250px; }
.sv-mails li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 12px; transition: background .5s, opacity .5s, transform .5s; }
.sv-mails li > i.u { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: transform .4s, opacity .4s; }
.sv-mails li.read > i.u { transform: scale(0); opacity: 0; }
.sv-mails li b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: font-weight .3s; }
.sv-mails li.read b { font-weight: 500; }
.sv-mails li span { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-mails li .fa-flag { color: #e8590c; font-size: 11px; }
.sv-mails li em { font-style: normal; color: #c92a2a; font-weight: 600; }
.sv-mails li.hit { background: #eef4ff; }
.sv-mails li.gone { opacity: 0; transform: translateX(14px); }
.sv-mails li.enter { animation: rowin .5s both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-8px); } }
.sv-lanes { position: relative; align-self: center; min-height: 120px; display: grid; align-content: center; gap: 34px; padding: 0 8px; }
.lane { display: flex; align-items: center; gap: 0; color: #b4b4bb; font-size: 10px; }
.lane span { flex: 1; height: 0; border-top: 1.5px dashed #cfcfd6; }
.pkt { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; transform: translate(-50%, -50%); opacity: 0; box-shadow: 0 6px 16px -6px rgba(17,17,19,.5); }
.pkt .fa { font-size: 10px; }
.sv-caption { grid-column: 1 / -1; margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-2); min-height: 1.5em; }
.sv-caption b { color: var(--ink); }
.sv-tags { grid-column: 1 / -1; list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sv-tags li { padding: 2px 9px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); }
@media (max-width: 560px) { .sync-vis { grid-template-columns: 1fr; padding: 16px; } .sv-lanes { min-height: 70px; grid-auto-flow: column; grid-template-columns: 1fr 1fr; gap: 12px; } }

/* four tabs in the case side panel: words only, so they fit */
.ptabs .fa { display: none; }

/* Complete feature directory and packages: native disclosures work without JS. */
[hidden] { display: none !important; }
.cap-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.cap-search { flex: 1 1 320px; max-width: 620px; }
.cap-search label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.cap-search > div { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.cap-search .fa { color: var(--muted); }
.cap-search input { width: 100%; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--ink); font: inherit; }
.cap-search > div:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.cap-search input:focus-visible { outline: none; }
.cap-controls > p { margin: 0 0 9px auto; color: var(--ink-2); font-size: 13px; }
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.cap-card { min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; }
.cap-card summary { display: flex; align-items: flex-start; gap: 13px; list-style: none; padding: 22px; cursor: pointer; border-radius: 14px; }
.cap-card summary::-webkit-details-marker { display: none; }
.cap-card summary:hover { background: var(--soft); }
.cap-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--accent); flex: none; }
.cap-card summary > span:nth-child(2) { min-width: 0; flex: 1; }
.cap-card summary b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.cap-card summary small { display: block; margin-top: 5px; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.cap-plus { flex: none; margin-top: 9px; font-size: 12px; color: var(--muted); transition: transform .15s; }
.cap-card[open] .cap-plus { transform: rotate(45deg); }
.cap-list { margin: 0 22px 22px 67px; padding: 0; list-style: none; }
.cap-list li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); line-height: 1.65; overflow-wrap: anywhere; }
.cap-list strong { display: block; color: var(--ink); font-weight: 600; }
.cap-note { display: flex; gap: 12px; margin-top: 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink-2); font-size: 13px; }
.cap-note > i { margin-top: 4px; color: var(--accent); }
.cap-note a { display: inline-block; margin-left: 4px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cap-empty { padding: 32px 0; color: var(--ink-2); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.package-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; }
.package-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--blue-s); }
.package-tag { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.featured .package-tag { color: var(--accent); }
.package-card h3 { margin-top: 14px; font-size: 30px; }
.package-pitch { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.package-card ul { padding-left: 18px; margin: 22px 0 28px; color: var(--ink-2); font-size: 13.5px; }
.package-card li { margin-bottom: 10px; }
.package-card .btn { margin-top: auto; }
.package-foot { margin-top: 24px; max-width: 960px; color: var(--ink-2); font-size: 13px; }
.facts b { overflow-wrap: anywhere; }
@media (max-width: 1050px) { .package-card { padding: 24px; } .nav-in { gap: 16px; } .nav-links a { padding-left: 8px; padding-right: 8px; font-size: 13px; } }
@media (min-width: 901px) and (max-width: 1100px) { .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; padding: 8px 16px 14px; background: #fff; border-bottom: 1px solid var(--line); } .nav-links.open { display: flex; } .nav-links a { padding: 11px 10px; font-size: 16px; } .nav-toggle { display: inline-grid; place-items: center; } }
@media (max-width: 760px) { .cap-grid, .package-grid { grid-template-columns: minmax(0, 1fr); } .cap-card summary { padding: 18px; } .cap-list { margin-left: 18px; margin-right: 18px; } .cap-controls > p { margin-left: 0; } .cap-search { flex-basis: 100%; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .cap-plus { transition: none; } }

/* First-party statistics preferences and the website privacy notice. */
.foot-privacy { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.foot-stat-button { padding:0; border:0; background:none; color:inherit; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.stats-consent { position:fixed; z-index:100; bottom:18px; right:18px; width:min(480px,calc(100% - 36px)); box-sizing:border-box; padding:22px; border:1px solid var(--line-2); border-radius:16px; background:#fff; color:var(--ink); box-shadow:0 10px 50px #1112; }
.stats-consent h2 { font-size:21px; line-height:1.25; }
.stats-consent p { margin-top:12px; font-size:13.5px; color:var(--ink-2); line-height:1.55; }
.stats-consent p.stats-small { font-size:12px; }
.stats-consent a,.privacy-copy a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.stats-consent-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.stats-consent-actions .btn { flex:1 1 160px; }
.stats-consent button:disabled { opacity:.55; cursor:default; }
.privacy-copy { max-width:900px; }
.privacy-copy h1 { font-size:clamp(32px,5vw,48px); }
.privacy-copy section { margin-top:32px; }
.privacy-copy h2 { font-size:23px; margin-bottom:12px; }
.privacy-copy p,.privacy-copy ul { color:var(--ink-2); margin-top:12px; }
.privacy-copy .privacy-updated { font-size:13px; }
.privacy-draft { margin-top:24px; padding:16px; border:1px solid #eac584; background:#fff8e9; border-radius:10px; font-size:14px; }
@media(max-width:540px) { .stats-consent { padding:18px; bottom:10px; right:10px; width:calc(100% - 20px); max-height:calc(100dvh - 20px); overflow:auto; } }

.early-access{padding:28px;border-top:1px solid var(--line)}.early-access h3{font-size:22px}.early-access p{margin:12px 0 20px;color:var(--ink-2)}.release-notice{margin:18px auto 0;color:var(--ink-2);font-size:13px}

/* Shared multi-page layout. */
.page-intro{padding-top:76px;border-bottom:1px solid var(--line)}.page-intro .sec-in{padding-bottom:46px}.page-intro h1{font-size:clamp(38px,5vw,68px);line-height:1.08;letter-spacing:-.055em;margin-top:20px}.page-intro .lead{max-width:690px;margin:24px 0 0}.page-intro+.sec .sec-in{padding-top:64px}.home-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.home-benefits h3{font-size:22px}.home-host{display:flex;align-items:center;justify-content:space-between;gap:48px}.home-host p{max-width:620px;margin-top:20px;color:#c8cbd1}.home-host-links{display:flex;flex-direction:column;gap:12px;min-width:210px}.nav-links a[aria-current=page]{color:var(--ink);background:#00000006}.privacy-copy{padding-top:74px;padding-bottom:74px}@media(max-width:760px){.home-benefits{grid-template-columns:1fr}.home-host{align-items:stretch;flex-direction:column;gap:28px}.page-intro{padding-top:44px}}

/* Thread subject above its relationship; internal conversations use chat bubbles. */
.th .thread-heading{gap:8px;align-items:center}.thread-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.th .thread-heading em{white-space:nowrap;flex-shrink:0}.th .thread-meta{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:10.5px;line-height:1.4}.role-dot{width:6px;height:6px;border-radius:50%;flex:none}.th.blue .role-dot{background:var(--blue)}.th.amber .role-dot{background:var(--amber)}.th.violet .role-dot{background:var(--violet)}.thread-role{flex:none;color:var(--ink-2)}.thread-person{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:6px;border-left:1px solid var(--line)}
.chat-cell{display:flex;align-items:flex-start}.mail.chat-message{max-width:calc(100% - 16px);margin-right:16px;box-sizing:border-box;border:1px solid #e8e1f5;border-radius:14px 14px 14px 4px;background:#f6f2fc;box-shadow:none}.mail.chat-message.out{margin-right:0;margin-left:auto;border-color:#ded2f2;border-radius:14px 14px 4px 14px;background:#ede5f8}.mail.chat-message .from{align-items:center;gap:10px}.mail.chat-message .chat-author{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:11px;font-weight:600}.chat-avatar{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e0d4f2;color:#62498c;font-size:8px;font-style:normal;flex:none}.mail.chat-message time{color:var(--muted);font-size:10px;white-space:nowrap}.mail.chat-message p{margin-top:5px}.chat-channel{display:inline-flex;align-items:center;gap:4px;margin-top:7px;font-size:9px;color:#81718e}.chat-channel .fa{font-size:8px}@media(max-width:760px){.mail.chat-message{max-width:calc(100% - 24px)}.mail.chat-message:not(.out){margin-right:24px}.mail.chat-message.out{margin-left:auto;margin-right:0}}
