/* ── Landing refinements of model 1, inside the real site layout. Tokens come from site.css, so both themes work. ── */
.lv { --lv-gap: clamp(44px, 7vw, 88px); display: flex; flex-direction: column; gap: var(--lv-gap); padding-bottom: 24px; overflow-x: clip; }
.lv > * { min-width: 0; width: 100%; }
.lv h1 { margin: 0; font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.3rem); line-height: 1.35; letter-spacing: -.01em; }
.lv p { margin: 0; color: var(--text-muted); line-height: 1.95; }
.lv-sec { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding-block: 0; }
.lv-head { text-align: center; display: grid; gap: 8px; width: 100%; }
.lv-head h2 { margin: 0; font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2rem); }
.lv-head p { margin-inline: auto; max-width: 54ch; }

/* Buttons */
.lv-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: var(--radius-pill); font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform var(--dur-fast) var(--ease), filter var(--dur-fast), background var(--dur-fast), box-shadow var(--dur); }
.lv-btn-main { background: var(--accent); color: #1b1305; box-shadow: 0 10px 30px -12px var(--accent); }
.lv-btn-main:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 16px 36px -12px var(--accent); }
.lv-btn-main:active { transform: scale(.98); }
.lv-btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.lv-btn-ghost:hover { background: var(--surface); }
.lv-btn-soft { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent); }
.lv-btn-soft:hover { background: var(--surface-hover); }
.lv-btn-lg { min-height: 54px; padding: 0 32px; font-size: 1.05rem; }
.lv a:focus-visible, .lv button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lv-fine { font-size: .85rem; }
.lv-pill { justify-self: start; padding: 5px 14px; border-radius: var(--radius-pill); background: var(--accent-2-soft); border: 1px solid var(--accent-2-border); color: var(--accent-2); font-size: .85rem; font-weight: 700; }

/* Hero */
.lv-hero { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; padding-top: clamp(20px, 5vw, 56px); }
.lv-hero-text { display: grid; gap: 18px; justify-items: start; }
.lv-hero-c { justify-items: center; text-align: center; gap: 18px; }
.lv-hero-c p { max-width: 58ch; }
.lv-hero-c .lv-pill { justify-self: center; }
.lv-hero-c .lv-actions { justify-content: center; }
.lv-hero > *, .lv-hero-text > * { animation: lv-rise .65s var(--ease) both; }
.lv-hero-text > :nth-child(2) { animation-delay: .06s; } .lv-hero-text > :nth-child(3) { animation-delay: .12s; } .lv-hero-text > :nth-child(4) { animation-delay: .18s; } .lv-hero-text > :nth-child(5) { animation-delay: .24s; }
.lv-hero-c > :nth-child(2) { animation-delay: .06s; } .lv-hero-c > :nth-child(3) { animation-delay: .12s; } .lv-hero-c > :nth-child(4) { animation-delay: .18s; }
@keyframes lv-rise { from { opacity: 0; transform: translateY(16px); } }
@media (min-width: 900px) { .lv-hero:has(.lv-stage) { grid-template-columns: 1fr 1.1fr; } }
@media (prefers-reduced-motion: reduce) { .lv *, .lv *::before { animation: none !important; transition: none !important; } }

/* Type segmented control */
.lv-types { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); max-width: 100%; }
.lv-types button { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text-muted); font: inherit; cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }
.lv-types button:hover { color: var(--text); }
.lv-types button.on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-border); }
@media (max-width: 520px) { .lv-types { display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); width: 100%; } }

