/* ============================================================================
   Landing page ("Quiet Workspace"). Lilac tokens from calm_paper.css; layout
   kept deliberately simple: one centred hero, then alternating sections.
   Everything is scoped under .lp so it can't leak into other marketing pages.
   ========================================================================== */

.lp {
  --lp-good-soft: #e8f4ec;
  --lp-warn-soft: #fbf3df;
  --lp-shadow-lift: 0 2px 4px rgba(60, 30, 70, .04), 0 18px 44px -24px rgba(60, 30, 70, .24);
  --lp-shadow-window: 0 2px 6px rgba(60, 30, 70, .05), 0 50px 110px -50px rgba(60, 30, 70, .42), 0 0 0 6px rgba(255, 253, 255, .5);
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(1200px 760px at 6% -6%, rgba(255, 255, 255, .95) 0%, transparent 56%),
    radial-gradient(1000px 760px at 100% 2%, #f1e4f2 0%, transparent 58%),
    var(--paper);
  background-repeat: no-repeat;
}
/* Zero-specificity resets so component rules below always win. */
:where(.lp) :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(.lp) :where(ul, ol) { padding: 0; list-style: none; }
:where(.lp) :where(button) { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

.lp-wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.lp-i { width: 18px; height: 18px; flex: none; }

/* Audience switching */
.lp[data-audience="student"] [data-for="doctor"],
.lp[data-audience="doctor"] [data-for="student"] { display: none !important; }
.lp [data-for] { animation: lp-in .45s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes lp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- Shared type + controls ---------------------------------------------- */
.lp-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lp-eyebrow--muted { color: var(--ink-mute); }
.lp-h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.07; letter-spacing: -.035em; font-weight: 800;
  text-wrap: balance;
}
.lp-h3 { margin-top: 12px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
.lp-lede { margin-top: 16px; max-width: 54ch; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--ink-mute); text-wrap: pretty; }
.lp-fine { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.lp-accent { color: var(--accent); }
.lp-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.lp-note .lp-i { width: 15px; height: 15px; color: var(--accent); }

.lp-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.lp-head--center { margin-inline: auto; text-align: center; }
.lp-head--center .lp-lede { margin-inline: auto; }

.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, border-color .18s ease;
}
.lp-btn .lp-i { width: 15px; height: 15px; }
.lp-btn--primary { background: var(--accent); color: #fff; border: 0; box-shadow: 0 12px 26px -14px rgba(122, 62, 134, .85); }
.lp-btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.lp-btn--ghost { background: rgba(255, 253, 255, .72); border: 1px solid var(--rule); color: var(--ink-soft); }
.lp-btn--ghost:hover { background: var(--cp-card); }
.lp-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.lp-btn--xs { min-height: 32px; padding: 0 13px; font-size: 12.5px; }
.cp-page .lp a.lp-btn--primary, .cp-page .lp input.lp-btn--primary { color: #fff; }
.cp-page .lp a.lp-btn--ghost { color: var(--ink-soft); }

.lp-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-actions--left { justify-content: flex-start; margin-top: 0; }

.lp-tag {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11.5px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; vertical-align: middle;
}
.lp-tag--good { background: var(--lp-good-soft); color: #2c6a47; }
.lp-tag--soon { background: var(--lp-warn-soft); color: #7e5d17; }
.lp-tag--muted { background: var(--paper-2); color: var(--ink-mute); }
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(59, 138, 93, .14); flex: none; }

.lp-card { background: var(--cp-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.lp-avatar {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800;
}
.lp-avatar--warm { background: #f6e7dc; color: #8a5432; }

.lp-sec { padding: clamp(80px, 10vw, 128px) 0; }

/* ---- Nav --------------------------------------------------------------- */
.lp-navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 246, .78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.lp-navbar .site-nav { padding: 14px 0; }

/* ---- Hero -------------------------------------------------------------- */
.lp-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(80px, 9vw, 112px); text-align: center; }
.lp-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 253, 255, .7); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
}
.lp-kicker--plain { margin-top: 26px; background: transparent; border: 0; }

.lp-seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: fit-content;
  margin: 26px auto 0; padding: 5px; border-radius: 999px;
  background: rgba(239, 230, 240, .85); border: 1px solid var(--line);
}
.lp-seg__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--cp-card);
  box-shadow: 0 1px 2px rgba(60, 30, 70, .06), 0 8px 20px -10px rgba(60, 30, 70, .3);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.lp[data-audience="doctor"] .lp-seg__thumb { transform: translateX(100%); }
.lp-seg button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 800; color: var(--ink-mute); white-space: nowrap;
}
.lp-seg button .lp-i { width: 17px; height: 17px; color: var(--ink-faint); }
.lp-seg button[aria-pressed="true"] { color: var(--ink); }
.lp-seg button[aria-pressed="true"] .lp-i { color: var(--accent); }

.lp-hero__title {
  max-width: 17ch; margin: 26px auto 0; text-wrap: balance;
  font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800;
}
.lp-hero__title .lp-accent { display: block; }
.lp-hero__lede { max-width: 40ch; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-mute); text-wrap: balance; }
.lp-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--ink-mute); }
.lp-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust .lp-i { width: 15px; height: 15px; color: var(--accent); }

