/* ==========================================================================
   The getmarky.app landing page. Self-contained: Marky's colours, the system font,
   and the looping team demo (the .demo block, drawn at 1100×600 and scaled to fit).
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --bg: #f6f5f1; --bg-alt: #eeece6; --paper: #fff;
  --ink: #1d1d1f; --ink-2: #4a4a50; --ink-3: #66666e;
  --rule: #e2e0da; --rule-strong: #d2cfc8;
  --accent: #5b5bd6; --accent-ink: #4848c2; --accent-text: #4848c2; --accent-soft: rgba(91, 91, 214, 0.12);
  --mark: rgba(255, 196, 0, 0.32);
  --shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05), 0 18px 40px -16px rgba(30, 30, 50, 0.18);
  --closing: #1d1d1f; --closing-ink: #f2f2f4; --closing-ink-2: #c4c4cb;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416; --bg-alt: #1a1a1d; --paper: #212125;
    --ink: #f2f2f4; --ink-2: #c0c0c7; --ink-3: #9a9aa2;
    --rule: #2d2d32; --rule-strong: #3a3a40;
    --accent-text: #a9a9f7; --accent-soft: rgba(139, 139, 240, 0.16);
    --mark: rgba(255, 196, 0, 0.26);
    --shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 18px 40px -16px rgba(0, 0, 0, 0.6);
    --closing: #26263a; --closing-ink: #f2f2f4; --closing-ink-2: #c9c9d6;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { flex: 0 0 auto; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 11px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background 0.15s, box-shadow 0.15s; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; border-radius: 13px; }
.btn-wide { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(75, 63, 209, 0.7); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn-light { background: #fff; color: #1d1d1f; }
.btn-light:hover { background: #ececf0; }
.btn:active { scale: 0.98; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--rule); }
.nav-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; min-height: 44px; letter-spacing: -0.01em; }
.brand.small { font-size: 15px; gap: 8px; min-height: 0; color: var(--ink); }
.nav-links { display: flex; gap: 4px 24px; flex: 1 1 auto; font-size: 15px; color: var(--ink-2); }
.nav-links a, .nav-signin { text-decoration: none; padding: 12px 0; }
.nav-links a:hover, .nav-signin:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; font-size: 15px; }
@media (max-width: 640px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: 80px 0 72px; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 750; max-width: 900px; margin: 0 auto; }
.lede { max-width: 640px; margin: 24px auto 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }

.demo-stage { --s: 1; position: relative; max-width: 1100px; width: 100%; height: calc(600px * var(--s)); margin: 56px auto 0; text-align: left; }
.demo-stage > .demo { position: absolute; left: 0; top: 0; width: 1100px; height: 600px; transform: scale(var(--s)); transform-origin: 0 0; }

/* ---------- strip ---------- */
.strip { padding: 8px 0 40px; }
.strip-row { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; max-width: 1160px; margin: 0 auto; padding: 0 24px; color: var(--ink-3); font-size: 15px; font-weight: 500; }

