/* The website design system (docs/website-design.md). Loaded on every page
   after site.css; components are `lp-`, page templates `pg-`. App screens are
   <mpp-screen> (assets/js/app-screen.js), never screenshots. */

:root { --lp-max: 1240px; --lp-wide: 1360px; --lp-radius: 20px; }
.lp-wrap { max-width: var(--lp-max); margin: 0 auto; padding: 0 24px; }
.lp-section { padding-block: 104px; }
.lp-surface { background: var(--surface); }
.lp-eyebrow { font-size: 14px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.lp-h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.lp-lead { font-size: 18px; color: var(--ink-2); }
.lp-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.lp-head-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.lp-more { font-weight: 600; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .lp-eyebrow { color: #2FB3A8; } }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.lp-btn:hover { text-decoration: none; }
.lp-btn-primary { background: var(--accent); color: #FFFFFF; }
.lp-btn-primary:hover { color: #FFFFFF; filter: brightness(1.08); }
.lp-btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--rule-strong); padding: 8px 20px 8px 8px; }
.lp-btn-quiet:hover { color: var(--ink); background: var(--fill); }
.lp-play { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #FFFFFF; display: grid; place-items: center; }
.lp-btn-quiet .lp-dur { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lp-btn-light { background: #FFFFFF; color: #0E1114; }
.lp-btn-light:hover { color: #0E1114; background: #E4E8EE; }

/* Hero */
.lp-hero { background: var(--surface); overflow: hidden; }
.lp-hero-in { max-width: var(--lp-wide); margin: 0 auto; padding: 88px 24px 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.lp-hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lp-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; }
.lp-hero .lp-lead { font-size: 19px; max-width: 34em; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.lp-ticks li { display: flex; align-items: center; gap: 6px; }
.lp-ticks svg { color: var(--teal); flex: none; }
.lp-hero .h-try { margin: 0; font-size: 14px; color: var(--ink-3); }
/* The home page's beta announcement, above the eyebrow. */
.lp-beta-flag { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.lp-beta-flag:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--ink); text-decoration: none; }
.lp-beta-flag .tag { background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; }

.lp-stage { flex: 1.9 1 640px; min-width: 0; margin: 0; position: relative; padding: 44px 0 84px; }
.lp-decor { position: absolute; height: 92px; border-radius: 46px; }
.lp-decor-1 { top: 0; right: -60px; width: 70%; background: rgba(91,141,239,.16); }
.lp-decor-2 { bottom: 24px; left: -40px; width: 55%; background: rgba(47,179,168,.16); }
.lp-decor-3 { top: 46%; right: -90px; width: 34%; background: rgba(165,118,232,.16); }
.lp-window { position: relative; filter: drop-shadow(0 30px 40px rgba(14,17,20,.22)); }
.lp-float {
  position: absolute; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(14,17,20,.35); font-size: 13px; line-height: 1.3; letter-spacing: 0; color: var(--ink);
}
.lp-float-label { font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.lp-forecast { top: 0; right: -12px; width: 230px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.lp-forecast strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-chip-warn { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--warn-ink); background: var(--warn-soft); padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.lp-insp { top: 40%; left: -32px; width: 236px; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.lp-insp .lp-kv { display: flex; justify-content: space-between; color: var(--ink-2); }
.lp-insp .lp-kv span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-chip-crit { font-size: 11px; font-weight: 600; color: #B42318; background: rgba(215,50,42,.12); padding: 2px 8px; border-radius: 999px; }
.lp-meter { height: 5px; border-radius: 3px; background: var(--rule-strong); overflow: hidden; }
.lp-meter span { display: block; height: 100%; background: var(--critical); }
.lp-avatar { width: 26px; height: 26px; border-radius: 50%; color: #FFFFFF; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex: none; }
.lp-agent { bottom: 14px; right: 18px; width: 300px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; background: rgba(30,30,30,.94); color: #FFFFFF; border-color: transparent; }
.lp-agent-icon { flex: none; width: 32px; height: 32px; border-radius: 9px; background: rgba(157,134,242,.22); color: #9D86F2; display: grid; place-items: center; }
.lp-agent p { color: rgba(255,255,255,.78); }
.lp-agent .lp-undo { font-weight: 600; color: #9D86F2; }
.lp-presence { bottom: 36px; left: 0; border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.lp-presence svg { color: var(--teal); }
@media (prefers-color-scheme: dark) { .lp-chip-crit { color: #FF8F87; background: rgba(255,69,58,.18); } }
@media (max-width: 720px) { .lp-float { display: none; } .lp-stage { padding-bottom: 24px; } }

/* Versions strip */
.lp-strip { border-top: 1px solid var(--rule); background: var(--paper); }
.lp-strip-in { max-width: var(--lp-max); margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.lp-strip p { font-size: 15px; font-weight: 400; color: var(--ink-3); }
.lp-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Dark bands */
.lp-band { background: var(--band); color: var(--band-ink); }
.lp-band .lp-lead, .lp-band p { color: var(--band-ink-2); }
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.lp-stat { border-top: 2px solid; padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.lp-stat strong { font-size: 52px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--band-ink); }
.lp-stat:nth-child(1) { border-color: #5B8DEF; } .lp-stat:nth-child(2) { border-color: #2FB3A8; }
.lp-stat:nth-child(3) { border-color: #A576E8; } .lp-stat:nth-child(4) { border-color: #FF453A; }
.lp-band .lp-h2 { max-width: 22em; }

/* Why switch */
.lp-table-box { overflow-x: auto; border: 1px solid var(--rule-strong); border-radius: var(--lp-radius); background: var(--surface); }
.lp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.lp-table th, .lp-table td { padding: 16px 20px; text-align: left; border: 0; }
.lp-table thead th { background: var(--paper); font-weight: 600; color: var(--ink-2); padding-block: 18px; }
.lp-table thead th.lp-us { background: var(--accent); color: #FFFFFF; font-weight: 700; }
.lp-table tbody tr { border-top: 1px solid var(--rule); }
.lp-table th { font-size: 15px; letter-spacing: 0; text-transform: none; }
.lp-table tbody th { font-weight: 600; color: var(--ink); }
.lp-table td { color: var(--ink-2); }
.lp-table td.lp-us { background: color-mix(in srgb, var(--accent) 7%, transparent); font-weight: 600; color: var(--ok); }

/* Feature tabs */
.lp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.lp-tabs [role="tab"] { font: inherit; font-size: 15px; font-weight: 600; padding: 10px 18px; min-height: 44px; border-radius: 999px; cursor: pointer; background: var(--surface); color: var(--ink); border: 1px solid var(--rule-strong); }
.lp-tabs [role="tab"][aria-selected="true"] { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.lp-panel { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 24px; padding: 40px; }
.lp-panel[hidden], .lp-tabs[hidden] { display: none; }
.lp-panel + .lp-panel { margin-top: 20px; }
.js .lp-panel + .lp-panel { margin-top: 0; }
.lp-panel-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-panel-text h3 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.lp-panel-text p { font-size: 17px; color: var(--ink-2); }
.lp-panel-art { flex: 1.5 1 480px; min-width: 0; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-checks li { display: flex; gap: 10px; align-items: flex-start; }
.lp-checks svg { flex: none; margin-top: 3px; color: var(--teal); }
@media (max-width: 600px) { .lp-panel { padding: 24px; } }

/* Cards */
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.lp-card { background: var(--paper); border-radius: var(--lp-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.lp-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.lp-card p { color: var(--ink-2); }
.lp-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.lp-icon-slate { background: rgba(63,110,140,.14); color: var(--slate); }
.lp-icon-teal { background: rgba(42,132,120,.14); color: var(--teal); }
.lp-icon-agent { background: rgba(102,80,194,.14); color: #6650C2; }
.lp-icon-clay { background: rgba(156,90,98,.14); color: var(--clay); }
@media (prefers-color-scheme: dark) {
  .lp-icon-slate { color: #5B8DEF; } .lp-icon-teal { color: #2FB3A8; } .lp-icon-agent { color: #9D86F2; } .lp-icon-clay { color: #E08A5B; }
}

/* Mission */
.lp-split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.lp-split-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lp-split-text .lp-eyebrow { color: #2FB3A8; }
.lp-split-art { flex: 1.2 1 480px; min-width: 0; }

/* Audiences */
.lp-aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.lp-aud a { color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 18px; padding: 24px; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
.lp-aud a:hover { text-decoration: none; border-color: var(--accent); }
.lp-aud h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.lp-aud p { font-size: 15px; color: var(--ink-2); }
.lp-aud .lp-more { align-self: end; font-size: 15px; color: var(--link); }

/* Project Online */
.lp-po { background: var(--band); color: var(--band-ink); border-radius: 28px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.lp-po-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lp-po-text p { color: var(--band-ink-2); font-size: 18px; }
.lp-chip-amber { align-self: flex-start; font-size: 13px; font-weight: 600; color: #FFC978; background: rgba(255,176,32,.14); padding: 4px 12px; border-radius: 999px; }
.lp-steps { flex: 1 1 380px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.lp-steps li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 18px 20px; }
.lp-steps strong { display: block; color: #FFFFFF; }
.lp-steps .lp-step-text { color: var(--band-ink-2); }
.lp-num { flex: none; width: 32px; height: 32px; border-radius: 50%; color: #FFFFFF; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .lp-po { padding: 32px 24px; } }

/* Plans */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; align-items: stretch; }
.lp-plan { border: 1px solid var(--rule-strong); border-radius: var(--lp-radius); padding: 28px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 18px; align-content: start; background: var(--surface); position: relative; }
.lp-plan h3 { font-size: 20px; font-weight: 700; }
.lp-plan > p { color: var(--ink-2); font-size: 15px; }
.lp-price { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; white-space: nowrap; }
.lp-price-note { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.lp-plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.lp-plan .lp-btn { min-height: 46px; padding: 12px 18px; }
.lp-plan-team { border: 2px solid var(--accent); padding: 27px; box-shadow: 0 30px 60px -36px rgba(14,17,20,.4); }
.lp-plan-tag { position: absolute; top: -14px; left: 26px; font-size: 12px; font-weight: 700; color: #FFFFFF; background: var(--accent); padding: 4px 12px; border-radius: 999px; }
.lp-plan-ent { background: var(--paper); }
.lp-btn-outline { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.lp-btn-outline:hover { color: var(--ink); background: var(--fill); }
.lp-btn-ink { background: var(--ink); color: var(--paper); }
.lp-btn-ink:hover { color: var(--paper); }

/* FAQ */
.lp-faq { display: flex; flex-wrap: wrap; gap: 48px; }
.lp-faq-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-faq-list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--rule-strong); }
.lp-faq details { border-bottom: 1px solid var(--rule-strong); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 600; min-height: 44px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary svg { flex: none; transition: transform .2s; }
.lp-faq details[open] summary svg { transform: rotate(180deg); }
.lp-faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 46em; }

/* Guides */
.lp-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.lp-guides a { color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--lp-radius); overflow: hidden; display: flex; flex-direction: column; }
.lp-guides a:hover { text-decoration: none; border-color: var(--accent); }
.lp-thumb { height: 190px; overflow: hidden; background: var(--chrome); padding: 16px 0 0 16px; }
.lp-thumb mpp-screen { width: 160%; }
.lp-guides .lp-card-text { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.lp-guides .lp-kind { font-size: 13px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.lp-guides h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }

/* Launch list */
.lp-cta { max-width: 1192px; margin: 0 auto; background: var(--accent); color: #FFFFFF; border-radius: 28px; padding: 64px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.lp-cta-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-cta-text p { font-size: 18px; color: rgba(255,255,255,.86); }
.lp-cta form { flex: 1 1 380px; min-width: 0; }
.lp-cta .h-notify-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-cta input[type=email] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 0; color: #191917; background: #FFFFFF; min-height: 52px; }
.lp-cta button[type=submit] { font: inherit; font-size: 16px; font-weight: 600; color: #FFFFFF; background: #0E1114; border: 0; border-radius: 12px; padding: 14px 22px; min-height: 52px; cursor: pointer; }
.lp-cta button[disabled] { opacity: .7; cursor: default; }
.lp-cta .h-notify-status { margin-top: 10px; min-height: 1.4em; font-weight: 600; }
.lp-cta .h-notify-fine { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.8); }
.lp-cta .h-notify-fine a { color: #FFFFFF; text-decoration: underline; }
.lp-cta form.done .h-notify-row { display: none; }
.lp-cta .h-hp { position: absolute; left: -9999px; }
.lp-cta .h-try a { color: #FFFFFF; text-decoration: underline; }
.lp-cta-beta { flex: 0 1 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lp-cta-beta .lp-btn { min-width: 220px; background: #0E1114; color: #FFFFFF; }
.lp-cta-beta .lp-btn:hover { color: #FFFFFF; filter: brightness(1.2); }
@media (max-width: 600px) { .lp-cta { padding: 40px 24px; } }

/* Film */
.lp-film { width: min(1100px, 100% - 32px); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.lp-film::backdrop { background: rgba(8,10,13,.86); }
.lp-film video { display: block; width: 100%; height: auto; border-radius: 16px; background: #000; }
.lp-film-close { display: flex; margin: 0 0 12px auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; }

/* ---------------------------------------------------------------------------
   Header: announcement strip and the main navigation (the design file's nav:
   Product, Solutions for, Resources menus, Pricing, Sign in, Notify me).
   Without JavaScript the menus open on hover and keyboard focus; on phones
   the menu button needs JavaScript, and the footer lists every page. */
.announce { background: #0E1114; color: #EDF0F4; font-size: 14px; padding: 10px 16px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.announce a { color: #A9C4F7; font-weight: 600; }
.announce a:hover { color: #FFFFFF; }
.announce .tag { background: rgba(91,141,239,.18); color: #A9C4F7; font-weight: 600; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--rule-strong); }
.nav { max-width: 1240px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.045em; color: var(--ink); }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand svg { flex: none; }
.nav-menu { flex: 1 1 auto; display: flex; align-items: center; gap: 16px; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex: 1 1 auto; }
.nav-item { position: relative; }
.nav-top { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: none; border: 0; padding: 10px 12px; min-height: 44px; display: flex; align-items: center; gap: 6px; cursor: pointer; border-radius: 10px; }
.nav-top:hover, .nav-top[aria-expanded="true"] { color: var(--ink); background: var(--fill); text-decoration: none; }
.nav-top[aria-current="page"], .nav-top.is-here { font-weight: 600; }
.nav-top svg { transition: transform .2s; }
.nav-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-panel {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 380px; padding: 10px;
  background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(14,17,20,.35);
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover > .nav-panel, .nav-item:focus-within > .nav-panel, .nav-top[aria-expanded="true"] + .nav-panel { display: block; }
.js .nav-item:focus-within > .nav-panel { display: none; }
.js .nav-item:hover > .nav-panel, .js .nav-top[aria-expanded="true"] + .nav-panel { display: block; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav-panel a { display: flex; gap: 14px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.nav-panel a:hover, .nav-panel a[aria-current="page"] { background: var(--fill); text-decoration: none; color: var(--ink); }
.nav-panel b { display: block; font-size: 15px; font-weight: 600; }
.nav-panel small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.nav-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin { font-size: 15px; font-weight: 500; color: var(--ink); padding: 10px 14px; }
.nav-signin:hover { color: var(--ink); }
.nav-signin:hover .nav-beta { text-decoration: none; }
.nav-beta { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--fill); color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.nav-cta { font-size: 15px; font-weight: 600; color: #FFFFFF; background: var(--accent); padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; white-space: nowrap; }
.nav-cta:hover { color: #FFFFFF; text-decoration: none; filter: brightness(1.08); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--fill); }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1080px) {
  .nav { flex-wrap: wrap; gap: 0 12px; }
  .js .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 0 20px; max-height: calc(100vh - 120px); overflow-y: auto; }
  .js .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-top { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav-top:hover, .nav-top[aria-expanded="true"] { background: none; }
  .nav-panel, .js .nav-item:hover > .nav-panel { position: static; width: auto; border: 0; box-shadow: none; padding: 4px 0 8px; display: none; }
  .js .nav-top[aria-expanded="true"] + .nav-panel { display: block; }
  .nav-panel::before { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-signin, .nav-cta { justify-content: center; text-align: center; }
  html:not(.js) .nav-menu { display: none; }
}

/* Breadcrumbs: on every page but the home page (docs/website-design.md). */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; color: var(--ink-3); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { flex: none; color: var(--ink-3); }
.crumbs [aria-current="page"] { color: var(--ink-3); }

/* ---------------------------------------------------------------------------
   Page templates. Every subpage: .pg-head (breadcrumbs, eyebrow, title, lead,
   meta, and on product pages an app screen), then the page's sections, then
   the related cards and the launch-list band (partials/cta-band.html). */
.pg-head { background: var(--surface); border-bottom: 1px solid var(--rule); overflow: hidden; }
.pg-head-in { max-width: var(--lp-max); margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pg-head-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pg-head .crumbs { margin-bottom: 20px; }
.pg-head h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; max-width: 18em; }
.pg-head .lp-lead { font-size: 19px; max-width: 38em; }
.pg-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-3); }
.pg-meta a { font-weight: 600; }
.pg-head .lp-actions { margin-top: 6px; }
.pg-head-art { flex: 1.25 1 480px; min-width: 0; position: relative; padding: 24px 0; }
.pg-head-art .lp-decor-1 { top: -8px; right: -40px; }
.pg-head-art .lp-decor-2 { bottom: -12px; left: -30px; }
.pg-split .pg-head-in { padding-bottom: 72px; }

.pg-body { max-width: var(--lp-max); margin: 0 auto; padding: 64px 24px 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.pg-article { flex: 999 1 560px; min-width: 0; max-width: 780px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.pg-article > * + * { margin-top: 48px; }
.pg-article section > * + * { margin-top: 14px; }
.pg-article h2 { font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); scroll-margin-top: 96px; }
.pg-article h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.pg-article section > h3 { margin-top: 28px; }
.pg-article strong { color: var(--ink); font-weight: 600; }
.pg-article ul, .pg-article ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.pg-article li::marker { color: var(--ink-3); }
.pg-article a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent); text-underline-offset: 3px; }
.pg-article a:hover { text-decoration-color: currentColor; }
.pg-article a.lp-btn, .pg-article .lp-aud a, .pg-article .lp-card a.lp-more { text-decoration: none; }
.pg-article figure { margin-left: 0; margin-right: 0; }
.pg-article figure > mpp-screen, .pg-article figure > .media, .pg-article figure > img, .pg-article figure > picture img {
  border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule), 0 24px 48px -28px rgba(14,17,20,.4);
}
.pg-article figure .media { background: var(--chrome); }
/* Another product's screen in a how-to (website-design.md): at its own size, never stretched. */
.pg-article figure.pg-shot picture img { width: auto; max-width: 100%; height: auto; }
.pg-article figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); text-align: left; }
.pg-article code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; }
.pg-article pre { overflow-x: auto; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--rule-strong); font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.pg-article pre code { font-size: inherit; }
.pg-article address { font-style: normal; }

/* Quick answer: the first block of a guide. */
.pg-answer { background: color-mix(in srgb, var(--teal) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent); border-radius: var(--lp-radius); padding: 28px 30px; color: var(--ink); }
.pg-answer h2 { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.pg-answer .answer-next a { font-weight: 600; text-decoration: none; }
@media (prefers-color-scheme: dark) { .pg-answer h2 { color: #2FB3A8; } }

/* A boxed note that isn't the launch list: security reports, responsibility. */
.pg-callout { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--lp-radius); padding: 28px 30px; }
.pg-callout h2 { font-size: 24px; }

/* Tables: the home page's table, inside the article column. */
.pg-article .lp-table { min-width: 560px; font-size: 15px; line-height: 1.45; }
.pg-article .lp-table td, .pg-article .lp-table th { border: 0; text-align: left; vertical-align: top; }
.pg-article .lp-table thead th { font-size: 14px; }
.pg-article .lp-table tbody td:first-child { color: var(--ink); font-weight: 600; }
.pg-article .lp-table td.lp-us { font-weight: 500; color: var(--ink); }
.pg-article .lp-table tbody td:first-child.lp-us { font-weight: 600; }

/* Pros and cons, steps */
.pg-article .pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.pg-article .pros-cons > div { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 16px; padding: 20px 22px; }
.pg-article .pros-cons h3 { font-size: 15px; margin-bottom: 8px; }
.pg-article .pros-cons ul { font-size: 16px; }

/* Questions inside a page: the home page's accordion. */
.pg-article .lp-faq-list { margin-top: 20px; }
.pg-article .lp-faq summary { font-size: 17px; padding: 18px 0; }
.pg-article .lp-faq details > div { padding-bottom: 20px; }
.pg-article .lp-faq details > div > * + * { margin-top: 10px; }

.pg-fine { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.pg-article > .pg-fine { margin-top: 56px; }
.pg-article > .pg-fine + .pg-fine { margin-top: 10px; }

/* "On this page": beside the article on wide screens, sticky. */
.pg-aside { flex: 1 1 240px; max-width: 300px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.pg-toc p { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.pg-toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--rule-strong); display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.35; }
.pg-toc a { color: var(--ink-2); }
.pg-toc a:hover { color: var(--ink); }
.pg-mini { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pg-mini strong { color: var(--ink); font-size: 16px; }
.pg-mini .lp-btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }
@media (max-width: 1000px) { .pg-aside { display: none; } .pg-body { padding-top: 48px; } }

/* Related pages: cards on the paper colour. */
.pg-related { border-top: 1px solid var(--rule); padding-block: 72px; }
.pg-related .lp-h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 28px; }
.lp-aud p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pg-related + #notify, .pg-body + #notify { padding-top: 0; }
.lp-kind { font-size: 13px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
@media (prefers-color-scheme: dark) { .lp-kind { color: #2FB3A8; } }

/* Hubs (Guides, Support): grouped cards. */
.pg-group + .pg-group { margin-top: 56px; }
.pg-group > h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.pg-wide { max-width: var(--lp-max); margin: 0 auto; padding: 64px 24px 96px; }

/* Utility pages (unsubscribe, not found): one short message. */
.pg-short .pg-head-in { padding-bottom: 96px; }

@media (max-width: 600px) {
  .lp-section { padding-block: 72px; }
  .pg-head-in { padding: 20px 20px 48px; }
  .pg-body, .pg-wide { padding: 40px 20px 72px; }
  .pg-answer, .pg-callout { padding: 22px; }
}

/* Cards on the paper colour get the surface and a rule, like the related cards. */
.lp-section:not(.lp-surface) .lp-card, .pg-wide .lp-card, .pg-article .lp-card { background: var(--surface); border: 1px solid var(--rule-strong); }
.lp-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
/* Yes and no in plan tables. */
.pg-yes { color: var(--ok); display: inline-flex; } .pg-no { color: var(--ink-3); display: inline-flex; }
.lp-table td.pg-c, .lp-table th.pg-c { text-align: center; }
.lp-table tr.pg-grp th { background: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-block: 12px; }
.lp-table th small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
/* A static feature row: the home page's tab panel, without tabs. */
.lp-panel.flip { flex-direction: row-reverse; }
.lp-stack > * + * { margin-top: 20px; }
.lp-head-row .lp-head { margin-bottom: 0; }

/* Product page parts */
.pg-narrow { max-width: 860px; }
.pg-prose { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.pg-prose > * + * { margin-top: 16px; }
.pg-prose strong { color: var(--ink); }
.pg-prose h2 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.pg-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips li { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--band-ink); }
.pg-prompts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pg-prompts li { font-size: 18px; line-height: 1.45; color: #FFFFFF; background: rgba(157,134,242,.14); border: 1px solid rgba(157,134,242,.32); border-radius: 18px 18px 18px 6px; padding: 18px 22px; }
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; counter-reset: step; }
.pg-steps li { background: var(--paper); border-radius: var(--lp-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pg-steps h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.pg-steps h3::before { counter-increment: step; content: counter(step) ". "; color: var(--ink-3); }
.pg-steps p { color: var(--ink-2); }
.pg-tools { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--ink-2); }
.pg-tools code { display: inline-block; margin-right: 8px; font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: var(--fill); padding: 2px 8px; border-radius: 6px; }
.pg-callout.pg-prose h2 { margin-bottom: 4px; }
.pg-dark-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--lp-radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pg-dark-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--band-ink); }
.pg-dark-card .lp-icon { background: rgba(255,255,255,.08); }
.lp-band a:not(.lp-btn) { color: #A9C4F7; } .lp-band a:not(.lp-btn):hover { color: #FFFFFF; }
.pg-band-note { margin-top: 40px; max-width: 46em; }
.pg-band-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; }
.lp-band .lp-icon-slate { color: #5B8DEF; } .lp-band .lp-icon-teal { color: #2FB3A8; } .lp-band .lp-icon-clay { color: #E08A5B; } .lp-band .lp-icon-agent { color: #9D86F2; }
.lp-band .lp-eyebrow { color: #2FB3A8; }

/* Support: the contact form beside the tips. */
.pg-contact { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.pg-contact-form { flex: 999 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--lp-radius); padding: 36px; }
.pg-contact-form h2, .pg-contact-tips h2 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.pg-contact-form > p { margin-top: 8px; color: var(--ink-2); }
.pg-contact-form .pg-fine { margin-top: 20px; font-size: 15px; }
.pg-contact-tips { flex: 1 1 280px; min-width: 0; padding: 12px 4px; display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); font-size: 15px; }
.pg-contact-tips h2 { font-size: 20px; }
@media (max-width: 600px) { .pg-contact-form { padding: 24px; } }
.pg-ask .lp-actions { margin-top: 20px; }
.pg-pills { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.pg-article .pg-pills { padding: 0; }
.pg-pills li { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.pg-unsub .h-notify-status { margin-top: 12px; min-height: 1.4em; font-weight: 600; }

/* Home page details (were inline styles). */
.lp-plan-date { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lp-row { display: flex; justify-content: space-between; align-items: center; }
.lp-insp-title { font-size: 15px; }
.lp-meter-75 span { width: 75%; }
.lp-who { display: flex; align-items: center; gap: 8px; }
.lp-avatar-sm { width: 22px; height: 22px; }
.lp-avatar-plum { background: rgba(107,95,140,.16); color: #6B5F8C; }
.lp-avatar-teal { background: #2A8478; border: 2px solid var(--surface); }
.lp-agent-text { display: flex; flex-direction: column; gap: 4px; }
.lp-pad-72 { padding-block: 72px; }
.lp-pad-104 { padding-block: 104px; }
.lp-h2-narrow { max-width: 14em; }
.lp-card-link { color: inherit; }
.lp-num-1 { background: #5B8DEF; } .lp-num-2 { background: #2A8478; } .lp-num-3 { background: #6B5F8C; }
