/* Voinly landing page (Nov 2026 redesign, docs/REDESIGN.md).
   Owner: the landing agent. Loaded by landing.html only, after app.css, r2.css, site.css and the page's own
   <style> block, so equal-specificity rules here win. Scope: hero, proof pill, module strip, bento grid, feature
   rows with chat mockups, dashboard screenshots, What's new / Need a hand, module catalogue, steps, final CTA.
   Tokens of app.css only, except inside the Discord-style mockups (Discord's own greys and role colours).
   Spacing stays on the 4px scale. Motion sits behind prefers-reduced-motion: no-preference.
   Contrast notes: --text-body #a1a1aa is >= 6.9:1 on every surface used here (canvas, surface-1/2/3);
   --text-faint is only used for the muted second line of 32px+ headings (4.15:1, large text). */

/* ------------------------------------------------------------------ page frame */
.lp { overflow-x: clip; }
.lp .lp-wrap { max-width: 1200px; padding: 0 24px; }
.lp .eyebrow { margin: 0 0 16px; font: 600 12px/16px var(--font-ui); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--sky); }
.lp-section, .lp .shots, .lp .trust, .lp .modules { padding-top: 128px; }
.lp .lp-steps { padding-top: 112px; }

.lp .section-head { max-width: 720px; margin: 0; }
.lp .section-head.center { margin: 0 auto; text-align: center; }
.lp .section-head h2 { margin: 0; text-wrap: balance; }
.lp .section-head h2 .muted-line { display: block; color: var(--text-faint); }
.lp .section-head p:not(.eyebrow) { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-body); }
.lp .section-head.center p:not(.eyebrow) { max-width: 600px; margin-left: auto; margin-right: auto; }

/* Hero CTAs: the Discord button is blurple (white on #5865f2 is 4.6:1; the hover #4752c4 is 6.3:1). */
.lp .btn-lg { height: 52px; padding: 0 24px; border-radius: 12px; font-size: 16px; }
.lp .lp-btn-discord { --btn-bg: var(--clr-discord); --btn-fg: #fff; --btn-bd: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 28px -8px rgba(88, 101, 242, .65); }
.lp .lp-btn-discord:hover { --btn-bg: #4752c4; }
.lp .lp-btn-quiet { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: var(--border-default); }
.lp .lp-btn-quiet:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: var(--border-hover); }

/* ------------------------------------------------------------------ hero */
/* The floating header is a transparent sticky strip that takes 72px of flow (12px gap + 60px pill; 68px at 640px and
   below), so the hero is pulled up under it and adds the height back as padding: the glow, the grid and the column
   lines then run behind the pill up to the top of the window instead of starting at a hard edge under it. */
.lp .hero { position: relative; display: block; margin-top: -72px; padding: 208px 0 112px; text-align: center; isolation: isolate;
  border-bottom: 1px solid var(--border-hairline); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 75% at 50% -10%, rgba(0, 132, 255, .30) 0%, rgba(107, 88, 238, .16) 40%, transparent 72%),
    radial-gradient(30% 40% at 85% 10%, rgba(67, 224, 168, .07) 0%, transparent 70%),
    radial-gradient(30% 40% at 12% 20%, rgba(107, 88, 238, .10) 0%, transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%); }
/* The framing lines of the 1200px column, fading out towards the bottom of the hero. */
.lp .hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; z-index: -1; pointer-events: none;
  width: min(1200px, calc(100% - 32px)); transform: translateX(-50%);
  border-left: 1px solid var(--border-hairline); border-right: 1px solid var(--border-hairline);
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 36px; padding: 4px 14px 4px 4px;
  border-radius: var(--radius-full); border: 1px solid var(--border-default); background: rgba(255, 255, 255, .04);
  color: var(--text-secondary); font: 500 14px/20px var(--font-ui); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color var(--dur-fast) var(--ease-smooth), color var(--dur-fast) var(--ease-smooth), background-color var(--dur-fast) var(--ease-smooth); }
.hero-badge:hover { color: var(--text-primary); border-color: var(--border-hover); background: rgba(255, 255, 255, .06); text-decoration: none; }
.hero-badge:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.hero-badge-tag { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-full);
  background: var(--fill-primary); color: #fff; font: 700 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.hero-badge-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-badge .icon { flex: none; color: var(--text-tertiary); }

.lp .hero h1 { max-width: 13.5em; margin: 28px auto 0; text-wrap: balance; color: var(--text-primary); }
/* The first line stays white and the lines under it take the brand gradient (three lines on a desktop:
   "The free all-in-one" / "Discord bot for your" / "whole server."). Large text: #5fb8ff, #8b7cf6 and #43e0a8 are
   all >= 5:1 here. */
