/* ecomdly — page-level layer over the Nocturne tokens (public/css/nocturne.css). */
/* The design was drawn compact; the product reads at ~110% (equivalent to Chrome zoom 110%). */
html { zoom: 1.1; }
body {
  text-wrap: pretty;
  background:
    radial-gradient(1100px 640px at 85% -140px, color-mix(in srgb, var(--color-accent-900) 70%, transparent), transparent 60%),
    radial-gradient(1000px 700px at -10% 100%, color-mix(in srgb, black 28%, transparent), transparent 55%),
    var(--color-bg);
  min-height: 100vh;
}
a { color: var(--color-accent-300); text-decoration: none; }
a:hover { color: var(--color-accent); }
code, pre, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.tnum { font-feature-settings: 'tnum' 1; }

/* text tones */
.t-86 { color: color-mix(in srgb, var(--color-text) 86%, transparent); }
.t-78 { color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.t-72 { color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.t-65 { color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.t-60 { color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.t-55 { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.t-50 { color: color-mix(in srgb, var(--color-text) 50%, transparent); }
.t-45 { color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.t-40 { color: color-mix(in srgb, var(--color-text) 40%, transparent); }
.accent { color: var(--color-accent); }
.accent-200 { color: var(--color-accent-200); }
.accent-300 { color: var(--color-accent-300); }

/* layout */
.nav { padding-inline: max(24px, calc((100% - 1240px) / 2 + 24px)); }
.nav a.nav-brand, .nav-brand { cursor: pointer; color: inherit; font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.nav { min-height: 60px; }
.nav-brand span { color: var(--color-accent); }
/* logo lockup from design/ecomdly/logo: glyph inline (so it takes the palette), wordmark as the exported artwork */
.brand-lockup { display: inline-flex; align-items: flex-start; gap: 9px; }
.brand-glyph { width: 24px; height: 24px; flex: none; fill: var(--color-text); }
.brand-glyph .brand-dot { fill: var(--color-accent); }
.brand-word { height: 29px; width: auto; display: block; }
.footer p.brand.brand-lockup { display: flex; }
.footer .brand-lockup .brand-glyph { width: 20px; height: 20px; }
.footer .brand-lockup .brand-word { height: 24px; }
.nav a.nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav a.nav-link.is-active { color: var(--color-accent); }
/* nav: brand left (nocturne: margin-right auto) · browse group · (mine group) · actions — everything else right */
.nav-links { display: contents; }                   /* desktop: the wrapper is invisible to the flex layout */
.nav-group { display: inline-flex; align-items: center; gap: var(--space-4); }
.nav-sep { width: 1px; height: 18px; background: var(--color-neutral-700); margin-right: 2px; }
.nav-actions { display: inline-flex; align-items: center; gap: 10px; margin-left: var(--space-2); }
.nav a.nav-admin { color: color-mix(in srgb, var(--color-text) 62%, transparent); }
.nav a.nav-admin.is-active { color: var(--color-accent); }
.nav a.nav-link, .nav .btn, .nav .user-pill { white-space: nowrap; }
/* below ~1040px: brand + actions on the first row, all links in one horizontally scrollable strip below */
@media (max-width: 1040px) {
  .nav { flex-wrap: wrap; row-gap: 2px; }
  .nav-links { display: flex; align-items: center; gap: 14px; flex-basis: 100%; order: 3; overflow-x: auto; scrollbar-width: none; padding: 2px 0 8px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .nav-group { flex-shrink: 0; }
  .nav-actions { margin-left: auto; }
}
/* phones: one row (brand · actions · menu button); the links drop down as a panel under it */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  nav.nav { position: relative; flex-wrap: nowrap; min-height: 58px; gap: 10px; }
  .nav-brand .brand-word { height: 25px; }
  .nav-brand .brand-glyph { width: 21px; height: 21px; }
  .nav-toggle { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--color-divider); background: transparent; color: var(--color-text); font-size: 20px; cursor: pointer; }
  .nav-toggle[aria-expanded="true"] { border-color: var(--color-accent); color: var(--color-accent); }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-submit-guest { display: none !important; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; overflow: visible;
    background: var(--color-bg); border-bottom: 1px solid var(--color-divider); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
  nav.nav.is-open .nav-links { display: flex; }
  .nav-links .nav-group { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; }
  .nav-links .nav-sep { width: auto; height: 1px; margin: 8px 0; }
  .nav .nav-links a.nav-link { font-size: 16px; padding: 12px 4px; border-radius: 8px; }
  .nav .nav-links a.nav-link:active { background: var(--color-surface); }
  .nav .user-pill .name { display: none; }
}
/* narrow phones: the submit button keeps only its + icon; the notifications menu spans the nav instead of hanging off the bell */
@media (max-width: 560px) {
  .nav-actions .btn-label { display: none; }
  .nav-actions .btn .ph-plus { font-size: 17px !important; }
}
.wrap { max-width: 1240px; margin: 0 auto; padding: 40px 24px 96px; }
.wrap-tight { padding-top: 32px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 10px; border: 1px solid var(--color-divider); border-radius: 999px; font-size: 13px; line-height: 18px; color: color-mix(in srgb, var(--color-text) 72%, transparent); text-decoration: none; background: color-mix(in srgb, var(--color-surface) 60%, transparent); }
.hero-eyebrow:hover { color: var(--color-text); border-color: color-mix(in srgb, var(--color-text) 25%, transparent); }
.hero-eyebrow strong { color: var(--color-text); font-weight: 500; }
.hero-eyebrow code { font-size: 12px; }
.hero-eyebrow .ph { font-size: 15px; flex: none; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.page-title { font-size: 34px; line-height: 40px; letter-spacing: -0.012em; margin: 0; }
.page-title-sm { font-size: 30px; line-height: 38px; letter-spacing: -0.012em; margin: 0; }
.page-lead { font-size: 15px; line-height: 24px; margin: 8px 0 0; max-width: 56ch; }
.kicker { font-size: 12px; line-height: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 12px; }
.kicker .plain { text-transform: none; letter-spacing: 0; color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.h2 { font-size: 22px; line-height: 28px; letter-spacing: -0.01em; margin: 0 0 10px; }
.h3 { font-size: 16.5px; line-height: 22px; letter-spacing: -0.008em; margin: 0; }
.grid { display: grid; gap: 40px; align-items: start; }
.grid-side { grid-template-columns: 220px minmax(0, 1fr); }
.grid-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.grid-aside-48 { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
.grid-lb { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.grid-docs { grid-template-columns: 220px minmax(0, 720px); gap: 56px; }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-contact { grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; }
.sticky { position: sticky; top: 24px; }
.stack { display: flex; flex-direction: column; }
.stack-2 { gap: 2px; } .stack-4 { gap: 4px; } .stack-6 { gap: 6px; } .stack-8 { gap: 8px; } .stack-10 { gap: 10px; } .stack-12 { gap: 12px; } .stack-14 { gap: 14px; } .stack-16 { gap: 16px; } .stack-24 { gap: 24px; }
.row { display: flex; align-items: center; gap: 8px; }
.row-wrap { flex-wrap: wrap; }
.row-12 { gap: 12px; } .row-14 { gap: 14px; } .row-16 { gap: 16px; }
.grow { flex: 1; min-width: 0; }
.ml-auto { margin-left: auto; }
.mt-6 { margin-top: 6px; } .mt-10 { margin-top: 10px; } .mt-14 { margin-top: 14px; } .mt-18 { margin-top: 18px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; }
.mb-12 { margin-bottom: 12px; } .mb-18 { margin-bottom: 18px; } .mb-28 { margin-bottom: 28px; }
.fs-11 { font-size: 11.5px; line-height: 16px; } .fs-12 { font-size: 12px; line-height: 17px; } .fs-125 { font-size: 12.5px; line-height: 18px; } .fs-13 { font-size: 13px; line-height: 19px; } .fs-135 { font-size: 13.5px; line-height: 20px; } .fs-14 { font-size: 14px; line-height: 21px; } .fs-145 { font-size: 14.5px; line-height: 22px; } .fs-15 { font-size: 15px; line-height: 24px; }
.w-500 { font-weight: 500; }
.center { text-align: center; }
.maxw-54 { max-width: 54ch; } .maxw-62 { max-width: 62ch; } .maxw-68 { max-width: 68ch; }
p { margin: 0; }

/* controls */
.btn-sm { min-height: 28px; padding: 2px 10px; font-size: 12px; }
.btn-xs { min-height: 24px; padding: 1px 8px; font-size: 11.5px; }
.btn-xxs { min-height: 22px; padding: 1px 8px; font-size: 11.5px; }
.btn-lg { min-height: 40px; }
.btn.is-on { color: var(--color-accent-300); }
.vote-row { display: flex; align-items: flex-end; gap: 8px; }
.vote-row .vote-down { width: auto; }
.post-vote { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; }
.post-vote.is-vertical { flex-direction: column; gap: 0; min-width: 28px; }
.post-vote-score { font-size: 12px; line-height: 16px; min-width: 2ch; text-align: center; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.post-vote-score.accent { color: var(--color-accent); }
.btn-icon.btn-sm { width: 32px; height: 32px; min-height: 32px; padding: 6px; }
.icon-btn { border: 0; background: none; cursor: pointer; padding: 2px; display: inline-flex; color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.icon-btn.is-on { color: var(--color-accent); }
.link-btn { border: 0; background: none; cursor: pointer; font: 500 12.5px/18px var(--font-body); color: var(--color-accent-300); padding: 8px 12px; text-align: left; }
.tab { border: 0; background: none; cursor: pointer; font: 500 13.5px/20px var(--font-body); letter-spacing: 0.01em; padding: 6px 12px; border-radius: 6px; color: color-mix(in srgb, var(--color-text) 60%, transparent); text-decoration: none; }
.tab.is-active { color: var(--color-accent-200); background: color-mix(in srgb, var(--color-accent-900) 55%, transparent); }
.tab:hover { color: var(--color-accent-200); }
.tabs-underline { display: flex; gap: 4px; border-bottom: 1px solid var(--color-neutral-800); margin-bottom: 24px; }
.tabs-underline .tab { padding: 8px 14px 10px; border-radius: 0; }
.tabs-underline .tab.is-active { background: none; box-shadow: inset 0 -2px 0 var(--color-accent); }
.side-btn { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; text-align: left; cursor: pointer; font: 400 14px/20px var(--font-body); padding: 6px 10px; border-radius: 6px; color: color-mix(in srgb, var(--color-text) 72%, transparent); background: transparent; text-decoration: none; }
.side-btn:hover { color: var(--color-accent-200); }
.side-btn.is-active { color: var(--color-accent-200); background: color-mix(in srgb, var(--color-accent-900) 55%, transparent); }
.side-btn.w-500 { font-weight: 500; }
.side-btn .count { font-size: 12px; font-feature-settings: 'tnum' 1; color: color-mix(in srgb, var(--color-text) 40%, transparent); }
.catalog-side .fav-row, .catalog-side .cat-list { display: contents; }
.cat-toggle { display: none; }
/* "Recently added" strip above the cards: kicker · chips · "all new" link */
.recent-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.recent-strip .kicker { margin: 0 4px 0 0; }
.recent-chip { color: color-mix(in srgb, var(--color-text) 80%, transparent); max-width: 100%; }
.recent-chip .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-chip:hover { color: var(--color-accent-200); border-color: var(--color-accent-700); }
.recent-more { font-size: 12.5px; white-space: nowrap; margin-left: 2px; }
.side-link { font-size: 14px; line-height: 28px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.side-link.is-active { color: var(--color-accent-200); }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--color-neutral-600); background: transparent; cursor: pointer; font: 500 13px/18px var(--font-body); padding: 6px 14px; border-radius: 6px; color: color-mix(in srgb, var(--color-text) 65%, transparent); text-decoration: none; }
.chip.is-active, .chip:has(input:checked) { color: var(--color-accent-200); border-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent-900) 50%, transparent); }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-pill { border-radius: 999px; }
.chip-dashed { border-style: dashed; }
.chip-toggle { border-radius: 999px; padding: 3px 12px; font-size: 12px; }
.chip.small { padding: 3px 12px; font-size: 12px; border-radius: 999px; }
.search { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-text) 45%, transparent); font-size: 15px; }
.search .input { padding-left: 36px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--color-accent-800); color: var(--color-accent-200); font-size: 11px; font-weight: 500; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-32 { width: 32px; height: 32px; font-size: 12px; }
.avatar-40 { width: 40px; height: 40px; font-size: 14px; }
.avatar-56 { width: 56px; height: 56px; font-size: 18px; }
.user-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--color-neutral-700); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; color: inherit; }
.user-pill span.name { font-size: 13px; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.rec-badge { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: 11.5px; line-height: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent-200); border: 1px solid var(--color-accent-600); border-radius: 999px; padding: 2px 9px; background: color-mix(in srgb, var(--color-accent-900) 45%, transparent); }
.rec-badge i { font-size: 13px; color: var(--color-accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); display: inline-block; }
.dot-glow { box-shadow: 0 0 8px var(--color-accent); }
.unread { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }

/* code boxes */
.code-box { border: 1px solid var(--color-neutral-700); border-radius: 8px; background: color-mix(in srgb, black 24%, var(--color-bg)); padding: 16px 20px; overflow-x: auto; }
.code-box pre { margin: 0; font: 13px/21px ui-monospace, Menlo, Consolas, monospace; color: color-mix(in srgb, var(--color-text) 86%, transparent); white-space: pre; }
.code-box .c { color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.code-box .m { color: var(--color-accent); }
.code-line { display: flex; align-items: center; gap: 8px; border: 1px solid var(--color-neutral-800); border-radius: 6px; background: color-mix(in srgb, black 22%, var(--color-bg)); padding: 6px 8px 6px 12px; }
.code-line code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; line-height: 18px; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.code-line-lg { border-color: var(--color-neutral-700); border-radius: 8px; padding: 10px 14px; gap: 10px; }
.code-line-lg code { font-size: 13px; line-height: 20px; color: color-mix(in srgb, var(--color-text) 86%, transparent); }
.excerpt { border: 1px solid var(--color-neutral-800); border-radius: 6px; background: color-mix(in srgb, black 22%, var(--color-bg)); padding: 12px 14px; }
.excerpt pre { margin: 0; font: 12.5px/19px ui-monospace, Menlo, Consolas, monospace; color: color-mix(in srgb, var(--color-text) 75%, transparent); white-space: pre-wrap; }

/* skill cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.skill-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.skill-card h3 a { color: inherit; }
.skill-card h3 a:hover { color: var(--color-accent-200); }
.skill-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; line-height: 18px; color: color-mix(in srgb, var(--color-text) 55%, transparent); font-feature-settings: 'tnum' 1; flex-wrap: wrap; }
.skill-meta a { color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.skill-meta a:hover { color: var(--color-accent-200); }
.skill-meta .stat { display: inline-flex; align-items: center; gap: 4px; }
.empty { padding: 56px 0; text-align: center; }
.empty i { font-size: 28px; color: color-mix(in srgb, var(--color-text) 35%, transparent); }
.empty p { font-size: 14.5px; line-height: 24px; color: color-mix(in srgb, var(--color-text) 60%, transparent); margin: 10px 0 0; }

/* list rows */
.card.row-card { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; }
.card.onboarding { padding: 12px 14px; }
.card.onboarding form { margin-left: auto; }
.card.pad { padding: 20px 24px; }
.card.pad-lg { padding: 22px 24px; }
.card.pad-sm { padding: 18px 20px; }
.card.pad-14 { padding: 14px 18px; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--color-neutral-800); border-radius: 6px; }
.hover-row { display: flex; gap: 10px; padding: 10px 12px; border-radius: 6px; align-items: flex-start; }
.hover-row:hover { background: color-mix(in srgb, var(--color-accent-900) 35%, transparent); }
.stat-big { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 24px; line-height: 30px; margin: 0; }
.stat-label { margin: 2px 0 0; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.price { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 28px; line-height: 34px; margin: 0; }
.price span { font-size: 14px; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.check-list { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 20px; color: color-mix(in srgb, var(--color-text) 75%, transparent); }
.check-list span { display: flex; gap: 8px; }
.check-list i { font-size: 14px; color: var(--color-accent); transform: translateY(3px); }
.notice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--color-accent-800); border-radius: 6px; padding: 10px 12px; background: color-mix(in srgb, var(--color-accent-900) 35%, transparent); font-size: 13px; line-height: 19px; }
.notice i { color: var(--color-accent-300); font-size: 15px; transform: translateY(2px); }
.flash { max-width: 1240px; margin: 12px auto 0; padding: 0 24px; }
.flash .card { flex-direction: row; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13.5px; border: 1px solid var(--color-accent-800); }
.flash .card i { color: var(--color-accent); }
.errors { color: var(--color-accent-300); font-size: 12.5px; line-height: 18px; }

/* nav extras */
.notif-wrap { position: relative; display: inline-flex; }
.notif-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 340px; padding: 8px; z-index: 60; display: none; flex-direction: column; gap: 2px; }
.notif-menu.is-open { display: flex; }
.notif-menu .hover-row i { font-size: 15px; color: var(--color-accent); transform: translateY(2px); }

/* dialogs */
.dialog-backdrop { display: none; z-index: 100; }
.dialog-backdrop.is-open { display: grid; }
.dialog { padding: 22px 24px; gap: 14px; }
.dialog-video { max-width: 860px; width: min(860px, calc(100vw - 32px)); padding: 14px 16px 16px; }
.dialog-video video { width: 100%; border-radius: 8px; display: block; background: #000; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog-head h2 { font-size: 20px; line-height: 26px; margin: 0; }
.dialog-head p { margin: 6px 0 0; font-size: 13.5px; line-height: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 20px; }
.feature-list div { display: flex; gap: 10px; align-items: flex-start; }
.feature-list i { font-size: 15px; color: var(--color-accent); transform: translateY(2px); }
.source-btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--color-accent-700); background: color-mix(in srgb, var(--color-accent-900) 40%, transparent); border-radius: 8px; padding: 12px 14px; cursor: pointer; color: inherit; text-decoration: none; }
.source-btn i:first-child { font-size: 18px; color: var(--color-accent); }
.source-btn .l1 { display: block; font: 500 14px/20px var(--font-body); }
.source-btn .l2 { display: block; font-size: 12.5px; line-height: 18px; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.drop { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--color-neutral-600); border-radius: 8px; padding: 14px; font-size: 13px; color: color-mix(in srgb, var(--color-text) 60%, transparent); margin: 10px 0 8px; cursor: pointer; }
.drop input { display: none; }

/* markdown prose */
.prose { font-size: 15px; line-height: 24px; color: color-mix(in srgb, var(--color-text) 82%, transparent); }
.prose h1 { font-size: 24px; line-height: 30px; letter-spacing: -0.01em; margin: 0 0 12px; color: var(--color-text); }
.prose h2 { font-size: 18px; line-height: 24px; margin: 24px 0 8px; color: var(--color-text); }
.prose h3 { font-size: 16px; line-height: 22px; margin: 18px 0 6px; color: var(--color-text); }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin: 3px 0; }
.prose li::marker { color: var(--color-accent); }
.prose strong { font-weight: 500; color: var(--color-text); }
.prose code { font-size: 13px; background: color-mix(in srgb, black 22%, var(--color-bg)); padding: 1px 5px; border-radius: 4px; }
.prose pre { border: 1px solid var(--color-neutral-700); border-radius: 8px; background: color-mix(in srgb, black 24%, var(--color-bg)); padding: 14px 18px; overflow-x: auto; margin: 0 0 14px; }
.prose pre code { background: none; padding: 0; font-size: 13px; line-height: 21px; }
.prose blockquote { border-left: 2px solid var(--color-accent-700); margin: 0 0 12px; padding-left: 14px; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.prose a { color: var(--color-accent-300); }
.prose a.wikilink { text-decoration: none; border-bottom: 1px dashed color-mix(in srgb, var(--color-accent-300) 55%, transparent); }
.prose a.wikilink:hover { border-bottom-style: solid; }

/* brain map */
#bm-details summary::-webkit-details-marker { display: none; }
#bm-details .bm-caret { display: inline-block; transition: transform 0.15s; vertical-align: -1px; }
#bm-details[open] .bm-caret { transform: rotate(90deg); }
.bm-zoom .btn { background: color-mix(in srgb, black 30%, var(--color-bg)); }
.brain-map.is-pannable { cursor: grab; touch-action: none; }
.brain-map.is-pannable:active { cursor: grabbing; }
.brain-map .bm-edge { opacity: 0.6; transition: opacity 0.15s, stroke 0.15s; }
.brain-map .bm-edge.is-hot { stroke: var(--color-accent-400); opacity: 1; }
.brain-map .bm-edge.is-dim { opacity: 0.12; }
.brain-map .bm-node { transition: opacity 0.15s; cursor: pointer; }
.brain-map .bm-node circle { transition: fill-opacity 0.15s; }
.brain-map .bm-node text { paint-order: stroke; stroke: var(--color-bg); stroke-width: 3px; pointer-events: none; transition: fill-opacity 0.15s; }
.brain-map .bm-node.is-dim { opacity: 0.25; }
.brain-map .bm-node:hover circle { fill-opacity: 0.4; }
.brain-map .bm-node:hover text { fill-opacity: 1; }
.prose table { border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
.prose th, .prose td { border-bottom: 1px solid var(--color-neutral-800); padding: 6px 10px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--color-neutral-800); margin: 18px 0; }

/* editor */
.editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pane { border: 1px solid var(--color-neutral-700); border-radius: 8px; background: color-mix(in srgb, black 18%, var(--color-bg)); overflow: hidden; }
.pane-head { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--color-neutral-800); font-size: 12px; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.pane-head i { font-size: 13px; color: var(--color-accent); }
.pane textarea { width: 100%; min-height: 560px; resize: vertical; border: 0; background: transparent; color: var(--color-text); font: 13.5px/22px ui-monospace, Menlo, Consolas, monospace; padding: 16px 18px; outline: none; display: block; }
.pane .prose { padding: 16px 20px; min-height: 560px; }

/* pipeline */
.steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 28px; font-size: 13px; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.steps .step { display: inline-flex; align-items: center; gap: 8px; }
.steps .n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--color-accent-700); color: var(--color-accent-200); font-size: 11.5px; font-feature-settings: 'tnum' 1; }
.steps i { color: color-mix(in srgb, var(--color-text) 35%, transparent); }
.checks { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.checks span { display: inline-flex; align-items: center; gap: 5px; color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.checks span.bad { color: var(--color-accent-300); }
.checks i { font-size: 14px; }
.scan { border: 1px solid var(--color-neutral-800); border-radius: 6px; padding: 12px 14px; }
.scan.review { border-color: var(--color-accent-700); }
.scan.blocked { border-color: var(--color-accent-500); }
.finding { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; }
.finding code { font-size: 12px; color: color-mix(in srgb, var(--color-text) 50%, transparent); }

/* table tweaks */
.table td.r, .table th.r { text-align: right; font-feature-settings: 'tnum' 1; }
.rank { font-feature-settings: 'tnum' 1; color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.rank.top { color: var(--color-accent); }

/* footer */
footer { margin-top: 48px; background: linear-gradient(to right, transparent, var(--color-divider) 48px calc(100% - 48px), transparent) top / 100% 1px no-repeat; }
.footer { max-width: 1240px; margin: 0 auto; padding: 40px 24px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 18px; margin: 0 0 8px; }
.footer .brand span { color: var(--color-accent); }
.footer p, .footer a { font-size: 13px; line-height: 22px; display: block; }
.footer .col a { color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.footer .col a:hover { color: var(--color-accent); }
.footer .col p.kicker { margin-bottom: 8px; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr !important; }
  .editor-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .footer { grid-template-columns: 1fr 1fr; }
  .nav { flex-wrap: wrap; }
}

/* share + pagination (added with analytics/SEO pass) */
.share { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; border: 1px solid transparent; background: none; cursor: pointer; color: color-mix(in srgb, var(--color-text) 55%, transparent); font-size: 15px; text-decoration: none; }
.share-btn:hover { color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.share-btn.is-done { color: var(--color-accent); }
.pager { display: flex; align-items: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pager-btn { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/18px var(--font-body); padding: 6px 12px; border-radius: 6px; border: 1px solid var(--color-neutral-700); color: color-mix(in srgb, var(--color-text) 72%, transparent); text-decoration: none; }
.pager-btn:hover { color: var(--color-accent-200); border-color: var(--color-accent-600); }
.pager-btn.is-disabled { opacity: 0.4; pointer-events: none; }
.pager-pages { display: inline-flex; gap: 2px; margin: 0 6px; }
.pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: 6px; font: 500 13px/18px var(--font-body); font-feature-settings: 'tnum' 1; color: color-mix(in srgb, var(--color-text) 60%, transparent); text-decoration: none; }
.pager-num:hover { color: var(--color-accent-200); }
.pager-num.is-active { color: var(--color-accent-200); background: color-mix(in srgb, var(--color-accent-900) 55%, transparent); }

/* security badge */
.safe-badge { display: inline-flex; align-items: center; gap: 5px; font: 500 11.5px/16px var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent-200); border: 1px solid var(--color-accent-700); border-radius: 999px; padding: 2px 9px; background: color-mix(in srgb, var(--color-accent-900) 35%, transparent); cursor: pointer; }
.safe-badge i { font-size: 13px; color: var(--color-accent); }
.safe-badge:hover { border-color: var(--color-accent); }
.skill-meta .safe { color: var(--color-accent); }

/* card meta stays on one line; the author link is the part that gives way */
.skill-meta { flex-wrap: nowrap; }
.skill-meta > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skill-meta .stat, .skill-meta .ml-auto { white-space: nowrap; flex-shrink: 0; }
.code-line form { display: contents; }
.code-line .btn { flex-shrink: 0; }
.skill-card .desc { flex: 1; }
.skill-meta form { display: contents; }
.skill-meta .agent-btn { flex-shrink: 0; white-space: nowrap; margin-left: 2px; }

.share { gap: 6px; }
.share .share-main { gap: 6px; }
.share .share-main i { font-size: 15px; }

/* FAQ */
.faq { border-top: 1px solid var(--color-neutral-800); padding: 12px 0; }
.faq summary { cursor: pointer; font: 500 15px/24px var(--font-body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--color-accent); }
.faq[open] summary::after { content: '–'; }
.faq p { margin-top: 8px; max-width: 62ch; }

/* blog */
.post-featured { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: center; padding: 28px 32px; color: inherit; margin-bottom: 36px; border: 1px solid var(--color-neutral-800); }
.post-featured:hover { border-color: var(--color-accent-700); }
.post-featured:hover .post-featured-title { color: var(--color-accent-200); }
.post-featured-title { font-size: 30px; line-height: 36px; letter-spacing: -0.012em; margin: 0 0 12px; }
.post-featured-img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-sm); }
.post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; line-height: 18px; color: color-mix(in srgb, var(--color-text) 50%, transparent); font-feature-settings: 'tnum' 1; }
.post-list { display: flex; flex-direction: column; max-width: 860px; }
.post-row { display: flex; gap: 24px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--color-neutral-800); color: inherit; }
.post-row:last-child { border-bottom: 1px solid var(--color-neutral-800); }
.post-row .post-date { width: 96px; flex: none; padding-top: 4px; font-size: 12.5px; color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.post-row i { padding-top: 6px; }
.post-title { display: block; font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 19px; line-height: 26px; letter-spacing: -0.01em; }
.post-row:hover .post-title, .post-nav-link:hover .post-title { color: var(--color-accent-200); }
.grid-post { grid-template-columns: minmax(0, 720px) 280px; gap: 56px; }
.post-head { margin-bottom: 28px; padding-bottom: 24px; background: linear-gradient(to right, transparent, var(--color-divider) 48px calc(100% - 48px), transparent) bottom / 100% 1px no-repeat; }
.post-h1 { font-size: 38px; line-height: 44px; letter-spacing: -0.015em; margin: 10px 0 0; max-width: 24ch; }
.post-body h2 { scroll-margin-top: 24px; }
.post-body h3 { scroll-margin-top: 24px; }
.post-body p, .post-body li { font-size: 16px; line-height: 27px; }
.toc a { line-height: 24px; font-size: 13.5px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--color-neutral-800); padding-top: 20px; }
.post-nav-link { color: inherit; display: flex; flex-direction: column; gap: 2px; }
.post-nav-link.right { text-align: right; align-items: flex-end; }
.post-nav-link .post-title { font-size: 15px; line-height: 22px; }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } .post-row { flex-direction: column; gap: 6px; } }