/* Stage: one app window and one floating card */
.lp-stage { position: relative; max-width: 1040px; margin: clamp(52px, 7vw, 80px) auto 0; text-align: left; }
.lp-stage::before {
  content: ""; position: absolute; inset: -60px -40px -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 48% at 50% 40%, rgba(214, 177, 222, .45) 0%, transparent 70%);
  filter: blur(10px);
}
.lp-window {
  position: relative; overflow: hidden; border-radius: 22px;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(255, 255, 255, .9) 0%, transparent 60%),
    var(--paper);
  border: 1px solid var(--rule);
  box-shadow: var(--lp-shadow-window);
}
.lp-window--flat { box-shadow: var(--lp-shadow-lift); }
.lp-window__bar {
  display: grid; grid-template-columns: 70px 1fr 70px; align-items: center;
  height: 44px; padding: 0 16px; background: rgba(255, 253, 255, .6); border-bottom: 1px solid var(--line);
}
.lp-window__dots { display: flex; gap: 7px; }
.lp-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3d6e5; }
.lp-window__url {
  justify-self: center; display: inline-flex; align-items: center; gap: 7px;
  height: 27px; padding: 0 14px; border-radius: 9px; background: rgba(239, 230, 240, .75);
  font-size: 12px; font-weight: 700; color: var(--ink-mute);
}
.lp-window__url .lp-i { width: 12px; height: 12px; color: var(--good); }

.lp-app { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 480px; font-size: 13px; }
.lp-app__side { display: flex; flex-direction: column; padding: 20px 10px 16px 14px; }
.lp-logo { display: flex; align-items: center; gap: 9px; padding: 0 8px; font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.lp-logo__mark { width: 24px; height: 24px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }
.lp-logo__mark::after { content: ""; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; }
.lp-mnav { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.lp-mnav li {
  display: flex; align-items: center; gap: 11px;
  min-height: 36px; padding: 0 11px; border-radius: 11px;
  font-size: 13px; font-weight: 700; color: var(--ink-mute);
}
.lp-mnav .lp-i { width: 16px; height: 16px; color: var(--ink-faint); }
.lp-mnav li.is-on, .lp-mnav li.is-first {
  background: var(--cp-card); color: var(--ink);
  box-shadow: 0 1px 2px rgba(60, 30, 70, .04), 0 8px 20px -14px rgba(60, 30, 70, .3);
}
.lp-mnav li.is-on .lp-i, .lp-mnav li.is-first .lp-i { color: var(--accent); }
.lp-app__account { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px; }
.lp-app__account b { display: block; font-size: 12px; font-weight: 800; line-height: 1.2; }
.lp-app__account small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-faint); }