@supports ((height: 1lh) and ((-webkit-background-clip: text) or (background-clip: text))) {
  .lp .hero h1 {
    background: linear-gradient(#fff, #fff) 0 0 / 100% 1lh no-repeat,
                linear-gradient(90deg, #5fb8ff 25%, #8b7cf6 50%, #43e0a8 78%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  }
}
/* Landing test (Nov 2026): the subhead names the jobs and the free promise, so it reads in the brighter secondary
   grey (#c4c4cc, 11:1 on the canvas) instead of the body grey that made it easy to skip. */
.lp .hero .lede { max-width: 620px; margin: 24px auto 0; font-size: 18px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }
.lp .login-error { margin: 24px auto 0; max-width: 46ch; text-align: left; }
.lp .hero .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.lp .hero .cta .btn { min-width: 192px; }

/* The proof pill: the modules' own stickers, then the facts (changelog day, module count, permissions). */
.lp .hero .proof { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 0; list-style: none;
  margin: 48px 0 0; padding: 6px 4px 6px 6px; border-radius: var(--radius-full); border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, .025); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.lp .hero .proof li { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; }
.lp .hero .proof li + li:not(.proof-stack) { border-left: 1px solid var(--border-default); }
.lp .hero .proof li.proof-stack + li { border-left: 0; padding-left: 4px; }
.lp .hero .proof .icon { color: var(--sky); flex: none; }
.lp .hero .proof a { display: inline-block; padding: 2px 0; color: inherit; text-decoration: none; }
.lp .hero .proof a:hover { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.lp .hero .proof .proof-stack { padding: 0 0 0 8px; }
.proof-sticker { width: 32px; height: 32px; padding: 6px; margin-left: -8px; border-radius: 50%; background: var(--clr-surface-3);
  box-shadow: 0 0 0 2px var(--clr-canvas), inset 0 0 0 1px var(--border-default); }

/* ------------------------------------------------------------------ module strip (decoration) */
.lp-strip { padding: 40px 0 0; text-align: center; overflow: hidden; }
.lp-strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-strip-label { margin: 0 0 24px; font-size: 14px; font-weight: 500; color: var(--text-tertiary); }
.lp-strip-track { display: flex; width: max-content; }
.lp-strip-row { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.lp-strip-row li { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px; white-space: nowrap;
  border-radius: 12px; border: 1px solid var(--border-subtle); background: var(--clr-surface-1);
  color: var(--text-secondary); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-card); }
.lp-strip-sticker { width: 24px; height: 24px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .lp-strip-track { animation: lp-strip 90s linear infinite; }
  .lp-strip:hover .lp-strip-track { animation-play-state: paused; }
}
@keyframes lp-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.bento-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px; overflow: hidden;
  border-radius: var(--radius-2xl); border: 1px solid var(--border-subtle);
  background: var(--grad-card), var(--clr-surface-1); box-shadow: var(--shadow-card); }
.bento-card.wide { grid-column: span 2; }
.bento-card h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.015em; color: var(--text-primary); }
.bento-card p { margin: 8px 0 0; max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--text-body); }
.bento-visual { position: relative; flex: 1 0 auto; display: grid; place-items: center; align-content: center; min-height: 248px; padding: 16px 0; margin: -8px -8px 24px; border-radius: 16px; }
.bento-visual::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 40%, rgba(0, 132, 255, .12), transparent 70%); }
.bento-card:nth-child(2) .bento-visual::before { background: radial-gradient(50% 60% at 50% 45%, rgba(107, 88, 238, .2), transparent 70%); }
.bento-card:nth-child(3) .bento-visual::before { background: radial-gradient(60% 60% at 50% 50%, rgba(67, 224, 168, .1), transparent 70%); }
.bento-visual > * { position: relative; z-index: 1; }

.mock { width: min(400px, 100%); padding: 16px; border-radius: 16px; border: 1px solid var(--border-default);
  background: var(--clr-surface-2); box-shadow: var(--shadow-float); text-align: left; }
.mock-title { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.mock-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(0, 132, 255, .14); color: var(--sky); }
.mock-live.off { background: rgba(255, 255, 255, .08); color: var(--text-tertiary); }
.mock-live { margin-left: auto; padding: 2px 8px; border-radius: var(--radius-full); background: rgba(34, 197, 94, .12); color: var(--clr-success); font-size: 12px; font-weight: 600; }
.mock-rule { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 8px; padding: 12px;
  border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--clr-surface-3); font: inherit; font-size: 13px; color: var(--text-secondary); text-align: left; cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-smooth); }
.mock-rule:hover { border-color: var(--border-hover); }
.mock-rule[aria-pressed="true"] { color: var(--text-primary); }
.mock-rule:first-of-type { margin-top: 16px; }
.mock-rule > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.mock-rule .icon { color: var(--text-tertiary); }
.mock-switch, .mock-switch::after { transition: background-color var(--dur-fast) var(--ease-smooth), left var(--dur-fast) var(--ease-smooth); }
.mock-switch { position: relative; flex: none; width: 36px; height: 20px; border-radius: var(--radius-full); background: #3f4048; }
.mock-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #d4d4d8; }
.mock-switch.on { background: var(--clr-primary); }
.mock-switch.on::after { left: 18px; background: #fff; }

.mock-ring { position: relative; width: 148px; height: 148px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; font: inherit; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-smooth); }
.mock-ring:hover { transform: scale(1.03); }
.mock-ring:active { transform: scale(.97); }
.mock-ring-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.mock-ring-hint { font-size: 12px; font-weight: 500; color: var(--text-tertiary); }
.mock-ring svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 24px rgba(107, 88, 238, .35)); }
.mock-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mock-ring-text small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.mock-ring-text b { font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--text-primary); }

.mock-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 300px; }
.mock-role { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: var(--radius-full);
  border: 1px solid var(--border-default); background: var(--clr-surface-2); color: var(--text-secondary); font: 500 13px/1 var(--font-ui); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-smooth), border-color var(--dur-fast) var(--ease-smooth), color var(--dur-fast) var(--ease-smooth); }
.mock-role:hover { border-color: var(--border-hover); color: var(--text-primary); }
.mock-role i { width: 8px; height: 8px; border-radius: 50%; }
.mock-role.on { border-color: rgba(0, 132, 255, .55); background: rgba(0, 132, 255, .14); color: var(--text-primary); }

.mock-log { width: min(480px, 100%); padding: 8px; }
.mock-log-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px;
  border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--clr-surface-3); font-size: 13px; line-height: 20px; color: var(--text-secondary); }
.mock-log, .mock-log-static { display: grid; gap: 8px; }
.mock-log-row.fresh { border-color: rgba(0, 132, 255, .45); }
.mock-log-row b { color: var(--text-primary); font-weight: 600; }
.mock-log-row time { font-size: 12px; color: var(--text-tertiary); white-space: nowrap; }
.mock-log-sub { margin-top: 2px; font-size: 12px; color: var(--text-tertiary); }
.mock-log-sub s { text-decoration-color: rgba(248, 113, 113, .8); }
.mock-log-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; }
.mock-log-ic.red { background: rgba(239, 68, 68, .14); color: #f87171; }
.mock-log-ic.blue { background: rgba(0, 132, 255, .14); color: var(--sky); }
.mock-log-ic.green { background: rgba(34, 197, 94, .12); color: #4ade80; }
.mock-ch { color: var(--sky); }
.mock-pill { display: inline-block; padding: 0 6px; border-radius: 4px; background: rgba(46, 204, 113, .14); color: #4ade80; font-weight: 500; }

/* ------------------------------------------------------------------ feature rows */
.lp-features { padding-top: 64px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px 0; }
.feature-row.panel { position: relative; margin: 32px 0; padding: 64px; border-radius: var(--radius-2xl); border: 1px solid var(--border-subtle);
  background: var(--glow-panel), var(--grad-card), var(--clr-surface-1); box-shadow: var(--shadow-card); }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy { max-width: 480px; }
.feature-row.flip .feature-copy { justify-self: end; }
.feature-copy h2 { margin: 0; font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--text-primary); text-wrap: balance; }
.feature-copy > p:not(.eyebrow) { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-body); }
.feature-copy > p:not(.lp-tagline) + p { margin-top: 12px; }
.lp-points { display: grid; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.lp-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 20px; color: var(--text-secondary); }
.lp-point-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border-default); background: rgba(255, 255, 255, .03); color: var(--text-primary); }
.feature-visual { position: relative; display: flex; justify-content: center; min-width: 0; }
.feature-visual::before { content: ""; position: absolute; inset: -10% -5%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 132, 255, .10), transparent 70%); }
.feature-row:nth-child(2) .feature-visual::before { background: radial-gradient(50% 50% at 50% 50%, rgba(107, 88, 238, .14), transparent 70%); }
.feature-row:nth-child(3) .feature-visual::before { background: radial-gradient(50% 50% at 50% 50%, rgba(67, 224, 168, .08), transparent 70%); }