/* prefs + newsletter */
.pref-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.pref-row input { margin-top: 3px; accent-color: var(--color-accent); width: 16px; height: 16px; flex: none; }
.footer-newsletter { max-width: 1240px; margin: 0 auto; padding: 0 24px 48px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: center; }
.footer-newsletter .kicker { display: inline-flex; gap: 6px; align-items: center; }
.footer-newsletter form .input { max-width: 300px; }
@media (max-width: 860px) { .footer-newsletter { grid-template-columns: 1fr; } }

/* trusted-by marquee (guest hero) */
.trusted { margin-top: 44px; }
.marquee { display: flex; overflow: hidden; gap: 56px; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 56px; list-style: none; margin: 0; padding: 0; flex: none; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: inline-flex; align-items: center; height: 32px; color: color-mix(in srgb, var(--color-text) 42%, transparent); transition: color .2s; }
.marquee-track li:hover { color: color-mix(in srgb, var(--color-text) 85%, transparent); }
.marquee-track a { color: inherit; display: inline-flex; }
.marquee-track img.logo { height: 28px; width: auto; opacity: .6; filter: grayscale(1) brightness(1.4); }
.marquee-track img.glyph { width: 22px; height: 22px; opacity: .6; margin-right: 9px; }
.marquee-track li:hover img { opacity: 1; }
.marquee-track li { gap: 0; }
.wordmark { font-family: var(--font-heading); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 56px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; row-gap: 12px; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* skill watchdog — lives in the footer's brand column */
.footer-brand { max-width: 380px; }
.watchdog { margin: 22px 0 6px; }
.watchdog-row { display: flex; gap: 8px; }
.watchdog-row .input { flex: 1; min-width: 0; }
.watchdog p { margin-top: 6px; }

/* author badges */
.author-badge { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; white-space: nowrap; font: 500 11px/16px var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--color-neutral-700); color: color-mix(in srgb, var(--color-text) 70%, transparent); vertical-align: middle; }
.author-badge i { font-size: 12px; color: var(--color-accent); }
.author-badge.certified { border-color: var(--color-accent-600); color: var(--color-accent-200); background: color-mix(in srgb, var(--color-accent-900) 45%, transparent); }
.author-badge.recommended { border-color: var(--color-accent-700); color: var(--color-accent-200); }
.badge-preview { display: inline-flex; padding: 14px; border-radius: 8px; background: color-mix(in srgb, black 22%, var(--color-bg)); border: 1px solid var(--color-neutral-800); }
.progress { height: 6px; border-radius: 999px; background: var(--color-neutral-900); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--color-accent); border-radius: 999px; transition: width .3s; }

