/* LernLocker skin. Dark graphite revised after Manuel’s rejection of the lighter draft.
   Original A metal approved by Manuel on 2026-11-13. Blue is reserved for surfaces. */
:root {
  --bg: #0d0e10; --bg-2: #0d0e10;
  --surface: #10182c; --surface-elevated: #141d36;
  --text: #f6f3ec; --text-dim: #aaaab3; --text-dim2: #92929d;
  --gold: #b98943; --gold-bright: #d4ac65; --gold-light: #efcf8c; --gold-dark: #6c4519;
  --gold-metal: linear-gradient(112deg,#aa7631 0%,#bf8b43 26%,#f0d59a 45%,#ca9b50 55%,#b48237 82%,#b98b47 100%);
  --gold-title: linear-gradient(176deg,#f4dba6 0%,#d5a55d 30%,#9e702e 48%,#d9b673 55%,#e8c991 70%,#b2833b 100%);
  --gold-rim: linear-gradient(125deg,#66431c,#c79a51 32%,#f0d59a 45%,#87632d 58%,#b98943 84%,#5e401b);
  --border: rgba(255,255,255,0.11); --border-warm: rgba(185,137,67,0.4);
  --radius-lg: 20px; --radius-md: 14px; --radius-sm: 10px;
  --shadow-sm: 0 8px 18px -12px rgba(0,0,0,0.6);
  --shadow-md: 0 24px 46px -24px rgba(0,0,0,0.65);
  --shadow-lg: 0 34px 64px -26px rgba(0,0,0,0.72);
  --navy: #10182c; --bg-end: var(--bg-2); --surface-raised: var(--surface-elevated);
  --muted: var(--text-dim); --quiet: var(--text-dim2); --line: var(--border);
}
/* Neutral page foundation; decoration scrolls away with the introduction. */
body { isolation: auto; position: relative; }
html, body { min-height: 100%; overflow-x: hidden; }
.lt-base { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
.grid-tex { position: absolute; inset: 0 0 auto; height: var(--intro-grid-height, 900px); z-index: 0; opacity: .055; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
main, footer { position: relative; z-index: 1; }
.nav,.nav.is-scrolled,.nav.is-open { background: rgba(23,24,26,var(--nav-surface,1)); border-bottom-color: rgba(255,255,255,calc(.08 * var(--nav-surface,1))); box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.nav-mobile { background: #17181a; }
.apps-dropdown { background: var(--surface); }
.hero h1 em { background: var(--gold-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker,.app-name { color: var(--gold-bright); }
.btn-primary { background: var(--gold-metal); color: #130f08; border-color: #86662f; box-shadow: 0 4px 12px -6px #0008; }
.btn-primary:hover,.btn-primary:focus-visible { background: var(--gold-metal); border-color: #d4ac65; transform: translateY(-1px); box-shadow: 0 6px 14px -6px #0008; }
@keyframes cta-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.offer .btn-primary { animation: cta-pulse 2.6s ease-in-out infinite; }
.offer .btn-primary:hover,.offer .btn-primary:focus-visible { animation: none; }
/* App surface: original tile gradient, warm border, shadow and pointer light. */
.app-row-visual { position: relative; background: linear-gradient(155deg, var(--surface-elevated) 0%, var(--surface) 55%, #080b15 100%); border-color: rgba(185,137,67,0.2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05),0 20px 42px -34px rgba(0,0,0,.8); transition: border-color .3s ease, transform .65s var(--ease), box-shadow .3s ease; }
.app-row-visual::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%), rgba(185,137,67,0.12), transparent 72%); }
.app-row-visual:hover,.app-row-visual:focus-within { transform: translateY(-5px) scale(1.01); border-color: rgba(185,137,67,0.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 26px 48px -26px rgba(0,0,0,0.75), 0 0 0 1px rgba(185,137,67,0.1), 0 16px 32px -18px rgba(185,137,67,0.2); }
.app-row-visual:hover::before,.app-row-visual:focus-within::before { opacity: 1; }
.asset-placeholder { background: transparent; }
/* Original pillar rim and dark-blue-to-charcoal inset, with the new layout intact. */
.reason,.journey-step { position: relative; isolation: isolate; overflow: hidden; border-color: transparent; background: var(--gold-rim); box-shadow: 0 26px 54px -29px rgba(0,0,0,.82),0 18px 44px -34px rgba(185,137,67,.58); transform: perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .22s ease-out, box-shadow .3s ease; }
.reason::before,.journey-step::before { content: ''; position: absolute; inset: 1px; z-index: -1; pointer-events: none; border-radius: inherit; background: linear-gradient(155deg, rgba(20,29,54,0.98) 0%, rgba(16,24,44,0.97) 55%, rgba(6,9,18,0.98) 100%); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
/* Both sets of cards share the same metal rim and top highlight. */
.reason::after,.journey-step::after { content: ''; position: absolute; pointer-events: none; inset: 0 12px auto; height: 1px; background: linear-gradient(90deg, transparent, #d4ac65, #9d7c3a, transparent); opacity: var(--rim-light, .35); transform: translateX(var(--rim-x, -15%)); }
.journey-step.is-current { border-color: var(--gold); }
.step-number { color: var(--gold-bright); border-color: rgba(212,172,101,.27); background: linear-gradient(145deg,rgba(185,137,67,.17),rgba(11,16,30,.82)); }
.journey-window { background: transparent; }
.journey-route .route-live { stroke: url(#journeyGold); stroke-width: 3.5; opacity: .95; filter: drop-shadow(0 1px 3px rgba(185,137,67,.22)); }
.journey-window.is-animating .route-base { opacity:0; }
/* Native FAQ, original moving gold rim and translucent dark fill. */
@property --border-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --comet-a { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --comet-peak { syntax: '<number>'; inherits: false; initial-value: 1; }
@keyframes border-travel { to { --border-angle: 360deg; } }
.faq-item { --comet-a: 0.22; --comet-peak: 0.4; position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: var(--radius-md); background: conic-gradient(from var(--border-angle), rgba(185,137,67,0.16) 0deg, rgba(185,137,67,0.16) 260deg, rgba(185,137,67,var(--comet-a)) 300deg, rgba(212,172,101,var(--comet-peak)) 320deg, rgba(185,137,67,var(--comet-a)) 340deg, rgba(185,137,67,0.16) 360deg); animation: border-travel 6s linear infinite; animation-play-state: paused; box-shadow: 0 18px 36px -26px rgba(0,0,0,0.65); transition: box-shadow .3s ease, --comet-a .4s ease, --comet-peak .4s ease; }
.faq-item::before { content: ''; position: absolute; inset: 1px; z-index: -1; pointer-events: none; border-radius: calc(var(--radius-md) - 1px); background: linear-gradient(155deg, rgba(20,29,54,0.86) 0%, rgba(16,24,44,0.8) 60%, rgba(6,9,18,0.86) 100%); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07); }
.faq-item:hover,.faq-item[open] { --comet-a: 1; --comet-peak: 1; animation-play-state: running; box-shadow: 0 22px 42px -26px rgba(0,0,0,0.75), 0 0 0 1px rgba(185,137,67,0.12); }
/* Original sales panel material and pointer spotlight. */
.offer { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(155deg, rgba(20,29,54,0.85) 0%, rgba(16,24,44,0.8) 55%, rgba(6,9,18,0.86) 100%); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border-color: rgba(212,172,101,0.65); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 56px -30px rgba(0,0,0,0.75); transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.offer::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(185,137,67,0.14), transparent 72%); }
.offer:hover::before { opacity: 1; }
.offer:hover { transform: translateY(-3px); border-color: rgba(212,172,101,0.9); box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 34px 62px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(185,137,67,0.14); }
/* Keep the reason cards in a stable compositor layer without any motion. Removing
   their perspective layer can paint the blue inset across the page on reduced motion. */
@media (prefers-reduced-motion: reduce) { .btn-primary,.offer,.app-row-visual,.journey-step { transform: none !important; } .reason { transform: translateZ(0) !important; } *,*::before,*::after { animation: none !important; transition: none !important; } }

/* After the introductory grid, only the navigation contents remain. */
.nav-logo .brand-logo { width: 48px; height: 48px; border-radius: 10px; }
.nav.is-floating:not(.is-open) { background: transparent; border-bottom-color: transparent; }
.nav.is-floating .nav-menu { text-shadow: 0 1px 8px #000, 0 0 3px #000; }
.nav.is-floating .nav-menu > a,.nav.is-floating .nav-apps > summary { color: #e5e1d8; }
.nav.is-floating .nav-burger { background: #121315e8; }
.nav { transition: background .4s ease, border-color .4s ease; }
/* Sparse light in three focal depths, never a bright starfield over the copy. */
.universe { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict; background: radial-gradient(ellipse at 12% 32%,#9c793507,transparent 48%),radial-gradient(ellipse at 86% 73%,#26304a0a,transparent 50%); }
.universe i { position: absolute; display: block; width: var(--size); height: var(--size); left: var(--x); top: var(--y); border-radius: 50%; background: #b98943; opacity: 0; box-shadow: 0 0 var(--halo) #b9894360; animation: universe-light var(--life) ease-in-out var(--delay) infinite; }
@keyframes universe-light { 0%,12%,85%,100% { opacity: 0; transform: translate3d(0,3px,0) scale(.7); } 35% { opacity: var(--peak); } 62% { opacity: calc(var(--peak) * .65); transform: translate3d(var(--drift),-4px,0) scale(1); } }
body.motion-paused *,body.motion-paused *::before,body.motion-paused *::after { animation-play-state: paused !important; }
body.is-hidden .universe i { animation-play-state: paused; }
#motionToggle { font: inherit; color: var(--muted); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
#motionToggle[hidden] { display: none; }
@media (max-width:600px) { .universe i:nth-child(n+43) { display:none; } }
@media (prefers-reduced-motion:reduce) { .universe { display:none; } #motionToggle { display:none; } }

.nav.is-open { background:#17181a; border-bottom-color:#ffffff14; }