/* Chat mockups (R7): small Discord windows you can click (static/js/landing.js). Inside them the colours are
   Discord's own dark theme, as docs/REDESIGN.md allows for Discord previews. Contrast on the window #1c1d21 and the
   embed #24252a: text #dbdee1 >= 12:1, muted #949ba4 >= 5.4:1, link #00a8fc >= 6:1, embed footer #b5bac1 >= 7:1. */
.lc { --dc-brand: #5865f2; --dc-mention-fg: #c9cdfb; --dc-mention-bg: rgba(88, 101, 242, .3);
  --dc-btn-primary: #5865f2; --dc-btn-primary-hover: #4752c4; --dc-btn-primary-active: #3c45a5;
  --dc-btn-secondary: #4e5058; --dc-btn-secondary-hover: #6d6f78; --dc-btn-secondary-active: #80848e;
  --dc-btn-danger: #da373c; --dc-btn-danger-hover: #a12828; --dc-btn-danger-active: #8f2022;
  --dc-btn-flat: #4e5058; --dc-btn-flat-hover: #6d6f78; --dc-btn-flat-active: #80848e; --dc-btn-border: transparent;
  --dc-reaction-bg: rgba(151, 151, 159, .12); --dc-reaction-bg-hover: rgba(151, 151, 159, .2); --dc-reaction-text: #dbdee1;
  --dc-reaction-me-bg: rgba(88, 101, 242, .24); --dc-reaction-me-border: #5865f2; --dc-reaction-me-text: #dee0fc; }
.lc { position: relative; z-index: 1; display: block; width: 100%; overflow: hidden; border-radius: 16px; border: 1px solid var(--border-default);
  background: #1c1d21; box-shadow: var(--shadow-float); font: 400 14px/20px var(--font-discord); color: #dbdee1; text-align: left; }
.lc-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 12px 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .4); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); color: #f2f3f5; font-size: 15px; font-weight: 600; }
.lc-bar-name { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.lc-bar-name .icon { flex: none; color: #80848e; }
.lc-body { display: grid; gap: 16px; padding: 16px 16px 20px; }
.lc-row { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.lc-av { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.lc-av-bot { background: #6b58ee; }
.lc-av-bot img { width: 100%; height: 100%; display: block; }
.lc-av-xs { flex: none; width: 16px; height: 16px; border-radius: 50%; }
.lc-row:has(> .lc-col > .lc-used) > .lc-av { margin-top: 24px; }
/* Discord groups a run of messages from one person under a single name. */
.lc-body > .lc-row.lc-cont { margin-top: -12px; }
.lc-row.lc-cont > .lc-av { height: 0; visibility: hidden; }
.lc-row.lc-cont .lc-head { display: none; }
.lc-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; flex: 1; }
.lc-head { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.lc-head b { color: #f2f3f5; font-weight: 600; font-size: 15px; }
.lc-head time { font-size: 12px; color: #949ba4; }
.lc-head .dc-app { margin: 0; }
.lc-used { display: flex; align-items: center; gap: 6px; min-height: 20px; margin-bottom: 4px; font-size: 13px; color: #949ba4; }
.lc-used b { color: #dbdee1; font-weight: 500; }
.lc-cmd { color: #00a8fc; }
.lc-text { margin-top: 2px; color: #dbdee1; overflow-wrap: anywhere; }
.lc-text strong, .lc-embed strong { color: #f2f3f5; font-weight: 600; }
.lc .dc-mention { font-family: inherit; }
.lc-url { color: #00a8fc; overflow-wrap: anywhere; }
.lc-block { display: block; }
.lc-ts { padding: 0 2px; border-radius: 3px; background: rgba(255, 255, 255, .06); }
.lc-sub { margin-top: 2px; font-size: 12px; line-height: 16px; color: #949ba4; }
.lc-faint { color: #949ba4; }
.lc-small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; }
.lc-user.struck .lc-text { text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, .85); color: #949ba4; }
.lc-sys { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #949ba4; }
.lc-sys-ic { display: flex; justify-content: center; flex: none; width: 36px; color: #23a55a; }
.lc-sys b { color: #f2f3f5; font-weight: 600; }
.lc-sys time { flex: none; font-size: 12px; }
.lc-chan { display: flex; align-items: center; gap: 8px; color: #949ba4; font-size: 12px; font-weight: 600; }
.lc-chan::before, .lc-chan::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .08); }
.lc-chan span { display: inline-flex; align-items: center; gap: 2px; }
.lc-hint { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #949ba4; }
.lc-hint .icon { flex: none; color: #f0b232; }

/* Embeds: the 4px colour bar of Discord, the colour from --emb. */
.lc-embed { display: grid; gap: 4px; max-width: 100%; margin-top: 6px; padding: 10px 16px 12px 12px; border-radius: 4px;
  border-left: 4px solid var(--emb, #4e5058); background: #24252a; font-size: 14px; line-height: 20px; }
.lc-col > .lc-embed { align-self: stretch; }
.lc-embed-title { display: block; color: #00a8fc; font-size: 15px; font-weight: 600; }
.lc-embed-title.plain { color: #f2f3f5; }
.lc-embed-desc { color: #dbdee1; overflow-wrap: anywhere; }
.lc-embed-author { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #f2f3f5; }
.lc-embed-prov { font-size: 12px; color: #b5bac1; }
.lc-embed-foot { margin-top: 4px; font-size: 12px; line-height: 16px; color: #b5bac1; }
.lc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lc-field b { display: block; font-size: 13px; font-weight: 600; color: #f2f3f5; }
.lc-code { padding: 0 4px; border-radius: 4px; border: 1px solid #34353b; background: #1c1d21; font: 12px/18px var(--font-mono, ui-monospace, monospace); color: #dbdee1; }
.lc-field .lc-code { display: block; margin-top: 4px; padding: 6px 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.lc-poll-opt + .lc-poll-opt { margin-top: 6px; }
.lc-poll .lc-code { letter-spacing: -.04em; }
.lc-poll > div:last-child { margin-top: 8px; }

/* Replies only the clicker sees. */
.lc-ephemeral { margin: -6px -8px; padding: 6px 8px; border-radius: 8px; background: rgba(88, 101, 242, .08); box-shadow: inset 2px 0 0 #5865f2; }
.lc-eph-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; font-size: 12px; line-height: 16px; color: #949ba4; }
.lc-eph-foot .icon { flex: none; }
.lc-dismiss { padding: 0; border: 0; background: none; color: #00a8fc; font: inherit; cursor: pointer; }
.lc-dismiss:hover { text-decoration: underline; }

/* Discord buttons and reactions you can press. */
.lc .dc-buttons { margin-top: 8px; font-family: var(--font-discord); }
.lc .dc-button { color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.lc .dc-button .icon { flex: none; }
.lc .dc-button:disabled { opacity: .5; cursor: not-allowed; }
.lc .dc-button:disabled:hover { background: var(--dc-btn-secondary); }
.lc .dc-reactions { gap: 4px; margin-top: 6px; font-family: var(--font-discord); }
.lc .dc-reaction { margin: 0; font-family: inherit; cursor: pointer; transition: background-color 120ms var(--ease-smooth), border-color 120ms var(--ease-smooth); }
.lc-composer { display: flex; align-items: center; gap: 8px; margin: 0 16px 16px; padding: 4px 4px 4px 16px; border-radius: 8px; background: #2a2b30; }
.lc-composer input { flex: 1; min-width: 0; height: 36px; padding: 0; border: 0; outline: 0; background: none; color: #f2f3f5; font: inherit; }
.lc-composer input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; border-radius: 4px; }
.lc-composer input::placeholder { color: #949ba4; }
.lc-composer button { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 8px; background: #5865f2; color: #fff; cursor: pointer; }
.lc-composer button:hover { background: #4752c4; }

/* Message bits. */
.lc-welcome { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 16px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(107, 88, 238, .55), rgba(0, 132, 255, .28) 55%, rgba(67, 224, 168, .24)); }
.lc-welcome-av { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: #db2777; color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.lc-welcome b { display: block; color: #fff; font-size: 16px; line-height: 20px; }
.lc-welcome span:not(.lc-welcome-av) { color: #f2f3f5; }
.lc-welcome div > span { display: block; margin-top: 2px; font-size: 13px; }
.lc-rank { display: flex; align-items: center; gap: 14px; }
.lc-rank-av { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #e67e22); color: #fff; font-weight: 800; font-size: 20px; box-shadow: 0 0 0 3px #1c1d21; }
.lc-rank-main { flex: 1; min-width: 0; }
.lc-rank-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lc-rank-top b { color: #f2f3f5; font-size: 16px; }
.lc-rank-top > span { color: #f2f3f5; font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.lc-rank-top small { margin: 0 2px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #949ba4; }
.lc-bar-xp { height: 8px; margin: 8px 0 4px; border-radius: var(--radius-full); background: rgba(255, 255, 255, .08); overflow: hidden; }
.lc-bar-xp i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5fb8ff, #8b7cf6); }
.lc-board { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; }
.lc-board li.me { margin: 0 -6px; padding: 0 6px; border-radius: 4px; background: rgba(88, 101, 242, .14); }
.lc-medal { display: inline-block; min-width: 22px; }
.lc-thumb { position: relative; display: grid; place-items: center; margin-top: 8px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden;
  background:
    radial-gradient(40% 60% at 25% 30%, rgba(67, 224, 168, .55), transparent 70%),
    radial-gradient(50% 70% at 75% 70%, rgba(107, 88, 238, .75), transparent 70%),
    linear-gradient(135deg, #0b2a4a, #1b1340); }
.lc-thumb[data-p="twitch"] { background: radial-gradient(50% 70% at 30% 40%, rgba(145, 70, 255, .7), transparent 70%), linear-gradient(135deg, #1b1340, #0b2a4a); }
.lc-thumb[data-p="kick"] { background: radial-gradient(50% 70% at 70% 40%, rgba(83, 252, 24, .35), transparent 70%), linear-gradient(135deg, #0d1f12, #10151d); }
.lc-thumb[data-p="tiktok"] { aspect-ratio: 4 / 3; background: radial-gradient(40% 60% at 30% 40%, rgba(254, 44, 85, .55), transparent 70%), radial-gradient(40% 60% at 70% 60%, rgba(37, 244, 238, .35), transparent 70%), #111; }
.lc-play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.lc-dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 12px; font-weight: 600; }
.lc-dur.live { top: 8px; left: 8px; right: auto; bottom: auto; background: #e91916; letter-spacing: .04em; }
.lc-shot { width: min(320px, 100%); height: 144px; margin-top: 8px; border-radius: 8px;
  background: radial-gradient(30% 50% at 50% 70%, rgba(251, 191, 36, .55), transparent 70%),
              linear-gradient(180deg, #3b2f6b 0%, #6b58ee 45%, #1f3b5a 46%, #0f1b2b 100%); }
.lc-shot.sm { height: 96px; }
.lc-orig { margin: -4px -8px; padding: 4px 8px; border-radius: 8px; transition: background-color .4s var(--ease-out); }
.lc-orig:focus { outline: 0; }
.lc-orig.flash { background: rgba(250, 168, 26, .14); }

/* The bar above each preview: the "Try it" hint, tabs and the action that replays it. */
.lp-demo-wrap { position: relative; z-index: 1; display: grid; gap: 12px; width: min(520px, 100%); }
.lp-demo-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.lp-try { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--radius-full);
  border: 1px dashed rgba(95, 184, 255, .45); background: rgba(0, 132, 255, .08); color: var(--sky); font: 600 12px/1 var(--font-ui); white-space: nowrap; }
.lp-try-badge { position: absolute; top: 12px; right: 12px; z-index: 2; height: 24px; padding: 0 8px; font-size: 11px; }
.lp-demo-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, .06); color: var(--text-primary); font: 600 13px/1 var(--font-ui); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-smooth), border-color var(--dur-fast) var(--ease-smooth); }
.lp-demo-btn:hover { background: rgba(255, 255, 255, .1); border-color: var(--border-hover); }
.lp-demo-btn .icon { color: var(--sky); }
.lp-demo-under { display: flex; justify-content: center; padding: 0 16px 16px; }
.lp-demo-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-tertiary); font-size: 13px; }
.lp-demo-note .icon { flex: none; color: #f0b232; }
.lp-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 100%; padding: 4px; border-radius: 12px; border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, .03); }
.lp-seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: none;
  color: var(--text-tertiary); font: 600 13px/1 var(--font-ui); cursor: pointer; transition: background-color var(--dur-fast) var(--ease-smooth), color var(--dur-fast) var(--ease-smooth); }
.lp-seg button:hover { color: var(--text-primary); }
.lp-seg button[aria-selected="true"] { background: rgba(255, 255, 255, .1); color: var(--text-primary); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.lp-seg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.lp-seg-grid button { justify-content: center; }
.lc .lp-seg { border-color: rgba(255, 255, 255, .06); background: rgba(0, 0, 0, .2); }
.lp-seg.sm button { min-height: 28px; padding: 0 10px; font: 500 12px/1 var(--font-mono, ui-monospace, monospace); }
.lp-seg.sm button[aria-selected="true"] { color: #00a8fc; }
/* The four community previews share one box (as tall as the tallest), so switching never moves the page. */
.lp-stack > .lp-panel + .lp-panel { margin-top: 16px; }
.lp-stack.js { display: grid; }
.lp-stack.js > .lp-panel { grid-area: 1 / 1; margin-top: 0; }
.lp-panel.is-off { visibility: hidden; }
.lp-panel-in { display: flex; flex-direction: column; height: 100%; }
.lp-panel-in > .lc-body { flex: 1; align-content: start; }
.lp-demo-wrap button:focus-visible, .bento-visual button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* The safety preview plays once it scrolls into view; without JS, or with reduced motion, every message shows. */
.lp-demo.armed .beat { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.lp-demo.armed .beat.in { opacity: 1; transform: none; }
.lp-demo .lc-text { transition: color .3s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .lp-pop { animation: lp-pop .3s var(--ease-out); }
  .mock-ring-arc { transition: stroke-dashoffset .5s var(--ease-out); }
  .lc-bar-xp i { transition: width .4s var(--ease-out); }
}
@keyframes lp-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ dashboard screenshots */
.shots-body { margin-top: 40px; }
.lp .shot-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; }
.lp .shot-tabs button { min-height: 40px; padding: 0 18px; border-radius: var(--radius-full); border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, .03); color: var(--text-secondary); font: 600 14px/1 var(--font-ui); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-smooth), border-color var(--dur-fast) var(--ease-smooth), color var(--dur-fast) var(--ease-smooth); }
.lp .shot-tabs button:hover { color: var(--text-primary); border-color: var(--border-hover); }
.lp .shot-tabs button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.lp .shot-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .1); border-color: var(--border-hover); color: var(--text-primary); }
.shot-stage { position: relative; max-width: 1080px; margin: 0 auto; }
.shot-stage::before { content: ""; position: absolute; inset: -8% -10% 10%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 40%, rgba(0, 132, 255, .16), rgba(107, 88, 238, .08) 50%, transparent 75%); }
.lp .shot { position: relative; z-index: 1; margin: 0; }
.lp .shot + .shot { margin-top: 32px; }
.lp .shots.js .shot + .shot { margin-top: 0; }
.shot-chrome { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--border-default); border-bottom: 0;
  border-radius: 16px 16px 0 0; background: var(--clr-surface-2); }
.shot-chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.shot-chrome span { margin: 0 auto; padding: 4px 16px; border-radius: var(--radius-full); background: var(--clr-surface-3); color: var(--text-tertiary); font-size: 12px; transform: translateX(-20px); }
.lp .shot-zoom { display: block; width: 100%; padding: 0; position: relative; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--border-default); border-radius: 0 0 16px 16px; background: var(--clr-surface-1);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .9); }
.lp .shot-zoom:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.shot-crop { position: relative; overflow: hidden; aspect-ratio: var(--ar); }
.shot-crop img { position: absolute; max-width: none; height: auto; width: calc(100% / var(--w)); left: calc(-100% * var(--x) / var(--w)); top: calc(-100% * var(--y) / var(--h)); }
.shot-hint { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-full);
  background: rgba(7, 8, 10, .85); border: 1px solid var(--border-default); color: #fff; font-size: 13px; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp .shot figcaption { margin-top: 16px; text-align: center; color: var(--text-body); font-size: 15px; line-height: 1.5; }
.shot-lightbox { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: rgba(5, 6, 8, .97); }
.shot-lightbox .bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #fff; }
.shot-lightbox .bar span { flex: 1; font-size: 14px; color: var(--text-secondary); }
.shot-lightbox .pane { flex: 1; overflow: auto; padding: 0 16px 16px; overscroll-behavior: contain; }
.shot-lightbox img { display: block; margin: 0 auto; border-radius: 8px; width: min(100%, 1800px); min-width: 1200px; max-width: none; height: auto; }
@media (min-width: 1290px) { .shot-lightbox img { min-width: 0; } }

/* ------------------------------------------------------------------ What's new / Need a hand */
.lp .news { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.news-card { padding: 32px; border-radius: var(--radius-xl); border: 1px solid var(--border-subtle);
  background: var(--grad-card), var(--clr-surface-1); box-shadow: var(--shadow-card); }
.lp .news h2 { margin: 0 0 20px; color: var(--text-primary); }
.lp .news-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.lp .news-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; }
.lp .news-list li + li { border-top: 1px solid var(--border-subtle); }
.lp .news-list li:first-child { padding-top: 0; }
.lp .news-list time { color: var(--text-tertiary); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp .news-list b { display: block; color: var(--text-primary); font-size: 15px; font-weight: 600; }
.lp .news-list span { display: block; margin-top: 4px; color: var(--text-body); font-size: 14px; line-height: 1.5; }
.news-more { margin: 20px 0 0; }
.news-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: var(--sky); font-weight: 600; font-size: 14px; }
.lp .help-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp .help-links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, .02); color: var(--text-primary); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-smooth), border-color var(--dur-fast) var(--ease-smooth); }
.lp .help-links a:hover { border-color: var(--border-hover); background: var(--clr-card-hover); }
.lp .help-links a > .icon { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(0, 132, 255, .12); color: var(--sky); }
.lp .help-links small { display: block; margin-top: 2px; color: var(--text-body); font-weight: 400; font-size: 13px; line-height: 1.45; }

/* ------------------------------------------------------------------ module catalogue */
.modules-panel { position: relative; padding: 56px; border-radius: var(--radius-2xl); border: 1px solid var(--border-subtle);
  background: var(--glow-panel), var(--glow-mint), var(--grad-card), var(--clr-surface-1); box-shadow: var(--shadow-card); }
.lp .feat-search { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 32px 0; }
.lp .feat-search .nav-search { width: 380px; max-width: 100%; margin: 0; }
.lp .feat-search .nav-search input { height: 44px; border-radius: 12px; background: var(--clr-surface-2); border-color: var(--border-control); font-size: 15px; padding-left: 40px; }
.lp .feat-search .nav-search .icon { left: 14px; }
.lp .feat-empty { margin: 0 0 24px; border-radius: var(--radius-xl); }
/* Two columns of group cards, split in page order by landing.html (min-max on row weights): every description
   fits on one line at this width, so the two columns end within a row or two of each other. */
.lp .cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cat-col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.lp .cat { padding: 8px; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); background: rgba(7, 8, 10, .45); }
.lp .cat h3 { display: block; margin: 0; padding: 12px 12px 8px; border: 0; font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-tertiary); }
.lp .cat ul { margin: 0; padding: 0; list-style: none; }
.lp .cat li.feat { border: 0; }
.lp .feat-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; column-gap: 12px; row-gap: 2px; align-items: center; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-smooth); }
.lp .feat-row:hover, .lp .feat.open .feat-row { background: rgba(255, 255, 255, .045); }
.lp .feat-row:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 0; }
.lp .feat-row .feat-sticker { grid-row: 1 / span 2; width: 32px; height: 32px; padding: 4px; border-radius: 10px; background: var(--clr-surface-3); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.lp .feat-row .n { grid-column: 2; color: var(--text-primary); font-weight: 600; font-size: 14px; line-height: 20px; }
.lp .feat-row .d { grid-column: 2; grid-row: 2; color: var(--text-body); font-size: 13px; line-height: 18px; }
.lp .feat-row .feat-chev { grid-column: 3; grid-row: 1 / span 2; color: var(--text-tertiary); transition: transform 150ms var(--ease-smooth); }
.lp .feat-row:hover .n { color: var(--text-primary); }
.lp .feat-row .n .feat-tag { display: inline-flex; margin: 0 0 0 4px; height: 18px; font-size: 11px; line-height: 16px; padding: 0 6px; vertical-align: 1px; }
.lp .feat.open .feat-chev { transform: rotate(180deg); }
.lp .feat-more { padding: 8px 12px 16px 56px; color: var(--text-body); font-size: 13px; line-height: 1.5; }
.lp .feat-more p { margin: 0 0 8px; }
.lp .feat-more ul { display: grid; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; }
.lp .cat .feat-more li { display: flex; gap: 8px; align-items: baseline; padding: 0; border: 0; }
.lp .feat-more .k { flex-shrink: 0; min-width: 88px; color: var(--text-tertiary); }
.lp .feat-more span:not(.k) { color: var(--text-secondary); }
.lp .feat-more code { font-size: 12px; }
.lp .feat-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.lp .feat-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: var(--sky); font-weight: 600; font-size: 13px; }

/* "Show all N" under a group: phones only (see the 640px block); x-show hides it while a search is typed. */
.lp .cat-more { display: none; }

/* Steps: a section of their own after the catalogue. */
.lp .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; border: 0; background: none; overflow: visible; }
.lp .step { padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); background: var(--grad-card), var(--clr-surface-1); box-shadow: var(--shadow-card); }
.lp .step + .step { border-left: 1px solid var(--border-subtle); }
.lp .step .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(0, 132, 255, .3);
  background: rgba(0, 132, 255, .12); color: var(--sky); font: 700 16px/1 var(--font-ui); letter-spacing: 0; }
.lp .step h3 { margin: 20px 0 8px; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--text-primary); }
.lp .step p { margin: 0; color: var(--text-body); font-size: 15px; line-height: 1.55; }

/* ------------------------------------------------------------------ final CTA */
.lp .final { padding: 128px 0 96px; text-align: left; }
.final-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center;
  padding: 64px; overflow: hidden; border-radius: var(--radius-2xl); border: 1px solid var(--border-default);
  background:
    radial-gradient(60% 80% at 30% 120%, rgba(0, 132, 255, .28), transparent 70%),
    radial-gradient(40% 60% at 90% 110%, rgba(107, 88, 238, .22), transparent 70%),
    var(--grad-card), var(--clr-surface-1);
  box-shadow: var(--shadow-card); }
.lp .final h2 { max-width: 14em; margin: 0; color: var(--text-primary); text-wrap: balance; }
.lp .final p { max-width: 44ch; margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-body); }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.final-preview { padding: 24px; border-radius: var(--radius-xl); border: 1px solid var(--border-default); background: var(--clr-surface-2); box-shadow: var(--shadow-float); }
.fp-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border-subtle); }
.fp-head img { width: 40px; height: 40px; border-radius: 10px; }
.fp-head b { display: block; color: var(--text-primary); font-size: 16px; line-height: 20px; }
.fp-head small { display: block; color: var(--text-tertiary); font-size: 12px; }
.lp .final .fp-eyebrow { margin: 0; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-tertiary); }
.lp .final .fp-title { margin: 4px 0 16px; color: var(--text-primary); font-size: 18px; line-height: 24px; font-weight: 700; }
.fp-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fp-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-subtle); background: var(--clr-surface-3); color: var(--text-secondary); font-size: 14px; }
.fp-list .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(0, 132, 255, .14); color: var(--sky); }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: no-preference) {
  .bento-card, .step, .news-card { transition: border-color var(--dur-base) var(--ease-smooth), transform var(--dur-base) var(--ease-smooth); }
  .bento-card:hover { border-color: var(--border-default); transform: translateY(-2px); }
}

/* ------------------------------------------------------------------ SEO P1: keyword headings, links, import, FAQ */
/* The old one-line slogans stay as a quiet line under the longer, searchable headings. */
.lp p.lp-tagline, .lp .section-head p.lp-tagline, .feature-copy > p.lp-tagline { margin: 12px 0 0; font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--text-secondary); }
.lp .section-head.center p.lp-tagline { margin-left: auto; margin-right: auto; }
.feature-copy > p.lp-tagline + p { margin-top: 20px; }
/* A link to a module's own feature page: words that name the page, never "Learn more". */
/* Inline text, so a label that wraps keeps its arrow right after the last word. */
.lp .lp-feature-link { display: inline-block; padding: 2px 0; color: var(--sky); font-weight: 600; font-size: 14px; line-height: 20px; }
.lp .lp-feature-link .icon { display: inline-block; margin-left: 6px; vertical-align: -2px; transition: transform var(--dur-fast) var(--ease-smooth); }
.lp .lp-nowrap { white-space: nowrap; }
.lp .lp-feature-link:hover .icon { transform: translateX(2px); }
.bento-card > .lp-feature-link { align-self: flex-start; margin-top: 12px; }
.feature-copy > .lp-feature-link { margin-top: 24px; }
.lp .section-head .lp-head-links { margin-top: 12px; }
.lp-import-links .lp-feature-link, .lp-more-grid .lp-feature-link { display: block; width: fit-content; }
/* In the narrow cards a wrapped label would leave its arrow alone on a line: the words alone say where it goes. */
.lp-more-grid .lp-feature-link .icon { display: none; }
.lp .empty-state .empty-state__title { margin: 0 0 6px; }

/* "Also in the same bot": the modules the previews don't show, one line each. */
.lp-more { margin-top: 48px; }
.lp-more-label { margin: 0 0 20px; text-align: center; font-size: 14px; font-weight: 500; color: var(--text-tertiary); }
.lp-more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lp-more-grid li { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 20px; border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle); background: var(--grad-card), var(--clr-surface-1); }
.lp-more-sticker { flex: none; width: 36px; height: 36px; padding: 4px; border-radius: 10px; background: var(--clr-surface-3); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.lp-more-grid h3 { margin: 6px 0 0; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--text-primary); }
.lp-more-grid p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-body); }
.lp-more-grid .lp-feature-link { margin-top: 8px; font-size: 13px; }

/* Import teaser: why to switch on the left, what moves over on the right. */
.lp-import-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; padding: 56px;
  border-radius: var(--radius-2xl); border: 1px solid var(--border-subtle); background: var(--grad-card), var(--clr-surface-1); }
.lp-import-copy h2 { margin: 0; font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--text-primary); text-wrap: balance; }
.lp-import-copy > p:not(.eyebrow) { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-body); }
.lp-import-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
.lp-import-list { padding: 24px; border-radius: var(--radius-xl); border: 1px solid var(--border-default); background: var(--clr-surface-2); box-shadow: var(--shadow-float); }
.lp .lp-import-h { margin: 0 0 12px; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text-tertiary); }
.lp-import-list ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lp-import-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; line-height: 20px; color: var(--text-secondary); }
.lp-import-list li + li { border-top: 1px solid var(--border-subtle); }
.lp-import-list li .icon { flex: none; color: var(--sky); }
.lp-import-note { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--border-subtle); font-size: 14px; line-height: 1.5; color: var(--text-body); }
.lp-import-note .icon { flex: none; margin-top: 3px; color: var(--clr-success); }

/* FAQ: every answer visible, two columns on a desktop. */
.lp-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.lp-faq-item { padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--border-subtle); background: var(--grad-card), var(--clr-surface-1); }
.lp-faq-item h3 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--text-primary); }
.lp-faq-item p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-body); }
.lp-faq-item a { color: var(--sky); }
.lp-faq-more { margin: 24px 0 0; text-align: center; }

