/* Level Up Digital · launching soon. Brand values from agency/brand/tokens.css. */
@font-face{font-family:"Bricolage";src:url(/assets/bricolage.woff2) format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Press Start 2P";src:url(/assets/press-start-2p.woff2) format("woff2");font-display:swap}
:root{
  color-scheme:dark;
  --night:#0E0E10; --surface:#17171B; --line:#2A2A30; --text:#F2F0EB; --muted:#A6A5AC;
  --blue:#0F62FE; --sky:#33B1FF; --ice:#9ED8FF; --xp:#7CF29A;
  --g:max(20px,env(safe-area-inset-left,0px));
  --out:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--night)}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--night);color:var(--text);font-family:"Bricolage",system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip}
::selection{background:var(--sky);color:var(--night)}
:focus-visible{outline:2px solid var(--ice);outline-offset:3px;border-radius:8px}

/* the bolt's light, slowly breathing behind everything */
.glow{position:fixed;left:50%;top:44%;width:min(1100px,150vw);aspect-ratio:1;translate:-50% -50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(15,98,254,.32),rgba(51,177,255,.12) 45%,transparent 72%);filter:blur(10px)}

.top{position:relative;padding:max(28px,env(safe-area-inset-top,0px)) var(--g) 0;display:flex;justify-content:center}
.logo{height:clamp(30px,4vw,40px);width:auto}

.main{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:48px var(--g) 56px}
.mark{width:clamp(76px,10vw,112px);aspect-ratio:1;filter:drop-shadow(0 18px 40px rgba(15,98,254,.45))}
.mark img{width:100%;height:auto}

/* a tiny game HUD: the level charging up */
.hud{display:flex;align-items:center;gap:14px;margin-top:34px;font-family:"Press Start 2P",monospace;font-size:10px;letter-spacing:.04em;color:var(--xp)}
.hud .bar{width:clamp(140px,22vw,220px);height:10px;border-radius:99px;background:#1F1F26;box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.hud .bar i{display:block;height:100%;width:var(--p,92%);border-radius:inherit;background:linear-gradient(90deg,var(--sky),var(--xp))}
.hud .pct{min-width:4ch;text-align:left;color:var(--text)}

h1{margin-top:22px;font-size:clamp(56px,11vw,150px);font-weight:800;letter-spacing:-.06em;line-height:.9;text-wrap:balance}
h1 .ln{display:inline-block;overflow:clip;padding:0 .04em .08em;vertical-align:top}
h1 .ln>span{display:inline-block}
.lead{margin-top:24px;max-width:28ch;font-size:clamp(19px,2vw,24px);line-height:1.4;color:#D5D3CC}

.talk{margin-top:44px;display:flex;flex-direction:column;align-items:center;gap:14px}
.talk>p{color:var(--muted);font-size:16px}
.mail{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.btn{display:inline-flex;align-items:center;min-height:52px;padding:14px 26px;border-radius:999px;background:var(--blue);color:#fff;font-weight:700;font-size:clamp(15px,1.6vw,18px);text-decoration:none;word-break:break-all;transition:transform .35s var(--out),background-color .3s}
.btn:hover{background:#0A4FD1;transform:translateY(-2px)}
.copy{min-height:52px;padding:14px 22px;border-radius:999px;border:0;background:var(--surface);color:var(--text);font:600 16px "Bricolage",system-ui,sans-serif;box-shadow:inset 0 0 0 1px var(--line);cursor:pointer;transition:box-shadow .3s}
.copy:hover{box-shadow:inset 0 0 0 1px var(--muted)}
.note{min-height:1.4em;font-size:14px;color:var(--xp)}

.foot{position:relative;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;padding:20px var(--g) max(24px,env(safe-area-inset-bottom,0px));color:var(--muted);font-size:14px;border-top:1px solid var(--line)}

/* motion: only when the script runs and the visitor hasn't asked for less */
.js .ln>span{transform:translateY(110%)}
.js.go .ln>span{transform:none;transition:transform 1.1s var(--out)}
.js.go .ln:nth-of-type(2)>span{transition-delay:.08s}
.js .lead,.js .talk,.js .hud{opacity:0;translate:0 16px}
.js.go .lead,.js.go .talk,.js.go .hud{opacity:1;translate:0 0;transition:opacity .9s var(--out) .35s,translate 1s var(--out) .35s}
.js.go .hud{transition-delay:.15s}
.js .mark{animation:float 6s ease-in-out infinite}
.js .glow{animation:breathe 7s ease-in-out infinite}
@keyframes float{50%{translate:0 -8px}}
@keyframes breathe{50%{opacity:.7;scale:.94}}

@media (max-width:560px){
  /* phones: one left edge for everything (playbook rule 11) */
  .top{justify-content:flex-start}
  .main{align-items:flex-start;text-align:left;justify-content:flex-start;padding-top:56px}
  .talk{align-items:flex-start}
  .btn,.copy{width:100%;justify-content:center}
  .mail{width:100%}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* short landscape screens (phones turned sideways): everything, email included, fits on one screen */
@media (max-height:560px) and (min-aspect-ratio:1/1){
  .top{padding-top:max(14px,env(safe-area-inset-top,0px))}
  .main{padding:14px var(--g) 20px}
  .mark{display:none}
  .hud{margin-top:0}
  h1{margin-top:12px;font-size:clamp(44px,8vw,76px)}
  .lead{margin-top:10px;font-size:17px}
  .talk{margin-top:16px;gap:8px}
  .btn,.copy{min-height:46px;padding:10px 20px}
  .foot{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
}
