/* Helply · sign-in landing page
   A product-page style introduction with the sign-in card in the first screen. Standalone: it does not load app.css.
   The hero and the big photo are always dark (like a product reveal); the sections below follow the light/dark theme. */

/* ---------- Tokens ---------- */
.lp {
  --bg: #ffffff; --bg-2: #f5f5f7; --ink: #1d1d1f; --mute: #6e6e73; --faint: #86868b; --line: rgba(0, 0, 0, .10);
  --tile: #ffffff; --tile-line: rgba(0, 0, 0, .08); --shadow: 0 30px 60px -30px rgba(0, 0, 0, .25);
  --a: #0ea5c6; --b: #6366f1; --c: #a855f7;
  --grad: linear-gradient(100deg, #22d3ee 0%, #818cf8 52%, #c084fc 100%);
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  line-height: 1.5; overflow-x: hidden;
}
html[data-theme="dark"] .lp {
  --bg: #000000; --bg-2: #0a0a0d; --ink: #f5f5f7; --mute: #a1a1a8; --faint: #86868b; --line: rgba(255, 255, 255, .12);
  --tile: #111114; --tile-line: rgba(255, 255, 255, .10); --shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
  --a: #22d3ee;
}
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp img { display: block; max-width: 100%; }
.lp :focus-visible { outline: 2px solid #38bdf8; outline-offset: 3px; border-radius: 6px; }
.lp-wrap { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.lp-wrap.center, .center { text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .lp * { animation: none !important; } }

/* ---------- Type ---------- */
.lp-display { margin: 0; font-size: clamp(3rem, 8.4vw, 6.6rem); line-height: .98; font-weight: 700; letter-spacing: -.045em; }
.lp-display.sm { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.lp-h2 { margin: 0; font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; }
.lp-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lp-eyebrow { margin: 0 0 1rem; font-size: .95rem; font-weight: 600; letter-spacing: .02em; color: #a5b4fc; }
.lp-kicker { margin: 0 0 .9rem; font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lp-lede { margin: 1.4rem 0 0; max-width: 34rem; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; color: rgba(245, 245, 247, .72); font-weight: 450; }
.lp-lede.center { margin-left: auto; margin-right: auto; color: var(--mute); }
.lp-p { margin: 1.3rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--mute); max-width: 36rem; }
.lp-p.center { margin-left: auto; margin-right: auto; }
.lp-fine { margin: 2.4rem auto 0; max-width: 34rem; font-size: .95rem; color: var(--faint); }

/* ---------- Navigation ---------- */
.lp-nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 56px; padding: 0 max(1.25rem, calc((100vw - 1180px) / 2));
          color: #f5f5f7; background: rgba(0, 0, 0, 0); transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
.lp-nav.is-solid { background: rgba(10, 10, 12, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(255, 255, 255, .08); }
html:not([data-theme="dark"]) .lp-nav.is-light { color: #1d1d1f; background: rgba(255, 255, 255, .72); border-bottom-color: rgba(0, 0, 0, .08); }
.lp-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.lp-links { display: flex; gap: 1.9rem; font-size: .86rem; font-weight: 500; }
.lp-links a { opacity: .78; transition: opacity .2s; } .lp-links a:hover { opacity: 1; }
.lp-nav-end { display: flex; align-items: center; gap: .7rem; }
.lp-toggle { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: inherit; cursor: pointer; transition: background .2s; }
.lp-toggle:hover { background: rgba(255, 255, 255, .12); }
html:not([data-theme="dark"]) .lp-nav.is-light .lp-toggle { border-color: rgba(0, 0, 0, .2); } html:not([data-theme="dark"]) .lp-nav.is-light .lp-toggle:hover { background: rgba(0, 0, 0, .06); }
.lp-toggle svg { grid-area: 1 / 1; transition: transform .35s var(--ease), opacity .25s; }
.lp-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
html[data-theme="dark"] .lp-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); } html[data-theme="dark"] .lp-toggle .i-sun { opacity: 1; transform: none; }
.lp .lp-pill { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 1.15rem; border-radius: 999px; font-size: .86rem; font-weight: 600; background: #f5f5f7; color: #1d1d1f; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.lp .lp-pill:hover { transform: scale(1.04); box-shadow: 0 8px 24px -8px rgba(255, 255, 255, .45); }
html:not([data-theme="dark"]) .lp .lp-nav.is-light .lp-pill { background: #1d1d1f; color: #fff; }
.lp .lp-pill.big { height: 52px; padding: 0 2.2rem; font-size: 1.1rem; margin-top: 2rem; background: var(--grad); color: #04121f; }
.lp .lp-pill.big:hover { box-shadow: 0 16px 40px -12px rgba(129, 140, 248, .7); }

/* ---------- Hero ---------- */
.lp-hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 96px 0 56px; color: #f5f5f7; background: #000; isolation: isolate; overflow: hidden; }
.lp-hero-bg { position: absolute; inset: 0; z-index: -1; }
.lp-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(1.2) blur(1px); transform: scale(1.12); animation: lp-kenburns 28s ease-in-out infinite alternate; }
.lp-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1100px 600px at 80% 20%, rgba(99, 102, 241, .22), transparent 60%), linear-gradient(90deg, rgba(0, 0, 0, .92) 4%, rgba(0, 0, 0, .5) 52%, rgba(0, 0, 0, .55) 100%), linear-gradient(0deg, #000 2%, transparent 34%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.orb.o1 { width: 520px; height: 520px; left: -120px; top: 10%; background: #0891b2; animation: lp-float 16s ease-in-out infinite alternate; }
.orb.o2 { width: 460px; height: 460px; right: -80px; bottom: -80px; background: #7c3aed; animation: lp-float 20s ease-in-out infinite alternate-reverse; }
@keyframes lp-kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.22) translate3d(-1.5%, -1%, 0); } }
@keyframes lp-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(60px, -40px, 0); } }
.lp-hero-inner { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.lp-hero-copy { padding-bottom: 2rem; }
.lp-scrollcue { margin: 2.2rem 0 0; } .lp-scrollcue a { display: inline-flex; align-items: center; gap: .4rem; font-size: 1rem; font-weight: 600; color: #a5b4fc; }
.lp-scrollcue svg { animation: lp-bob 2.2s ease-in-out infinite; } @keyframes lp-bob { 50% { transform: translateY(4px); } }

/* sign-in card (always dark glass) */
.lp-card { padding: 2rem 1.9rem 1.5rem; border-radius: 28px; color: #f5f5f7; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .18);
           backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .22); scroll-margin-top: 90px; }
.lp-card h2 { margin: 0; font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; }
.lp-card-sub { margin: .4rem 0 1.5rem; color: rgba(245, 245, 247, .62); font-size: .98rem; }
.lp-form { display: grid; gap: 1rem; }
.lp-field { display: grid; gap: .4rem; } .lp-field label { font-size: .84rem; font-weight: 600; color: rgba(245, 245, 247, .75); }
.lp .lp-form input[type=text], .lp .lp-form input[type=password] { width: 100%; height: 50px; padding: 0 1rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .35); color: #fff;
  font: 1.02rem var(--font); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.lp .lp-form input::placeholder { color: rgba(255, 255, 255, .35); }
.lp .lp-form input:focus { outline: none; border-color: #67e8f9; background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 4px rgba(34, 211, 238, .22); }
.lp .lp-form input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px #14181f inset; }
.lp-field.has-error input { border-color: #f87171 !important; }
.lp-pass { position: relative; } .lp-pass input { padding-right: 3rem !important; }
.lp-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, .6); cursor: pointer; display: grid; place-items: center; }
.lp-eye:hover { color: #fff; background: rgba(255, 255, 255, .1); } .lp-eye[aria-pressed="true"] { color: #67e8f9; }
.lp-err { color: #fca5a5; font-size: .84rem; font-weight: 600; }
.lp-alert { padding: .8rem 1rem; border-radius: 14px; border: 1px solid rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .14); color: #fecaca; font-size: .92rem; font-weight: 600; line-height: 1.4; }
.lp-submit { height: 52px; margin-top: .3rem; border: 0; border-radius: 14px; cursor: pointer; font: 700 1.05rem var(--font); letter-spacing: -.01em; color: #04121f; background: var(--grad); background-size: 140% 100%;
             transition: transform .2s var(--ease), box-shadow .25s, background-position .4s; }
.lp-submit:hover { background-position: 100% 0; box-shadow: 0 14px 34px -10px rgba(129, 140, 248, .75); transform: translateY(-1px); } .lp-submit:active { transform: translateY(1px); }
.lp-card-foot { margin: 1.1rem 0 0; text-align: center; font-size: .92rem; } .lp-card-foot a { color: #7dd3fc; } .lp-card-foot a:hover { text-decoration: underline; }
.lp-secure { display: flex; gap: .45rem; align-items: flex-start; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; line-height: 1.4; color: rgba(245, 245, 247, .5); }
.lp-secure svg { flex: none; margin-top: 2px; }

/* ---------- Showcase ---------- */
.lp-showcase { background: #000; padding: 2rem 0 clamp(3rem, 8vw, 7rem); }
.lp-showcase-frame { position: relative; width: min(1320px, calc(100% - 2rem)); margin: 0 auto; border-radius: clamp(22px, 3vw, 40px); overflow: hidden; aspect-ratio: 16 / 8.2; background: #0b0f14; box-shadow: 0 50px 120px -40px rgba(34, 211, 238, .25); }
.lp-showcase-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(var(--s, 1.08)) translate3d(0, var(--y, 0), 0); }
.lp-showcase-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%), linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 40%); }
.lp-showcase-copy { position: absolute; left: clamp(1.5rem, 5vw, 4.5rem); bottom: clamp(1.5rem, 5vw, 4rem); max-width: 34rem; color: #fff; }
.lp-showcase-copy .lp-h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); }

/* ---------- Feature rows ---------- */
.lp-feature { padding: clamp(4.5rem, 11vw, 9rem) 0; background: var(--bg); }
.lp-feature.alt { background: var(--bg-2); }
.lp-feature.dark { background: #000; color: #f5f5f7; --mute: #a1a1a8; --faint: #86868b; --ink: #f5f5f7; --line: rgba(255, 255, 255, .12); }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.lp-split.flip > .lp-copy { order: 2; } .lp-split.flip > :not(.lp-copy) { order: 1; }
.lp-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; max-width: 36rem; }
.lp-list li { position: relative; padding-left: 2rem; color: var(--mute); font-size: 1.04rem; line-height: 1.5; }
.lp-list li::before { content: ""; position: absolute; left: 0; top: .22rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--grad); }
.lp-list li::after { content: ""; position: absolute; left: .4rem; top: .42rem; width: .3rem; height: .55rem; border: solid #04121f; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.lp-list b { color: var(--ink); font-weight: 650; }

.lp-media { position: relative; margin: 0; border-radius: clamp(22px, 3vw, 34px); overflow: hidden; background: #0b0f14; box-shadow: var(--shadow); aspect-ratio: 4 / 3.1; transform: translateZ(0); }
.lp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.lp-media:hover img { transform: scale(1.05); }
.lp-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 45%); pointer-events: none; }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .6rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #fff; background: rgba(20, 22, 28, .55); border: 1px solid rgba(255, 255, 255, .22);
        backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7); animation: lp-chip 6s ease-in-out infinite alternate; }
.chip.c1 { left: 6%; top: 10%; } .chip.c2 { right: 6%; top: 42%; animation-delay: -2s; } .chip.c3 { left: 10%; bottom: 9%; animation-delay: -4s; }
@keyframes lp-chip { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.dot { width: .62rem; height: .62rem; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); } .dot.teal { background: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .25); } .dot.amber { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, .25); }

