/* public/landing.css — the public landing page (public/landing.html).
   The app's own tokens (styles.css): Plex Sans, the ink, the Sidi Bou blue
   and the navy rail — so the page and the product read as one thing. One
   light theme, like the app. */
:root {
  --ink: #16181D;
  --ink-2: #3F444D;
  --muted: #5F6570;
  --line: #E4E7EC;
  --line-2: #D3D7DF;
  --bg: #FFFFFF;
  --tint: #F6F7F9;
  --accent: #2E4BDB;
  --accent-hover: #2743C9;
  --accent-ink: #2743C9;
  --navy: #151E4A;
  --navy-2: #1D2960;
  --r-sm: 8px;
  --r: 10px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgb(16 24 40 / 5%), 0 18px 48px -18px rgb(16 24 40 / 28%);
  --wrap: 1180px;
  --gutter: 24px;
  --surface: #FFFFFF;
  --faint: #8A909B;
  --hover-line: #B9BFCB;
  --nav-bg: rgb(255 255 255 / 86%);
  --bar: #B4B9C4;
  --frame-ring: rgb(255 255 255 / 55%);
  --phone-edge: #0E1330;
  color-scheme: light;
}

/* Dark: blue, black and white — the navy of the app's rail taken down to
   near-black, the same Sidi Bou blue on top. Follows the device unless the
   visitor chose (the switch in the header sets data-theme). The screenshots
   stay light: they are the real app, which has one theme. */
