/* Genygo — public landing page (resources/views/home.php), in two editions:
   .lp-ed-ma (genygo.ma, Morocco) and .lp-ed-world (genygo.com).
   Loaded after app.css (design tokens, dark mode) and genie.css (the Genie).
   Phone first; logical properties everywhere so Arabic (dir="rtl") mirrors. */

.lp {
  --lp-night: #16102e;
  --lp-night-2: #221a4d;
  --lp-on-night: #f7f1e8;
  --lp-on-night-2: #d9d0e6;
  --lp-gold: #f2b441;
  --lp-gold-hover: #f7c565;
  --lp-gold-ink: #1d1406;
  --lp-gold-soft: color-mix(in srgb, var(--saffron) 18%, var(--surface));
  --lp-gold-text: #8a5608;
  --lp-teal-soft: var(--glow-soft);
  --lp-teal-text: #0a6389;
  --lp-radius: 18px;
  --lp-header-h: 60px;
  --lp-font-ar: "Noto Sans Arabic", "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
  --lp-font-ar-head: "Noto Kufi Arabic", "Noto Sans Arabic", "Segoe UI", "SF Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  --lp-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23f2b441' stroke-opacity='.09' stroke-width='1.1'%3E%3Cpath d='M28 5l7 16 16 7-16 7-7 16-7-16-16-7 16-7z'/%3E%3Cpath d='M28 16l3.5 8.5L40 28l-8.5 3.5L28 40l-3.5-8.5L16 28l8.5-3.5z'/%3E%3C/g%3E%3C/svg%3E");
  font-size: 16px;
  line-height: 1.6;
  background: var(--page);
  overflow-x: hidden;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp { --lp-gold-text: #f2b441; --lp-teal-text: #7dd3fc; }
}
:root[data-theme="dark"] .lp { --lp-gold-text: #f2b441; --lp-teal-text: #7dd3fc; }

html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: calc(var(--lp-header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html:has(body.lp) { scroll-behavior: auto; } }

.lp h1, .lp h2, .lp h3, .lp h4 { color: inherit; }
.lp h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.55rem); font-weight: 780; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .45em; text-wrap: balance; }
.lp h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 .4em; }
.lp p { text-wrap: pretty; }
.lp a { text-underline-offset: 3px; }
.lp main:focus { outline: none; }

/* Arabic: proper fonts, no negative tracking or capitals (they break letter joining). */
.lp:lang(ar), .lp [lang="ar"] { font-family: var(--lp-font-ar); }
.lp:lang(ar) h1, .lp:lang(ar) h2, .lp:lang(ar) h3, .lp:lang(ar) h4,
.lp [lang="ar"] { letter-spacing: 0; }
.lp:lang(ar) h1, .lp:lang(ar) h2, .lp:lang(ar) h3 { font-family: var(--lp-font-ar-head); line-height: 1.45; }
.lp:lang(ar) { line-height: 1.85; }
.lp:lang(ar) .lp-lang a[lang="en"], .lp:lang(ar) .lp-lang a[lang="fr"],
.lp:lang(ar) code, .lp:lang(ar) .lp-window-url { font-family: var(--font); }
.lp .lp-lang a[lang="ar"], .lp .lp-segment [lang="ar"] { font-family: var(--lp-font-ar); }

/* ── Layout ───────────────────────────────────────────── */
.lp-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .lp-wrap { padding-inline: 28px; } }
.lp-narrow { max-width: 860px; }
.lp-section { padding-block: 64px; scroll-margin-top: var(--lp-header-h); }
@media (min-width: 900px) { .lp-section { padding-block: 96px; } }
.lp-section-alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.lp-head { max-width: 760px; margin: 0 auto 32px; text-align: start; }
@media (min-width: 640px) { .lp-head { text-align: center; margin-bottom: 36px; } }
@media (min-width: 900px) { .lp-head { margin-bottom: 48px; } }
.lp-eyebrow { display: inline-block; margin: 0 0 10px; color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.lp:lang(ar) .lp-eyebrow { font-size: .95rem; letter-spacing: 0; text-transform: none; }
.lp-sub { color: var(--ink-2); font-size: 1.06rem; margin: 0; }
@media (min-width: 900px) { .lp-sub { font-size: 1.12rem; } }
.lp-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .lp-grid-2, .lp-grid-3, .lp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .lp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lp-grid { gap: 20px; } }
.lp-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) {
  .lp-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; }
  .lp-split-reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .lp-split-reverse > :first-child { order: 2; }
}