.lp-app__main { min-width: 0; display: flex; flex-direction: column; padding: 18px 24px 22px 10px; }
.lp-app__top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.lp-app__title { margin-right: auto; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.lp-mpill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 253, 255, .75);
  font-size: 11.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap;
}
.lp-mpill .lp-i { width: 13px; height: 13px; color: var(--ink-mute); }
.lp-mcard { background: var(--cp-card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }

.lp-sp { display: flex; flex-direction: column; flex: 1; padding: 14px; max-width: calc(100% - 290px); }
.lp-sp__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lp-sp__head b { display: block; font-size: 13px; font-weight: 800; }
.lp-sp__head small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-faint); }
.lp-sp__head .lp-tag { margin-left: auto; }
.lp-sp__chat { display: flex; flex-direction: column; gap: 9px; padding: 14px 2px; flex: 1; }
.lp-bub { max-width: 86%; padding: 9px 12px; border-radius: 14px; border-bottom-left-radius: 5px; background: var(--paper); font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--ink-soft); }
.lp-bub--me { align-self: flex-end; border-radius: 14px; border-bottom-right-radius: 5px; background: var(--accent-wash); border: 1px solid rgba(122, 62, 134, .12); color: var(--ink); }
.lp-sp__input, .lp-composer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 42px; padding: 0 6px 0 14px; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--cp-card);
  font-size: 12.5px; font-weight: 600; color: var(--ink-faint);
}
.lp-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; flex: none; }
.lp-send .lp-i { width: 15px; height: 15px; stroke-width: 2.2; }

.lp-thread { display: flex; flex-direction: column; gap: 12px; flex: 1; max-width: calc(100% - 290px); }
.lp-ask {
  align-self: flex-end; width: fit-content; max-width: 88%; margin-left: auto;
  padding: 10px 14px; border-radius: 16px; border-bottom-right-radius: 5px;
  background: var(--accent-wash); border: 1px solid rgba(122, 62, 134, .12);
  font-size: 13px; font-weight: 700; line-height: 1.45;
}
.lp-answer { padding: 16px 18px; }
.lp-answer__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 11.5px; font-weight: 800; color: var(--ink-mute); }
.lp-answer__ctx { color: var(--accent); }
.lp-glyph { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); }
.lp-glyph .lp-i { width: 13px; height: 13px; }
.lp-answer p { font-size: 13px; line-height: 1.55; font-weight: 600; color: var(--ink-soft); }
.lp-answer p + p { margin-top: 8px; }
.lp-answer b { color: var(--ink); font-weight: 800; }
.lp-answer ul { margin-top: 9px; display: grid; gap: 6px; }
.lp-answer li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.5; font-weight: 600; color: var(--ink-soft); }
.lp-answer li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; }
.lp-composer { margin-top: auto; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 10px 10px 16px; border-radius: 18px; }
.lp-composer__row { display: flex; align-items: center; justify-content: space-between; }

.lp-float {
  position: absolute; right: -36px; bottom: -44px; z-index: 2; width: 300px;
  padding: 16px; border-radius: 20px;
  background: var(--cp-card); border: 1px solid var(--rule);
  box-shadow: 0 2px 4px rgba(60, 30, 70, .05), 0 34px 70px -30px rgba(60, 30, 70, .45);
  font-size: 13px;
}
.lp-float__head { display: flex; align-items: center; gap: 10px; }
.lp-float__head b { display: block; font-size: 13px; font-weight: 800; line-height: 1.2; }
.lp-float__head small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-faint); }
.lp-float__head .lp-tag { margin-left: auto; }
.lp-float__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.lp-float__icon .lp-i { width: 16px; height: 16px; }
.lp-progress { height: 6px; margin-top: 12px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.lp-progress i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.lp-ticks { margin-top: 10px; }
.lp-ticks li { display: flex; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--ink-mute); }
.lp-ticks li:first-child { border-top: 0; }
.lp-ticks li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--rule); box-sizing: border-box; }
.lp-ticks li.is-done { color: var(--ink); }
.lp-ticks li.is-done::before {
  border: 0;
  background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.lp-soap { margin-top: 12px; }
.lp-soap > div { display: grid; grid-template-columns: 22px 1fr; gap: 9px; padding: 8px 0; border-top: 1px solid var(--line); }
.lp-soap > div:first-child { border-top: 0; }
.lp-soap dt { font-size: 11px; font-weight: 900; line-height: 20px; text-align: center; color: var(--accent); background: var(--accent-wash); border-radius: 6px; }
.lp-soap dd { font-size: 12px; line-height: 1.45; font-weight: 600; color: var(--ink-soft); }
.lp-float__foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--ink-mute); }
.lp-float__foot .lp-i { width: 13px; height: 13px; color: var(--good); }