/* admin stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; height: 140px; align-items: end; margin-top: 12px; padding-bottom: 18px; position: relative; }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar span { display: block; min-height: 2px; background: color-mix(in srgb, var(--color-accent) 70%, transparent); border-radius: 3px 3px 0 0; transition: background .15s; }
.bar:hover span { background: var(--color-accent); }
.bar em { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font: 10px/14px var(--font-body); font-style: normal; color: color-mix(in srgb, var(--color-text) 40%, transparent); font-feature-settings: 'tnum' 1; }

/* ---------- mobile pass ---------- */
/* Grid/flex children default to min-width:auto, so any nowrap <code>/<pre> stretches the
   column past the viewport. Cap every layout child, and never let the page scroll sideways. */
html, body { overflow-x: clip; }
.grid > *, .page-head > *, .row > * { min-width: 0; }
.page-head > * { max-width: 100%; }
.code-line, .code-line-lg, .code-box, .excerpt, .pane { max-width: 100%; min-width: 0; }
.prose pre, .prose table { max-width: 100%; }
.prose { overflow-wrap: anywhere; }
.btn { max-width: 100%; }
.nav-brand { flex: none; }

@media (max-width: 860px) {
  .wrap { padding: 28px 16px 72px; }
  .hero-eyebrow { border-radius: 12px; align-items: flex-start; }
  .nav { padding-inline: 16px; gap: 8px 14px; }
  .nav-group { gap: 14px; flex-wrap: wrap; }
  .nav a.nav-link { font-size: 13.5px; }
  .nav .btn { padding-inline: 10px; font-size: 13px; }
  .page-title { font-size: 28px; line-height: 34px; }
  .page-title-sm { font-size: 24px; line-height: 30px; }
  /* long install / MCP commands: one line, ellipsis, full width */
  .page-head .code-line-lg { width: 100%; }
  .code-line-lg code { font-size: 12px; }
  /* catalog: categories become a horizontal chip rail instead of a 20-row column */
  .catalog-side { gap: 8px !important; margin-bottom: 12px; position: static; }
  .catalog-side .kicker { display: none; }
  .catalog-side .fav-row { display: flex; flex-wrap: wrap; gap: 6px; }
  .catalog-side .fav-row:empty { display: none; }
  .cat-toggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; border: 1px solid var(--color-neutral-800); border-radius: 8px; padding: 9px 12px; background: var(--color-surface); color: var(--color-text); font: 500 14px/20px var(--font-body); cursor: pointer; text-align: left; }
  .cat-toggle strong { font-weight: 600; color: var(--color-accent-200); }
  .cat-toggle .count { font-size: 12px; color: color-mix(in srgb, var(--color-text) 45%, transparent); font-feature-settings: 'tnum' 1; }
  .cat-toggle .ph-caret-down { transition: transform .15s; }
  .catalog-side.is-open .cat-toggle .ph-caret-down { transform: rotate(180deg); }
  .catalog-side .cat-list { display: none; flex-wrap: wrap; gap: 6px; }
  .catalog-side.is-open .cat-list { display: flex; }
  .catalog-side .side-btn { white-space: nowrap; border: 1px solid var(--color-neutral-800); border-radius: 999px; padding: 5px 12px; margin: 0 !important; gap: 8px; }
  .catalog-side .side-btn .count { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
  .cards { grid-template-columns: 1fr; }
  .skill-meta { flex-wrap: wrap; row-gap: 6px; }
  .skill-meta .ml-auto { margin-left: 0; }
  .skill-meta .agent-btn { margin-left: auto; }
  .tabs-underline { overflow-x: auto; scrollbar-width: none; }
  .tabs-underline .tab { white-space: nowrap; }
  .admin-nav { overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav .tab { white-space: nowrap; flex-shrink: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .post-h1 { font-size: 28px; line-height: 34px; }
  .post-featured { padding: 20px; }
  .post-featured-title { font-size: 22px; line-height: 28px; }
  .footer { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { max-width: none; }
  .steps { gap: 8px; }
  .editor-grid .pane textarea, .editor-grid .pane .prose { min-height: 320px; }
  .dialog { padding: 18px 16px; }
  .trusted { margin-top: 28px; }
  .share { row-gap: 6px; }
  .grid-post aside .sticky { position: static; }
  .toc { display: none; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.right { text-align: left; align-items: flex-start; }
  .watchdog-row { flex-wrap: wrap; }
  .watchdog-row .input { flex-basis: 100%; }
}
@media (max-width: 480px) {
  html { zoom: 1; }                            /* phones: the 110% zoom only costs width */
  .page-head { align-items: stretch; }
  .row.row-wrap > form, .row.row-wrap > .btn { max-width: 100%; }
}
/* cards are grid items too; their nowrap install line must not size them */
.cards > *, .card, .skill-card > *, .card > * { min-width: 0; }
.search { min-width: min(240px, 100%); }
@media (max-width: 860px) {
  .search { flex: 1 1 100%; max-width: none; }
}

/* wide tables scroll inside their own box on phones; the page never does */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .table { min-width: 560px; }
.table .tag { white-space: nowrap; }

/* cookie consent — a quiet bar, equal weight for accept and reject */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px; }
.consent-inner { max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 12px; background: var(--color-surface); box-shadow: var(--shadow-md); border: 1px solid var(--color-neutral-800); }
.consent-inner p { margin: 0; }
.consent-inner p + p { margin-top: 3px; }
@media (max-width: 640px) { .consent-inner { flex-direction: column; align-items: stretch; } .consent-inner form { justify-content: flex-end; } }

/* phones: the notifications menu spans the nav instead of hanging off the bell (must follow the base .notif-* rules) */
@media (max-width: 560px) {
  .nav { position: relative; }
  .notif-wrap { position: static; }
  .notif-menu { left: 12px; right: 12px; width: auto; top: calc(100% - 4px); }
}

/* agent dashboard: deploying spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* status page */
.status-page { max-width: 760px; margin: 0 auto; }
.status-banner .dot { width: 10px; height: 10px; flex: none; }
.status-banner.is-down { border: 1px solid var(--color-accent-2-600); }
.status-banner.is-down .dot { background: var(--color-accent-2); }
.status-list { padding: 0; }
.status-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.status-row + .status-row { border-top: 1px solid var(--color-divider); }
.status-row .ph { font-size: 18px; flex: none; }
.status-row code { word-break: break-all; }
.status-pill { flex: none; font-size: 12px; line-height: 18px; padding: 2px 10px; border-radius: 999px; background: var(--color-accent-900); color: var(--color-accent); }
.status-pill.is-down { background: var(--color-accent-2-900); color: var(--color-accent-2); }

/* guest landing on the catalog home (resources/views/catalog/landing.blade.php) */
.lp { --lp-display: "Bricolage Grotesque", var(--font-heading); --lp-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --lp-line: color-mix(in srgb, var(--color-text) 12%, transparent); --lp-line-strong: color-mix(in srgb, var(--color-text) 22%, transparent);
  --lp-t2: color-mix(in srgb, var(--color-text) 72%, transparent); --lp-t3: color-mix(in srgb, var(--color-text) 50%, transparent);
  --lp-raised: color-mix(in srgb, var(--color-surface) 80%, var(--color-text) 6%); --lp-warn: #ffb86b; }
.lp-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.lp h1, .lp h2, .lp h3 { font-family: var(--lp-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
.lp h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; }
.lp h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.lp p { margin: 0; }
.lp-eyebrow { font: 500 12px/1 var(--lp-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.lp-lead { color: var(--lp-t2); font-size: 17px; line-height: 1.6; max-width: 60ch; }
.lp-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 780px; }
.lp-section { padding-block: 88px; border-top: 1px solid var(--lp-line); }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; font: 600 15px/1 var(--font-body); padding: 13px 18px; cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: nowrap; }
.lp-btn-lime { background: var(--color-accent); color: var(--color-bg); }
.lp-btn-lime:hover { background: var(--color-accent-400); }
.lp-btn-ghost { color: var(--color-text); border-color: var(--lp-line-strong); background: transparent; }
.lp-btn-ghost:hover { border-color: var(--lp-t3); }
.lp-btn-ink { background: var(--color-bg); color: var(--color-accent); }
.lp-btn-ink:hover { background: color-mix(in srgb, var(--color-bg) 70%, black); }
.lp-btn-sm { padding: 9px 14px; font-size: 14px; }
.lp-copy { font: 500 12px/1 var(--lp-mono); color: var(--color-accent); background: none; border: 0; cursor: pointer; padding: 6px 4px; flex: none; }

.lp-hero { padding-block: 48px 80px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.lp-hero-grid > *, .lp-ba > *, .lp-trust > *, .lp-calc > *, .lp-role > * { min-width: 0; }
.lp .hero-eyebrow { max-width: 100%; }
.lp .hero-eyebrow span { min-width: 0; }
.lp .hero-eyebrow code { overflow-wrap: anywhere; }
.lp-hero h1 { font-size: clamp(42px, 5.6vw, 74px); line-height: 1; font-weight: 800; letter-spacing: -0.022em; }
.lp-hero h1 em { font-style: normal; color: var(--color-accent); }
.lp-hero .lp-lead { margin-top: 22px; font-size: 18px; }
.lp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lp-mcp { margin-top: 22px; display: grid; gap: 8px; font: 400 13px/1.4 var(--lp-mono); color: var(--lp-t3); max-width: 600px; }
.lp-mcp > *, .lp-role-intro > * { min-width: 0; }


/* hero, right column: where the agent writes + an example conversation. The two skins only approximate
   Slack and Discord (their own greys and accents, scoped to .lp-chat); they are not ecomdly's palette. */
.lp-talk { display: grid; gap: 14px; min-width: 0; }
.lp-where { display: grid; gap: 10px; }
.lp .lp-where-title { font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--lp-display); letter-spacing: -0.02em; color: var(--color-accent); margin: 0; text-wrap: balance; }
.lp-channels { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-channel { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--lp-line-strong); background: transparent; color: var(--lp-t2); font: 600 14.5px/1 var(--font-body); cursor: pointer; }
.lp-channel img { width: 18px; height: 18px; display: block; }
.lp-channel[aria-pressed="true"] { border-color: var(--color-accent); color: var(--color-text); background: color-mix(in srgb, var(--color-accent) 6%, transparent); }
.lp-channel.is-soon { cursor: default; color: var(--lp-t3); }
.lp-soon { font: 500 10.5px/1 var(--lp-mono); border: 1px solid var(--lp-line); border-radius: 999px; padding: 3px 6px; }
.lp .lp-where-hint { font-size: 13.5px; color: var(--lp-t3); }
.lp-chat { --c-bg: #1a1d21; --c-side: #19171d; --c-text: #d1d2d3; --c-muted: #9a9b9e; --c-line: rgba(255, 255, 255, 0.08); --c-accent: #1264a3; --c-mention: rgba(29, 155, 209, 0.18); --c-mention-text: #1d9bd1; --c-ok: #007a5a; --c-card: rgba(0, 0, 0, 0.18);
  display: grid; grid-template-columns: 160px 1fr; border-radius: 16px; overflow: hidden; border: 1px solid var(--lp-line-strong); background: var(--c-bg); color: var(--c-text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); font: 400 14.5px/1.45 var(--font-body); min-width: 0; }
.lp-chat[data-skin="discord"] { --c-bg: #313338; --c-side: #2b2d31; --c-text: #dbdee1; --c-muted: #949ba4; --c-line: rgba(255, 255, 255, 0.06); --c-accent: #5865f2; --c-mention: rgba(88, 101, 242, 0.25); --c-mention-text: #c9cdfb; --c-ok: #248046; --c-card: #2b2d31; }
.lp-chat-side { background: var(--c-side); padding: 14px 10px; display: grid; align-content: start; gap: 2px; border-right: 1px solid var(--c-line); font-size: 14px; }
.lp-ws { font: 700 15px/1.2 var(--font-body); color: #fff; padding: 2px 8px 12px; display: flex; align-items: center; gap: 8px; }
.lp-ws i { width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--color-accent); display: grid; place-items: center; font-style: normal; color: var(--color-bg); font-size: 12px; }
.lp-chat[data-skin="discord"] .lp-ws i, .lp-chat[data-skin="discord"] .lp-av { border-radius: 50%; }
.lp-side-h { font: 600 11.5px/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-muted); padding: 10px 8px 6px; }
.lp-ch { padding: 5px 8px; border-radius: 6px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ch span { opacity: 0.7; margin-right: 4px; }
.lp-ch.on { background: var(--c-accent); color: #fff; }
.lp-chat[data-skin="discord"] .lp-ch.on { background: rgba(255, 255, 255, 0.08); }
.lp-ch.bot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2bac76; margin-right: 7px; }
.lp-chat-main { display: grid; grid-template-rows: auto 1fr auto auto; min-width: 0; }
.lp-chat-top { padding: 12px 16px; border-bottom: 1px solid var(--c-line); display: flex; gap: 10px; align-items: center; min-width: 0; }
.lp-chat-top img { width: 18px; height: 18px; flex: none; }
.lp-chat-top b { color: #fff; font-weight: 700; white-space: nowrap; }
.lp-chat-top span { color: var(--c-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lp-feed { padding: 14px 16px 6px; display: grid; gap: 14px; align-content: end; min-height: 360px; }
.lp-msg { display: grid; grid-template-columns: 36px 1fr; gap: 10px; animation: lp-in 0.35s ease both; }
@keyframes lp-in { from { opacity: 0; transform: translateY(6px); } }
.lp-av { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font: 700 13px/1 var(--font-body); color: #fff; }
.lp-av.u { background: #7b5ea7; }
.lp-av.bot { background: var(--color-bg); border: 1px solid rgba(255, 255, 255, 0.12); }
.lp-av.bot svg { width: 20px; height: 20px; fill: var(--color-text); }
.lp-av.bot svg circle { fill: var(--color-accent); }
.lp-who { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.lp-who b { color: #fff; font-weight: 700; }
.lp-who time { font-size: 12px; color: var(--c-muted); }
.lp-tag { font: 600 10px/1 var(--font-body); text-transform: uppercase; background: rgba(255, 255, 255, 0.12); color: var(--c-muted); border-radius: 3px; padding: 3px 4px; }
.lp-chat[data-skin="discord"] .lp-tag { background: var(--c-accent); color: #fff; }
.lp-mbody { min-width: 0; overflow-wrap: anywhere; }
.lp-mbody code { font-family: var(--lp-mono); font-size: 0.88em; }
.lp-mention { background: var(--c-mention); color: var(--c-mention-text); border-radius: 4px; padding: 0 3px; font-weight: 500; }
.lp-card { margin-top: 6px; border: 1px solid var(--c-line); border-left: 4px solid var(--color-accent); border-radius: 8px; padding: 10px 12px; background: var(--c-card); display: grid; gap: 8px; }
.lp-chat[data-skin="discord"] .lp-card { border: 0; border-left: 4px solid var(--color-accent); border-radius: 4px; }
.lp-card-t { font-weight: 700; color: #fff; }
.lp-prog { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--lp-mono); color: var(--c-muted); }
.lp-pbar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.lp-pbar span { display: block; height: 100%; background: var(--color-accent-2); transition: width 0.5s ease; }
.lp-prog b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 13.5px; margin: 0; }
.lp-kv dt { color: var(--c-muted); }
.lp-kv dd { margin: 0; }
.lp-kv dd.warn { color: var(--lp-warn); }
.lp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-act { font: 600 13px/1 var(--font-body); padding: 8px 12px; border-radius: 6px; border: 1px solid var(--c-line); background: transparent; color: var(--c-text); cursor: pointer; }
.lp-act.primary { background: var(--c-ok); border-color: var(--c-ok); color: #fff; }
.lp-chat[data-skin="discord"] .lp-act { border: 0; background: #4e5058; color: #fff; border-radius: 4px; }
.lp-chat[data-skin="discord"] .lp-act.primary { background: var(--c-ok); }
.lp-act.done { opacity: 0.55; cursor: default; }
.lp-typing { color: var(--c-muted); font-size: 13px; padding: 0 16px 6px 62px; min-height: 22px; }
.lp-typing i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--c-muted); margin-right: 3px; animation: lp-dot 1s infinite; }
.lp-typing i:nth-child(2) { animation-delay: 0.15s; } .lp-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lp-dot { 50% { opacity: 0.2; } }
.lp-compose { margin: 0 16px 14px; border: 1px solid var(--c-line); border-radius: 8px; padding: 10px 12px; color: var(--c-muted); font-size: 14px; }
.lp-chat[data-skin="discord"] .lp-compose { border: 0; background: #383a40; }
.lp-scenarios { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lp-scn { font: 500 12.5px/1 var(--lp-mono); color: var(--lp-t3); background: none; border: 1px solid var(--lp-line); border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.lp-scn[aria-pressed="true"] { color: var(--color-bg); background: var(--color-accent); border-color: var(--color-accent); }
.lp-replay { font: 500 12.5px/1 var(--lp-mono); color: var(--color-accent); background: none; border: 0; cursor: pointer; margin-left: auto; padding: 7px 4px; }

.lp-strip { padding-block: 26px; border-top: 1px solid var(--lp-line); }
.lp-strip .lp-wrap { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.lp-strip-label { font: 500 12px/1 var(--lp-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-t3); }
.lp-strip-list { display: flex; gap: 10px 26px; flex-wrap: wrap; font: 600 16px/1 var(--lp-display); color: var(--lp-t2); }

.lp-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-job { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; background: var(--color-surface); border: 1px solid var(--lp-line); border-radius: 16px; padding: 22px; color: var(--color-text); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.lp-job:hover { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); transform: translateY(-2px); color: var(--color-text); }
.lp-job-when { font: 500 12px/1 var(--lp-mono); color: var(--lp-t3); }
.lp-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; font: 400 12.5px/1.35 var(--lp-mono); }
.lp-flow span { background: var(--lp-raised); border-radius: 8px; padding: 8px 10px; color: var(--lp-t2); }
.lp-flow span:last-child { background: var(--color-accent-900); color: var(--color-accent-300); }
.lp-flow i { color: var(--lp-t3); font-style: normal; }
.lp-job-skill { font: 400 12.5px/1.2 var(--lp-mono); color: var(--color-accent); overflow-wrap: anywhere; }

.lp-ba { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.lp-ba-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--lp-line-strong); background: var(--color-surface); }
.lp-ba-layer { padding: 44px 20px 18px; }
.lp-ba-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--lp-line); font-size: 14.5px; line-height: 1.45; }
.lp-ba-row:last-child { border-bottom: 0; }
.lp-ba-id { font: 400 12px/1.6 var(--lp-mono); color: var(--lp-t3); }
.lp-ba-before .lp-ba-title { color: var(--lp-t2); }
.lp-ba-before mark { background: color-mix(in srgb, var(--lp-warn) 16%, transparent); color: var(--lp-warn); border-radius: 4px; padding: 0 3px; }
.lp-ba-after { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-accent-900) 60%, var(--color-bg)); clip-path: inset(0 0 0 var(--split, 50%)); }
.lp-ba-after .lp-ba-title { color: var(--color-text); }
.lp-ba-after b { color: var(--color-accent); font-weight: 500; }
.lp-ba-tag { position: absolute; top: 12px; font: 500 11px/1 var(--lp-mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 9px; border-radius: 6px; z-index: 2; pointer-events: none; }
.lp-ba-tag.l { left: 12px; background: var(--lp-raised); color: var(--lp-t2); }
.lp-ba-tag.r { right: 12px; background: var(--color-accent); color: var(--color-bg); }
.lp-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: var(--color-accent); transform: translateX(-1px); pointer-events: none; z-index: 2; }
.lp-ba-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--color-accent); color: var(--color-bg); display: grid; place-items: center; font-size: 16px; font-weight: 700; }
.lp-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.lp-ba-range:focus-visible ~ .lp-ba-handle, .lp-ba-frame:focus-within .lp-ba-handle::after { outline: 2px solid var(--color-text); outline-offset: 2px; }
.lp-ba-side { display: grid; gap: 16px; }
.lp-formula { font: 400 13px/1.7 var(--lp-mono); background: var(--color-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 14px 16px; color: var(--lp-t2); }
.lp-formula b { color: var(--color-accent); font-weight: 500; }
.lp-checks { display: grid; gap: 8px; font-size: 14.5px; color: var(--lp-t2); padding: 0; margin: 0; list-style: none; }
.lp-checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.lp-checks li::before { content: "\2713"; color: var(--color-accent); font-weight: 700; }
.lp-ba-side .lp-btn { justify-self: start; }

.lp-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-tab { font: 600 14.5px/1 var(--font-body); color: var(--lp-t2); background: transparent; border: 1px solid var(--lp-line-strong); border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.lp-tab[aria-selected="true"] { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.lp-role { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-role[hidden] { display: none; }
.lp-role-intro { background: var(--color-surface); border: 1px solid var(--lp-line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.lp-role-intro p { color: var(--lp-t2); }
.lp-install { display: flex; gap: 8px; align-items: center; background: var(--color-bg); border: 1px solid var(--lp-line); border-radius: 10px; padding: 10px 12px; font: 400 12.5px/1.4 var(--lp-mono); color: var(--lp-t2); }
.lp-install code { white-space: nowrap; overflow-x: auto; font-family: var(--lp-mono); min-width: 0; flex: 1; }
.lp-role-list { display: grid; gap: 10px; }
.lp-role-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; background: var(--color-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--color-text); }
.lp-role-item:hover { border-color: var(--lp-line-strong); color: var(--color-text); }
.lp-role-item .n { font: 500 13.5px/1.3 var(--lp-mono); }
.lp-role-item .c { font: 400 12px/1.3 var(--lp-mono); color: var(--lp-t3); text-align: right; }
.lp-role-item .d { grid-column: 1 / -1; font-size: 14px; color: var(--lp-t2); }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-step { display: grid; gap: 14px; align-content: start; padding: 24px; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--color-surface); min-width: 0; }
.lp-step-n { font: 800 44px/1 var(--lp-display); color: var(--color-accent); letter-spacing: -0.03em; }
.lp-step p { color: var(--lp-t2); font-size: 15px; }
.lp-file { margin: 0; font: 400 12.5px/1.65 var(--lp-mono); background: var(--color-bg); border: 1px solid var(--lp-line); border-radius: 10px; padding: 12px 14px; color: var(--lp-t2); white-space: pre-wrap; overflow-wrap: anywhere; }
.lp-file .h { color: var(--color-accent); }
.lp-file .k { color: var(--color-accent-2); }

.lp-calc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--lp-line-strong); border-radius: 18px; overflow: hidden; }
.lp-calc-in { padding: 28px; display: grid; gap: 22px; background: var(--color-surface); }
.lp-field { display: grid; gap: 8px; }
.lp-field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--lp-t2); }
.lp-field-top output { font: 500 15px/1 var(--lp-mono); color: var(--color-text); font-variant-numeric: tabular-nums; }
.lp-field input[type="range"] { width: 100%; accent-color: var(--color-accent); }
.lp-calc-out { padding: 28px; display: grid; gap: 18px; align-content: center; background: color-mix(in srgb, var(--color-accent-900) 60%, var(--color-bg)); }
.lp-metric { display: grid; gap: 4px; }
.lp-metric-label { font: 500 12px/1.2 var(--lp-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-t3); }
.lp-metric-value { font: 800 clamp(40px, 5.4vw, 60px)/1 var(--lp-display); color: var(--color-accent); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.lp-metric-value.sm { font-size: 30px; color: var(--color-text); }
.lp-metric-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-calc-note { font-size: 13.5px; color: var(--lp-t3); }

.lp-trust { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.lp-stat { border-top: 1px solid var(--lp-line-strong); padding-top: 12px; }
.lp-stat b { display: block; font: 800 34px/1 var(--lp-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-stat span { font-size: 13.5px; color: var(--lp-t3); }
.lp-pipeline { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; counter-reset: lp-p; }
.lp-pipeline li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; background: var(--color-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.lp-pipeline li::before { counter-increment: lp-p; content: counter(lp-p); font: 500 12px/1 var(--lp-mono); color: var(--color-bg); background: var(--color-accent); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; }
.lp-pipeline .pass { font: 500 11.5px/1 var(--lp-mono); color: var(--color-accent); background: var(--color-accent-900); border-radius: 999px; padding: 5px 9px; }

.lp-faq { display: grid; gap: 10px; max-width: 820px; }
.lp-faq details { background: var(--color-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 0 18px; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 16.5px/1.35 var(--font-body); display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--color-accent); font: 500 20px/1 var(--lp-mono); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { color: var(--lp-t2); padding-bottom: 16px; font-size: 15px; max-width: 70ch; }

.lp-final-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-radius: 22px; padding: 44px; background: var(--color-accent); color: var(--color-bg); }
.lp .lp-final-box h2 { color: var(--color-bg); }
.lp-final-box p { margin-top: 10px; color: color-mix(in srgb, var(--color-bg) 75%, transparent); max-width: 56ch; }

@media (max-width: 1040px) {
  .lp-hero-grid, .lp-ba, .lp-trust { grid-template-columns: 1fr; gap: 40px; }
  .lp-jobs { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .lp-role, .lp-calc { grid-template-columns: 1fr; }
  .lp-final-box { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 620px) {
  .lp-wrap { padding-inline: 16px; }
  .lp-section { padding-block: 56px; }
  .lp-head { margin-bottom: 28px; }
  .lp-hero { padding-block: 24px 48px; }
  .lp-hero h1 { font-size: clamp(34px, 10.5vw, 44px); }
  .lp-hero .lp-lead { font-size: 16px; margin-top: 16px; }
  .lp-lead { font-size: 15.5px; }
  .lp-ctas { margin-top: 22px; }
  .lp-ctas .lp-btn { flex: 1 1 auto; justify-content: center; }
  .lp .hero-eyebrow { font-size: 12px; line-height: 17px; }
  .lp-jobs { grid-template-columns: 1fr; }
  .lp-job { padding: 18px; }
  .lp-chat { grid-template-columns: 1fr; }
  .lp-chat-side { display: none; }
  .lp-feed { min-height: 0; padding: 12px 12px 6px; }
  .lp-chat, .lp-kv { font-size: 13.5px; }
  .lp-typing { padding-left: 58px; }
  .lp-compose { margin: 0 12px 12px; }
  .lp-ba-layer { padding: 42px 14px 12px; }
  .lp-ba-row { grid-template-columns: 44px 1fr; gap: 10px; font-size: 13.5px; }
  .lp-role-intro, .lp-step, .lp-calc-in, .lp-calc-out { padding: 20px; }
  .lp-stat b { font-size: 28px; }
  .lp-pipeline li { grid-template-columns: 28px 1fr; }
  .lp-pipeline .pass { grid-column: 2; justify-self: start; }
  .lp-final-box h2 { font-size: 26px; }
  .lp-final-box .lp-btn { justify-content: center; }
}
@media (max-width: 400px) {
  .lp-flow { grid-template-columns: 1fr; }
  .lp-flow i { transform: rotate(90deg); justify-self: start; padding-left: 10px; }
  .lp-metric-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-job, .lp-pbar span, .lp-msg { transition: none; animation: none; }
}