/* ------------------------------------------------------------------ tablet */
@media (max-width: 980px) {
  .lp .hero { padding: 176px 0 88px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.wide { grid-column: span 2; }
  .feature-row, .feature-row.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature-row.flip .feature-copy { order: 0; justify-self: start; }
  .feature-row.panel { padding: 40px; }
  .feature-copy { max-width: 600px; }
  .lp .news { grid-template-columns: minmax(0, 1fr); }
  .modules-panel { padding: 40px; }
  .final-card { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px; }
  .lp-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-import-card { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px; }
}

/* ------------------------------------------------------------------ one bot instead of five */
.lp-compare-table { width: 100%; max-width: 880px; margin: 48px auto 0; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--clr-surface-1); overflow: hidden;
  font-size: 15px; line-height: 1.5; }
.lp-compare-table th, .lp-compare-table td { padding: 16px 20px; text-align: left; vertical-align: top;
  border-top: 1px solid var(--border-subtle); }
.lp-compare-table thead th, .lp-compare-table thead td { border-top: 0; font: 600 14px/20px var(--font-ui); color: var(--text-secondary); }
.lp-compare-table thead th.lp-compare-us { color: var(--text-primary); }
.lp-compare-table tbody th { width: 22%; font-weight: 600; color: var(--text-primary); }
.lp-compare-table td { color: var(--text-body); }
.lp-compare-table td.lp-compare-us { color: var(--text-primary); background: rgba(0, 132, 255, .06); }
.lp-compare-table thead .lp-compare-us { background: rgba(0, 132, 255, .06); }
.lp-compare-ic { display: inline-flex; vertical-align: -3px; margin-right: 8px; color: var(--text-faint); }
.lp-compare-ic.lp-compare-yes { color: var(--clr-primary); }
.lp-compare-cta { display: flex; justify-content: center; margin-top: 32px; }