/* ---- Section order follows the audience --------------------------------- */
.lp-flow { display: flex; flex-direction: column; }
.lp-sec--query { order: 1; } .lp-sec--made { order: 2; } .lp-sec--study { order: 3; }
.lp-sec--privacy { order: 4; } .lp-sec--scribe { order: 5; }
.lp[data-audience="doctor"] .lp-sec--privacy { order: 1; }
.lp[data-audience="doctor"] .lp-sec--scribe { order: 2; }
.lp[data-audience="doctor"] .lp-sec--query { order: 3; }
.lp[data-audience="doctor"] .lp-sec--made { order: 4; }
.lp[data-audience="doctor"] .lp-sec--study { order: 5; }

/* Soft alternating washes keep sections distinct without hard bands. */
.lp-sec--query, .lp-sec--privacy { background: radial-gradient(800px 520px at 85% 45%, rgba(255, 255, 255, .7) 0%, transparent 70%); }
.lp-sec--made, .lp-sec--scribe { background: radial-gradient(900px 520px at 20% 50%, rgba(240, 227, 242, .75) 0%, transparent 70%); }

/* ---- Query contexts ------------------------------------------------------ */
.lp-ctx { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.lp-ctx__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.lp-ctx__list { display: grid; gap: 6px; }
.lp-ctx__tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 13px 16px; border-radius: 16px; border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lp-ctx__tab:hover { background: rgba(255, 253, 255, .7); }
.lp-ctx__tab[aria-selected="true"] { background: var(--cp-card); border-color: rgba(122, 62, 134, .22); box-shadow: var(--shadow-soft); }
.lp-ctx__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--paper-2); color: var(--ink-mute); flex: none; transition: background-color .18s ease, color .18s ease; }
.lp-ctx__tab[aria-selected="true"] .lp-ctx__icon { background: var(--accent-soft); color: var(--accent); }
.lp-ctx__tab strong { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.lp-ctx__tab small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.lp-ctx__body { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.lp-ctx__body .lp-ask { font-size: 15px; padding: 12px 16px; }
.lp-answer--lg { min-height: 214px; padding: 20px 22px; animation: lp-in .4s cubic-bezier(.2, .75, .2, 1) both; }
.lp-answer--lg p { font-size: 15px; line-height: 1.62; }
.lp-answer--lg .lp-answer__meta { font-size: 12.5px; margin-bottom: 12px; }
.lp-try { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.lp-try__label { margin-bottom: 10px; font-size: 13px; font-weight: 800; color: var(--ink-mute); }

/* ---- Made for you -------------------------------------------------------- */
.lp-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.lp-mini { padding: 18px 14px; border-radius: 24px; background: rgba(255, 253, 255, .66); border: 1px solid var(--line); }
.lp[data-audience="student"] .lp-mini[data-role="student_clinical"],
.lp[data-audience="doctor"] .lp-mini[data-role="gp"] { background: var(--cp-card); box-shadow: var(--lp-shadow-lift); border-color: rgba(122, 62, 134, .18); }
.lp-mini figcaption { display: flex; align-items: center; gap: 10px; padding: 0 8px 14px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 800; }
.lp-mini__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.lp-mini__icon .lp-i { width: 15px; height: 15px; }
.lp-mini .lp-mnav { margin-top: 12px; }
.lp-mini__first { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--accent-wash); color: var(--accent); font-size: 10.5px; font-weight: 800; }
.lp-mnav__more { min-height: 26px !important; margin-top: 4px; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint) !important; }
.lp-mnav li.is-more { min-height: 32px; font-size: 12.5px; color: var(--ink-faint); }
.lp-mini__ctx { margin: 12px 8px 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-mute); }
.lp-mini__ctx b { display: block; margin-top: 2px; font-size: 13px; font-weight: 800; color: var(--ink); }