/* ---------- AI ---------- */
.lp-ai { padding: clamp(4.5rem, 11vw, 9rem) 0; color: #f5f5f7; background: radial-gradient(900px 500px at 15% 0%, rgba(34, 211, 238, .16), transparent 60%), radial-gradient(900px 500px at 90% 100%, rgba(168, 85, 247, .18), transparent 60%), #05050a;
         --mute: #a1a1a8; --faint: #86868b; }
.lp-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.lp-tile { padding: 2rem 1.8rem 2.2rem; border-radius: 28px; text-align: left; background: linear-gradient(170deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.lp-tile:hover { transform: translateY(-6px); border-color: rgba(129, 140, 248, .5); background: linear-gradient(170deg, rgba(129, 140, 248, .16), rgba(255, 255, 255, .03)); }
.lp-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #67e8f9; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .28); }
.lp-tile h3 { margin: 1.4rem 0 .5rem; font-size: 1.65rem; font-weight: 700; letter-spacing: -.03em; } .lp-tile p { margin: 0; color: #a1a1a8; font-size: 1.04rem; line-height: 1.55; }

/* ---------- SLA panel ---------- */
.lp-sla { padding: 1.8rem; border-radius: 30px; background: var(--tile); border: 1px solid var(--tile-line); box-shadow: var(--shadow); display: grid; gap: 1.2rem; }
.lp-sla .row { display: grid; grid-template-columns: 3rem 5.5rem 1fr; align-items: center; gap: .9rem; }
.lp-sla .tag { display: grid; place-items: center; height: 2.6rem; border-radius: 12px; font-weight: 800; font-size: .95rem; color: #fff; }
.lp-sla .p1 .tag { background: #ef4444; } .lp-sla .p2 .tag { background: #f59e0b; } .lp-sla .p3 .tag { background: #3b82f6; } .lp-sla .p4 .tag { background: #64748b; }
.lp-sla .name { font-weight: 600; font-size: 1.02rem; }
.lp-sla .bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.lp-sla .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.6s var(--ease) .3s; }
.lp-sla.is-in .bar i { width: var(--w); }
.lp-sla .p1 .bar i { background: linear-gradient(90deg, #f97316, #ef4444); } .lp-sla .p2 .bar i { background: linear-gradient(90deg, #fbbf24, #f59e0b); } .lp-sla .p3 .bar i { background: linear-gradient(90deg, #38bdf8, #3b82f6); } .lp-sla .p4 .bar i { background: linear-gradient(90deg, #94a3b8, #64748b); }
.lp-sla .legend { margin: .4rem 0 0; font-size: .82rem; color: var(--faint); text-align: center; }

/* ---------- Bento ---------- */
.lp-bento-sec { padding: clamp(4.5rem, 11vw, 9rem) 0; background: var(--bg-2); }
.lp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.2rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.bento { position: relative; grid-column: span 2; min-height: 320px; border-radius: 32px; overflow: hidden; background: var(--tile); border: 1px solid var(--tile-line); display: flex; align-items: flex-end; transition: transform .5s var(--ease), box-shadow .5s; }
.bento:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento.b-wide { grid-column: span 4; min-height: 380px; color: #fff; }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); } .bento:hover img { transform: scale(1.06); }
.bento.b-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .05) 62%); }
.bento-copy { position: relative; z-index: 1; padding: 1.8rem; } .bento-copy h3 { margin: 0 0 .5rem; font-size: 1.55rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.bento-copy p { margin: 0; color: var(--mute); font-size: 1.02rem; line-height: 1.5; } .bento.b-wide .bento-copy p { color: rgba(255, 255, 255, .8); max-width: 30rem; }
.bento:not(.b-wide) { flex-direction: column; align-items: stretch; justify-content: space-between; } .bento:not(.b-wide) .bento-copy { padding: 2rem 1.8rem 0; }
.mini { margin: 1.4rem 1.8rem 1.8rem; }
.mini-roles { list-style: none; padding: 0; display: grid; gap: .55rem; }
.mini-roles li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 16px; background: color-mix(in srgb, var(--ink) 6%, transparent); font-size: .95rem; }
.mini-roles span { color: var(--faint); font-size: .86rem; } .mini-roles .pd { width: .7rem; height: .7rem; border-radius: 50%; background: #34d399; } .mini-roles .pd.t { background: #38bdf8; } .mini-roles .pd.a { background: #f59e0b; }
.mini-kb .q { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 16px; background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid var(--line); font-size: .95rem; color: var(--mute); }
.mini-kb .hit { margin-top: .6rem; padding: .8rem 1rem; border-radius: 16px; background: linear-gradient(100deg, rgba(34, 211, 238, .16), rgba(129, 140, 248, .16)); border: 1px solid rgba(129, 140, 248, .35); display: grid; gap: .1rem; }
.mini-kb .hit b { font-size: .98rem; } .mini-kb .hit span { font-size: .8rem; color: var(--faint); }

/* ---------- Facts, closing, footer ---------- */
.lp-trust { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.lp-facts li { text-align: center; } .lp-facts b { display: block; font-size: clamp(1.9rem, 3.9vw, 3.1rem); white-space: nowrap; line-height: 1.05; font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lp-facts span { display: block; margin-top: .6rem; font-size: .98rem; color: var(--mute); max-width: 14rem; margin-inline: auto; }
.lp-cta { padding: clamp(5rem, 12vw, 10rem) 0; text-align: center; background: radial-gradient(800px 420px at 50% 100%, rgba(99, 102, 241, .22), transparent 65%), #000; color: #f5f5f7; }
.lp-footer { padding: 1.8rem 0 2.4rem; background: #000; color: #86868b; font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-footer .lp-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .lp-hero { padding-top: 88px; align-items: start; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .lp-card { max-width: 480px; }
  .lp-split, .lp-split.flip { grid-template-columns: 1fr; }
  .lp-split.flip > .lp-copy, .lp-split.flip > :not(.lp-copy) { order: initial; }
  .lp-trio { grid-template-columns: 1fr; }
  .lp-bento { grid-template-columns: 1fr; } .bento, .bento.b-wide { grid-column: auto; min-height: 300px; }
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-links { display: none; }
  .lp-showcase-frame { aspect-ratio: 4 / 4.6; }
}
@media (max-width: 520px) {
  .lp-wrap, .lp-hero-inner { width: calc(100% - 2rem); }
  .lp-card { padding: 1.6rem 1.3rem 1.2rem; border-radius: 24px; }
  .lp-sla .row { grid-template-columns: 2.6rem 4.6rem 1fr; gap: .6rem; }
  .chip { font-size: .8rem; padding: .5rem .85rem; } .chip.c2 { top: 46%; }
  .lp-footer .lp-wrap { flex-direction: column; }
}

/* Touch: the brand and the "Forgot your password?" link are easy to hit. */
@media (max-width: 600px), (pointer: coarse) {
  .lp-brand { min-height: 44px; }
  .lp-card-foot a { display: inline-block; padding: .55rem 0; }
}
@media (max-width: 600px), (pointer: coarse) {
  .lp-scrollcue a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Calm pass ----------
   The sign-in page used a cyan-to-violet gradient on the headline, button, ticks and numbers, glass on the card, blurred orbs,
   a nebula behind the AI section and floating chips. The photographs stay (they are real server-room pictures); everything around
   them is now one neutral ramp with a single accent, and nothing loops. */
.lp { --grad: none; --a: #1d4fd7; --b: #1d4fd7; --c: #1d4fd7; }
html[data-theme="dark"] .lp { --a: #7ea6ff; --bg: #0f1012; --bg-2: #131417; --tile: #16171a; --line: rgba(255, 255, 255, .10); --tile-line: rgba(255, 255, 255, .09); --shadow: none; }
html:not([data-theme="dark"]) .lp { --bg: #ffffff; --bg-2: #f6f6f7; --shadow: 0 1px 2px rgba(23, 24, 27, .06); }
.lp :focus-visible { outline-color: #7ea6ff; }
.reveal { transform: translateY(12px); transition-duration: .6s; }
.lp-display { font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.lp-display.sm { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.lp-h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -.03em; }
.lp-grad, .lp-kicker, .lp-facts b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; -webkit-text-fill-color: currentColor; }
.lp-kicker { color: var(--mute); font-weight: 500; font-size: .95rem; }
.lp-eyebrow { color: rgba(245, 245, 247, .7); font-weight: 500; }
.lp-scrollcue a { color: rgba(245, 245, 247, .85); font-weight: 500; }
.lp-scrollcue svg { animation: none; }
.lp-brand { font-weight: 600; letter-spacing: -.01em; }
.lp-nav.is-solid { background: rgba(12, 12, 14, .92); backdrop-filter: none; -webkit-backdrop-filter: none; }
html:not([data-theme="dark"]) .lp-nav.is-light { background: rgba(255, 255, 255, .94); backdrop-filter: none; -webkit-backdrop-filter: none; }
.lp .lp-pill { border-radius: 10px; font-weight: 500; transition: background-color .15s; }
.lp .lp-pill:hover { transform: none; box-shadow: none; background: #ffffff; }
html:not([data-theme="dark"]) .lp .lp-nav.is-light .lp-pill:hover { background: #2e3036; }
.lp .lp-pill.big { background: #f5f5f7; color: #111214; border-radius: 10px; height: 48px; font-size: 1rem; }
.lp .lp-pill.big:hover { background: #ffffff; box-shadow: none; }
.lp-toggle { border-radius: 10px; }

/* hero */
.lp-hero-bg img { animation: none; transform: none; filter: none; opacity: 1; }
.lp-hero-bg::after { background: linear-gradient(90deg, rgba(0, 0, 0, .66) 4%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, .04) 100%), linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, transparent 22%), linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, transparent 16%); }
.orb { display: none; }
.lp-card { border-radius: 16px; background: rgba(17, 18, 20, .94); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lp-card h2 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.lp-field label { font-weight: 500; }
.lp .lp-form input[type=text], .lp .lp-form input[type=password] { height: 46px; border-radius: 10px; background: rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .16); }
.lp .lp-form input:focus { border-color: #7ea6ff; background: rgba(0, 0, 0, .55); box-shadow: 0 0 0 3px rgba(126, 166, 255, .25); }
.lp-eye { border-radius: 8px; } .lp-eye[aria-pressed="true"] { color: #7ea6ff; }
.lp-alert { border-radius: 10px; }
.lp-submit { height: 46px; border-radius: 10px; background: #f5f5f7; color: #111214; font-weight: 600; font-size: 1rem; letter-spacing: 0; transition: background-color .15s; }
.lp-submit:hover { background: #ffffff; box-shadow: none; transform: none; } .lp-submit:active { transform: none; }
.lp-card-foot a { color: #a9c3ff; }

/* showcase, media, chips */
.lp-showcase-frame { border-radius: 20px; box-shadow: none; }
.lp-media { border-radius: 16px; box-shadow: none; border: 1px solid var(--tile-line); }
.lp-media:hover img { transform: none; }
.chip { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17, 18, 20, .88); border-radius: 10px; box-shadow: none; animation: none; font-weight: 500; }
.dot, .dot.teal, .dot.amber { box-shadow: none; } .dot.teal { background: #7ea6ff; }
.lp-list li::before { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.lp-list li::after { border-color: var(--ink); }

/* AI section: flat near-black, tiles with a hairline */
.lp-ai { background: #0b0b0c; }
.lp-tile { border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .15s, background-color .15s; }
.lp-tile:hover { transform: none; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .22); }
.lp-ico { border-radius: 10px; color: #f5f5f7; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.lp-tile h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; }

/* SLA panel: neutral timers, only P1 carries colour */
.lp-sla { border-radius: 16px; box-shadow: none; }
.lp-sla .tag { border-radius: 8px; font-weight: 600; background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.lp-sla .p1 .tag { background: #d64545; color: #fff; }
.lp-sla .p2 .tag, .lp-sla .p3 .tag, .lp-sla .p4 .tag { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.lp-sla .bar i, .lp-sla .p2 .bar i, .lp-sla .p3 .bar i, .lp-sla .p4 .bar i { background: color-mix(in srgb, var(--ink) 62%, transparent); }
.lp-sla .p1 .bar i { background: #d64545; }
.lp-sla .name { font-weight: 500; }

/* small-team cards */
.bento { border-radius: 16px; transition: none; } .bento:hover { transform: none; box-shadow: none; } .bento:hover img { transform: none; }
.bento-copy h3 { font-weight: 600; letter-spacing: -.015em; font-size: 1.35rem; }
.mini-roles li, .mini-kb .q { border-radius: 10px; }
.mini-roles .pd, .mini-roles .pd.t, .mini-roles .pd.a { background: var(--faint); }
.mini-kb .hit { border-radius: 10px; background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid var(--line); }
.lp-facts b { font-weight: 500; letter-spacing: -.03em; }
.lp-cta { background: #000; }
@media (max-width: 980px) { .lp-display { font-size: clamp(2.3rem, 9vw, 3.4rem); } }

/* =====================================================================================================
   Slide deck
   With JavaScript the page is one screen: the sections are cards stacked like a deck. Wheel, swipe, arrow
   keys, the dots or the top links slide the next card up over the current one, which steps back and dims.
   Without JavaScript (no .lp-deck-on) none of this applies and the sections read as an ordinary page.
   ===================================================================================================== */
.lp-foot-note, .lp-trust-inline { margin-top: clamp(2rem, 5vh, 3.5rem); }
.lp-footline { margin: clamp(1.5rem, 4vh, 2.5rem) 0 0; font-size: .85rem; color: var(--faint, #86868b); }
.lp-dots, .lp-pager { display: none; }

html.lp-deck-on, html.lp-deck-on body.lp { height: 100%; overflow: hidden; scroll-behavior: auto; overscroll-behavior: none; }
html.lp-deck-on body.lp { background: #0b0b0c; }
html.lp-deck-on:not([data-theme="dark"]) body.lp { background: #d9dade; }

/* the stage: one fixed screen */
.lp-deck-on .lp-deck { position: fixed; inset: 0; overflow: hidden; }
.lp-deck-on .lp-slide { --depth: 0; position: absolute; inset: 84px 14px 70px; overflow: hidden; border-radius: 28px; padding: 0; min-height: 0;
  border: 1px solid var(--line); box-shadow: 0 -18px 50px -24px rgba(0, 0, 0, .55); transform-origin: 50% 0;
  transition: transform .85s cubic-bezier(.77, 0, .18, 1), filter .85s cubic-bezier(.77, 0, .18, 1), opacity .5s linear;
  will-change: transform; }
.lp-deck-on .lp-slide.is-after { transform: translate3d(0, calc(100% + 100px), 0); }
.lp-deck-on .lp-slide.is-active { transform: none; }
.lp-deck-on .lp-slide.is-before { transform: translate3d(0, calc(var(--depth) * -13px), 0) scale(calc(1 - var(--depth) * .045)); filter: brightness(calc(1 - var(--depth) * .3)); pointer-events: none; }
.lp-deck-on .lp-slide.is-before[style*="--depth: 3"], .lp-deck-on .lp-slide.is-before[style*="--depth: 4"], .lp-deck-on .lp-slide.is-before[style*="--depth: 5"],
.lp-deck-on .lp-slide.is-before[style*="--depth: 6"], .lp-deck-on .lp-slide.is-before[style*="--depth: 7"], .lp-deck-on .lp-slide.is-before[style*="--depth: 8"] { opacity: 0; }

/* each card scrolls inside itself when its content is taller than the window (small screens, browser zoom) */
.lp-deck-on .lp-slide-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: clamp(1.4rem, 4vh, 3rem) clamp(1.2rem, 3.5vw, 3rem); scrollbar-width: thin; }
.lp-deck-on .lp-slide-in > * { margin-top: auto; margin-bottom: auto; width: 100%; }
.lp-deck-on .lp-slide-in > .lp-wrap { width: min(1180px, 100%); margin-inline: auto; }
.lp-deck-on .lp-feature, .lp-deck-on .lp-ai, .lp-deck-on .lp-bento-sec, .lp-deck-on .lp-cta { padding: 0; }
.lp-deck-on .lp-feature { background: var(--bg); } .lp-deck-on .lp-feature.alt { background: var(--bg-2); } .lp-deck-on .lp-feature.dark { background: #000; border-color: rgba(255, 255, 255, .1); }
.lp-deck-on .lp-bento-sec { background: var(--bg-2); }
.lp-deck-on .lp-cta { background: #000; border-color: rgba(255, 255, 255, .1); }
.lp-deck-on .lp-cta .lp-trust-inline { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: clamp(1.4rem, 4vh, 2.4rem); color: #f5f5f7; --mute: #a1a1a8; }

/* hero card */
.lp-deck-on .lp-hero { padding: 0; min-height: 0; display: block; align-items: stretch; }
.lp-deck-on .lp-hero .lp-slide-in { padding: 96px clamp(1.2rem, 3.5vw, 3rem) 72px; }
.lp-deck-on .lp-hero-inner { margin: auto; width: min(1180px, 100%); }
.lp-deck-on .lp-hero-copy { padding-bottom: 0; }
.lp-deck-on .lp-card { scroll-margin-top: 0; }

/* showcase card: the photograph fills the whole card */
.lp-deck-on .lp-showcase { padding: 0; background: #000; }
.lp-deck-on .lp-showcase .lp-slide-in { padding: 0; display: block; overflow: hidden; }
.lp-deck-on .lp-showcase-frame { position: absolute; inset: 0; width: 100%; aspect-ratio: auto; border-radius: 0; margin: 0; }
.lp-deck-on .lp-showcase-frame img { transform: scale(1.04); transition: transform 1.6s var(--ease); }
.lp-deck-on .lp-showcase.is-active .lp-showcase-frame img { transform: scale(1); }
.lp-deck-on .lp-showcase-copy { left: clamp(1.4rem, 5vw, 4.5rem); right: 1.4rem; bottom: clamp(1.6rem, 7vh, 4.5rem); }

/* content that has to fit a card: a little tighter than the page version */
.lp-deck-on .lp-h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.lp-deck-on .lp-p { margin-top: 1rem; font-size: clamp(1rem, 1.3vw, 1.12rem); }
.lp-deck-on .lp-list { margin-top: 1.3rem; gap: .75rem; } .lp-deck-on .lp-list li { font-size: 1rem; }
.lp-deck-on .lp-media { aspect-ratio: 4 / 3; max-height: 62vh; }
.lp-deck-on .lp-trio { margin-top: clamp(1.4rem, 4vh, 2.6rem); } .lp-deck-on .lp-tile { padding: 1.5rem 1.4rem 1.7rem; }
.lp-deck-on .lp-fine { margin-top: 1.4rem; }
.lp-deck-on .lp-bento { margin-top: clamp(1.2rem, 3vh, 2rem); gap: 1rem; }
.lp-deck-on .bento, .lp-deck-on .bento.b-wide { min-height: clamp(160px, 23vh, 230px); }
.lp-deck-on .lp-bento-sec .bento:not(.b-wide) .bento-copy { padding-top: 1.3rem; } .lp-deck-on .mini { margin-top: .8rem; margin-bottom: 1.1rem; }
.lp-deck-on .lp-bento-sec .bento-copy h3 { font-size: 1.2rem; } .lp-deck-on .lp-bento-sec .bento-copy p { font-size: .95rem; }
.lp-deck-on .lp-facts b { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }

/* the words and pictures arrive when their card becomes the active one */
.lp-deck-on .lp-slide .reveal { opacity: 0; transform: translateY(18px); }
.lp-deck-on .lp-slide.is-active .reveal, .lp-deck-on .lp-slide.is-before .reveal { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) + .35s); }
.lp-deck-on .lp-slide.is-before .reveal { transition-delay: 0s; }
.lp-deck-on .lp-slide.is-active .lp-sla .bar i { width: var(--w); }

/* top bar: a floating pill, as on the reference */
.lp-deck-on .lp-nav { inset: 14px 14px auto; height: 56px; width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding: 0 .7rem 0 1.1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(18, 18, 20, .92); color: #f5f5f7; }
html.lp-deck-on:not([data-theme="dark"]) .lp-nav { background: rgba(255, 255, 255, .94); border-color: rgba(0, 0, 0, .1); color: #1d1d1f; }
html.lp-deck-on:not([data-theme="dark"]) .lp-nav .lp-toggle { border-color: rgba(0, 0, 0, .2); }
html.lp-deck-on:not([data-theme="dark"]) .lp-nav .lp-pill { background: #1d1d1f; color: #fff; }
.lp-deck-on .lp-links a { position: relative; padding: .45rem .15rem; }
.lp-deck-on .lp-links a[aria-current="true"] { opacity: 1; }
.lp-deck-on .lp-links a[aria-current="true"]::after { content: ""; position: absolute; left: .15rem; right: .15rem; bottom: .1rem; height: 2px; border-radius: 2px; background: currentColor; }
.lp-deck-on .lp .lp-pill, .lp-deck-on .lp-nav .lp-pill { border-radius: 999px; }
.lp-deck-on .lp-nav-end .lp-toggle { border-radius: 50%; }

/* progress dots (wide screens) and the pager (everywhere) */
.lp-deck-on .lp-dots { position: fixed; z-index: 40; right: 26px; top: 50%; transform: translateY(-50%); display: grid; gap: .15rem; padding: .5rem .3rem; border-radius: 999px; background: rgba(18, 18, 20, .86); border: 1px solid rgba(255, 255, 255, .14); }
.lp-dots button { position: relative; width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.lp-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .38); transition: background-color .2s, transform .2s; }
.lp-dots button:hover::before { background: rgba(255, 255, 255, .8); }
.lp-dots button[aria-current="true"]::before { background: #fff; transform: scale(1.5); }
.lp-dots button::after { content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); padding: .3rem .65rem; border-radius: 8px; background: rgba(18, 18, 20, .95); border: 1px solid rgba(255, 255, 255, .14);
  color: #f5f5f7; font-size: .78rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.lp-dots button:hover::after, .lp-dots button:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.lp-deck-on .lp-pager { position: fixed; z-index: 40; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: .3rem; height: 44px; padding: 0 .35rem; border-radius: 999px; background: rgba(18, 18, 20, .92); border: 1px solid rgba(255, 255, 255, .14); color: #f5f5f7; }
.lp-pg { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.lp-pg:hover:not(:disabled) { background: rgba(255, 255, 255, .12); } .lp-pg:disabled { opacity: .35; cursor: default; }
.lp-count { min-width: 3.6rem; text-align: center; font-size: .82rem; font-variant-numeric: tabular-nums; color: rgba(245, 245, 247, .8); }
html.lp-deck-on:not([data-theme="dark"]) .lp-dots, html.lp-deck-on:not([data-theme="dark"]) .lp-pager { background: rgba(255, 255, 255, .94); border-color: rgba(0, 0, 0, .1); color: #1d1d1f; }
html.lp-deck-on:not([data-theme="dark"]) .lp-dots button::before { background: rgba(0, 0, 0, .3); } html.lp-deck-on:not([data-theme="dark"]) .lp-dots button:hover::before { background: rgba(0, 0, 0, .7); }
html.lp-deck-on:not([data-theme="dark"]) .lp-dots button[aria-current="true"]::before { background: #1d1d1f; }
html.lp-deck-on:not([data-theme="dark"]) .lp-count { color: rgba(0, 0, 0, .65); } html.lp-deck-on:not([data-theme="dark"]) .lp-pg:hover:not(:disabled) { background: rgba(0, 0, 0, .07); }
html.lp-deck-on:not([data-theme="dark"]) .lp-dots button::after { background: #fff; color: #1d1d1f; border-color: rgba(0, 0, 0, .1); }
@media (max-width: 1180px) { .lp-deck-on .lp-dots { display: none; } }

/* small screens: a bit less chrome */
@media (max-width: 980px) {
  .lp-deck-on .lp-slide { inset: 78px 8px 66px; border-radius: 22px; }
  .lp-deck-on .lp-nav { inset: 10px 8px auto; width: calc(100% - 16px); height: 52px; }
  .lp-deck-on .lp-hero-inner { margin: 0 auto; }
  .lp-deck-on .lp-media { max-height: 36vh; }
}
@media (max-width: 640px) {
  .lp-deck-on .lp-hero-copy .lp-lede { display: none; }
  .lp-deck-on .lp-hero .lp-display { font-size: clamp(2.1rem, 11vw, 2.8rem); }
  .lp-deck-on .lp-hero-inner { gap: 1.4rem; }
  .lp-deck-on .lp-scrollcue { margin-top: 1rem; }
  .lp-deck-on .lp-brand span { display: none; }
  .lp-deck-on .lp-slide-in { padding: 1.2rem 1rem; }
}


/* ---------- The first page stays as it was ----------
   Full screen, no card border, no stepping back: the other cards simply slide up over it. */
.lp-deck-on .lp-hero { inset: 0; border: 0; border-radius: 0; box-shadow: none; }
.lp-deck-on .lp-hero.is-before { transform: none; filter: brightness(.5); opacity: 1 !important; }
.lp-deck-on .lp-hero .lp-hero-inner { transition: opacity .6s ease .1s; }
.lp-deck-on .lp-hero.is-before .lp-hero-inner { pointer-events: none; opacity: 0; }  /* only the photograph stays behind the cards */
.lp-deck-on .lp-hero .lp-slide-in { position: relative; }

/* top bar: the original transparent bar on the first page, the floating pill after it */
html.lp-deck-on.lp-on-hero .lp-nav, html.lp-deck-on.lp-on-hero:not([data-theme="dark"]) .lp-nav { inset: 0 0 auto; width: 100%; height: 56px; padding: 0 max(1.25rem, calc((100vw - 1180px) / 2));
  border: 0; border-radius: 0; background: transparent; color: #f5f5f7; }
html.lp-deck-on.lp-on-hero:not([data-theme="dark"]) .lp-nav .lp-toggle { border-color: rgba(255, 255, 255, .22); }
html.lp-deck-on.lp-on-hero:not([data-theme="dark"]) .lp-nav .lp-pill { background: #f5f5f7; color: #1d1d1f; }

/* back to the first page, from every other card */
.lp-top { display: none; }
.lp-deck-on .lp-top { position: fixed; z-index: 41; right: 18px; bottom: 14px; height: 44px; padding: 0 1rem 0 .85rem; align-items: center; gap: .5rem; border-radius: 999px; cursor: pointer; font: 500 .86rem var(--font);
  background: rgba(18, 18, 20, .92); border: 1px solid rgba(255, 255, 255, .14); color: #f5f5f7; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s, background-color .15s; display: inline-flex; }
.lp-deck-on.lp-past-first .lp-top { opacity: 1; transform: none; pointer-events: auto; }
.lp-deck-on .lp-top:hover { background: #26272b; }
html.lp-deck-on:not([data-theme="dark"]) .lp-top { background: rgba(255, 255, 255, .94); border-color: rgba(0, 0, 0, .1); color: #1d1d1f; }
html.lp-deck-on:not([data-theme="dark"]) .lp-top:hover { background: #ececef; }
@media (max-width: 640px) { .lp-deck-on .lp-top { width: 44px; padding: 0; justify-content: center; right: 10px; } .lp-deck-on .lp-top span { display: none; } }
@media (max-width: 980px) {
  html.lp-deck-on.lp-on-hero .lp-nav, html.lp-deck-on.lp-on-hero:not([data-theme="dark"]) .lp-nav { inset: 0 0 auto; width: 100%; height: 52px; padding: 0 1rem; }
  .lp-deck-on .lp-hero .lp-slide-in { padding: 84px 1rem 72px; }
}
@media (max-width: 640px) { .lp-deck-on .lp-hero .lp-slide-in { padding: 76px 1rem 72px; } }

/* ---------- One layout for every content page: picture on the left, words on the right ----------
   Each page has to fit one screen without scrolling, so sizes follow the window height as well as its width,
   and the less important lines (.opt) drop out when the window is short or narrow. */
.lp-fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 2.8vw, 3rem); align-items: center; }
.lp-fig { position: relative; margin: 0; width: 100%; aspect-ratio: 4 / 3; max-height: min(72vh, 640px); overflow: hidden; border-radius: 22px; background: color-mix(in srgb, var(--ink) 6%, var(--bg)); border: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 56px -24px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.lp-fig img { width: 100%; height: 100%; object-fit: cover; }
.lp-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .18), transparent 40%); pointer-events: none; }
.lp-fig .chip { z-index: 2; }
/* on the black page the photo has no frame: its edges fade into the background */
.lp-feature.dark .lp-fig { background: none; box-shadow: none; overflow: visible; border-radius: 0; }
.lp-feature.dark .lp-fig::after { display: none; }
.lp-feature.dark .lp-fig img { -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 52%, transparent 100%); }
/* the AI picture has no frame: it dissolves into the page */
.lp-fig.art { aspect-ratio: 10 / 7; background: none; border: 0; box-shadow: none; overflow: visible; }
.lp-fig.art::after { display: none; }
.lp-fig.art img { filter: saturate(.78) brightness(.92); opacity: .92; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 34%, transparent 98%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 34%, transparent 98%); }
.lp-feats { list-style: none; margin: clamp(1rem, 2.6vh, 1.6rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.7rem, 1.9vh, 1.1rem) clamp(1.2rem, 2.4vw, 2rem); }
.lp-feats.one { grid-template-columns: 1fr; }
.lp-feats li { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.lp-feats b { display: block; font-size: .98rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.lp-feats .d { display: block; font-size: .9rem; line-height: 1.45; color: var(--mute); }
.lp-ico.sm { width: 2.3rem; height: 2.3rem; border-radius: 9px; color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); border: 1px solid var(--line); }
.lp-ai .lp-ico.sm, .lp-feature.dark .lp-ico.sm { color: #f5f5f7; }
/* every second page puts the picture on the right, so turning pages doesn't feel like the same slide twice */
@media (min-width: 981px) {
  .lp-fit.rev > .lp-copy { order: 1; }
  .lp-fit.rev > :not(.lp-copy) { order: 2; }
}
.lp-fit .lp-fine { margin: 1rem 0 0; max-width: none; text-align: left; }
.lp-fit .lp-kicker { margin-bottom: .6rem; }

.lp-deck-on .lp-slide-in > .lp-wrap.lp-fit { min-height: 100%; height: 100%; margin-block: 0; }
.lp-deck-on .lp-fit .lp-h2 { font-size: clamp(1.45rem, min(3.3vw, 5.4vh), 2.7rem); }
.lp-deck-on .lp-fit .lp-p { margin-top: clamp(.5rem, 1.5vh, 1rem); font-size: clamp(.92rem, min(1.25vw, 2.1vh), 1.1rem); line-height: 1.5; max-width: none; }
.lp-deck-on .lp-sla { padding: clamp(1rem, 2.6vh, 1.6rem); gap: clamp(.7rem, 2vh, 1.1rem); }
.lp-deck-on .lp-sla .row { grid-template-columns: 2.8rem 5rem 1fr; }

/* short windows: keep every page in one screen */
@media (max-height: 760px) {
  .lp-deck-on .lp-fit .opt { display: none; }
  .lp-deck-on .lp-feats .d { font-size: .86rem; line-height: 1.38; }
  .lp-deck-on .lp-slide-in { padding-block: 1rem; }
}
@media (max-height: 600px) {
  .lp-deck-on .lp-fit .lp-p, .lp-deck-on .lp-fit .lp-kicker { display: none; }
  .lp-deck-on .lp-feats .d { display: none; }
}
@media (max-height: 600px) { .lp-deck-on .lp-feats b { font-size: .92rem; } }
/* narrow windows (phones, heavy zoom): one column, a short picture on top, the key lines only */
@media (max-width: 980px) {
  .lp-fit { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .lp-fig { aspect-ratio: 16 / 7; max-height: 22vh; }
  .lp-fig.art { aspect-ratio: 16 / 6; }
  .lp-deck-on .lp-fit .opt { display: none; }
  .lp-feats { grid-template-columns: 1fr; margin-top: .9rem; }
  .lp-deck-on .lp-slide-in > .lp-wrap.lp-fit { align-content: center; }
}
@media (max-width: 640px) {
  .lp-deck-on .lp-fit .lp-p { display: none; }
  .lp-fig { max-height: 17vh; } .lp-fig .chip { display: none; }
  .lp-feats li { gap: .65rem; } .lp-feats b { font-size: .94rem; }
  .lp-feats .d { font-size: .84rem; }
}
.lp-ai { --ink: #f5f5f7; --line: rgba(255, 255, 255, .12); }

/* sign-in page on a short window: tighter, so the form never needs scrolling */
@media (max-height: 700px) {
  .lp-deck-on .lp-hero .lp-slide-in { padding-top: 66px; padding-bottom: 62px; }
  .lp-deck-on .lp-card { padding: 1.2rem 1.4rem 1rem; }
  .lp-deck-on .lp-card-sub { margin-bottom: .9rem; } .lp-deck-on .lp-form { gap: .65rem; }
  .lp-deck-on .lp-secure { display: none; } .lp-deck-on .lp-card-foot { margin-top: .6rem; }
  .lp-deck-on .lp-hero .lp-display { font-size: clamp(2.2rem, 8vh, 3.6rem); }
}
@media (max-height: 560px) { .lp-deck-on .lp-hero .lp-lede { display: none; } .lp-deck-on .lp-scrollcue { margin-top: 1rem; } }

/* phones: the sign-in form and every page still fit one screen */
@media (max-width: 640px) {
  .lp-deck-on .lp-eyebrow, .lp-deck-on .lp-card-sub, .lp-deck-on .lp-secure { display: none; }
  .lp-deck-on .lp-hero .lp-slide-in { padding-top: 70px; padding-bottom: 66px; }
  .lp-deck-on .lp-hero .lp-display { font-size: clamp(1.9rem, 9.5vw, 2.5rem); }
  .lp-deck-on .lp-scrollcue { margin-top: .5rem; }
  .lp-deck-on .lp-card { padding: 1.1rem 1.1rem .9rem; } .lp-deck-on .lp-card h2 { font-size: 1.35rem; margin-bottom: .8rem; }
  .lp-deck-on .lp-form { gap: .6rem; } .lp-deck-on .lp .lp-form input[type=text], .lp-deck-on .lp .lp-form input[type=password] { height: 42px; }
  .lp-deck-on .lp-submit { height: 44px; } .lp-deck-on .lp-card-foot { margin-top: .5rem; }
  .lp-deck-on .lp-cta .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 640px) and (max-height: 720px) {
  .lp-deck-on .lp-fit .lp-fig { display: none; }
  .lp-deck-on .lp-fit .lp-kicker { display: none; }
  .lp-deck-on .lp-hero .lp-scrollcue { display: none; }
}
@media (max-height: 700px) {
  .lp-deck-on .lp-cta .lp-lede, .lp-deck-on .lp-footline { display: none; }
  .lp-deck-on .lp-cta .lp-pill.big { margin-top: 1rem; }
  .lp-deck-on .lp-trust-inline { margin-top: 1.2rem; }
}

/* ---------- Windows, Linux and GitHub icons on the first page: each one opens the GitHub project ----------
   Bare icons, no frames; a soft glow behind the one under the pointer. */
.lp-install { margin-top: clamp(1.2rem, 3.4vh, 2rem); }
.lp-icons { display: flex; align-items: center; gap: .4rem; margin-left: -.9rem; }
.lp-seg { display: flex; gap: .4rem; }
.lp-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; color: rgba(245, 245, 247, .92); transition: background-color .18s, color .18s; }
.lp-icon svg { width: 42px; height: 42px; transition: transform .22s cubic-bezier(.22, .61, .36, 1); }
.lp-icon:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.lp-icon:hover svg { transform: translateY(-2px) scale(1.07); }
.lp-icon:focus-visible { outline-offset: -2px; }
.lp-deck-on .lp-hero .lp-lede { margin-top: 1rem; }
@media (max-height: 800px) { .lp-deck-on .lp-hero .lp-scrollcue { display: none; } }
@media (max-width: 980px) { .lp-install { margin-top: .9rem; } }
@media (max-width: 640px) { .lp-icons { margin-left: -.6rem; gap: .2rem; } .lp-seg { gap: .2rem; } .lp-icon { width: 58px; height: 58px; border-radius: 16px; } .lp-icon svg { width: 32px; height: 32px; } }

/* ---------- Sign-in cover scales with the window ----------
   One length (--hs) drives the cover's type, card and spacing, so it fits any desktop window: it follows the
   width on wide screens and the height on short ones (a 1920px laptop at 150% zoom is only ~550px tall).
   Under 981px the phone/tablet rules above apply unchanged. */
@media (min-width: 520px) and (min-aspect-ratio: 13/10), (min-width: 981px) {
  html.lp-deck-on { --hs: clamp(13px, min(1.1vw, calc((100svh - 150px) / 27)), 26px); }
  .lp-deck-on .lp-hero-inner { font-size: var(--hs); width: min(calc(var(--hs) * 76), calc(100% - 3rem)); margin-inline: auto;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 27em); gap: 4em; }
  html.lp-deck-on.lp-on-hero .lp-nav, html.lp-deck-on.lp-on-hero:not([data-theme="dark"]) .lp-nav { padding: 0 max(1.25rem, calc((100vw - var(--hs) * 76) / 2)); }
  .lp-deck-on .lp-hero .lp-display { font-size: 4.6em; }
  .lp-deck-on .lp-hero .lp-eyebrow { font-size: 1.02em; }
  .lp-deck-on .lp-hero .lp-lede { font-size: 1.35em; max-width: 28em; margin-top: .9em; }
  .lp-deck-on .lp-hero .lp-install { margin-top: 1.3em; }
  .lp-deck-on .lp-hero .lp-icon { width: 4.2em; height: 4.2em; border-radius: 1.2em; }
  .lp-deck-on .lp-hero .lp-icon svg { width: 2.5em; height: 2.5em; }
  .lp-deck-on .lp-hero .lp-scrollcue { font-size: 1em; }
  .lp-deck-on .lp-card { padding: 2em 1.9em 1.5em; border-radius: .9em; }
  .lp-deck-on .lp-card h2 { font-size: 1.9em; }
  .lp-deck-on .lp-card-sub { font-size: 1em; margin: .4em 0 1.3em; }
  .lp-deck-on .lp-form { gap: 1em; }
  .lp-deck-on .lp-field label { font-size: .9em; }
  .lp-deck-on .lp .lp-form input[type=text], .lp-deck-on .lp .lp-form input[type=password] { height: 3em; font-size: 1.05em; border-radius: .6em; }
  .lp-deck-on .lp-submit { height: 3em; font-size: 1.05em; border-radius: .6em; }
  .lp-deck-on .lp-eye { width: 2.5em; height: 2.5em; }
  .lp-deck-on .lp-alert, .lp-deck-on .lp-err { font-size: .9em; }
  .lp-deck-on .lp-card-foot { font-size: .95em; margin-top: 1.1em; }
  .lp-deck-on .lp-secure { font-size: .8em; }
}

/* ---------- Content pages: no scrollbar, the picture fills the page's height ----------
   The picture used to keep a 4:3 box whatever the window, so on a short window it ran taller than the page and
   made the card scroll. Now the picture takes the height the page has (capped on very tall screens) and crops
   its sides instead. The card can still scroll on phones, but never shows a bar. */
.lp-deck-on .lp-slide-in { scrollbar-width: none; -ms-overflow-style: none; }
.lp-deck-on .lp-slide-in::-webkit-scrollbar { display: none; }
@media (min-width: 981px) {
  .lp-deck-on .lp-slide-in > .lp-wrap.lp-fit { grid-template-rows: minmax(0, 1fr); }
  .lp-deck-on .lp-fit .lp-fig { aspect-ratio: 4 / 3; height: auto; max-height: 100%; align-self: center; }
  .lp-deck-on .lp-fit .lp-fig.art { aspect-ratio: 10 / 7; }
  .lp-deck-on .lp-fit .lp-copy { align-self: center; }
}

/* ---------- Content pages keep all of their text on every desktop window ----------
   The older short-window rules above hid the intro line, the kicker, the feature descriptions and the optional
   features once the window was under 760px tall, so a 1920px laptop at 150% zoom lost half of each page.
   On desktop widths nothing is hidden any more: the text scales with the window (--hs, set for the cover) and,
   if it still does not fit, the card scrolls without showing a bar. Phones keep their short version. */
@media (min-width: 981px) {
  .lp-deck-on .lp-fit .lp-kicker, .lp-deck-on .lp-fit .lp-p, .lp-deck-on .lp-fit .lp-p.opt, .lp-deck-on .lp-fit .lp-fine.opt, .lp-deck-on .lp-feats .d { display: block; }
  .lp-deck-on .lp-feats li.opt { display: grid; }
  .lp-deck-on .lp-fit .lp-kicker { font-size: calc(var(--hs) * 1.08); margin-bottom: .4em; }
  .lp-deck-on .lp-fit .lp-h2 { font-size: calc(var(--hs) * 2.5); }
  .lp-deck-on .lp-fit .lp-p { font-size: calc(var(--hs) * 1.2); margin-top: .7em; line-height: 1.45; }
  .lp-deck-on .lp-fit .lp-fine { font-size: calc(var(--hs) * 1.02); margin-top: .7em; }
  .lp-deck-on .lp-feats { margin-top: 1em; gap: .7em 1.4em; }
  .lp-deck-on .lp-feats li { grid-template-columns: calc(var(--hs) * 2.2) minmax(0, 1fr); gap: .7em; }
  .lp-deck-on .lp-feats b { font-size: calc(var(--hs) * 1.18); }
  .lp-deck-on .lp-feats .d { font-size: calc(var(--hs) * 1.04); line-height: 1.4; }
  .lp-deck-on .lp-ico.sm { width: calc(var(--hs) * 2.2); height: calc(var(--hs) * 2.2); }
}

/* AI page: the text sat against the card's left edge with a wide gap before the picture; pull it toward the middle */
@media (min-width: 981px) {
  .lp-deck-on #ai .lp-fit.rev > .lp-copy { justify-self: end; width: min(100%, calc(var(--hs) * 34)); margin-right: clamp(0px, 3vw, 3.5rem); }
}

/* ---------- Zooming in or out never removes anything ----------
   Browser zoom changes the window's size in CSS pixels, and the older "short window" and "phone" rules then hid the
   intro line, the "Explore" cue, the sign-in hint, the security note, page intros and feature descriptions.
   Nothing is hidden by size any more. On desktop widths everything scales down to fit (--hs); on narrow windows
   a page that is taller than the window scrolls inside its card, without a visible bar. */
.lp-deck-on .lp-hero .lp-lede, .lp-deck-on .lp-hero-copy .lp-lede, .lp-deck-on .lp-eyebrow, .lp-deck-on .lp-card-sub,
.lp-deck-on .lp-hero .lp-scrollcue, .lp-deck-on .lp-fit .lp-kicker, .lp-deck-on .lp-fit .lp-p, .lp-deck-on .lp-feats .d,
.lp-deck-on .lp-fit .lp-fine.opt, .lp-deck-on .lp-cta .lp-lede, .lp-deck-on .lp-footline { display: block; }
.lp-deck-on .lp-secure { display: flex; }
.lp-deck-on .lp-feats li.opt { display: grid; }
.lp-deck-on .lp-fit .lp-fig { display: block; }
@media (min-width: 520px) and (min-aspect-ratio: 13/10), (min-width: 981px) {
  html.lp-deck-on { --hs: clamp(7px, min(1.1vw, calc((100svh - 120px) / 35)), 26px); }
  .lp-deck-on .lp-hero .lp-slide-in { padding-top: 56px; padding-bottom: 60px; }
  .lp-deck-on .lp-hero .lp-scrollcue { margin-top: .8em; }
}

/* ---------- First page on a portrait or narrow window: one screen, no scrolling ----------
   Same idea as the wide layout: one length (--hn) sizes the type, the sign-in card and the gaps, taken from the
   window's height and width together, so the headline, intro, icons and sign-in form always fit on one screen. */
@media (max-width: 519px), (max-width: 980px) and (max-aspect-ratio: 13/10) {
  html.lp-deck-on { --hn: clamp(7px, min(calc((100svh - 150px) / 58), 3.4vw), 20px); }
  .lp-deck-on .lp-hero .lp-slide-in { padding: 60px 1rem 66px; }
  .lp-deck-on .lp-hero-inner { font-size: var(--hn); width: min(100%, calc(var(--hn) * 46)); margin: auto; grid-template-columns: minmax(0, 1fr); gap: 1.4em; }
  .lp-deck-on .lp-hero .lp-display { font-size: 3.6em; }
  .lp-deck-on .lp-hero .lp-eyebrow { font-size: 1.05em; margin-bottom: .6em; }
  .lp-deck-on .lp-hero .lp-lede { font-size: 1.25em; max-width: none; margin-top: .6em; }
  .lp-deck-on .lp-hero .lp-install { margin-top: .8em; }
  .lp-deck-on .lp-hero .lp-icon { width: 3.6em; height: 3.6em; border-radius: 1em; }
  .lp-deck-on .lp-hero .lp-icon svg { width: 2.1em; height: 2.1em; }
  .lp-deck-on .lp-hero .lp-scrollcue { margin-top: .6em; font-size: 1em; }
  .lp-deck-on .lp-card { max-width: none; padding: 1.5em 1.5em 1.1em; border-radius: .9em; }
  .lp-deck-on .lp-card h2 { font-size: 1.7em; margin-bottom: .2em; }
  .lp-deck-on .lp-card-sub { font-size: 1em; margin: .3em 0 1em; }
  .lp-deck-on .lp-form { gap: .8em; }
  .lp-deck-on .lp-field label { font-size: .9em; }
  .lp-deck-on .lp .lp-form input[type=text], .lp-deck-on .lp .lp-form input[type=password] { height: 3em; font-size: 1.05em; border-radius: .6em; }
  .lp-deck-on .lp-submit { height: 3em; font-size: 1.05em; border-radius: .6em; }
  .lp-deck-on .lp-eye { width: 2.5em; height: 2.5em; }
  .lp-deck-on .lp-card-foot { font-size: .95em; margin-top: .8em; }
  .lp-deck-on .lp-secure { font-size: .8em; margin-top: .8em; padding-top: .7em; }
}

/* ---------- Smoother page turns ----------
   The jerks came from three things: (1) the first page was dimmed with `filter: brightness()`, which makes the
   browser re-paint a full-screen photograph on every frame of the slide; a black overlay fading in is done by the
   graphics card instead. (2) The top bar snapped from the full-width transparent bar to the floating pill the moment
   the turn began; now it morphs along with the page. (3) The easing was an abrupt ease-in-out; this one starts
   quickly and settles gently. */
.lp-deck-on .lp-slide { transition: transform .9s cubic-bezier(.32, .72, 0, 1), opacity .5s linear; backface-visibility: hidden; }
.lp-deck-on .lp-slide.is-before, .lp-deck-on .lp-hero.is-before { filter: none; }
.lp-deck-on .lp-slide::after { content: ""; position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; pointer-events: none;
  transition: opacity .9s cubic-bezier(.32, .72, 0, 1); }
.lp-deck-on .lp-slide.is-before::after { opacity: calc(var(--depth, 1) * .3); }
.lp-deck-on .lp-hero.is-before::after { opacity: .5; }
.lp-deck-on .lp-hero .lp-hero-inner { transition: opacity .45s ease; }
.lp-deck-on .lp-nav { transition: top .8s cubic-bezier(.32, .72, 0, 1), left .8s cubic-bezier(.32, .72, 0, 1), right .8s cubic-bezier(.32, .72, 0, 1),
  width .8s cubic-bezier(.32, .72, 0, 1), height .8s cubic-bezier(.32, .72, 0, 1), padding .8s cubic-bezier(.32, .72, 0, 1),
  border-radius .8s cubic-bezier(.32, .72, 0, 1), background-color .5s, border-color .5s, color .4s, backdrop-filter .35s; }
/* The page turn plays whatever the system "reduce motion" setting says: Windows Server and remote desktops report it as on
   by default, which silently turned the slide into a plain cut. Decorative loops stay off under that setting (see above). */

/* ---------- Language switch (EN | FR) in the top bar ---------- */
.lp .lang-switch { display: inline-flex; align-items: center; gap: 2px; margin: 0; padding: 2px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.lp .lang-switch button { min-width: 34px; height: 28px; padding: 0 .55rem; border: 0; border-radius: 999px; background: transparent; color: inherit; opacity: .7; font: 600 .74rem/1 var(--font); letter-spacing: .05em; cursor: pointer; }
.lp .lang-switch button:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.lp .lang-switch button[aria-current="true"] { opacity: 1; background: rgba(255, 255, 255, .18); cursor: default; }
.lp .lang-switch button:focus-visible { outline: 2px solid #7ea6ff; outline-offset: 1px; }
html:not([data-theme="dark"]) .lp-nav.is-light .lang-switch { border-color: rgba(0, 0, 0, .2); }
html:not([data-theme="dark"]) .lp-nav.is-light .lang-switch button:hover { background: rgba(0, 0, 0, .06); }
html:not([data-theme="dark"]) .lp-nav.is-light .lang-switch button[aria-current="true"] { background: rgba(0, 0, 0, .1); }
@media (max-width: 640px) { .lp .lang-switch button { min-width: 38px; height: 34px; } }

/* big screens: use the width and height the window has, so the picture grows instead of floating in white space.
   Small and short windows keep the rules above. */
@media (min-width: 1200px) and (min-height: 780px) {
  .lp-deck-on .lp-slide-in > .lp-wrap.lp-fit { width: min(1560px, 100%); gap: clamp(2rem, 4vw, 4.5rem); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .lp-deck-on .lp-slide-in > .lp-wrap.lp-fit.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .lp-deck-on .lp-fit .lp-fig { aspect-ratio: auto; height: min(100%, 68vh, 760px); max-height: none; }
  .lp-deck-on .lp-fit .lp-fig.art { aspect-ratio: auto; height: min(100%, 70vh, 760px); }
  .lp-deck-on .lp-fit .lp-h2 { font-size: clamp(1.45rem, min(3.3vw, 5.4vh), 3.4rem); }
  .lp-deck-on .lp-fit .lp-p { font-size: clamp(1rem, min(1.4vw, 2.4vh), 1.4rem); }
  .lp-feats b { font-size: clamp(1.05rem, 2.15vh, 1.35rem); }
  .lp-feats .d { font-size: clamp(.95rem, 1.95vh, 1.2rem); }
}