/* ── Buttons ──────────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 14px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s, transform .08s, box-shadow .15s;
}
.lp-btn:hover { text-decoration: none; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; border-radius: 11px; }
.lp-btn-block { width: 100%; }
.lp-btn-gold { background: var(--lp-gold); color: var(--lp-gold-ink); box-shadow: 0 10px 30px rgba(242, 180, 65, .28); }
.lp-btn-gold:hover { background: var(--lp-gold-hover); color: var(--lp-gold-ink); }
.lp-btn-light { background: rgba(255, 255, 255, .06); color: var(--lp-on-night); border-color: rgba(255, 255, 255, .34); }
.lp-btn-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.lp-btn-primary { background: var(--primary); color: var(--primary-ink); }
.lp-btn-primary:hover { background: color-mix(in srgb, var(--primary) 86%, var(--ink)); color: var(--primary-ink); }
.lp-btn-outline { background: transparent; color: var(--primary); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.lp-btn-outline:hover { background: var(--primary-soft); }
.lp-arrow { display: inline-flex; }
.lp-arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .lp-arrow svg { transform: scaleX(-1); }
.lp-btn:hover .lp-arrow { transform: translateX(2px); }
[dir="rtl"] .lp-btn:hover .lp-arrow { transform: translateX(-2px); }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .lp-cta-row .lp-btn { flex: 1 1 100%; } }

/* Focus: always visible; gold on the dark areas. */
.lp :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.lp-header :focus-visible, .lp-hero :focus-visible, .lp-beta-pitch :focus-visible, .lp-footer :focus-visible { outline-color: #ffd88a; }
.lp .skip-link { left: auto; inset-inline-start: 12px; top: 10px; z-index: 60; transform: translateY(-160%); transition: transform .15s; }
.lp .skip-link:focus { transform: none; }

/* ── Header ───────────────────────────────────────────── */
.lp-header {
  position: sticky; top: 0; z-index: 40; color: var(--lp-on-night);
  background: color-mix(in srgb, var(--lp-night) 90%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lp-header-in { display: flex; align-items: center; gap: 12px; min-height: var(--lp-header-h); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.lp-brand:hover { text-decoration: none; color: inherit; }
.lp-brand img { border-radius: 10px; flex: none; }
.lp-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand small { font-size: .74rem; font-weight: 600; color: var(--lp-on-night-2); }
/* "Genygo" with its star: the green Moroccan star on genygo.ma, a gold sparkle on genygo.com. */
.lp-wordmark { display: inline-flex; align-items: flex-start; gap: 1px; font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; direction: ltr; }
.lp .lp-star { width: 13px; height: 13px; margin-top: -1px; }
.lp-i-star-ma { color: #3fcf7e; stroke-width: 2.2; }
.lp-i-star-world { color: var(--lp-gold); fill: currentColor; stroke-width: 1; }
.lp-footer .lp-wordmark { font-size: 1.05rem; }
.lp-nav { display: none; }
.lp-header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lp-header-actions > * { white-space: nowrap; }
.lp-header-signin { display: none; color: var(--lp-on-night-2); font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 10px; }
.lp-header-signin:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.lp-header-cta { display: none; }
@media (min-width: 560px) { .lp-header-cta { display: inline-flex; } }
@media (min-width: 760px) { .lp-header-signin { display: inline-flex; } }
@media (min-width: 1200px) {
  .lp-nav { display: flex; gap: 2px; margin-inline-start: 18px; }
  .lp-nav a { color: var(--lp-on-night-2); font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
  .lp-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
}
/* Five links: "Privacy" (also in the footer) waits for a wider screen. */
@media (max-width: 1379px) { .lp-nav .lp-nav-wide { display: none; } }

/* Language switcher (header and footer). */
.lp-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.lp-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 34px; padding: 4px 10px; border-radius: 999px; color: var(--lp-on-night-2); font-size: .86rem; font-weight: 650; line-height: 1; }
.lp-lang a:hover { color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }
.lp-lang a[aria-current="true"] { background: var(--lp-on-night); color: var(--lp-night); }
.lp-lang-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-lang-short { display: inline; }
.lp-lang a[lang="ar"] .lp-lang-short { font-size: 1.05rem; }

/* ── Hero ─────────────────────────────────────────────── */
.lp-hero, .lp-beta {
  position: relative; isolation: isolate; color: var(--lp-on-night);
  background:
    radial-gradient(900px 520px at 12% 105%, rgba(56, 189, 248, .26), transparent 60%),
    radial-gradient(760px 460px at 98% -5%, rgba(200, 50, 45, .30), transparent 62%),
    radial-gradient(600px 380px at 60% 40%, rgba(75, 63, 209, .30), transparent 70%),
    linear-gradient(160deg, var(--lp-night-2), var(--lp-night) 60%);
}
.lp-hero::before, .lp-beta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--lp-pattern); pointer-events: none; }
.lp-hero { padding-block: 36px 72px; overflow: hidden; }
@media (min-width: 980px) { .lp-hero { padding-block: 72px 110px; } }
.lp-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .lp-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 40px; } }
.lp-hero h1 { font-size: clamp(2.15rem, 1.4rem + 3.6vw, 3.7rem); font-weight: 820; letter-spacing: -.035em; line-height: 1.06; margin: 0 0 18px; text-wrap: balance; }
.lp:lang(ar) .lp-hero h1 { font-size: clamp(2rem, 1.35rem + 3.2vw, 3.3rem); line-height: 1.35; }
.lp-lead { color: var(--lp-on-night-2); font-size: 1.04rem; max-width: 56ch; margin: 0 0 26px; }
@media (min-width: 560px) { .lp-lead { font-size: 1.1rem; } }
@media (min-width: 980px) { .lp-lead { font-size: 1.2rem; } }
.lp-badge { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 650; color: #ffd88a; background: rgba(242, 180, 65, .12); border: 1px solid rgba(242, 180, 65, .38); }
.lp-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #5ee08c; flex: none; }
.lp-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #5ee08c; opacity: 0; animation: lp-ping 2s ease-out infinite; }
@keyframes lp-ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.lp-tagline { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 24px; }
.lp-tagline-face { flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 80%, rgba(56, 189, 248, .55), rgba(56, 189, 248, .08) 72%); border: 2px solid rgba(255, 255, 255, .22); }
.lp-tagline-face .genie-box, .lp-tagline-face .genie { width: 100%; height: 100%; aspect-ratio: auto; }
.lp-tagline-text { position: relative; display: flex; flex-direction: column; gap: 2px; width: fit-content; min-width: 0; margin: 0 0 6px; padding: 10px 16px; border-radius: 16px; border-end-start-radius: 4px; background: #fffdfa; color: #1d1a16; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.lp-tagline-say { font-weight: 700; font-size: 1.02rem; line-height: 1.5; }
.lp-tagline-text [lang="ar"] { font-weight: 700; font-size: 1.06rem; line-height: 1.6; }
.lp-tagline-text small { color: #5d554b; font-size: .82rem; font-style: italic; line-height: 1.45; }
.lp-signin { margin: 16px 0 0; color: var(--lp-on-night-2); font-size: .95rem; }
.lp-signin a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.lp-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--lp-on-night-2); font-size: .92rem; }
.lp-points li { display: inline-flex; align-items: center; gap: 7px; }
.lp-points svg { width: 16px; height: 16px; color: #5ee08c; }

/* Hero picture: an online shop's back office, the Genie pointing at "Publish". */
.lp-hero-art { position: relative; min-width: 0; }
.lp-hero-art::before { content: ""; position: absolute; inset: 8% 4% 0; background: radial-gradient(closest-side, rgba(56, 189, 248, .35), transparent); filter: blur(10px); z-index: -1; }
.lp-scene { position: relative; max-width: 580px; margin-inline: auto; padding-block-end: 20%; }
/* The Genie grows with the picture but the window does not: keep his hand level with "Publish". */
@supports (width: 1cqw) {
  .lp-scene { container-type: inline-size; padding-block-end: 0; }
  .lp-scene::after { content: ""; display: block; height: calc(21.6cqw - 17px); }
}
.lp-window { width: 71%; background: #fffdfa; color: #1d1a16; border-radius: 16px; overflow: hidden; box-shadow: 0 34px 70px rgba(4, 2, 16, .5), 0 0 0 1px rgba(255, 255, 255, .1); font-size: .9rem; line-height: 1.4; }
.lp-window-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #efe6d8; border-bottom: 1px solid #e3d7c5; }
.lp-window-dots { display: inline-flex; gap: 5px; flex: none; }
.lp-window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ec6a5e; }
.lp-window-dots i:nth-child(2) { background: #f4bf4f; }
.lp-window-dots i:nth-child(3) { background: #61c554; }
.lp-window-url { flex: 1; min-width: 0; padding: 3px 10px; border-radius: 999px; background: #fffdfa; color: #7a7065; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.lp-window-body { display: grid; gap: 12px; padding: 16px; }
@media (min-width: 480px) { .lp-window-body { padding: 18px 20px 20px; } }
.lp-ask { display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 100%; padding: 7px 12px 7px 7px; padding-inline: 7px 12px; border-radius: 16px; border-end-start-radius: 5px; background: #ebe8fd; color: #2a2170; font-weight: 650; font-size: .84rem; transition: opacity .3s, transform .3s; }
.lp-ask-mic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #4b3fd1; color: #fff; flex: none; }
.lp-ask-mic svg { width: 14px; height: 14px; }
.lp-wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; flex: none; }
.lp-wave i { width: 3px; height: 100%; border-radius: 2px; background: #4b3fd1; transform: scaleY(.35); }
.lp-scene[data-step="ask"] .lp-wave i { animation: lp-wave .9s ease-in-out infinite; }
.lp-wave i:nth-child(2) { animation-delay: .15s !important; }
.lp-wave i:nth-child(3) { animation-delay: .3s !important; }
.lp-wave i:nth-child(4) { animation-delay: .45s !important; }
@keyframes lp-wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.lp-fake-title { font-weight: 750; font-size: 1.02rem; }
.lp-fake-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px; }
.lp-fake-field { display: grid; gap: 4px; min-width: 0; }
.lp-fake-field span { font-size: .7rem; color: #6f665b; font-weight: 600; }
.lp-fake-field b { font-weight: 550; font-size: .82rem; padding: 7px 9px; border: 1px solid #e3d7c5; border-radius: 8px; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-fake-lines { display: grid; gap: 7px; }
.lp-fake-lines i { display: block; height: 8px; border-radius: 4px; background: #efe7da; }
.lp-fake-lines i:last-child { width: 62%; }
.lp-fake-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.lp-fake-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 9px; border: 1px solid #d8cab6; background: #fff; font-weight: 650; font-size: .8rem; white-space: nowrap; }
.lp-fake-primary { position: relative; background: #4b3fd1; border-color: #4b3fd1; color: #fff; transition: background-color .3s, box-shadow .3s; }
.lp-done-check { display: none; }
.lp-done-check svg { width: 14px; height: 14px; }
.lp-scene[data-step="point"] .lp-fake-primary { box-shadow: 0 0 0 3px #fffdfa, 0 0 0 6px #38bdf8, 0 0 22px 8px rgba(56, 189, 248, .55); animation: lp-ring 1.4s ease-in-out infinite; }
@keyframes lp-ring { 50% { box-shadow: 0 0 0 3px #fffdfa, 0 0 0 8px #38bdf8, 0 0 30px 12px rgba(56, 189, 248, .35); } }
.lp-scene[data-step="done"] .lp-fake-primary { background: #0f7a5c; border-color: #0f7a5c; }
.lp-scene[data-step="done"] .lp-done-check { display: inline-flex; }
.lp-scene-genie { position: absolute; inset-inline-end: -3%; bottom: 0; width: 38%; }
.lp-hero-genie { filter: drop-shadow(0 18px 30px rgba(56, 189, 248, .3)); }
.lp-bubble { position: absolute; bottom: 98%; inset-inline-end: 2%; z-index: 2; width: max-content; max-width: min(200px, 56vw); margin: 0; padding: 10px 14px; border-radius: 16px; border-end-end-radius: 4px; background: #fffdfa; color: #1d1a16; font-weight: 750; font-size: .92rem; line-height: 1.35; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); transition: opacity .3s, transform .3s; }
.lp-bubble [data-say] { display: none; }
.lp-scene[data-step="point"] .lp-bubble [data-say="point"], .lp-scene[data-step="done"] .lp-bubble [data-say="done"] { display: block; }
.lp-scene[data-step="ask"] .lp-bubble { opacity: 0; transform: translateY(6px) scale(.96); }
@media (max-width: 479px) {
  .lp-window { width: 71%; font-size: .8rem; }
  .lp-window-body { gap: 10px; padding: 12px; }
  .lp-ask { font-size: .76rem; }
  .lp-fake-row { grid-template-columns: minmax(0, 1fr); }
  .lp-fake-price, .lp-fake-lines i:last-child { display: none; }
  .lp-fake-btn { padding: 6px 10px; }
  .lp-bubble { font-size: .8rem; padding: 7px 11px; }
}

/* ── Cards, icons, tags ───────────────────────────────── */
.lp-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border-radius: var(--lp-radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.lp-card p { color: var(--ink-2); margin: 0; }
.lp-card-flat { box-shadow: none; }
.lp-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 13px; }
.lp-icon svg { width: 23px; height: 23px; }
.lp-icon-blue { background: var(--primary-soft); color: var(--primary); }
.lp-icon-red { background: var(--accent-soft); color: var(--accent); }
.lp-icon-gold { background: var(--lp-gold-soft); color: var(--lp-gold-text); }
.lp-icon-teal { background: var(--lp-teal-soft); color: var(--lp-teal-text); }
.lp-tag { display: inline-flex; align-items: center; width: fit-content; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--primary-soft); color: var(--primary); white-space: nowrap; }
.lp-tag-muted { background: var(--surface-3); color: var(--ink-2); }

@media (max-width: 639px) {
  .lp-feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 18px; }
  .lp-feature > .lp-icon, .lp-feature > .lp-step-icon { grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; }
  .lp-feature > h3 { margin-top: 9px; }
  .lp-feature > p, .lp-feature > h3, .lp-feature > .lp-tag { grid-column: 2; }
  .lp-feature > .lp-tag { margin-top: 10px; }
  .lp-feature > .lp-step-no { font-size: 1.6rem; top: 12px; }
  .lp-place p { margin-bottom: 0; }
}

/* How it works */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 640px) { .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .lp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.lp-step { position: relative; padding: 24px; border-radius: var(--lp-radius); background: var(--surface); border: 1px solid var(--border); }
.lp-step p { color: var(--ink-2); margin: 0; }
.lp-step-no { position: absolute; top: 14px; inset-inline-end: 18px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--primary) 16%, var(--surface)); font-variant-numeric: tabular-nums; }
.lp-step-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); }
.lp-step-icon svg { width: 22px; height: 22px; }
.lp-modes-title { text-align: center; font-size: 1.3rem !important; margin: 48px 0 20px !important; }
.lp-mode-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 12px; }
.lp-mode-head .lp-icon { margin: 0; }
.lp-mode-head h4 { margin: 0; font-size: 1.15rem; font-weight: 750; }

/* Where it works */
.lp-place .lp-tag { margin-top: auto; }
.lp-place p { margin-bottom: 18px; }
.lp-snippet { display: grid; gap: 10px; margin-top: 20px; padding: 18px 20px; border-radius: var(--lp-radius); background: #17122b; color: #e9e3f5; border: 1px solid #2c2450; }
.lp-snippet-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; }
.lp-snippet-label svg { color: #ffd88a; }
.lp-snippet pre { margin: 0; padding: 0; background: none; border: 0; color: #ffd88a; font-size: .86rem; line-height: 1.5; white-space: pre-wrap; word-break: break-all; text-align: left; direction: ltr; }

/* Characters */
.lp-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-checks li { display: flex; align-items: flex-start; gap: 12px; }
.lp-checks li > svg { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--emerald) 14%, var(--surface)); color: var(--emerald); }
.lp-chips-label { margin: 26px 0 10px; font-weight: 700; }
.lp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips li { padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); font-size: .9rem; font-weight: 600; }
.lp-chips-skill { margin-top: 22px; }
.lp-chips-skill li { background: var(--lp-gold-soft); border-color: color-mix(in srgb, var(--saffron) 40%, var(--border)); }
.lp-note { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; color: var(--ink-2); font-size: .9rem; }
.lp-note svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.lp-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-gallery-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px 16px; border-radius: 22px; background: radial-gradient(circle at 50% 72%, var(--glow-soft), transparent 70%), var(--surface); border: 1px solid var(--border); text-align: center; font-weight: 700; font-size: .92rem; }
.lp-gallery-item:nth-child(even) { transform: translateY(18px); }
.lp-gallery-art { width: min(100%, 170px); }
.lp-gallery-art .genie-box { width: 100%; }
@media (min-width: 980px) { .lp-gallery { gap: 18px; padding-bottom: 18px; } }

/* Skills: a professional in any field (a chat with an e-commerce coach), and the website owner's own skills */
.lp-note-site { padding: 12px 14px; border-radius: 14px; background: var(--lp-teal-soft); color: var(--ink); }
.lp-note-site svg { color: var(--lp-teal-text); }
.lp-chat { border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.lp-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-chat-head strong { display: block; }
.lp-chat-avatar { width: 50px; height: 50px; flex: none; border-radius: 15px; overflow: hidden; background: radial-gradient(circle at 50% 80%, var(--glow-soft), transparent 70%), var(--surface-3); display: grid; place-items: center; }
.lp-chat-avatar .genie-box { width: 50px; height: 50px; aspect-ratio: auto; }
.lp-chat-avatar .genie { width: 100%; height: 100%; aspect-ratio: auto; }
.lp-chat-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px 24px; }
.lp-msg { max-width: 86%; margin: 0; padding: 11px 15px; border-radius: 18px; line-height: 1.5; }
.lp-msg-user { align-self: flex-end; background: var(--primary); color: var(--primary-ink); border-end-end-radius: 5px; }
.lp-msg-genie { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-end-start-radius: 5px; }
.lp-msg-skill { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 650; color: var(--lp-teal-text); background: var(--lp-teal-soft); }
.lp-msg-skill svg { width: 15px; height: 15px; }

/* Roast mode */
.lp-roast { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--page)), var(--page) 70%); }
.lp-levels { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-level { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--border-strong); font-size: .9rem; }
.lp-level strong { display: block; margin-bottom: 2px; }
.lp-level span { color: var(--ink-2); }
.lp-level-1 { border-top-color: var(--saffron); }
.lp-level-2 { border-top-color: var(--serious); }
.lp-level-3 { border-top-color: var(--critical); }
.lp-limits-title { margin: 28px 0 0 !important; font-size: 1.05rem !important; }
.lp-checks-limits { margin-top: 12px; }
.lp-checks-limits li > svg { background: var(--primary-soft); color: var(--primary); }
.lp-roast-art { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
.lp-bubble-static { position: relative; inset: auto; width: auto; max-width: 360px; margin: 0 0 6px; padding: 14px 18px; border-radius: 18px; border: 0; box-shadow: var(--shadow-lg); font-size: 1.02rem; }
.lp-bubble-static p { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.lp-bubble-static footer { margin-top: 4px; color: #5d554b; font-weight: 500; font-size: .86rem; font-style: italic; }
.lp-bubble-static::after { content: ""; position: absolute; bottom: -9px; left: 50%; margin-left: -10px; border: 10px solid transparent; border-top-color: #fffdfa; border-bottom: 0; }
.lp-roast-genie { width: min(78%, 300px); }

/* Privacy */
.lp-more { margin: 28px 0 0; text-align: center; font-weight: 700; }
.lp-more a { display: inline-flex; align-items: center; gap: 8px; }

/* FAQ */
.lp-faq { padding: 4px 22px; border-radius: var(--lp-radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.lp-faq-item + .lp-faq-item { border-top: 1px solid var(--border); }
.lp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.04rem; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-inline-end: 4px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; color: var(--primary); }
.lp-faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.lp-faq-item summary:hover { color: var(--primary); }
.lp-faq-item p { margin: 0; padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* ── Beta sign-up ─────────────────────────────────────── */
.lp-beta { padding-block: 64px 80px; scroll-margin-top: var(--lp-header-h); }
@media (min-width: 980px) { .lp-beta { padding-block: 96px 110px; } }
.lp-beta-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 980px) { .lp-beta-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; } }
.lp-beta .lp-eyebrow { color: #ffd88a; }
.lp-beta .lp-sub { color: var(--lp-on-night-2); }
.lp-checks-light li > svg { background: rgba(94, 224, 140, .16); color: #5ee08c; }
.lp-checks-light li { color: var(--lp-on-night); }
.lp-now { margin-top: 30px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.lp-now strong { display: block; font-size: 1.05rem; }
.lp-now p { margin: 4px 0 14px; color: var(--lp-on-night-2); }
.lp-beta-genie { display: none; }
@media (min-width: 980px) { .lp-beta-genie { display: block; width: 190px; margin: 28px auto 0; margin-inline-end: 0; filter: drop-shadow(0 16px 30px rgba(56, 189, 248, .3)); } }

.lp-form-card { position: relative; padding: 22px 18px; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 34px 80px rgba(4, 2, 16, .45); scroll-margin-top: calc(var(--lp-header-h) + 16px); }
@media (min-width: 560px) { .lp-form-card { padding: 30px 30px 26px; } }
.lp-form-title { font-size: 1.35rem !important; margin-bottom: 18px !important; }
.lp-form-row { display: grid; gap: 0 14px; align-items: start; }
@media (min-width: 560px) { .lp-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-field { display: grid; gap: 7px; align-content: start; min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.lp-field > label, .lp-field > legend { font-weight: 700; font-size: .95rem; padding: 0; margin: 0 0 7px; }
.lp-field > label { margin: 0; }
.lp-optional { font-weight: 500; color: var(--ink-2); font-size: .85rem; }
.lp-input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
textarea.lp-input { min-height: 96px; resize: vertical; }
.lp-input::placeholder { color: var(--muted); }
.lp-input:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--border-strong)); }
.lp-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
[dir="rtl"] .lp-input[dir="ltr"] { text-align: right; }
[dir="rtl"] .lp-input[dir="ltr"]:focus, [dir="rtl"] .lp-input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
.lp-input[aria-invalid="true"], .lp-consent input[aria-invalid="true"] { border-color: var(--critical); }
.lp-input[aria-invalid="true"] { background: color-mix(in srgb, var(--critical) 5%, var(--surface)); }
.lp-field-error { margin: 0; color: var(--critical); font-size: .88rem; font-weight: 650; }
.lp-choices { display: grid; gap: 8px; }
@media (min-width: 440px) {
  .lp-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.lp-choice { position: relative; display: block; cursor: pointer; }
.lp-choice input, .lp-segment input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.lp-choice > span { display: flex; align-items: center; gap: 10px; min-height: 48px; height: 100%; padding: 10px 13px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--surface); font-weight: 650; font-size: .93rem; line-height: 1.3; transition: border-color .15s, background-color .15s; }
.lp-choice > span svg { flex: none; width: 20px; height: 20px; color: var(--ink-2); }
.lp-choice:hover > span { border-color: color-mix(in srgb, var(--primary) 45%, var(--border-strong)); }
.lp-choice input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.lp-choice input:checked + span svg { color: var(--primary); }
.lp-choice input:focus-visible + span, .lp-segment input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
fieldset[aria-describedby] .lp-choice > span, fieldset[aria-describedby] .lp-segment { border-color: var(--critical); }
.lp-segment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 13px; border: 1.5px solid var(--border-strong); background: var(--surface-2); }
.lp-segment label { position: relative; cursor: pointer; }
.lp-segment span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px; border-radius: 9px; font-weight: 700; font-size: .93rem; text-align: center; transition: background-color .15s, color .15s; }
.lp-segment label:hover span { background: var(--surface); }
.lp-segment input:checked + span { background: var(--primary); color: var(--primary-ink); }
.lp-field > .lp-consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 500; font-size: .94rem; line-height: 1.5; }
.lp-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); }
.lp-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.lp-form-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--ink-2); font-size: .85rem; }
.lp-form-note svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--emerald); }
.lp-alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-weight: 650; background: color-mix(in srgb, var(--critical) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--critical) 38%, var(--border)); color: var(--ink); }
.lp-alert svg { flex: none; color: var(--critical); margin-top: 2px; }
.lp-alert:focus, .lp-success:focus { outline: none; }
.lp-success { text-align: center; padding: 6px 4px 8px; }
.lp-success-art { width: 170px; margin: 0 auto 8px; }
.lp-success h3 { font-size: 1.5rem !important; }
.lp-success p { color: var(--ink-2); margin: 0 auto 20px; max-width: 42ch; }