:root[data-theme="dark"] {
  --ink: #F2F4FB;
  --ink-2: #C9CFE8;
  --muted: #9AA2C6;
  --faint: #7078A0;
  --line: #1E2442;
  --line-2: #2B3358;
  --bg: #080B19;
  --tint: #0D1124;
  --surface: #11162E;
  --accent: #3A57EA;
  --accent-hover: #4C68F2;
  --accent-ink: #A5B5FF;
  --hover-line: #3C4675;
  --nav-bg: rgb(8 11 25 / 82%);
  --bar: #3C4675;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 22px 56px -18px rgb(0 0 0 / 70%);
  --frame-ring: rgb(165 181 255 / 18%);
  --phone-edge: #2A3366;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F2F4FB;
    --ink-2: #C9CFE8;
    --muted: #9AA2C6;
    --faint: #7078A0;
    --line: #1E2442;
    --line-2: #2B3358;
    --bg: #080B19;
    --tint: #0D1124;
    --surface: #11162E;
    --accent: #3A57EA;
    --accent-hover: #4C68F2;
    --accent-ink: #A5B5FF;
    --hover-line: #3C4675;
    --nav-bg: rgb(8 11 25 / 82%);
    --bar: #3C4675;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 22px 56px -18px rgb(0 0 0 / 70%);
    --frame-ring: rgb(165 181 255 / 18%);
    --phone-edge: #2A3366;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 16px/1.6 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.lp-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

html[data-auth="in"] .lp-when-out { display: none !important; }
html[data-auth="out"] .lp-when-in { display: none !important; }

.lp-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.lp-narrow { max-width: calc(880px + 2 * var(--gutter)); }

/* ───────── buttons ───────── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: var(--r-sm);
  font: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lp-btn-lg { height: 46px; padding: 0 22px; font-size: 15.5px; }
.lp-btn-primary { background: var(--accent); color: #fff; }
.lp-btn-primary:hover { background: var(--accent-hover); }
.lp-btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.lp-btn-ghost:hover { border-color: var(--hover-line); }
.lp-btn-quiet { color: var(--ink); }
.lp-btn-quiet:hover { background: var(--tint); }
.lp-btn-light { background: #fff; color: var(--navy); }
.lp-btn-light:hover { background: #E9ECF8; }
.lp-btn-outline { color: #fff; border-color: rgb(255 255 255 / 35%); }
.lp-btn-outline:hover { border-color: #fff; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── header ───────── */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.lp-nav.is-scrolled { border-bottom-color: var(--line); }
.lp-nav-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.lp-logo img { border-radius: 7px; }
.lp-logo-bar { color: var(--bar); font-weight: 400; margin: 0 1px; }
.lp-links { display: flex; gap: 4px; }
.lp-links a { padding: 6px 10px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.lp-links a:hover { color: var(--ink); background: var(--tint); }
.lp-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lp-menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; position: relative; }
.lp-menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.lp-menu-btn span:first-child { top: 16px; }
.lp-menu-btn span:last-child { top: 23px; }
.lp-menu-btn[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.lp-menu-btn[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.lp-menu { display: none; }

/* ───────── hero ───────── */
.lp-hero { padding-top: 72px; }
.lp-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 5px 12px 5px 10px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink-2); background: var(--surface);
}
.lp-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lp-hero h1 {
  font-size: clamp(40px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -0.038em;
  max-width: 900px; text-wrap: balance;
}
.lp-lede { margin: 22px 0 32px; max-width: 640px; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.lp-hero .lp-actions { justify-content: center; }

.lp-hero-stage {
  margin-top: 64px; position: relative;
  /* the app's own navy rail, as a floor under the product */
  background:
    radial-gradient(900px 360px at 50% 100%, rgb(46 75 219 / 38%), transparent 70%),
    linear-gradient(to bottom, transparent 0 42%, var(--navy) 42% 100%);
  padding-bottom: 72px;
}
.lp-hero-frame { position: relative; }
.lp-shot {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.lp-shot img { width: 100%; }
.lp-shot-hero { border-color: rgb(255 255 255 / 60%); box-shadow: 0 30px 80px -24px rgb(8 12 40 / 55%), 0 0 0 6px var(--frame-ring); }
.lp-float {
  position: absolute; margin: 0; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: 0 24px 60px -20px rgb(8 12 40 / 50%);
}
.lp-float-transcript { width: 290px; right: -12px; bottom: -40px; }
.lp-phone {
  margin: 0; border-radius: 34px; overflow: hidden; background: #fff;
  border: 7px solid var(--phone-edge); box-shadow: 0 28px 60px -22px rgb(8 12 40 / 55%);
}
.lp-phone-hero { display: none; }

/* ───────── proof ───────── */
.lp-proof { padding: 40px 0 8px; }
.lp-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-stat { padding: 22px 20px; display: flex; flex-direction: column-reverse; gap: 2px; }
.lp-stat + .lp-stat { border-left: 1px solid var(--line); }
.lp-stat dd { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-stat dt { font-size: 13.5px; color: var(--muted); }
.lp-proof-line { margin: 0; padding: 22px 0; text-align: center; color: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-proof-note { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); text-align: center; }

/* ───────── sections ───────── */
.lp-sec { padding: 112px 0; }
.lp-sec-tint { background: var(--tint); }
.lp-head { max-width: 680px; margin-bottom: 48px; }
.lp-label { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }
.lp-sec h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.032em; text-wrap: balance; }
.lp-head p:not(.lp-label), .lp-split-copy > p:not(.lp-label) { margin: 18px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.lp-points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.lp-points li { border-top: 1px solid var(--line-2); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.lp-points b { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.lp-points span { font-size: 15px; color: var(--muted); line-height: 1.55; }
.lp-fine { margin: 28px 0 0; font-size: 13px; color: var(--faint); }

.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.lp-split-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.lp-split-rev { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.lp-split-rev .lp-split-copy { order: 2; }
.lp-split-media { position: relative; }
.lp-phone-side { position: absolute; width: 170px; right: -22px; bottom: -56px; }
.lp-float-bell { width: 250px; left: -48px; bottom: -48px; }
.lp-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-list li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-2); }
.lp-list li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.lp-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.lp-arrow::after { content: '→'; transition: transform .15s ease; }
.lp-arrow:hover::after { transform: translateX(3px); }

/* ───────── bento ───────── */
.lp-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.lp-tile {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; min-height: 0;
}
.lp-tile-copy { padding: 26px 28px 0; }
.lp-tile h3 { font-size: 17px; letter-spacing: -0.01em; }
.lp-tile p { margin: 6px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.lp-tile > img { margin-top: auto; }
.lp-tile-research { grid-column: 1 / 7; grid-row: 1 / 3; }
.lp-tile-research > img { margin: 24px 0 0 28px; width: calc(100% - 28px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-top-left-radius: var(--r); }
.lp-tile-bell { grid-column: 7 / 13; grid-row: 1; flex-direction: row; align-items: flex-end; }
.lp-tile-bell .lp-tile-copy { flex: 1; padding-bottom: 26px; align-self: flex-start; }
.lp-tile-bell > img { width: 46%; margin: 22px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-top-left-radius: var(--r); }
.lp-tile-phone { grid-column: 7 / 13; grid-row: 2; flex-direction: row; align-items: flex-end; }
.lp-tile-phone .lp-tile-copy { flex: 1; align-self: flex-start; padding-bottom: 26px; }
.lp-tile-phone > img { width: 36%; margin: 22px 28px 0 0; border: 6px solid var(--phone-edge); border-bottom: 0; border-radius: 26px 26px 0 0; height: 250px; object-fit: cover; object-position: top; }
.lp-tile-text { grid-column: span 4; padding: 26px 28px; background: var(--surface); }

/* ───────── audience ───────── */
.lp-who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.lp-who li { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.lp-who b { color: var(--ink); font-size: 17px; font-weight: 600; }
.lp-who span { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ───────── comparison ───────── */
.lp-table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-table th, .lp-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lp-table tr:last-child th, .lp-table tr:last-child td { border-bottom: 0; }
.lp-table thead th { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--tint); }
.lp-table thead th:last-child { color: var(--accent-ink); }
.lp-table tbody th { color: var(--ink); font-weight: 600; width: 24%; }
.lp-table td { color: var(--muted); width: 38%; }
.lp-table td:last-child { color: var(--ink); }

/* ───────── faq ───────── */
.lp-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; }
.lp-faq-head p:not(.lp-label) { margin: 16px 0 0; color: var(--muted); }
.lp-faq-head a { color: var(--accent-ink); }
.lp-faq-list details { border-bottom: 1px solid var(--line-2); }
.lp-faq-list details:first-child { border-top: 1px solid var(--line-2); }
.lp-faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 16.5px; font-weight: 500; color: var(--ink);
}
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--ink), var(--ink)) center/12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1.5px 12px no-repeat;
  transition: transform .2s ease;
}
.lp-faq-list details[open] summary::after { transform: rotate(45deg); }
.lp-faq-list details p { margin: -4px 0 22px; max-width: 640px; color: var(--muted); font-size: 15.5px; }
.lp-faq-list a { color: var(--accent-ink); }

/* ───────── final ───────── */
.lp-final {
  background:
    radial-gradient(700px 300px at 50% 0%, rgb(46 75 219 / 45%), transparent 70%),
    var(--navy);
  color: #fff; padding: 104px 0;
}
.lp-final-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.lp-final h2 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.032em; max-width: 760px; text-wrap: balance; }
.lp-final .lp-actions { justify-content: center; }

/* ───────── footer ───────── */
.lp-foot { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.lp-foot-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.lp-foot-brand p { margin: 12px 0 0; font-size: 14px; color: var(--muted); max-width: 260px; }
.lp-foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.lp-foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.lp-foot-cols h3 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.lp-foot-cols a { font-size: 14px; color: var(--muted); text-decoration: none; }
.lp-foot-cols a:hover { color: var(--ink); }
.lp-foot-base { position: relative; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }

/* ───────── reveal (landing.js adds .lp-anim; without JS, all is visible) ───────── */
.lp-anim .lp-reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.lp-anim .lp-reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .lp-anim .lp-reveal, .lp-anim .lp-reveal:not(.is-in) { opacity: 1; transform: none; transition: none; }
}

/* ───────── responsive ───────── */
@media (max-width: 1100px) {
  .lp-float-transcript { display: none; }
  .lp-stats { grid-template-columns: repeat(3, 1fr); }
  .lp-stat:nth-child(4) { border-left: 0; }
  .lp-stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .lp-links { display: none; }
  .lp-sec { padding: 80px 0; }
  .lp-split, .lp-split-wide, .lp-faq { grid-template-columns: 1fr; gap: 40px; }
  .lp-split-rev .lp-split-copy { order: 0; }
  .lp-phone-side { width: 130px; right: 8px; bottom: -40px; }
  .lp-float-bell { width: 200px; left: auto; right: 8px; bottom: -36px; }
  .lp-points { grid-template-columns: 1fr; gap: 20px; }
  .lp-who { grid-template-columns: repeat(2, 1fr); }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-tile-research, .lp-tile-bell, .lp-tile-phone, .lp-tile-text { grid-column: auto; grid-row: auto; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .lp-nav-cta .lp-btn { display: none; }
  .lp-menu-btn { display: block; }
  .lp-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 20px;
    border-top: 1px solid var(--line); background: var(--bg);
  }
  .lp-menu a:not(.lp-btn) { padding: 12px 4px; font-size: 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .lp-menu .lp-btn { margin-top: 12px; height: 46px; }
  .lp-hero { padding-top: 44px; }
  .lp-hero-copy { text-align: left; align-items: flex-start; }
  .lp-hero .lp-actions { justify-content: flex-start; }
  .lp-hero-stage { margin-top: 44px; padding-bottom: 48px; background: linear-gradient(to bottom, transparent 0 30%, var(--navy) 30% 100%); }
  .lp-shot-hero { display: none; }
  .lp-phone-hero { display: block; width: min(300px, 78vw); margin: 0 auto; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-stat { padding: 18px 12px; }
  .lp-stat + .lp-stat, .lp-stat:nth-child(4) { border-left: 0; }
  .lp-stat:nth-child(even) { border-left: 1px solid var(--line); }
  .lp-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-stat dd { font-size: 24px; }
  .lp-sec { padding: 64px 0; }
  .lp-head { margin-bottom: 32px; }
  .lp-phone-side { display: none; }
  .lp-float-bell { display: none; }
  .lp-who { grid-template-columns: 1fr; gap: 24px; }
  .lp-tile-bell, .lp-tile-phone { flex-direction: column; align-items: stretch; }
  .lp-tile-bell > img { width: calc(100% - 28px); margin-left: 28px; }
  .lp-tile-phone > img { width: 62%; margin: 0 auto; height: 230px; }
  .lp-table th, .lp-table td { padding: 12px; font-size: 14px; }
  .lp-table tbody th { width: 28%; }
  .lp-foot-cols { gap: 32px 48px; }
}

/* the base rule spans the content, not the gutter */
.lp-foot-base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }

/* Phones: a desktop screenshot shrunk to 360px is unreadable, so the section
   pictures show a close crop instead — the left of the screen, where the
   search, the filters and the first cards are. */
@media (max-width: 700px) {
  .lp-zoom { aspect-ratio: 5 / 4; }
  .lp-zoom img { width: 175%; max-width: none; }
}
@media (max-width: 900px) {
  .lp-tile-research > img { max-height: 520px; object-fit: cover; object-position: top left; }
}

/* ───────── theme switch ───────── */
.lp-theme {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  color: var(--ink-2); cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.lp-theme:hover { border-color: var(--hover-line); color: var(--ink); }
.lp-theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-theme .lp-moon { display: none; }
:root[data-theme="dark"] .lp-theme .lp-sun { display: none; }
:root[data-theme="dark"] .lp-theme .lp-moon { display: block; }

/* The blue mark sits on its own tile; on the dark page a hairline keeps its edge. */
.lp-logo img { box-shadow: 0 0 0 1px var(--line); }

/* Dark: the product floor and the closing band keep their navy, with the
   blue lifted a little so they still read as a surface on near-black. */
:root[data-theme="dark"] .lp-hero-stage {
  background:
    radial-gradient(900px 360px at 50% 100%, rgb(58 87 234 / 45%), transparent 70%),
    linear-gradient(to bottom, transparent 0 42%, #121A45 42% 100%);
}
:root[data-theme="dark"] .lp-final {
  background:
    radial-gradient(700px 300px at 50% 0%, rgb(58 87 234 / 50%), transparent 70%),
    #101741;
  border-top: 1px solid var(--line);
}
:root[data-theme="dark"] .lp-shot { border-color: var(--line-2); }
:root[data-theme="dark"] .lp-float { border-color: var(--line-2); box-shadow: 0 24px 60px -20px rgb(0 0 0 / 75%); }
:root[data-theme="dark"] .lp-phone { box-shadow: 0 0 0 1px var(--line-2), 0 28px 60px -22px rgb(0 0 0 / 75%); }
:root[data-theme="dark"] .lp-tile-research > img,
:root[data-theme="dark"] .lp-tile-bell > img { border-color: var(--line-2); }
@media (max-width: 700px) {
  :root[data-theme="dark"] .lp-hero-stage { background: linear-gradient(to bottom, transparent 0 30%, #121A45 30% 100%); }
}

/* ───────── homepage → guides ───────── */
.lp-guide { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.lp-guide a { color: var(--accent-ink); text-underline-offset: 3px; }

/* ───────── public content pages (content/templates/page.html) ───────── */
.sp-main { padding-top: 32px; }
.sp-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.sp-crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); }
.sp-crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--bar); }
.sp-crumbs a { color: var(--muted); text-decoration: none; }
.sp-crumbs a:hover { color: var(--ink); }
.sp-head h1 { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.sp-lede { margin: 18px 0 0; font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.sp-meta { margin: 16px 0 0; font-size: 13.5px; color: var(--faint); }
.sp-body-text { margin-top: 40px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.sp-body-text h2 { margin: 48px 0 14px; font-size: 25px; line-height: 1.25; letter-spacing: -0.02em; scroll-margin-top: 84px; }
.sp-body-text h3 { margin: 32px 0 10px; font-size: 19px; }
.sp-body-text p { margin: 0 0 16px; }
.sp-body-text ul, .sp-body-text ol { margin: 0 0 18px; padding-left: 22px; }
.sp-body-text li { margin: 0 0 8px; }
.sp-body-text li::marker { color: var(--accent-ink); }
.sp-body-text strong { color: var(--ink); font-weight: 600; }
.sp-body-text a { color: var(--accent-ink); text-underline-offset: 3px; }
.sp-note { font-size: 14px !important; color: var(--faint); line-height: 1.55; }
.sp-table-wrap { margin: 8px 0 20px; border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sp-table th, .sp-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.sp-table tr:last-child th, .sp-table tr:last-child td { border-bottom: 0; }
.sp-table thead th { background: var(--tint); font-size: 13px; font-weight: 600; color: var(--muted); }
.sp-table tbody th { font-weight: 500; color: var(--ink); }
.sp-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-links, .sp-posts { list-style: none; padding: 0 !important; }
.sp-links li { margin: 0 0 10px; }
.sp-related { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.sp-related h2 { font-size: 20px; margin-bottom: 16px; }
.sp-related ul, .sp-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sp-related a, .sp-posts a {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color .15s ease;
}
.sp-related a:hover, .sp-posts a:hover { border-color: var(--hover-line); }
.sp-related b, .sp-posts b { color: var(--ink); font-weight: 600; }
.sp-related span, .sp-posts span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.sp-posts time { font-size: 13px; color: var(--faint); }
.sp-cta { margin-top: 88px; background: radial-gradient(700px 260px at 50% 0%, rgb(46 75 219 / 40%), transparent 70%), var(--navy); color: #fff; padding: 64px 0; }
.sp-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sp-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.02em; max-width: 560px; }
.sp-cta p { margin: 10px 0 0; color: rgb(255 255 255 / 75%); max-width: 560px; }
:root[data-theme="dark"] .sp-cta { background: radial-gradient(700px 260px at 50% 0%, rgb(58 87 234 / 45%), transparent 70%), #101741; }
@media (max-width: 700px) {
  .sp-body-text { font-size: 16.5px; }
  .sp-body-text h2 { font-size: 22px; }
  .sp-table th, .sp-table td { padding: 10px 12px; font-size: 14px; }
}