/* ------------------------------------------------------------------ phone */
@media (max-width: 640px) {
  .lp .lp-wrap { padding: 0 16px; }
  .lp-section, .lp .shots, .lp .trust, .lp .modules { padding-top: 80px; }
  .lp .hero { margin-top: -68px; padding: 132px 0 56px; }
  /* 34px keeps "The free all-in-one" on one line at 390px, and plain wrapping (not balance, which would split
     "all-in-one" to even out the lines) keeps the hyphens from breaking it. */
  .lp .hero h1 { margin-top: 24px; font-size: 34px; text-wrap: wrap; }
  .lp .hero .lede { font-size: 16px; }
  /* The comparison stacks: one card per row, each cell names its column. */
  .lp-compare-table, .lp-compare-table tbody, .lp-compare-table tr, .lp-compare-table th, .lp-compare-table td { display: block; width: auto; }
  .lp-compare-table { margin-top: 32px; font-size: 15px; }
  .lp-compare-table thead { display: none; }
  .lp-compare-table tbody tr + tr { border-top: 1px solid var(--border-subtle); }
  .lp-compare-table tbody th { width: auto; padding: 16px 16px 4px; border-top: 0; }
  .lp-compare-table td { padding: 8px 16px; border-top: 0; }
  .lp-compare-table td:last-child { padding-bottom: 16px; }
  .lp-compare-table td.lp-compare-us { background: none; }
  .lp-compare-table td::before { content: attr(data-col); display: block; font: 600 12px/16px var(--font-ui); color: var(--text-tertiary); margin-bottom: 2px; }
  .lp-compare-cta .btn { width: 100%; }
  .lp .hero .cta { flex-direction: column; align-self: stretch; margin-top: 32px; }
  .lp .hero .cta .btn { width: 100%; }
  .lp .hero .proof { flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; padding: 16px 20px; border-radius: var(--radius-xl); }
  .lp .hero .proof li { padding: 0; }
  .lp .hero .proof li + li:not(.proof-stack) { border-left: 0; }
  .lp .hero .proof li.proof-stack + li { padding-left: 0; }
  .lp .hero .proof .proof-stack { padding-left: 8px; }
  .lp .section-head p:not(.eyebrow) { font-size: 16px; }
  .lp-strip { padding-top: 32px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
  .bento-card.wide { grid-column: auto; }
  .bento-card { padding: 20px; }
  .bento-visual { min-height: 200px; margin: -4px -4px 16px; }
  .mock { padding: 12px; }
  .mock-log-row { grid-template-columns: 32px minmax(0, 1fr); }
  .mock-log-row time { display: none; }
  .lp-features { padding-top: 40px; }
  .feature-row { padding: 40px 0; gap: 32px; }
  .feature-row.panel { margin: 16px 0; padding: 24px 16px; border-radius: var(--radius-xl); }
  .feature-copy h2, .lp-import-copy h2 { font-size: 28px; }
  .lp p.lp-tagline, .lp .section-head p.lp-tagline, .feature-copy > p.lp-tagline { font-size: 16px; }
  .lp-more { margin-top: 32px; }
  .lp-more-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-more-grid li { padding: 16px; }
  .lp-import-card { padding: 24px 16px; border-radius: var(--radius-xl); }
  .lp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .lp-faq-item { padding: 20px; }
  .feature-copy > p:not(.eyebrow) { font-size: 16px; }
  .lc-body { padding: 12px 12px 16px; }
  .lc-composer { margin: 0 12px 12px; }
  .lc-av { width: 32px; height: 32px; }
  .lc-row:has(> .lc-col > .lc-used) > .lc-av { margin-top: 24px; }
  .lc-fields { grid-template-columns: minmax(0, 1fr); }
  /* One row of tabs above a preview: labels only, the "Try it" hint gives way. */
  .lp-demo-bar .lp-seg:not(.lp-seg-grid) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .lp-demo-bar .lp-seg:not(.lp-seg-grid) .icon { display: none; }
  .lp-demo-bar .lp-seg button { justify-content: center; padding: 0 6px; font-size: 12px; }
  .lp-demo-bar:has(.lp-seg) > .lp-try { display: none; }
  .lc-bar .lp-seg.sm button { padding: 0 8px; }
  .lc-rank { gap: 12px; }
  .lc-rank-av { width: 44px; height: 44px; font-size: 16px; }
  .lc-rank-top { flex-wrap: wrap; gap: 0 12px; }
  .lc-rank-top small:first-child { margin-left: 0; }
  .shots-body { margin-top: 32px; }
  .lp .shot-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .lp .shot-tabs::-webkit-scrollbar { display: none; }
  .lp .shot-tabs button { flex: none; min-height: 44px; }
  .shot-chrome { height: 36px; border-radius: 12px 12px 0 0; }
  .shot-chrome span { display: none; }
  .lp .shot-zoom { border-radius: 0 0 12px 12px; }
  .shot-crop { aspect-ratio: var(--par); }
  .shot-crop img { width: calc(100% / var(--pw)); left: calc(-100% * var(--px) / var(--pw)); top: calc(-100% * var(--py) / var(--ph)); }
  .shot-hint { right: 8px; bottom: 8px; }
  .news-card { padding: 24px 20px; }
  .lp .news-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .modules-panel { padding: 24px 16px; border-radius: var(--radius-xl); }
  .lp .feat-search .nav-search { width: 100%; }
  .lp .cat-grid { grid-template-columns: minmax(0, 1fr); }
  /* A group shows its first four rows until "Show all" is pressed; a row a link points at still shows. */
  .lp .cat.is-clipped li.feat:nth-child(n+5):not(:target) { display: none; }
  .lp .cat-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 4px;
    padding: 0 12px; border: 1px solid var(--border-subtle); border-radius: 10px; background: rgba(255, 255, 255, .03);
    color: var(--text-secondary); font: 600 14px/20px var(--font-ui); cursor: pointer; }
  .lp .cat-more:hover { color: var(--text-primary); border-color: var(--border-hover); }
  .lp .cat-more:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
  .lp .cat-more .icon { color: var(--text-tertiary); transition: transform 150ms var(--ease-smooth); }
  .lp .cat-more[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .lp .lp-steps { padding-top: 80px; }
  .lp .steps { margin-top: 32px; }
  .lp .feat-more { padding-left: 12px; }
  .lp .steps { grid-template-columns: minmax(0, 1fr); }
  .lp .final { padding: 80px 0 64px; }
  .final-card { padding: 28px 20px; gap: 32px; border-radius: var(--radius-xl); }
  .final-actions { flex-direction: column; }
  .final-actions .btn { width: 100%; }
  .final-preview { padding: 20px; }
}

/* R6 UX-14: 44px touch targets on a coarse pointer. */
@media (pointer: coarse) {
  .hero-badge { min-height: 44px; }
  .news-more a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
  .lp .lp-feature-link { padding: 12px 0; }
  /* R7: the previews' controls. */
  .lp-demo-btn, .lp-seg button, .lp-seg.sm button, .lc .dc-button, .lc .dc-reaction, .lc-dismiss, .mock-role, .mock-rule { min-height: 44px; }
  .lc .dc-reaction { min-width: 44px; justify-content: center; }
  .lc-composer input { height: 44px; }
  .lc-composer button { width: 44px; height: 44px; }
}