/* ── Footer ───────────────────────────────────────────── */
.lp-footer { background: #0e0a1c; color: #cfc6dc; padding-block: 44px 28px; font-size: .92rem; }
.lp-footer-in { display: grid; gap: 26px; align-items: start; }
@media (min-width: 860px) { .lp-footer-in { grid-template-columns: minmax(0, 1.4fr) auto auto; gap: 40px; } }
.lp-footer-brand p { margin: 10px 0 0; max-width: 40ch; }
.lp-footer-brand .lp-made { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #e6dff0; font-weight: 650; }
.lp-made svg { width: 18px; height: 18px; flex: none; }
.lp-made .lp-i-star-ma { color: #3fcf7e; }
.lp-made .lp-i-globe { color: #7dd3fc; }
.lp-footer-brand .lp-edition-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 14px; }
.lp-edition-switch a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 700; }
.lp-edition-switch a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.lp-edition-switch .lp-arrow svg { width: 15px; height: 15px; }
.lp-footer .lp-brand { color: #fff; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lp-footer-links a { color: #e6dff0; font-weight: 600; }
.lp-footer-links a:hover { color: #fff; }
.lp-lang-footer { width: fit-content; }
.lp-lang-footer a { min-width: 0; padding-inline: 12px; }
.lp-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: #a79fb4; font-size: .84rem; }

/* ── Motion & accessibility ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lp-pulse::after, .lp-scene .lp-wave i, .lp-scene .lp-fake-primary { animation: none !important; }
  .lp-btn, .lp-bubble, .lp-ask { transition: none; }
}
@media (forced-colors: active) {
  .lp-lang a[aria-current="true"], .lp-choice input:checked + span, .lp-segment input:checked + span { outline: 2px solid CanvasText; }
}

/* For companies: the Genygo Agent (both editions; right after "What it is" on genygo.com) */
.lp-agent { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, var(--page)), var(--page) 75%); }
.lp-agent-art { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 18px 22px; border-radius: 26px; border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 78%, var(--glow-soft), transparent 68%), linear-gradient(180deg, var(--surface), var(--surface-2, var(--surface))); }
.lp-agent-art .genie-box { width: min(100%, 250px); }
.lp-agent-name { font-weight: 800; letter-spacing: .01em; }
.lp-agent .lp-btn { margin-top: 18px; }

/* The live assistant (Admin → Home page): two buttons under the hero points, shown once the Genie script is ready. */
.lp-assistant { margin: 22px 0 0; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: var(--lp-on-night-2); max-width: 560px; }
.lp-assistant[hidden], .lp-assistant [hidden] { display: none !important; }
.lp-assistant-text { margin: 0 0 10px; font-size: .95rem; }
.lp-assistant-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lp-assistant-actions .lp-btn { gap: 8px; }
.lp-assistant-actions .lp-btn svg { width: 18px; height: 18px; }
.lp-assistant-now { font-size: .9rem; }
.lp-assistant-now b { color: #fff; }
@media (max-width: 479px) { .lp-assistant-actions .lp-btn { flex: 1 1 100%; } }
