/* Landing page for signed-out visitors (public/gate.js). Always dark: it is the brand moment. */
.gate{--g-bg:#140d0c;--g-ink:#fff7e9;--g-muted:#dccbb9;--g-line:#ffffff1f;--g-glass:#ffffff0a;--g-red:#e0263a;--g-orange:#ff6b2c;--g-amber:#ffb547;--g-hot:linear-gradient(100deg,#ff5a4f,#ff7a2c 55%,#ffb547);--g-btn:linear-gradient(100deg,#c52132,#d6361f);--g-gutter:16px;
 position:fixed;inset:0;z-index:40;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:var(--g-bg);color:var(--g-ink);font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}
body:not(.auth-locked) .gate{display:none}
.gate-quiet .gate{visibility:hidden}
.gate *{box-sizing:border-box}
.gate h1,.gate h2,.gate h3{margin:0;font-family:'Barlow Condensed',Manrope,sans-serif;font-weight:800;letter-spacing:-.5px;text-wrap:balance}
.gate p{margin:0}
.gate em{font-style:normal;background:var(--g-hot);-webkit-background-clip:text;background-clip:text;color:transparent}
.gate button{font:inherit;cursor:pointer}
.gate :focus-visible{outline:3px solid var(--g-amber);outline-offset:3px}
.gate-bg{position:absolute;inset:0;height:1500px;pointer-events:none;background:radial-gradient(900px 620px at 88% 4%,#c5213266,transparent 62%),radial-gradient(760px 520px at -6% 58%,#ff6b2c24,transparent 60%),linear-gradient(170deg,#1a0f0e 0%,var(--g-bg) 70%)}
.gate-bg:after{content:'';position:absolute;inset:0;background:radial-gradient(#ffffff26 1px,transparent 1.4px) 0 0/16px 16px;-webkit-mask:radial-gradient(520px 420px at 92% 12%,#000,transparent 70%);mask:radial-gradient(520px 420px at 92% 12%,#000,transparent 70%)}
.gate-top,.gate-hero,.gate-section-head,.gate-features,.gate-steps,.gate-final,.gate-foot{position:relative;width:min(1280px,calc(100% - 2 * var(--g-gutter)));margin-inline:auto}

/* top bar */
.gate-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0}
.gate-logo{font:900 26px/1 'Barlow Condensed',sans-serif;letter-spacing:.5px}
.gate-logo small{display:block;font:600 11px/1.4 Manrope,sans-serif;letter-spacing:.2px;color:var(--g-muted);margin-top:3px}
.gate-top-cta{border:1px solid #ffffff4d;background:#ffffff0d;color:var(--g-ink);border-radius:999px;padding:10px 18px;font-size:14px;font-weight:750}
.gate-top-cta:hover{background:#ffffff1f}

/* hero */
.gate-hero{display:grid;gap:28px;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "fig" "join";padding:18px 0 56px}
.gate-copy{grid-area:copy;position:relative;z-index:1;container-type:inline-size}
.gate-kicker{display:flex;align-items:center;gap:10px;color:var(--g-amber);font-size:13px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.gate-kicker span{width:28px;height:2px;background:var(--g-hot);border-radius:2px}
.gate-hero h1{font-size:clamp(52px,25cqi,138px);line-height:.86;font-weight:900;margin:16px 0 20px;max-width:9ch}
.gate-lead{font-size:clamp(17px,2.2vw,20px);color:var(--g-muted);max-width:30em}
.gate-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:28px}
.gate-cta{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:17px 28px;background:var(--g-btn);color:#fff;font-size:18px;font-weight:800;box-shadow:0 14px 34px #e0263a55,inset 0 1px 0 #ffffff33;transition:transform .15s ease,box-shadow .15s ease}
.gate-cta:hover{transform:translateY(-2px);box-shadow:0 18px 40px #e0263a77,inset 0 1px 0 #ffffff33}
.gate-cta span{transition:transform .15s ease}.gate-cta:hover span{transform:translateX(3px)}
.gate-free{font-size:14px;color:var(--g-muted)}
.gate-stats{display:flex;flex-wrap:wrap;gap:12px 34px;margin:34px 0 0;padding-top:24px;border-top:1px solid var(--g-line)}
.gate-stats div{min-width:0}
.gate-stats dt{font:900 clamp(34px,5vw,46px)/1 'Barlow Condensed',sans-serif}
.gate-stats dd{margin:4px 0 0;font-size:13px;color:var(--g-muted)}
/* phones: Fotr stands under the copy, points at his bubble and hides his legs behind the sign-in card */
.gate-figure{grid-area:fig;position:relative;z-index:0;display:flex;justify-content:flex-end;margin:-6px 0 -96px;pointer-events:none}
.gate-figure img{position:relative;display:block;width:min(46vw,200px);height:auto;filter:drop-shadow(0 24px 40px #0009)}
.gate-halo{position:absolute;right:0;top:8%;width:min(52vw,230px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#ff6b2c55,transparent 68%)}
.gate-bubble{position:absolute;z-index:1;left:0;top:20%;background:var(--g-ink);color:#171717;font:800 clamp(20px,6vw,26px)/1.05 'Barlow Condensed',sans-serif;letter-spacing:.2px;padding:12px 16px;border-radius:18px 18px 4px 18px;box-shadow:0 10px 24px #0006;transform:rotate(-4deg)}
.gate-join{position:relative;z-index:1}

/* sign-in card: the real #authDialog, docked here by gate.js */
.gate-join{grid-area:join;scroll-margin-top:16px;min-height:120px}
body.auth-locked .gate-join>#authDialog{position:static;display:block;inset:auto;margin:0;width:100%;max-width:none;max-height:none;overflow:visible;border:0;border-radius:24px;padding:26px;background:var(--paper);color:var(--ink);box-shadow:0 30px 80px #000b,0 0 0 1px #ffffff14;font-size:14px;line-height:1.5}
body.auth-locked .gate-join>#authDialog:before{content:'';position:absolute;inset:0 0 auto;height:5px;border-radius:24px 24px 0 0;background:var(--g-hot)}
body.auth-locked .gate-join>#authDialog{position:relative}
body.auth-locked .gate-join>#authDialog h2{font-size:clamp(30px,4vw,38px);line-height:.95;color:var(--ink)}
body.auth-locked .gate-join>#authDialog .dialog-kicker{color:var(--accent-text)}

/* video reel */
.gate-reel{position:relative;padding:8px 0 64px;overflow:hidden}
.gate-section-head{margin-bottom:22px}
.gate-section-head h2,.gate-features-head h2,.gate-final h2{font-size:clamp(38px,6vw,64px);line-height:.95;margin-top:12px}
.gate-reel-track{display:flex;width:max-content;animation:gate-reel 70s linear infinite;-webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.gate-reel:hover .gate-reel-track,.gate-reel:focus-within .gate-reel-track{animation-play-state:paused}
.gate-reel-set{display:flex;gap:16px;padding-right:16px}
@keyframes gate-reel{to{transform:translateX(-50%)}}
.gate-reel-card{display:flex;flex-direction:column;align-items:flex-start;width:264px;flex:none;text-align:left;padding:0 0 14px;border:1px solid var(--g-line);border-radius:18px;background:var(--g-glass);color:var(--g-ink);overflow:hidden;transition:transform .2s ease,border-color .2s ease}
.gate-reel-card:hover{transform:translateY(-4px);border-color:#ff6b2c99}
.gate-reel-thumb{position:relative;display:block;width:100%;aspect-ratio:16/9;background:#2a1d1b;overflow:hidden}
.gate-reel-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.gate-reel-play{position:absolute;right:10px;bottom:10px;width:38px;height:38px;border-radius:50%;background:var(--g-btn);box-shadow:0 6px 16px #0008}
.gate-reel-play:after{content:'';position:absolute;left:15px;top:12px;border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}
.gate-reel-hook{margin:12px 14px 4px;font:800 13px/1.25 Manrope,sans-serif;color:var(--g-amber)}
.gate-reel-card strong{margin:0 14px;font:800 22px/1.05 'Barlow Condensed',sans-serif}
.gate-reel-card small{margin:4px 14px 0;font-size:13px;color:var(--g-muted)}
@media (prefers-reduced-motion:reduce){.gate-reel-track{animation:none;width:auto;overflow-x:auto;-webkit-mask:none;mask:none;padding-inline:var(--g-gutter)}.gate-reel-set[aria-hidden]{display:none}.gate-cta,.gate-reel-card{transition:none}}

/* five reasons: numbered pills on a dashed arc */
.gate-features{display:grid;gap:32px;padding:24px 0 72px}
.gate-features-head p:last-child{margin-top:16px;color:var(--g-muted);max-width:26em}
.gate-arc-wrap{position:relative}
.gate-arc-line{display:none}
.gate-arc{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.gate-arc li{position:relative;display:flex;align-items:center}
.gate-arc-num{position:relative;z-index:1;flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,var(--g-red),var(--g-orange));color:#fff;font:900 26px/1 'Barlow Condensed',sans-serif;box-shadow:0 8px 20px #e0263a55}
.gate-arc li>div{flex:1;min-width:0;margin-left:-32px;padding:12px 18px 12px 46px;min-height:76px;display:flex;flex-direction:column;justify-content:center;background:#fff7e9;color:#171717;border:2px solid var(--g-orange);border-radius:999px}
.gate-arc h3{font-size:22px;line-height:1.05;color:#171717}
.gate-arc h3 small{display:inline-block;vertical-align:middle;margin-left:6px;font:800 10px/1 Manrope,sans-serif;letter-spacing:.6px;text-transform:uppercase;color:#fff;background:#171717;padding:4px 7px;border-radius:99px}
.gate-arc p{margin-top:3px;font-size:13.5px;line-height:1.35;color:#4b423d}

/* how it works */
.gate-steps{padding:0 0 72px}
.gate-steps ol{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.gate-steps li{padding:24px;border:1px solid var(--g-line);border-radius:22px;background:var(--g-glass)}
.gate-steps b{display:block;font:900 54px/1 'Barlow Condensed',sans-serif;background:var(--g-hot);-webkit-background-clip:text;background-clip:text;color:transparent}
.gate-steps h3{font-size:26px;margin:8px 0 6px}
.gate-steps p{color:var(--g-muted);font-size:15px}

/* final call */
.gate-final{display:flex;flex-direction:column;align-items:center;text-align:center;gap:26px;padding:56px 20px;margin-bottom:28px;border-radius:30px;background:radial-gradient(600px 300px at 50% 0%,#c5213259,transparent 70%),#ffffff08;border:1px solid var(--g-line)}
.gate-merch{display:inline-flex;align-items:center;gap:12px;padding:8px 18px 8px 8px;border-radius:999px;background:#ffffff0d;border:1px solid var(--g-line);color:var(--g-ink);text-decoration:none;text-align:left}
.gate-merch:hover{background:#ffffff1a}
.gate-merch img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.gate-merch strong{display:block;font-size:14px}.gate-merch small{font-size:12px;color:var(--g-muted)}

.gate-foot{display:flex;flex-wrap:wrap;gap:8px 22px;padding:22px 0 40px;border-top:1px solid var(--g-line);font-size:12.5px;color:var(--g-muted)}
.gate-foot button{border:0;background:none;padding:0;color:var(--g-ink);text-decoration:underline;text-underline-offset:3px;font-size:12.5px}

@media (min-width:560px){
 .gate{--g-gutter:32px}
 .gate-bubble{left:12%}
 .gate-steps ol{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:860px){
 .gate{--g-gutter:48px}
 .gate-hero{grid-template-columns:minmax(0,1fr) 400px;grid-template-areas:"copy join" "fig join";align-items:start;padding-top:36px;gap:24px 48px}
 .gate-figure{display:block;width:220px;justify-self:end;margin:8px 0 0}
 .gate-figure img{width:100%}
 .gate-halo{inset:16% 4% 12%;width:auto;aspect-ratio:auto}
 .gate-bubble{left:-34%;top:4%;font-size:16px;padding:10px 14px;border-radius:16px 16px 16px 4px;transform:rotate(-5deg)}
 .gate-features{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center}
 /* arc geometry: circle r=300px, items every 112px; --o is each item's offset along the arc */
 .gate-arc-line{display:block;position:absolute;left:0;top:0;width:220px;height:544px;overflow:visible}
 .gate-arc-line path{fill:none;stroke:var(--g-orange);stroke-width:2.5;stroke-dasharray:9 8;stroke-linecap:round}
 .gate-arc-line circle{fill:var(--g-orange)}
 .gate-arc{gap:16px}
 .gate-arc li{height:96px;padding-left:calc(136px + var(--o))}
 .gate-arc li:before{content:'';position:absolute;z-index:2;left:calc(71px + var(--o));top:39px;width:18px;height:18px;border-radius:50%;background:#fff;border:4px solid var(--g-orange);box-sizing:border-box}
 .gate-arc li:after{content:'';position:absolute;left:calc(80px + var(--o));top:47px;width:60px;height:2.5px;background:var(--g-orange)}
 .gate-arc-num{width:84px;height:84px;font-size:34px}
 .gate-arc li>div{height:96px;min-height:0;margin-left:-42px;padding:10px 26px 10px 58px}
 .gate-arc h3{font-size:25px}
}
@media (min-width:1180px){
 .gate{--g-gutter:64px}
 .gate-hero{grid-template-columns:minmax(0,1fr) 250px 420px;grid-template-areas:"copy fig join";padding-top:52px;gap:24px 36px}
 .gate-figure{width:100%;margin:40px 0 0;justify-self:stretch}
 .gate-bubble{left:-28%;top:6%}
}