/* ---- Study -------------------------------------------------------------- */
.lp-study { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-study__card { padding: 24px; }
.lp-study__card h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lp-study__card > p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); }
.lp-plist { margin-top: 18px; display: grid; gap: 8px; }
.lp-plist li { display: flex; align-items: center; gap: 12px; }
.lp-plist__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.lp-plist__icon .lp-i { width: 16px; height: 16px; }
.lp-plist b { display: block; font-size: 14px; font-weight: 800; }
.lp-plist small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-mute); }
.lp-bars { margin-top: 20px; display: grid; gap: 12px; }
.lp-bar { display: grid; grid-template-columns: 88px 1fr 38px; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.lp-bar b { text-align: right; }
.lp-bar__track { height: 7px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.lp-bar__track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.lp-bar.is-weak .lp-bar__track i { background: var(--warn); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.lp-chips span { padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.lp-cpd { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.lp-ring {
  display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--paper-2) 0);
}
.lp-ring span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--cp-card); font-size: 13px; font-weight: 800; }
.lp-cpd__rows { display: grid; gap: 8px; min-width: 0; }
.lp-cpd__rows b { display: block; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-cpd__rows small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-mute); }

.lp-exams { margin-top: clamp(40px, 5vw, 56px); }
.lp-exams h3 { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.lp-exams ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-exams a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 253, 255, .75); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-mute);
  transition: background-color .15s ease, border-color .15s ease;
}
.lp-exams a:hover { background: var(--cp-card); border-color: rgba(122, 62, 134, .25); }
.lp-exams b { color: var(--ink); font-weight: 800; }

/* ---- Privacy ------------------------------------------------------------ */
.lp-privacy__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.lp-mega { margin-top: 14px; font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.lp-mega span { display: block; }
.lp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 60px); }
.lp-fact { padding: 22px; }
.lp-fact__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lp-good-soft); color: var(--good); }
.lp-fact__icon .lp-i { width: 19px; height: 19px; }
.lp-fact h3 { margin-top: 16px; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.lp-fact p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-mute); }

.lp-how { margin-top: 18px; padding: 24px 26px; border-radius: var(--radius); background: rgba(255, 253, 255, .6); border: 1px solid var(--line); }
.lp-how__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-how__head h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.lp-how__head p { font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.lp-how__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 20px; position: relative; }
.lp-how__flow::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: linear-gradient(90deg, var(--accent-soft), var(--rule)); }
.lp-how__flow li { position: relative; display: grid; gap: 12px; }
.lp-node { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--cp-card); border: 1px solid var(--line); color: var(--ink-mute); box-shadow: var(--shadow-soft); }
.lp-node--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.lp-node--good { background: var(--lp-good-soft); color: var(--good); }
.lp-how__flow h4 { font-size: 15px; font-weight: 800; }
.lp-how__flow p { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }
.lp-branch { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(194, 79, 72, .09); color: #9a3b35; font-size: 12px; font-weight: 800; }
.lp-branch .lp-i { width: 13px; height: 13px; }

/* ---- Scribe ------------------------------------------------------------- */
.lp-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.lp-steps { margin-top: 32px; display: grid; gap: 22px; }
.lp-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.lp-steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--cp-card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); color: var(--accent); font-size: 15px; font-weight: 800; }
.lp-steps h3 { margin-top: 1px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.lp-steps p { margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); }