/* ---------- feature sections ---------- */
.feature { padding: 96px 0; }
.feature.alt, .pricing { background: var(--bg-alt); }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.split.reverse { flex-direction: row-reverse; }
.copy { flex: 1 1 400px; min-width: 0; }
.visual { flex: 1 1 440px; min-width: 0; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); padding: 32px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.feature h2, .center-h, .faq h2, .closing h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.body { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); font-size: 16px; }
.checks li { position: relative; padding-left: 30px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 6.5px; top: 6.5px; width: 7px; height: 4px; border: solid var(--accent-text); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.mini { width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.fb { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--ink); }
.fb.primary { background: var(--accent); color: #fff; box-shadow: none; }

/* presence visual */
.thumbs { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.mthumb { position: relative; width: 92px; height: 120px; background: #fff; border-radius: 4px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 3px 8px rgba(0, 0, 0, 0.1); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.mthumb b { display: block; height: 4px; border-radius: 2px; background: #dddbd5; }
.mthumb b.hd { height: 7px; width: 60%; background: #3a3a3f; }
.mthumb .av { position: absolute; right: -11px; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--paper); }
.pill { display: flex; width: max-content; max-width: 100%; margin: 28px auto 0; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border-radius: 999px; font-size: 14px; font-weight: 550; background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); }

/* forks visual */
.tree { display: flex; flex-direction: column; gap: 14px; }
.node { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--rule-strong); font-size: 15px; }
.node.main { box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 650; }
.ndot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.nmeta { margin-left: auto; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.add { color: #2f9e55; } .del { color: #d6403a; }
@media (prefers-color-scheme: dark) { .add { color: #5cc982; } .del { color: #f07a74; } }
.branches { margin-left: 22px; padding-left: 20px; border-left: 2px solid var(--rule-strong); display: flex; flex-direction: column; gap: 12px; }
.proposal { margin-top: 6px; padding: 18px; border-radius: 13px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; gap: 12px; }
.appr { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.fake-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* notes visual */
.notes-visual { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; padding: 24px; }
.excerpt { flex: 1 1 220px; min-width: 0; background: #fff; color: #2a2a2e; border-radius: 6px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 4px 14px -6px rgba(0, 0, 0, 0.2); padding: 22px; font-size: 14px; line-height: 1.6; }
.excerpt .ex-h { font-weight: 700; font-size: 18px; color: #1d1d1f; margin-bottom: 6px; }
.excerpt p { margin: 0 0 10px; }
.excerpt .muted { color: #6e6e76; margin: 0; }
.excerpt mark { background: rgba(255, 196, 0, 0.32); color: inherit; border-radius: 2px; padding: 0 1px; }
.thread { flex: 1 1 220px; min-width: 0; background: #fffaf0; color: #2a2a2e; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 176, 0, 0.35), 0 10px 24px -12px rgba(80, 60, 0, 0.35); padding: 14px; font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 12px; }
.cm { display: flex; gap: 10px; }
.cm strong { color: #1d1d1f; }
.cm p { margin: 2px 0 0; }
.reply-cm { padding-top: 12px; border-top: 1px dashed rgba(0, 0, 0, 0.12); }
.mention { color: #4848c2; font-weight: 600; }
.th-actions { display: flex; gap: 8px; }
.rbox2 { flex: 1 1 auto; display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); color: #6e6e76; font-size: 13px; }
.thread .fb { color: #1d1d1f; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); background: #fff; }

/* ---------- grid ---------- */
.grid-section { padding: 96px 0; border-top: 1px solid var(--rule); }
.center-h { text-align: center; max-width: 760px; margin: 0 auto; }
.center-sub { text-align: center; max-width: 580px; margin: 16px auto 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.grid { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.gcard { background: var(--paper); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.gicon { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-text); }
.gcard h3 { margin: 18px 0 6px; font-size: 19px; }
.gcard p { margin: 0; color: var(--ink-2); line-height: 1.55; }

/* ---------- pricing ---------- */
.pricing { padding: 96px 0; }
.plans { margin: 52px auto 0; max-width: 900px; display: flex; flex-wrap: wrap; gap: 20px; }
.plan { position: relative; flex: 1 1 320px; display: flex; flex-direction: column; background: var(--paper); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.plan.featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow); --a: 0deg; }
.plan h3 { font-size: 22px; }
.plan-sub { margin: 6px 0 0; color: var(--ink-2); }
.price { margin: 24px 0 4px; font-size: 40px; font-weight: 750; letter-spacing: -0.03em; }
.price-note { font-size: 16px; font-weight: 450; letter-spacing: 0; color: var(--ink-3); }
.plan .checks { flex: 1 1 auto; margin-bottom: 28px; font-size: 15px; }
.plan-note { margin: 0; padding: 13px; border-radius: 11px; text-align: center; font-size: 14px; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 650; padding: 4px 11px; border-radius: 999px; }

/* ---------- faq ---------- */
.faq { padding: 96px 0; }
.faq h2 { margin-bottom: 18px; }
details { border-bottom: 1px solid var(--rule); padding: 20px 0; }
summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-3); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.6; }

/* ---------- closing + footer ---------- */
.closing { padding: 0 0 96px; }
.closing-box { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; background: var(--closing); color: var(--closing-ink); border-radius: 26px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); }
.closing-box > div { flex: 1 1 420px; }
.closing-box p { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--closing-ink-2); }
.foot { border-top: 1px solid var(--rule); padding: 28px 0 44px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; color: var(--ink-3); }
.foot-row nav { margin-left: auto; display: flex; gap: 20px; }
.foot-row nav a { text-decoration: none; padding: 12px 0; }
.foot-row nav a:hover { color: var(--ink); }

/* ==========================================================================
   The team demo: a Marky window drawn at 1100×600. It always shows the app's light theme.
   ========================================================================== */
.demo * { box-sizing: border-box; }
.demo .win { position: relative; width: 1100px; height: 600px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(27, 28, 30, 0.4), 0 2px 6px rgba(0, 0, 0, 0.05); font-family: var(--font); color: #1d1d1f; line-height: normal; }
.demo .tb { position: relative; height: 52px; display: flex; align-items: center; padding: 0 14px; background: #f6f5f2; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.demo .tls { display: flex; gap: 8px; }
.demo .tl { width: 12px; height: 12px; border-radius: 50%; display: block; }
.demo .tb-title { margin-left: 18px; font-size: 13px; font-weight: 600; }
.demo .tb-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; }
.demo .tb-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.demo .avs { display: flex; align-items: center; }
.demo .av { width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #f6f5f2; flex: 0 0 auto; overflow: hidden; }
.demo .avs .av + .av { margin-left: -8px; }
.demo .ic { width: 30px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #4a4a50; }
.demo .segc { display: inline-flex; background: rgba(0, 0, 0, 0.06); border-radius: 7px; padding: 2px; font-size: 12px; color: #4a4a50; }
.demo .segc span { padding: 4px 12px; border-radius: 5px; }
.demo .segc .on, .demo .sbtabs .on { background: #fff; color: #1d1d1f; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.demo .wb { display: flex; height: 547px; }
.demo .sb { position: relative; flex: 0 0 200px; background: #ebe9e3; border-right: 1px solid rgba(0, 0, 0, 0.08); overflow: hidden; }
.demo .sbtabs { position: absolute; left: 16px; right: 16px; top: 12px; display: flex; background: rgba(0, 0, 0, 0.06); border-radius: 7px; padding: 2px; font-size: 11px; color: #4a4a50; }
.demo .sbtabs span { flex: 1 1 0; text-align: center; padding: 4px 0; border-radius: 5px; }
.demo .th { position: absolute; left: 44px; width: 112px; height: 145px; background: #fff; border-radius: 3px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08); padding: 13px 11px; display: flex; flex-direction: column; gap: 5px; }
.demo .th.active { box-shadow: 0 0 0 2.5px #5b5bd6, 0 6px 16px -2px rgba(91, 91, 214, 0.45); }
.demo .th b { display: block; height: 4px; border-radius: 2px; background: #dddbd5; }
.demo .th b.hd { height: 7px; width: 62%; background: #3a3a3f; }
.demo .thn { position: absolute; left: 0; width: 200px; text-align: center; font-size: 10px; color: #7a7a82; }
.demo .thn span { display: inline-block; min-width: 18px; padding: 1px 5px; border-radius: 9px; }
.demo .thn .on { background: #5b5bd6; color: #fff; }
.demo .dot { position: absolute; left: 162px; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #ebe9e3; }
.demo .mn { position: relative; flex: 0 0 660px; background: #f1f0ec; overflow: hidden; }
.demo .pg { position: absolute; left: 30px; top: 24px; width: 600px; height: 640px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05), 0 12px 32px -8px rgba(30, 30, 50, 0.16); padding: 40px 48px; }
.demo .h1 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
.demo .meta { margin-top: 6px; font-size: 12px; line-height: 16px; color: #6e6e76; }
.demo .h2 { margin-top: 22px; font-size: 18px; line-height: 24px; font-weight: 650; }
.demo .p { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: #2a2a2e; }
.demo .nh { background: rgba(255, 196, 0, 0.32); color: inherit; border-radius: 2px; padding: 0 1px; }
.demo .tbl { margin-top: 10px; border: 1px solid #e7e5e0; border-radius: 6px; overflow: hidden; font-size: 13px; }
.demo .tr { display: grid; grid-template-columns: 220px 140px 1fr; height: 32px; align-items: center; border-top: 1px solid #e7e5e0; }
.demo .tr:first-child { border-top: 0; background: #f7f6f3; font-weight: 600; }
.demo .tr > span { padding: 0 12px; height: 100%; display: flex; align-items: center; }
.demo .cellsel { position: relative; }
.demo .d-old { opacity: 0; }
.demo .d-new { position: absolute; left: 12px; top: 0; height: 100%; display: flex; align-items: center; }
.demo .cb { position: absolute; left: 22px; width: 3px; border-radius: 2px; }
.demo .typed { position: relative; display: inline-block; }
.demo .typed-text { display: inline-block; white-space: nowrap; }
.demo .caret { position: absolute; top: 0; left: 100%; height: 22px; width: 0; }
.demo .caret i { position: absolute; left: 0; top: 2px; width: 2px; height: 18px; background: #B85A0C; display: block; }
.demo .caret-tag { position: absolute; left: -1px; bottom: 100%; background: #B85A0C; color: #fff; font-size: 10px; font-weight: 600; line-height: 14px; padding: 1px 5px; border-radius: 4px 4px 4px 0; white-space: nowrap; font-style: normal; }
.demo .rl { position: relative; flex: 1 1 auto; background: #f1f0ec; border-left: 1px solid rgba(0, 0, 0, 0.05); }
.demo .card { position: absolute; left: 16px; right: 16px; top: 158px; background: #fffaf0; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 10px; padding: 12px; font-size: 12.5px; line-height: 18px; box-shadow: 0 0 0 2px rgba(255, 176, 0, 0.35), 0 10px 24px -12px rgba(80, 60, 0, 0.35); }
.demo .who { display: flex; align-items: center; gap: 7px; font-weight: 600; height: 22px; }
.demo .who small { font-weight: 400; color: #6e6e76; font-size: 11px; }
.demo .mini { width: 20px; height: 20px; font-size: 8.5px; }
.demo .msg { margin-top: 6px; color: #2a2a2e; }
.demo .reply { overflow: hidden; max-height: 70px; }
.demo .reply-in { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(0, 0, 0, 0.12); }
.demo .rbox { margin-top: 10px; height: 30px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 7px; background: #fff; color: #8a8a92; display: flex; align-items: center; padding: 0 9px; font-size: 12px; }
.demo .ptr { position: absolute; left: 0; top: 0; transform: translate(668px, 436px); z-index: 5; pointer-events: none; }
.demo .ptr-tag { position: absolute; left: 14px; top: 16px; background: #2F5BEA; color: #fff; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.demo .toast { position: absolute; z-index: 3; left: 50%; top: 12px; transform: translate(-50%, 0); opacity: 0; background: #1d1d1f; color: #fff; font-size: 12px; padding: 5px 12px 5px 5px; border-radius: 999px; display: flex; align-items: center; gap: 8px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }

.demo .anim { animation-duration: 14s; animation-iteration-count: infinite; animation-timing-function: linear; }
.demo .ptr.anim { animation-name: mk-ptr; animation-timing-function: cubic-bezier(.45, .05, .25, 1); }
.demo .typed-text.anim { animation-name: mk-type; }
.demo .caret.anim { animation-name: mk-caret; }
.demo .caret i { animation: mk-blink 1s steps(1) infinite; }
.demo .cb-p2.anim { animation-name: mk-cb-p2; }
.demo .cb-date.anim { animation-name: mk-cb-date; }
.demo .cellsel.anim { animation-name: mk-sel; }
.demo .d-old.anim { animation-name: mk-old; }
.demo .d-new.anim { animation-name: mk-new; }
.demo .reply.anim { animation-name: mk-reply; }
.demo .dot-al.anim { animation-name: mk-dot-al; animation-timing-function: cubic-bezier(.45, .05, .25, 1); }
.demo .dot-pr.anim { animation-name: mk-dot-pr; }
.demo .tb-pr.anim { animation-name: mk-tb-pr; }
.demo .toast.anim { animation-name: mk-toast; }
/* Off-screen, or for people who ask for less motion: a still frame with everything in place. */
.demo.paused .anim, .demo.paused .caret i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .demo .anim, .demo .caret i { animation: none; } }

@keyframes mk-ptr { 0% { transform: translate(720px, 520px); opacity: 1 } 10% { transform: translate(668px, 436px) } 14% { transform: translate(673px, 439px) } 24% { transform: translate(669px, 437px) } 32% { transform: translate(950px, 312px) } 40% { transform: translate(953px, 315px) } 48% { transform: translate(800px, 250px); opacity: 1 } 54% { transform: translate(800px, 250px); opacity: 0 } 88% { transform: translate(720px, 520px); opacity: 0 } 92%, 100% { transform: translate(720px, 520px); opacity: 1 } }
@keyframes mk-type { 0%, 6% { clip-path: inset(0 100% 0 0); opacity: 1; animation-timing-function: steps(60, end) } 38%, 93% { clip-path: inset(0 0 0 0); opacity: 1 } 96% { clip-path: inset(0 0 0 0); opacity: 0 } 97% { clip-path: inset(0 100% 0 0); opacity: 0 } 100% { clip-path: inset(0 100% 0 0); opacity: 1 } }
@keyframes mk-caret { 0%, 6% { left: 0; opacity: 1; animation-timing-function: steps(60, end) } 38%, 93% { left: 100%; opacity: 1 } 95% { left: 100%; opacity: 0 } 97% { left: 0; opacity: 0 } 100% { left: 0; opacity: 1 } }
@keyframes mk-blink { 0% { opacity: 1 } 50% { opacity: 0 } }
@keyframes mk-cb-p2 { 0%, 38% { opacity: 0; transform: scaleY(.2) } 41%, 93% { opacity: 1; transform: scaleY(1) } 97%, 100% { opacity: 0; transform: scaleY(1) } }
@keyframes mk-cb-date { 0%, 20% { opacity: 0; transform: scaleY(.2) } 23%, 93% { opacity: 1; transform: scaleY(1) } 97%, 100% { opacity: 0; transform: scaleY(1) } }
@keyframes mk-sel { 0%, 12% { background: rgba(91, 91, 214, 0); box-shadow: inset 0 0 0 1.5px rgba(91, 91, 214, 0) } 14%, 24% { background: rgba(91, 91, 214, .12); box-shadow: inset 0 0 0 1.5px #5b5bd6 } 28%, 100% { background: rgba(91, 91, 214, 0); box-shadow: inset 0 0 0 1.5px rgba(91, 91, 214, 0) } }
@keyframes mk-old { 0%, 18% { opacity: 1 } 20%, 95% { opacity: 0 } 97%, 100% { opacity: 1 } }
@keyframes mk-new { 0%, 18% { opacity: 0 } 20%, 95% { opacity: 1 } 97%, 100% { opacity: 0 } }
@keyframes mk-reply { 0%, 37% { max-height: 0; opacity: 0 } 41%, 93% { max-height: 70px; opacity: 1 } 97%, 100% { max-height: 0; opacity: 0 } }
@keyframes mk-dot-al { 0%, 55% { transform: translateY(0) } 60%, 86% { transform: translateY(154px) } 91%, 100% { transform: translateY(0) } }
@keyframes mk-dot-pr { 0%, 64% { opacity: 0; transform: scale(.4) } 67%, 92% { opacity: 1; transform: scale(1) } 95%, 100% { opacity: 0; transform: scale(.4) } }
@keyframes mk-tb-pr { 0%, 63% { width: 0; margin-left: 0; opacity: 0 } 66%, 92% { width: 26px; margin-left: -8px; opacity: 1 } 95%, 100% { width: 0; margin-left: 0; opacity: 0 } }
@keyframes mk-toast { 0%, 64% { opacity: 0; transform: translate(-50%, -6px) } 67%, 78% { opacity: 1; transform: translate(-50%, 0) } 82%, 100% { opacity: 0; transform: translate(-50%, -6px) } }

/* ==========================================================================
   Motion. landing.js adds these behaviours with GSAP; without it (or with reduced motion)
   the page above is complete and still.
   ========================================================================== */
/* Above-the-fold pieces wait for the script for a moment, so they don't flash before animating in.
   The inline script in <head> takes the class away again if landing.js never runs. */
.js [data-reveal] { visibility: hidden; }

.progress { position: fixed; z-index: 40; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.nav { transition: background 0.3s, border-color 0.3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); }

.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, rgba(29, 29, 31, 0.09) 1px, transparent 0); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 32%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 32%, #000 20%, transparent 75%); }
@media (prefers-color-scheme: dark) { .hero-grid { background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0); } }
.hero-glow { position: absolute; left: 50%; top: 640px; width: 1000px; height: 760px; translate: -50% -50%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(91, 91, 214, 0.2), rgba(91, 91, 214, 0.06) 55%, transparent); filter: blur(10px); }
.h-line, .s-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }
.demo-persp { perspective: 1800px; perspective-origin: 50% 0; }
.demo-stage { transform-origin: 50% 0; }

.strip.marquee .strip-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.strip.marquee .strip-row { flex-wrap: nowrap; width: max-content; max-width: none; margin: 0; padding: 0; gap: 0; }
.strip.marquee .strip-row span { position: relative; white-space: nowrap; padding: 0 30px; }
.strip.marquee .strip-row span::before { content: ""; position: absolute; left: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--rule-strong); }

.pill-page { display: inline-block; min-width: 0.6em; }
.avpair { display: inline-flex; }
.avpair .you { display: none; margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); font-size: 7.5px; }
.merged { display: none; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; color: #2f9e55; }
@media (prefers-color-scheme: dark) { .merged { color: #5cc982; } }

.excerpt mark { background: none; background-image: linear-gradient(rgba(255, 196, 0, 0.34), rgba(255, 196, 0, 0.34)); background-repeat: no-repeat; background-size: 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mention { border-radius: 4px; padding: 0 2px; margin: 0 -2px; }
.rcaret { display: none; width: 1.5px; height: 15px; margin-left: 1px; background: #1d1d1f; vertical-align: -2px; }
.typing { color: #1d1d1f; }
.resolved { display: none; align-items: center; justify-content: center; gap: 7px; min-height: 36px; border-radius: 9px; background: rgba(47, 158, 85, 0.12); color: #237a41; font-size: 13.5px; font-weight: 650; }

.gcard { position: relative; overflow: hidden; will-change: transform; }
.gcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 91, 214, 0.11), transparent 45%); }
.gcard:hover::after { opacity: 1; }

.plan.featured::before { content: ""; position: absolute; inset: -2px; border-radius: 22px; padding: 2px; pointer-events: none; background: conic-gradient(from var(--a), transparent 0deg, transparent 220deg, #a9a9f7 290deg, #fff 320deg, #a9a9f7 340deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0.9; }
.price-word { display: inline-block; }

details p { overflow: hidden; }
details.closing summary::after { transform: none; }

.closing-box { position: relative; overflow: hidden; isolation: isolate; }
.closing-box > *:not(.closing-light) { position: relative; z-index: 1; }
.closing-light { position: absolute; left: 70%; top: 30%; width: 640px; height: 640px; translate: -50% -50%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(124, 124, 242, 0.42), rgba(91, 91, 214, 0.12) 55%, transparent); }