/* Device showcase */
.lv-stage { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 640px; justify-self: center; }
.lv-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-soft), transparent); filter: blur(30px); }
.lv-devs { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.lv-devs.on { opacity: 1; transform: none; pointer-events: auto; }
.lv-laptop { position: absolute; inset-block-start: 4%; inset-inline: 0 10%; filter: drop-shadow(0 34px 40px rgb(0 0 0 / .35)); }
.lv-laptop::after { content: ""; display: block; height: 3.2%; margin: 0 -4%; padding-top: 1.2%; border-radius: 0 0 14px 14px; background: linear-gradient(#cfd5e2, #9aa3b6); }
.lv-phone { position: absolute; inset-block-end: 2%; inset-inline-end: 0; width: 26%; padding: 1.4%; border-radius: 22px; background: #11151f; filter: drop-shadow(0 24px 30px rgb(0 0 0 / .45)); animation: lv-float 6s ease-in-out infinite; }
@keyframes lv-float { 50% { transform: translateY(-8px); } }
.lv-phone .dv-wrap { border-radius: 16px; overflow: hidden; }
.lv-laptop .dv-wrap { border-radius: 10px 10px 0 0; overflow: hidden; border: 5px solid #11151f; border-bottom-width: 7px; }

/* A finished site, drawn in HTML (fixed colours: a site's look does not follow the visitor's theme) */
.dv-wrap { container-type: inline-size; width: 100%; }
.dv { --bg: #fff; --ink: #1b2230; --mut: #6a7385; --tint: color-mix(in srgb, var(--k) 14%, var(--bg)); background: var(--bg); color: var(--ink); font-size: 2.45cqi; line-height: 1.5; text-align: start; transition: --k .4s; }
.dv-phone .dv { font-size: 5.6cqi; }
.dv-k1 { --bg: #1b1511; --ink: #f4e9dc; --mut: #b6a591; }
.dv-k3 { --bg: #f7f4ff; }
.dv-chrome { display: flex; align-items: center; gap: .5em; padding: .6em .9em; background: #e9edf4; direction: ltr; }
.dv-chrome i { width: .7em; height: .7em; border-radius: 50%; background: #c2c9d6; }
.dv-chrome span { margin-inline-start: .8em; padding: .1em 1em; border-radius: 99px; background: #fff; color: #6a7385; font-size: .85em; }
.dv-site { padding: .9em 1em 1.1em; display: grid; gap: .9em; align-content: start; min-height: 25em; }
.dv-phone .dv-site { min-height: 46em; }
.dv-nav { display: flex; align-items: center; gap: .9em; }
.dv-nav b { font-size: 1.15em; color: var(--k); }
.dv-nav span { color: var(--mut); font-size: .9em; }
.dv-nav em { margin-inline-start: auto; font-style: normal; background: var(--k); color: #fff; padding: .25em .9em; border-radius: 99px; font-size: .85em; white-space: nowrap; transition: background .4s; }
.dv-phone .dv-nav span { display: none; }
.dv-hero, .dv-me { display: grid; grid-template-columns: 1.3fr 1fr; gap: .8em; align-items: center; padding: 1.1em; border-radius: .9em; background: linear-gradient(135deg, var(--tint), var(--bg)); border: 1px solid color-mix(in srgb, var(--k) 20%, transparent); }
.dv-hero div, .dv-me div { display: grid; gap: .35em; justify-items: start; }
.dv-hero b, .dv-me b { font-size: 1.55em; line-height: 1.35; }
.dv-hero small, .dv-me small { color: var(--mut); }
.dv-hero em, .dv-me em { font-style: normal; background: var(--k); color: #fff; padding: .3em 1em; border-radius: 99px; font-size: .9em; margin-top: .3em; transition: background .4s; }
.dv-art { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--k) 40%, #fff), var(--k)); opacity: .9; transition: background .4s; }
.dv-dish .dv-art { background: radial-gradient(circle at 35% 30%, #f6d9a8, #c97a3d 70%); box-shadow: 0 0 0 .5em rgb(255 255 255 / .06); }
.dv-avatar { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--k), #f0a3c8); order: 2; }
.dv-me { grid-template-columns: 1fr 5em; }
.dv-phone .dv-hero, .dv-phone .dv-me { grid-template-columns: 1fr; }
.dv-phone .dv-art { display: none; }
.dv-row { display: grid; gap: .7em; }
.dv-4 { grid-template-columns: repeat(4, 1fr); } .dv-3 { grid-template-columns: repeat(3, 1fr); }
.dv-phone .dv-4 { grid-template-columns: repeat(2, 1fr); } .dv-phone .dv-3 { grid-template-columns: repeat(2, 1fr); }
.dv-phone .dv-3 .dv-card:nth-child(3) { display: none; }
.dv-card { display: grid; gap: .25em; padding: .5em; border-radius: .7em; background: var(--tint); }
.dv-card i { aspect-ratio: 1.15; border-radius: .5em; background: linear-gradient(135deg, color-mix(in srgb, var(--k) 45%, #fff), color-mix(in srgb, var(--k) 20%, var(--bg))); }
.dv-card b { font-size: .95em; } .dv-card small { color: var(--k); font-size: .8em; font-weight: 700; }
.dv-menu { display: grid; gap: .6em; padding: .2em .1em; }
.dv-menu div { display: flex; align-items: baseline; gap: .6em; }
.dv-menu u { flex: 1; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent); text-decoration: none; }
.dv-menu small { color: var(--k); font-weight: 700; }

/* Steps */
.lv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; position: relative; }
.lv-steps li { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 20px 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform var(--dur) var(--ease), border-color var(--dur-fast); }
.lv-steps li:hover { transform: translateY(-4px); border-color: var(--accent-2-border); }
.lv-step-ic { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--accent-2-soft); color: var(--accent-2); }
.lv-step-ic svg { width: 28px; height: 28px; }
.lv-step-ic em { position: absolute; inset-block-start: -8px; inset-inline-end: -8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #1b1305; font-style: normal; font-size: .78rem; font-weight: 800; }
.lv-steps b { font-size: .98rem; line-height: 1.6; }
.lv-steps small { color: var(--text-muted); }
.lv-steps-line li:not(:last-child)::after { content: ""; position: absolute; inset-block-start: 48px; inset-inline-end: calc(-16px - 2px); width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 4px, transparent 4px 8px); }
.lv-steps-line li { position: relative; }
@media (max-width: 899px) { .lv-steps { grid-template-columns: 1fr 1fr; } .lv-steps li:not(:last-child)::after { display: none; } }
@media (max-width: 520px) { .lv-steps { grid-template-columns: 1fr; gap: 10px; } .lv-steps li { grid-template-columns: 56px 1fr; justify-items: start; text-align: start; column-gap: 14px; align-items: center; padding: 14px; } .lv-step-ic { grid-row: span 2; } }

/* Tabs and samples */
.lv-tabs { align-self: center; display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.lv-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text-muted); font: inherit; cursor: pointer; white-space: nowrap; transition: background var(--dur-fast), color var(--dur-fast); }
.lv-tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-border); }
.lv-pane { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lv-pane:not([hidden]) { animation: lv-rise .45s var(--ease) both; }
.lv-pane[hidden] { display: none; }
.lv-sample { display: grid; border-radius: var(--radius-lg); overflow: hidden; min-width: 0; }
.lv-sample-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #171f37; }
.lv-sample-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.lv-sample:hover .lv-sample-media img, .lv-sample:hover .dv-wrap { transform: scale(1.04); }
.lv-sample-media > .dv-wrap { transition: transform .6s var(--ease); }
.lv-sample-media > .dv-wrap .dv-chrome { padding-block: .4em; }
.lv-sample-badge { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; padding: 4px 12px; border-radius: 99px; font-size: 12px; background: rgb(10 14 26 / .72); color: #fff; backdrop-filter: blur(6px); }
.lv-sample-body { display: grid; gap: 10px; padding: 14px 16px 16px; }
.lv-sample-body b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-sample-body span { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-sample-body .lv-btn { min-height: 44px; padding: 0 16px; font-size: .88rem; }
@media (max-width: 899px) { .lv-pane { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lv-pane { grid-template-columns: 1fr; } }

/* Features and price */
.lv-feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lv-feat-i { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform var(--dur) var(--ease), border-color var(--dur-fast); }
.lv-feat-i:hover { transform: translateY(-3px); border-color: var(--accent-2-border); }
.lv-feat-i svg { width: 30px; height: 30px; color: var(--accent-2); margin-bottom: 4px; }
.lv-feat-i small { color: var(--text-muted); line-height: 1.8; }
@media (max-width: 899px) { .lv-feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lv-feat { grid-template-columns: 1fr; } }
.lv-price { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 24px; align-items: center; padding: clamp(20px, 4vw, 34px); border-radius: var(--radius-lg); border: 1px solid var(--accent-border); background: linear-gradient(150deg, var(--accent-soft), var(--surface)); }
.lv-price-main { display: grid; gap: 4px; }
.lv-price-main small, .lv-price-main span { color: var(--text-muted); font-size: .9rem; }
.lv-price-main b { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.4rem); color: var(--accent); }
.lv-price-main em { font-style: normal; font-size: .5em; color: var(--text-muted); font-weight: 500; }
.lv-price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lv-price li { position: relative; padding-inline-start: 26px; line-height: 1.7; font-size: .94rem; }
.lv-price li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--accent-2); font-weight: 800; }
@media (max-width: 899px) { .lv-price { grid-template-columns: 1fr; } .lv-price .lv-btn { width: 100%; } }

/* V2: three product cards */
.lv-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lv-card3 { display: grid; align-content: start; border-radius: var(--radius-lg); overflow: hidden; color: inherit; text-decoration: none; }
.lv-card3-art { padding: 18px 18px 0; background: linear-gradient(160deg, var(--accent-2-soft), transparent); }
.lv-card3-art .dv-wrap { border-radius: 10px 10px 0 0; overflow: hidden; transform: translateY(6px); transition: transform .5s var(--ease); }
.lv-card3:hover .lv-card3-art .dv-wrap { transform: translateY(-2px) scale(1.02); }
.lv-card3-body { display: grid; gap: 8px; padding: 18px 20px 20px; }
.lv-card3-body h3 { margin: 0; font-size: 1.2rem; }
.lv-card3-body ul { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; color: var(--text-muted); font-size: .93rem; }
.lv-card3-body li::before { content: "✓ "; color: var(--accent-2); font-weight: 800; }
.lv-card3-go { color: var(--accent); font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.lv-card3-go i { font-style: normal; transition: transform var(--dur-fast); }
.lv-card3:hover .lv-card3-go i { transform: translateX(-5px); }
@media (max-width: 899px) { .lv-cards3 { display: grid; grid-template-columns: 1fr; } .lv-card3 { grid-template-columns: 42% 1fr; } .lv-card3-art { display: grid; align-items: end; padding-bottom: 0; } }
@media (max-width: 560px) { .lv-card3 { grid-template-columns: 1fr; } }

/* V3: try-it panel */
.lv-try-panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(18px, 3vw, 36px); padding: clamp(16px, 3vw, 32px); border-radius: var(--radius-lg); align-items: center; }
.lv-try-ctl { display: grid; gap: 22px; }
.lv-try-group { display: grid; gap: 10px; justify-items: start; }
.lv-try-step { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.lv-try-step em { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-style: normal; font-size: .85rem; }
.lv-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.lv-swatches button { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; background: var(--sw); background-clip: padding-box; box-shadow: 0 0 0 1px var(--border-strong); cursor: pointer; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast); }
.lv-swatches button:hover { transform: scale(1.1); }
.lv-swatches button.on { box-shadow: 0 0 0 2px var(--accent); transform: scale(1.08); }
.lv-try-view { position: relative; aspect-ratio: 16 / 11; }
.lv-try-view .lv-laptop { inset-inline: 2%; inset-block-start: 3%; }
@media (max-width: 899px) { .lv-try-panel { grid-template-columns: 1fr; } .lv-try-view { order: -1; } }

/* V4: journey card */
.lv-kinds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lv-kinds li { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-size: .88rem; color: var(--text-muted); }
.lv-journey { position: relative; display: grid; gap: 14px; padding: clamp(16px, 3vw, 26px); border-radius: var(--radius-lg); overflow: hidden; }
.lv-journey-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lv-journey-head span { color: var(--text-muted); font-size: .85rem; }
.lv-journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.lv-journey li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-md); animation: lv-rise .6s var(--ease) both; animation-delay: calc(.25s + var(--i) * .15s); transition: background var(--dur-fast); }
.lv-journey li:hover { background: var(--surface); }
.lv-journey li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 31px; margin-top: 56px; width: 2px; height: 16px; background: var(--border-strong); }
.lv-j-n { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border); font-weight: 800; }
.lv-journey li b { display: block; font-size: .98rem; line-height: 1.6; } .lv-journey li small { color: var(--text-muted); }
.lv-j-bar { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.lv-j-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: right; animation: lv-fill 1.8s .5s var(--ease) both; }
@keyframes lv-fill { from { transform: scaleX(0); } }
@media (min-width: 900px) { .lv-hero:has(.lv-journey) { grid-template-columns: 1.1fr 1fr; } }

/* V5: terms line and type tiles */
.lv-terms { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: .92rem; }
.lv-terms b { color: var(--accent); }
.lv-terms i { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }
@media (max-width: 560px) { .lv-terms i { display: none; } .lv-terms { flex-direction: column; gap: 2px; } }
.lv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lv-tile { display: grid; grid-template-columns: 38% 1fr; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-lg); text-decoration: none; color: inherit; overflow: hidden; }
.lv-tile-art { max-width: 110px; transition: transform .5s var(--ease); }
.lv-tile:hover .lv-tile-art { transform: translateY(-4px) rotate(-2deg); }
.lv-tile .dv-wrap { border-radius: 14px; overflow: hidden; border: 3px solid #11151f; max-height: 150px; }
.lv-tile b { display: block; margin-bottom: 4px; } .lv-tile small { color: var(--accent); font-weight: 700; }
.lv-tile small i { font-style: normal; display: inline-block; transition: transform var(--dur-fast); } .lv-tile:hover small i { transform: translateX(-4px); }
@media (max-width: 899px) { .lv-tiles { display: grid; grid-template-columns: 1fr; } .lv-tile { grid-template-columns: 84px 1fr; } }

/* V6: moving reel behind the hero */
.lv-reel { position: relative; isolation: isolate; padding-block: clamp(40px, 8vw, 96px); overflow: hidden; border-radius: var(--radius-lg); }
.lv-reel-bg { position: absolute; inset: 0; z-index: -1; display: grid; align-content: space-around; gap: 16px; opacity: .55; mask-image: radial-gradient(70% 80% at 50% 50%, transparent 28%, #000 85%); -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, transparent 28%, #000 85%); }
.lv-reel-row { overflow: hidden; direction: ltr; }
.lv-reel-track { display: flex; gap: 16px; width: max-content; animation: lv-reel 60s linear infinite; }
.lv-reel-1 .lv-reel-track { animation-direction: reverse; animation-duration: 75s; }
@keyframes lv-reel { to { transform: translateX(-50%); } }
.lv-reel-i { width: clamp(200px, 26vw, 300px); flex: none; border-radius: 12px; overflow: hidden; border: 3px solid #11151f; }
.lv-reel-fg { display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 720px; padding: clamp(18px, 4vw, 34px); border-radius: var(--radius-lg); background: rgb(var(--glass-rgb, 13 20 36) / .72); backdrop-filter: blur(14px); border: 1px solid var(--border); }
.lv-reel-fg p { max-width: 54ch; }
.lv-types-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--radius-pill); color: var(--text-muted); text-decoration: none; transition: background var(--dur-fast), color var(--dur-fast); }
.lv-types-links a:hover { background: var(--accent-soft); color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .lv-reel-track { animation: none !important; } }

/* The real home page styles its section titles inline; the previews need the same rules for the real custom-work section below. */
.lv ~ .section .section-head-row, .lv ~ #portfolio .section-head-row { justify-content: center; gap: 16px; }
.section-title-link { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.section-title-link-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--accent-2); }
.section-title-link-icon svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .lv-hero { padding-top: 110px; } }
/* Placeholder samples share one drawing per kind; vary the accent so three of them do not look like copies. */
.lv-pane .lv-sample:nth-child(2) .dv { --k: #1f9d6b !important; }
.lv-pane .lv-sample:nth-child(3) .dv { --k: #7c5cd6 !important; }

/* ===== Home top, phone first ===== */
.lv-pick { display: grid; gap: 8px; justify-items: start; width: 100%; }
.lv-pick-l { font-size: .85rem; color: var(--text-muted); font-weight: 700; }
.lv-types { flex-wrap: nowrap; }
.lv-types button { flex: 1 1 auto; white-space: nowrap; }
.lv-hero-text .lv-actions .lv-btn-main { flex: 1 1 auto; }
.lv-fine { color: var(--text-muted); font-size: .85rem; line-height: 1.7; }
.lv-custom { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: clamp(16px, 3vw, 24px) clamp(16px, 3vw, 28px); border-radius: var(--radius-lg); }
.lv-custom > div { display: grid; gap: 4px; flex: 1 1 280px; min-width: 0; }
.lv-custom b { font-size: 1.05rem; }
.lv-custom span { color: var(--text-muted); font-size: .92rem; line-height: 1.8; }
.lv-custom-links { display: flex; gap: 10px; flex-wrap: wrap; }

@media (min-width: 900px) {
  .lv-types { width: auto; }
  .lv-hero-text .lv-actions .lv-btn-main { flex: 0 0 auto; }
}

@media (max-width: 899px) {
  .lv { --lv-gap: 40px; }
  /* the phone has no top header; the small theme button floats in the corner, so the first line starts below it */
  .lv-hero { padding-top: 64px; gap: 22px; }
  .lv-hero-text { gap: 14px; }
  .lv h1 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); line-height: 1.4; }
  .lv-hero-text p { font-size: .95rem; line-height: 1.9; }
  .lv-pick { gap: 6px; }
  .lv-types { width: 100%; display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); }
  .lv-types button { min-height: 44px; padding: 0 6px; font-size: .84rem; }
  .lv-actions { width: 100%; gap: 10px; }
  .lv-actions .lv-btn { flex: 1 1 150px; padding-inline: 16px; }
  .lv-stage { aspect-ratio: 1 / .86; max-width: 440px; }
  .lv-laptop { inset-inline: 0 14%; inset-block-start: 6%; }
  .lv-phone { width: 34%; }
  .lv-head h2 { font-size: 1.3rem; }
  .lv-head p { font-size: .92rem; }
  .lv-sec { gap: 16px; }
  /* samples ride a swipe rail that bleeds to the screen edge, so the next card peeks out */
  .lv-pane { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 2px 20px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lv-pane::-webkit-scrollbar { display: none; }
  .lv-pane > .lv-sample { flex: 0 0 min(300px, 82%); scroll-snap-align: center; }
  .lv-sample-body { padding: 12px 14px 14px; }
  .lv-feat { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lv-feat-i { padding: 14px; }
  .lv-feat-i small { font-size: .82rem; line-height: 1.7; }
  .lv-steps li { padding: 12px 14px; }
  .lv-custom span { font-size: .88rem; }
  .lv-custom-links { width: 100%; }
  .lv-custom-links .lv-btn { flex: 1 1 140px; }
}
@media (max-width: 360px) {
  .lv-types button { font-size: .78rem; padding: 0 2px; }
  .lv-feat { grid-template-columns: 1fr; }
}

/* ===== Four steps: each card carries a small live picture ===== */
.lv-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: f; }
.lv-flow::before { content: ""; position: absolute; inset-inline: 12.5%; top: 74px; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px); z-index: 0; }
.lv-flow::after { content: ""; position: absolute; inset-inline-start: 12.5%; top: 72px; width: 12px; height: 6px; border-radius: 6px; background: var(--accent); box-shadow: 0 0 14px var(--accent); z-index: 1; animation: lv-travel 5.5s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes lv-travel { 0% { inset-inline-start: 12.5%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { inset-inline-start: calc(87.5% - 12px); opacity: 0; } }
.lv-fstep { position: relative; z-index: 2; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 16px 14px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform var(--dur) var(--ease), border-color var(--dur-fast), box-shadow var(--dur); }
.lv-fstep:hover { transform: translateY(-5px); border-color: var(--accent-2-border); box-shadow: 0 20px 40px -24px #000; }
.lv-fstep b { font-size: 1rem; line-height: 1.6; }
.lv-fstep small { color: var(--text-muted); line-height: 1.8; font-size: .86rem; }
.lv-fnum { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #1b1305; font-weight: 800; font-size: .82rem; }
.lv-fvis { width: 100%; height: 118px; margin-bottom: 4px; display: grid; place-items: center; border-radius: var(--radius-md); background: radial-gradient(120% 90% at 50% 0, var(--accent-2-soft), transparent 70%), var(--surface); border: 1px solid var(--border); overflow: hidden; }
/* 1 — site types light up one after another */
.lv-v-types { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 12px; }
.lv-vt { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--text-muted); animation: lv-pick 6s ease-in-out infinite; animation-delay: calc(var(--d) * 1.5s); }
.lv-vt svg { width: 52%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes lv-pick { 0%, 22%, 100% { background: var(--surface-2); color: var(--text-muted); transform: none; box-shadow: none; } 6%, 16% { background: var(--accent-soft); color: var(--accent); transform: translateY(-5px) scale(1.12); box-shadow: 0 10px 22px -10px var(--accent); } }
/* 2 — one small page changing its whole style */
.lv-vs { --r: 4px; width: 62%; display: grid; gap: 6px; padding: 10px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r); animation: lv-style 8s ease-in-out infinite; }
.lv-vs i { height: 8px; width: 40%; border-radius: inherit; background: var(--accent); }
.lv-vs b { height: 22px; border-radius: inherit; background: linear-gradient(135deg, var(--accent-2-soft), var(--accent-soft)); }
.lv-vs span { height: 6px; border-radius: inherit; background: var(--border-strong); } .lv-vs span + span { width: 60%; }
@keyframes lv-style {
  0%, 20% { border-radius: 3px; box-shadow: none; background: var(--surface-2); border-color: var(--border-strong); }
  25%, 45% { border-radius: 16px; box-shadow: 0 12px 24px -12px #000; background: var(--surface-2); }
  50%, 70% { border-radius: 10px; background: rgb(var(--fg-rgb) / .06); box-shadow: 0 0 0 4px rgb(var(--fg-rgb) / .05), 0 10px 30px -10px rgb(var(--fg-rgb) / .3); backdrop-filter: blur(6px); }
  75%, 95% { border-radius: 8px; background: #0a0f1c; border-color: var(--accent-2); box-shadow: 0 0 18px -2px var(--accent-2), inset 0 0 12px -6px var(--accent-2); }
  100% { border-radius: 3px; box-shadow: none; background: var(--surface-2); }
}
/* 3 — the same page in the real palettes, one dot after another */
.lv-v-color { --k: var(--accent); align-content: center; gap: 10px; }
.lv-vc { width: 56%; display: grid; gap: 6px; padding: 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-strong); }
.lv-vc i { height: 8px; width: 40%; border-radius: 6px; background: var(--k); transition: background .6s; }
.lv-vc b { height: 18px; border-radius: 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--k) 50%, transparent), color-mix(in srgb, var(--k) 15%, transparent)); transition: background .6s; }
.lv-vc span { height: 12px; width: 50%; border-radius: 99px; background: var(--k); transition: background .6s; }
.lv-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; padding-inline: 8px; }
.lv-dots button { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: default; transition: transform .35s var(--ease), box-shadow .35s; }
.lv-dots button.on { transform: scale(1.5); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--c); }
/* 4 — an address typed, then «online» */
.lv-v-name { align-content: center; gap: 12px; }
.lv-url { display: inline-flex; align-items: center; direction: ltr; max-width: 94%; padding: 8px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border-strong); font: 600 .78rem var(--font-mono, monospace); }
.lv-typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-inline-end: 2px solid var(--accent); color: var(--text); animation: lv-typing 6s steps(7) infinite, lv-caret .7s step-end infinite; }
.lv-url em { font-style: normal; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes lv-typing { 0% { width: 0; } 45%, 90% { width: 7ch; } 100% { width: 0; } }
@keyframes lv-caret { 50% { border-color: transparent; } }
.lv-live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--accent-2); opacity: 0; animation: lv-online 6s ease infinite; }
.lv-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 var(--accent-2); animation: lv-ping 1.4s ease-out infinite; }
@keyframes lv-online { 0%, 46% { opacity: 0; transform: translateY(6px); } 54%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lv-ping { to { box-shadow: 0 0 0 9px transparent; } }
@media (max-width: 899px) {
  .lv-flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lv-flow::before, .lv-flow::after { display: none; }
  .lv-fvis { height: 96px; }
  .lv-fstep { padding: 12px 10px 16px; }
  .lv-fstep b { font-size: .92rem; } .lv-fstep small { font-size: .8rem; }
}
@media (max-width: 400px) { .lv-flow { grid-template-columns: 1fr; } .lv-fvis { height: 104px; } }
@media (prefers-reduced-motion: reduce) { .lv-vt, .lv-vs, .lv-typed, .lv-live, .lv-live i, .lv-flow::after { animation: none !important; } .lv-typed { width: 7ch; border: 0; } .lv-live { opacity: 1; } }

/* ===== Samples: demo badge, custom tab, more link ===== */
.lv-tab-custom { color: var(--accent) !important; }
.lv-pane-more { grid-column: 1 / -1; justify-self: center; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 700; text-decoration: none; }
.lv-pane-more i { font-style: normal; transition: transform var(--dur-fast); } .lv-pane-more:hover i { transform: translateX(-4px); }
@media (max-width: 899px) { .lv-pane-more { flex: 0 0 auto; align-self: center; padding-inline: 18px; white-space: nowrap; } }
.lv-sample-demo .lv-sample-badge { background: rgb(224 144 90 / .85); color: #1b1305; }

/* ===== «Have a special project?» — a slim band ===== */
.lv-cx { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto; gap: 14px 28px; align-items: center; padding: 18px 26px; border-radius: var(--radius-lg); border: 1px solid var(--accent-border); background: linear-gradient(120deg, var(--accent-soft), var(--surface) 60%); }
.lv-cx-glow { position: absolute; inset-block: -60% auto; inset-inline-start: -8%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-2-soft), transparent); animation: lv-drift 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes lv-drift { to { transform: translate(14%, 8%) scale(1.15); } }
.lv-cx-text { position: relative; display: grid; gap: 2px; min-width: 0; }
.lv-cx-kicker { color: var(--accent-2); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.lv-cx-text h2 { margin: 0; font-size: 1.25rem; }
.lv-cx-text p { font-size: .9rem; line-height: 1.8; }
.lv-cx-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.lv-cx-list li { display: flex; align-items: center; gap: 8px; font-size: .86rem; min-width: 0; }
.lv-cx-list svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--accent-2-soft); color: var(--accent-2); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.lv-cx-list li:hover svg { transform: scale(1.12) rotate(-6deg); }
.lv-cx-actions { position: relative; display: flex; gap: 8px; }
.lv-cx-actions .lv-btn { min-height: 44px; padding: 0 18px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 1100px) { .lv-cx { grid-template-columns: 1fr auto; } .lv-cx-list { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, auto); justify-content: space-between; } }
@media (max-width: 899px) {
  .lv-cx { grid-template-columns: 1fr; gap: 12px; padding: 16px 14px; }
  .lv-cx-text h2 { font-size: 1.1rem; } .lv-cx-text p { font-size: .84rem; line-height: 1.7; }
  /* the four services become one swipe row of small chips instead of four stacked lines */
  .lv-cx-list { grid-row: auto; display: flex; gap: 8px; overflow-x: auto; margin-inline: -14px; padding: 2px 14px; scrollbar-width: none; justify-content: flex-start; }
  .lv-cx-list::-webkit-scrollbar { display: none; }
  .lv-cx-list li { flex: none; padding: 5px 12px 5px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: .8rem; white-space: nowrap; }
  .lv-cx-list svg { width: 24px; height: 24px; padding: 5px; }
  .lv-cx-actions { width: 100%; } .lv-cx-actions .lv-btn { flex: 1 1 0; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { .lv-cx-glow { animation: none !important; } }
/* four tabs (three products + «اختصاصی») fit a phone without sideways scrolling */
@media (max-width: 560px) { .lv-tabs { width: 100%; display: flex; gap: 2px; padding: 4px; } .lv-tabs button { flex: 1 1 auto; padding: 0 6px; font-size: .8rem; } }


/* ===== Four steps on phones: a vertical timeline; the step in view lights up and its picture starts moving ===== */
@media (max-width: 899px) {
  .lv-flow { display: flex; flex-direction: column; gap: 14px; padding-inline-start: 34px; --p: 0; }
  .lv-flow::before { display: block; inset-inline: auto; inset-inline-start: 11px; inset-block: 18px 18px; top: 18px; bottom: 18px; width: 2px; height: auto; background: var(--border-strong); border-radius: 2px; }
  .lv-flow::after { display: block; inset-inline-start: 11px; top: 18px; width: 2px; height: calc((100% - 36px) * var(--p)); border-radius: 2px; background: linear-gradient(var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); animation: none; transition: height .25s linear; opacity: 1; }
  .lv-fstep { text-align: start; justify-items: start; padding: 12px 14px 14px; opacity: .55; transform: scale(.985); transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s, box-shadow .3s; }
  .lv-fstep::before { content: ""; position: absolute; inset-inline-start: -30px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border-strong); transition: background .3s, border-color .3s, box-shadow .3s, transform .4s var(--spring, cubic-bezier(.34, 1.6, .5, 1)); }
  .lv-fstep.on { opacity: 1; transform: none; border-color: var(--accent-border); box-shadow: 0 18px 36px -22px var(--accent); }
  .lv-fstep.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 14px var(--accent); transform: scale(1.15); }
  .lv-fstep:not(.on) .lv-fvis * { animation-play-state: paused !important; }
  .lv-fstep:hover { transform: none; }
  .lv-fnum { inset-inline-start: auto; inset-inline-end: 10px; }
  .lv-fvis { height: 112px; }
  .lv-fstep b { font-size: .98rem; }
}
@media (max-width: 400px) { .lv-flow { grid-template-columns: none; } }