.lp-scribe__body { display: grid; gap: 14px; padding: 20px; }
.lp-rec { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--cp-card); border: 1px solid var(--line); }
.lp-rec__btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; flex: none; box-shadow: 0 0 0 6px var(--accent-soft); }
.lp-rec__time { font-size: 13px; font-weight: 800; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.lp-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 30px; min-width: 0; overflow: hidden; }
.lp-wave i { flex: 1; min-width: 2px; max-width: 5px; height: 30%; border-radius: 3px; background: color-mix(in srgb, var(--accent) 55%, white); animation: lp-wave 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.13s); }
@keyframes lp-wave { 0%, 100% { height: 22%; } 50% { height: 90%; } }
.lp-consent { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--lp-good-soft); font-size: 13px; font-weight: 700; color: #2c6a47; }
.lp-consent__box { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--good); color: #fff; flex: none; }
.lp-consent__box .lp-i { width: 12px; height: 12px; stroke-width: 3; }
.lp-note-card { padding: 16px 18px; border-radius: 16px; background: var(--cp-card); border: 1px solid var(--line); }
.lp-note-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 6px; }
.lp-note-card__head b { display: block; font-size: 15px; font-weight: 800; }
.lp-note-card__head small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.lp-minseg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.lp-minseg button { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--ink-mute); }
.lp-minseg button[aria-pressed="true"] { background: var(--cp-card); color: var(--ink); box-shadow: 0 1px 3px rgba(60, 30, 70, .1); }
.lp-note-card__sec { padding: 11px 0; border-top: 1px solid var(--line); }
.lp-note-card__sec h4 { font-size: 11.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lp-note-card__sec p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.lp-note-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink-mute); }
.lp-note-card__foot > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.lp-note-card__foot .lp-i { width: 14px; height: 14px; color: var(--good); }
.lp-note-card__acts { display: flex; gap: 6px; }
.lp-note-card__acts .lp-btn--primary .lp-i { color: #fff; }

/* ---- Proof -------------------------------------------------------------- */
.lp-sec--proof { padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
.lp-price { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding: clamp(26px, 3.5vw, 40px); border-radius: 26px; background: var(--cp-card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.lp-price__line { margin-top: 12px; max-width: 20ch; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.lp-price__sub { margin-top: 10px; font-size: 15px; color: var(--ink-mute); }
.lp-price__actions { display: grid; gap: 14px; }
.lp-price__actions .site-stores { margin-top: 0; }

.lp-quote { max-width: 860px; margin: clamp(56px, 7vw, 88px) auto 0; text-align: center; }
.lp-quote blockquote { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.38; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.lp-quote figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; text-align: left; }
.lp-quote figcaption b { display: block; font-size: 15px; font-weight: 800; }
.lp-quote figcaption small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-mute); }

.lp-partners { margin-top: clamp(56px, 7vw, 80px); text-align: center; }
.lp-partners__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 30px; margin-top: 20px; }
.lp-partners__logos img { height: 34px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: opacity .2s ease, filter .2s ease; }
.lp-partners__logos img:hover { filter: none; opacity: 1; }

.lp-founders { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.lp-founders > div > p:last-child { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink-mute); }
.lp-team { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-team li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 253, 255, .7); border: 1px solid var(--line); }
.lp-team .lp-avatar { width: 40px; height: 40px; font-size: 15px; }
.lp-team b { display: block; font-size: 15px; font-weight: 800; }
.lp-team small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-mute); }

/* ---- Contact + final CTA + footer ---------------------------------------- */
.lp-sec--contact { padding-top: 0; }
.lp-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.lp-contact__panel { padding: 26px; }
.lp-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--accent); font-weight: 700; }
.cp-page .lp a.lp-mail { color: var(--accent); }

