/* HypeFit site. Night + volt, topographic lines, poster type. Tokens match the app (mobile/src/theme). */
@font-face { font-family: 'Big Shoulders'; src: url('/fonts/BigShouldersDisplay_900Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Big Shoulders'; src: url('/fonts/BigShouldersDisplay_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --night: #0e100e;
  --surface: #1a1d19;
  --elev: #22261f;
  --line: #2a2e29;
  --ink: #f4f3ee;
  --muted: #a9ada5;
  --volt: #d4ff3a;
  --route: #f2570f;
  --display: 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: min(1240px, 100% - 48px);
  --r-card: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 500 17px/1.65 var(--ui); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--volt); color: #121412; padding: 10px 16px; border-radius: 12px; z-index: 100; font-weight: 800; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

/* film grain over everything: texture without images */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px max(24px, calc((100% - 1240px) / 2));
  background: linear-gradient(to bottom, rgba(14,16,14,.92), rgba(14,16,14,.6)); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42,46,41,.7);
}
.brand img { width: 132px; height: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--elev); }
.top__right { display: flex; gap: 10px; }
.lang { text-decoration: none; font: 800 14px/1 var(--ui); padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; letter-spacing: .04em; transition: border-color .2s, color .2s; }
.lang:hover { border-color: var(--volt); color: var(--volt); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 22px; border-radius: 18px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.btn .ico { width: 26px; height: 26px; flex: none; }
.btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn b { font-size: 17px; font-weight: 800; }
.btn small { font-size: 12.5px; font-weight: 600; opacity: .72; }
.btn--volt { background: var(--volt); color: #121412; box-shadow: 0 0 0 0 rgba(212,255,58,.5); }
.btn--volt:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px rgba(212,255,58,.6); }
.btn--ghost { border: 1.5px solid var(--line); background: rgba(26,29,25,.6); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--dark { background: #121412; color: var(--ink); }
.btn--dark:hover { transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: min(900px, 100svh - 60px); padding: 64px max(24px, calc((100% - 1240px) / 2)) 96px; overflow: clip; isolation: isolate; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: rgba(244,243,238,.07); }
.route__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s .3s cubic-bezier(.65,.02,.2,1) forwards; filter: drop-shadow(0 0 22px rgba(212,255,58,.45)); }
.route__dot { opacity: 0; transform-origin: 820px 96px; animation: pop .5s 2.7s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.eyebrow { font: 800 12.5px/1.4 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--volt); margin-bottom: 22px; }
.hero__title { font: 900 clamp(76px, 13.4vw, 190px)/.84 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.hero__title span { display: block; animation: rise .9s cubic-bezier(.2,.8,.2,1) backwards; }
.hero__title span:nth-child(2) { animation-delay: .12s; }
.hero__title span:nth-child(3) { animation-delay: .24s; }
.volt { color: var(--volt); }
@keyframes rise { from { opacity: 0; transform: translateY(46px) skewY(2deg); } }
.lead { font-size: clamp(18px, 1.7vw, 22px); color: #d6d8d1; max-width: 30ch; margin: 30px 0 34px; line-height: 1.55; }
.lead--narrow { max-width: 56ch; margin-inline: auto; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__phones { position: relative; height: clamp(520px, 62vw, 760px); perspective: 1400px; }
.phone { position: absolute; width: clamp(190px, 21vw, 290px); border-radius: 38px; padding: 7px; background: linear-gradient(160deg, #3a3e39, #121412 60%); box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06) inset; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.phone img { border-radius: 32px; width: 100%; }
.p-main { left: 50%; top: 4%; margin-left: calc(clamp(190px, 21vw, 290px) / -2); z-index: 3; transform: rotate(-2deg) translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px), 0); animation: float 7s ease-in-out infinite; }
.p-left { left: 8%; top: 14%; z-index: 2; transform: rotate(-10deg) translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * 6px), 0); opacity: .96; }
.p-right { right: 0; top: 22%; z-index: 2; transform: rotate(9deg) translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 10px), 0); opacity: .96; }
@keyframes float { 50% { translate: 0 -14px; } }

/* ---------- ticker ---------- */
.ticker { background: var(--volt); color: #121412; transform: rotate(-1.4deg); margin: -28px -20px 0; position: relative; z-index: 4; overflow: hidden; border-block: 3px solid #121412; box-shadow: 0 24px 60px -20px rgba(212,255,58,.35); }
.ticker__track { display: flex; align-items: center; gap: 30px; padding: 16px 0; width: max-content; animation: marquee 38s linear infinite; font: 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker i { width: 12px; height: 12px; background: #121412; transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { width: var(--wrap); margin: 96px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; align-items: center; padding: 30px 8px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { font: 900 clamp(48px, 6vw, 84px)/1 var(--display); color: var(--ink); }
.stats span { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; margin-top: 6px; }

/* ---------- sections ---------- */
.section { width: var(--wrap); margin: 0 auto; padding: 130px 0 0; }
.kicker { font: 800 13px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--volt); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.kicker::before { content: ''; width: 36px; height: 3px; background: var(--volt); border-radius: 2px; }
.h2 { font: 900 clamp(44px, 7.4vw, 104px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.005em; max-width: 14ch; text-wrap: balance; }
.section--mascots .kicker, .section--mascots .h2, .section--mascots .lead { margin-inline: auto; justify-content: center; text-align: center; }
.section--mascots .h2 { max-width: 16ch; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; margin-top: 56px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; overflow: hidden; transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(212,255,58,.55); transform: translateY(-4px); }
.feat { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.feat.wide { grid-column: span 4; }
.feat.tall { grid-row: span 2; background: linear-gradient(170deg, #20260f 0%, var(--surface) 55%); }
.feat__k { position: absolute; top: 18px; right: 24px; font: 900 76px/1 var(--display); color: rgba(244,243,238,.07); }
.feat h3 { font: 900 34px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.feat p { color: #c4c7bf; font-size: 16px; line-height: 1.55; }
.feat.tall::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,255,58,.35), transparent); }

/* mascots */
.mascots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; text-align: center; }
.mascot { --accent: var(--volt); position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 22px 20px 26px; overflow: hidden; transition: transform .3s, border-color .3s; }
.mascot::before { content: ''; position: absolute; inset: -30% -30% auto; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent); opacity: .7; transition: opacity .3s; }
.mascot:hover { transform: translateY(-8px) rotate(-.6deg); border-color: var(--accent); }
.mascot--hamambo { --accent: #ff7a33; }
.mascot--guvercin { --accent: var(--volt); }
.mascot--unikorn { --accent: #ff7ad9; }
.mascot--tembel { --accent: #f0b44c; }
.mascot__art { position: relative; height: 270px; display: grid; place-items: end center; }
.mascot__art img { max-height: 270px; width: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.mascot:hover .mascot__art img { transform: scale(1.06) translateY(-4px); }
.mascot__tag { position: relative; margin-top: 18px; font: 800 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mascot h3 { position: relative; font: 900 34px/1.05 var(--display); text-transform: uppercase; margin-top: 8px; }
.mascot blockquote { position: relative; margin-top: 12px; color: #d3d5cd; font-size: 15.5px; line-height: 1.5; font-style: normal; }
.mascot blockquote::before { content: '“'; } .mascot blockquote::after { content: '”'; }

/* screens reel */
.reel { display: flex; gap: 28px; margin-top: 56px; overflow-x: auto; padding: 24px max(0px, calc((100% - 1240px) / 2)) 36px; margin-inline: calc(50% - 50vw); scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-inline: max(24px, calc((100vw - 1240px) / 2)); }
.shot { flex: none; width: clamp(220px, 24vw, 290px); scroll-snap-align: center; }
.shot .phone { position: relative; width: 100%; }
.shot figcaption { margin-top: 18px; font-weight: 700; font-size: 15px; color: #cfd2ca; text-align: center; }
.note { margin-top: 10px; font-size: 14px; }

/* trust */
.section--trust { padding-bottom: 0; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 56px 0 30px; border-top: 1px solid var(--line); }
.trust li { padding: 30px 40px 30px 0; border-bottom: 1px solid var(--line); }
.trust li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust li:nth-child(even) { padding-left: 40px; }
.trust h3 { font: 900 32px/1.05 var(--display); text-transform: uppercase; color: var(--volt); }
.trust p { color: #c4c7bf; margin-top: 8px; max-width: 46ch; }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--volt); padding-bottom: 4px; }
.textlink .ico { width: 20px; height: 20px; }
.textlink:hover { color: var(--volt); }

/* faq */
.faq { margin-top: 48px; max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 56px 26px 0; font: 800 21px/1.3 var(--ui); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font: 900 34px/1 var(--display); color: var(--volt); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 56px 28px 0; color: #c4c7bf; max-width: 64ch; }

/* final CTA */
.final { margin: 150px 0 0; padding: 110px 24px 120px; text-align: center; background: var(--volt); color: #121412; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(-8deg, transparent 0 34px, #121412 34px 36px); }
.final h2 { position: relative; font: 900 clamp(56px, 10.5vw, 150px)/.86 var(--display); text-transform: uppercase; text-wrap: balance; }
.final p { position: relative; font-weight: 700; font-size: 20px; margin: 18px 0 34px; }
.final .btn { position: relative; }

/* ---------- footer ---------- */
.foot { padding: 64px max(24px, calc((100% - 1240px) / 2)) 56px; border-top: 1px solid var(--line); background: #0a0c0a; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot__tag { font: 900 26px/1 var(--display); text-transform: uppercase; margin: 18px 0 8px; color: var(--volt); }
.foot__links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; align-content: start; }
.foot__links a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; }
.foot__links a:hover { color: var(--ink); }

/* ---------- document pages (legal, support) ---------- */
.doc { width: min(780px, 100% - 48px); margin: 0 auto; padding: 80px 0 120px; }
.back { display: inline-block; text-decoration: none; color: var(--muted); font-weight: 700; margin-bottom: 34px; }
.back:hover { color: var(--volt); }
.doc h1 { font: 900 clamp(48px, 8vw, 92px)/.92 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.doc .lead { margin: 18px 0 8px; max-width: 54ch; }
.contact { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 22px 0 40px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.contact span { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; }
.contact a { font: 900 28px/1 var(--display); color: var(--volt); text-decoration: none; letter-spacing: .02em; }
.doc__body h2 { font: 900 32px/1.05 var(--display); text-transform: uppercase; margin: 44px 0 10px; color: var(--volt); }
.doc__body h3 { font-weight: 800; font-size: 20px; margin: 28px 0 8px; }
.doc__body p, .doc__body li { color: #d1d3cc; }
.doc__body p { margin: 12px 0; }
.doc__body ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.doc__body a { color: var(--volt); }
.doc__body--legal > h1:first-child { display: none; } /* the page already shows the title */

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; min-height: 0; }
  .hero__phones { height: 560px; max-width: 640px; margin: 20px auto 0; width: 100%; }
  .phone { width: clamp(170px, 34vw, 250px); }
  .p-main { margin-left: calc(clamp(170px, 34vw, 250px) / -2); }
  .nav a:nth-child(n+4) { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat, .feat.wide { grid-column: span 1; } .feat.tall { grid-row: auto; }
  .mascots { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); } .stats li:nth-child(4) { border-left: 0; }
  .stats li { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top { gap: 12px; } .top__right { margin-left: auto; }
  .hero__title { font-size: clamp(72px, 24vw, 110px); }
  .hero__phones { height: 440px; }
  .phone { width: 150px; border-radius: 28px; padding: 5px; } .phone img { border-radius: 24px; }
  .p-main { margin-left: -75px; }
  .section { padding-top: 90px; }
  .bento, .mascots, .trust { grid-template-columns: 1fr; }
  .trust li, .trust li:nth-child(even) { padding: 24px 0; border-right: 0 !important; }
  .stats { grid-template-columns: repeat(2, 1fr); } .stats li { border-left: 0; }
  .stats li:last-child:nth-child(odd) { grid-column: span 2; }
  .btn { width: 100%; } .cta { flex-direction: column; }
  .ticker__track { font-size: 24px; }
  .foot__links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .route__line { stroke-dashoffset: 0; } .route__dot { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
}