.lp-final { padding: clamp(72px, 9vw, 120px) 0; text-align: center; background: radial-gradient(700px 420px at 50% 40%, rgba(240, 227, 242, .95) 0%, transparent 70%); }
.lp-final .lp-lede { margin-inline: auto; }
.lp-final__mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 16px; background: var(--accent); box-shadow: 0 14px 30px -14px rgba(122, 62, 134, .8); }
.lp-final__mark::after { content: ""; width: 15px; height: 15px; border: 4px solid #fff; border-radius: 50%; }

.lp-foot { width: min(1160px, 100% - 48px); margin: 0 auto; padding-bottom: 40px; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
  .lp-float { right: 16px; }
}
@media (max-width: 1024px) {
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-study { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .lp-ctx, .lp-split, .lp-privacy__head, .lp-founders, .lp-contact { grid-template-columns: minmax(0, 1fr); }
  .lp-privacy__head { align-items: start; }
}
@media (max-width: 860px) {
  .lp-app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .lp-app__side { display: none; }
  .lp-app__main { padding: 16px 16px 40px; }
  .lp-sp, .lp-thread { max-width: none; }
  .lp-stage { display: flex; flex-direction: column; }
  .lp-float { position: relative; right: auto; bottom: auto; width: auto; margin: -28px 16px 0; }
  .lp-minis {
    grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 6px 24px 18px; scrollbar-width: none;
  }
  .lp-minis::-webkit-scrollbar { display: none; }
  .lp-mini { scroll-snap-align: center; }
  .lp-how__flow { grid-template-columns: minmax(0, 1fr); }
  .lp-how__flow::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(var(--accent-soft), var(--rule)); }
  .lp-how__flow li { grid-template-columns: 44px 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .lp-wrap, .lp-foot { width: calc(100% - 40px); }
  .lp-seg button { padding: 0 13px; font-size: 13.5px; min-height: 42px; }
  .lp-seg button .lp-i { display: none; }
  .lp-kicker { font-size: 12px; }
  .lp-actions .lp-btn { flex: 1 1 100%; }
  .lp-trust { gap: 6px 14px; font-size: 13px; }
  .lp-window { border-radius: 18px; }
  .lp-window__bar { grid-template-columns: 40px 1fr 40px; height: 38px; padding: 0 12px; }
  .lp-window__dots i { width: 8px; height: 8px; }
  .lp-window__url { font-size: 11px; height: 24px; padding: 0 10px; }
  .lp-app__top .lp-mpill { display: none; }
  .lp-bub { font-size: 12px; max-width: 92%; }
  .lp-ticks li:nth-child(n+5) { display: none; }
  .lp-facts { grid-template-columns: minmax(0, 1fr); }
  .lp-ctx__list { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; }
  .lp-ctx__list::-webkit-scrollbar { display: none; }
  .lp-ctx__tab { flex: none; width: auto; padding: 9px 14px; border-radius: 999px; border-color: var(--line); background: rgba(255, 253, 255, .6); }
  .lp-ctx__tab .lp-ctx__icon, .lp-ctx__tab small { display: none; }
  .lp-ctx__tab strong { font-size: 13.5px; white-space: nowrap; }
  .lp-answer__meta { flex-wrap: wrap; }
  .lp-ctx__body, .lp-scribe__body { padding: 14px; }
  .lp-answer--lg { min-height: 0; }
  .lp-answer--lg p { font-size: 14.5px; }
  .lp-team { grid-template-columns: minmax(0, 1fr); }
  .lp-price__actions, .lp-price__actions .lp-actions { width: 100%; }
  .lp-note-card__acts { width: 100%; }
  .lp-note-card__acts .lp-btn { flex: 1; }
  .lp-navbar { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .lp [data-for], .lp-answer--lg { animation: none; }
  .lp-seg__thumb { transition: none; }
  .lp-wave i { animation: none; height: 50%; }
  .lp-btn--primary:hover { transform: none; }
}
