/* arenamixer.com marketing site. Built from the Figma file "ArenaMixer", page "Website" (Desktop, 1440 px). */

/* Fonts */
/* Evanston Tavern 1893 Medium (Kimmy Design) is a commercial font: check the web licence before going live. */
@font-face{font-family:'Evanston Tavern';font-style:normal;font-weight:500;font-display:swap;
  src:url(../fonts/evanston-tavern-1893-medium.woff2) format('woff2')}
/* Geist, variable weight 100–900 (SIL Open Font License 1.1, fonts/geist-LICENSE.txt) */
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,
    U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(../fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,
    U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Tokens (the Figma colour styles) */
:root{
  --black:#111;
  --grey-darkest:#222;
  --grey-deep:#181818;     /* a section that stands apart from its #111 neighbours */
  --grey-dark:#3a3a3a;
  --grey-light:#888;
  --white:#fff;
  --primary:#1b50f3;
  --radius-box:40px;
  --pad-x:80px;            /* side padding of most sections */
  --pad-x-wide:50px;       /* Key features and the announcer card */
  --pad-y:clamp(80px,9vw,140px);   /* top and bottom of a section: 130 px at 1440 */
  --gap-head:clamp(40px,4.5vw,72px); /* from a section's heading to its content */
  --display:'Evanston Tavern','Geist',system-ui,sans-serif;
  --text:'Geist',system-ui,-apple-system,sans-serif;
  /* The heroes' one motion: the slogan's words, the photos and the EQ ribbon (js/tempo.js reads --hero-move) */
  --hero-ease:cubic-bezier(.65,0,.35,1);   /* cubic ease-in-out */
  --hero-move:.7s;
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--white);font-family:var(--text);font-size:18px;line-height:1.3;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,p,ul{margin:0}
img{display:block;max-width:100%}
[hidden]{display:none !important}
/* Read by screen readers, not shown */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);
  white-space:nowrap;border:0}
a{color:inherit}
:focus-visible{outline:2px solid var(--primary);outline-offset:3px}

.wrap{max-width:1440px;margin:0 auto}

/* Type */
.display{font-family:var(--display);font-weight:500;line-height:1;letter-spacing:-.02em;text-transform:uppercase}
h2.display{line-height:1.08}
.display.xl{font-size:clamp(48px,6.67vw,96px)}
.display.lg{font-size:clamp(44px,5vw,72px)}
.display.md{font-size:clamp(34px,3.2vw,46px)}
.eyebrow{font-size:14px;font-weight:700;line-height:1.2;text-transform:uppercase;color:var(--primary)}
.muted{color:var(--grey-light)}

/* Buttons (Figma: Button/Basic) */
.btn{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 30px;border-radius:50px;
  font:inherit;font-size:18px;line-height:1;white-space:nowrap;text-decoration:none;cursor:pointer;
  border:2px solid transparent;background:none;color:var(--white);transition:background-color .15s,border-color .15s}
.btn.primary{background:var(--primary)}
.btn.primary:hover{background:color-mix(in oklab,var(--primary),#fff 12%)}
.btn.outline{border-color:var(--white)}
.btn.outline:hover{background:rgb(255 255 255 / .08)}

/* Navigation (Figma: Navi/Desktop) */
/* Sticky (js/nav.js), compact from the start; once scrolled it gets a frosted background (.scrolled); it slides
   away while scrolling down and back in when scrolling up (.hidden). Its height never changes, so the page under it
   doesn't move. */
.site-nav{position:sticky;top:0;z-index:50;
  transition:transform .5s cubic-bezier(.22,1,.36,1),background-color .3s,box-shadow .3s;
  -webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}
.site-nav.scrolled{background:rgb(17 17 17 / .78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:0 1px 0 rgb(255 255 255 / .06)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 50px}
.site-nav.hidden{transform:translateY(-100%);box-shadow:none;
  transition:transform .4s cubic-bezier(.55,0,.75,.2),background-color .3s,box-shadow .3s}
/* Anchor jumps land below the sticky bar */
main section[id]{scroll-margin-top:88px}
/* Figma LogoText2 (211 × 44): the mark, a thin divider, the word */
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand .mark{width:37px;height:34px}
.brand .divider{width:1px;height:44px;background:var(--grey-dark);margin-right:6px}
.brand .word{width:139px;height:17px}
.nav-links{display:flex;align-items:center;gap:30px}
.nav-links a{color:var(--grey-light);font-size:18px;line-height:1;text-decoration:none}
.nav-links a:hover,.nav-links a.btn{color:var(--white)}

/* Mobile menu (js/menu.js): the toggle shows on narrow screens only. The panel covers the screen under the top bar
   and opens with a wipe from the top while the links rise in one after another. */
.menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin:-6px -8px -6px 0;
  padding:0;border:0;border-radius:50%;background:none;color:var(--white);cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:background-color .2s}
.menu-toggle:hover{background:rgb(255 255 255 / .08)}
.menu-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
/* The two icons sit on top of each other and swap with a quarter turn */
.menu-toggle{position:relative}
.menu-toggle .icon{position:absolute;width:32px;height:32px;fill:currentColor;
  transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .25s}
.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu{transform:rotate(-90deg) scale(.6);opacity:0}
.menu-toggle[aria-expanded="true"] .icon-close{transform:none;opacity:1}

.mobile-menu{position:fixed;inset:0;z-index:40;display:none;flex-direction:column;gap:28px;
  padding:calc(var(--nav-h,74px) + 56px) 20px calc(40px + env(safe-area-inset-bottom));background:var(--black);
  overflow-y:auto;overscroll-behavior:contain;
  clip-path:inset(0 0 100% 0);visibility:hidden;
  transition:clip-path .45s cubic-bezier(.55,0,.75,.2),visibility 0s .45s}
.mobile-menu.open{clip-path:inset(0 0 0 0);visibility:visible;
  transition:clip-path .6s cubic-bezier(.22,1,.36,1),visibility 0s}
/* The links at the top, the blurb and the legal links at the bottom (Figma: Mobile Navi) */
.mobile-links{display:flex;flex-direction:column;margin-bottom:auto}
.mobile-links a{font-size:42px;line-height:1.3;letter-spacing:-.02em;color:var(--white);text-decoration:none}
.mobile-links a:active{color:var(--grey-light)}
.mobile-blurb{margin-top:40px;font-size:16px;letter-spacing:-.02em;color:var(--grey-light)}
.mobile-legal{display:flex;flex-wrap:wrap;gap:0 20px;font-size:16px;letter-spacing:-.02em;color:var(--grey-light)}
.mobile-legal a{color:var(--primary);text-decoration:none}
.mobile-links a,.mobile-blurb,.mobile-legal{opacity:0;transform:translateY(24px);transition:opacity .2s,transform .2s}
.mobile-menu.open .mobile-links a,.mobile-menu.open .mobile-blurb,.mobile-menu.open .mobile-legal{opacity:1;transform:none;
  transition:opacity .5s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1);
  transition-delay:calc(.12s + var(--i,0) * 60ms)}
/* In the open menu the bar shows only the blue mark (Figma: Mobile Navi) */
.brand .mark-blue{display:none}
html.menu-open .brand .mark:not(.mark-blue),html.menu-open .brand .word,html.menu-open .brand .divider{display:none}
html.menu-open .brand .mark-blue{display:block}
/* While open: the bar stays put above the panel, without its frosted background, and the page doesn't scroll */
html.menu-open{overflow:hidden}
html.menu-open .site-nav{transform:none;background:transparent;box-shadow:none;
  -webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}
@media (prefers-reduced-motion:reduce){
  .mobile-menu,.mobile-menu.open,.mobile-links a,.mobile-blurb,.mobile-legal,.menu-toggle .icon{
    transition:none !important;transition-delay:0s !important}
}

/* Header */
/* Under the hero image; no bottom padding, the Key features below bring their own (Figma Desktop v2) */
.header{display:flex;flex-direction:column;align-items:center;gap:32px;padding:var(--pad-y) 240px 0;text-align:center}
.header .actions{margin-top:8px}
.header .lead{font-size:22px;max-width:960px}
.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}

/* Hero images: a photo (or photos in turn), the EQ ribbon, and a cut-out on top (players, or the desk) */
/* Centred: at most 1080 high keeps it at most 1920 wide, so a wider screen has room at the sides */
.hero{position:relative;aspect-ratio:16/9;max-height:1080px;margin-inline:auto;overflow:hidden;background:var(--black)}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* The top hero (Figma Desktop v2, HERO): arena photos that cross-fade in turn (js/hero-slides.js) */
.hero .slides,.hero .slides img{position:absolute;inset:0;width:100%;height:100%}
/* The photos (js/hero-slides.js): with each word the next photo cross-dissolves in over the previous one, with the
   slogan's motion; a photo is a little larger than the hero, the new one rises a little into place while the one under
   it drifts up (parallax). isolation keeps their z-index inside: the ribbon, words and desk stay in front. */
.hero .slides{isolation:isolate}
.hero .slides img{object-fit:cover;opacity:0;transform:translateY(4%) scale(1.1)}
.hero .slides img.was{opacity:1;z-index:0;transform:translateY(-3%) scale(1.1);
  transition:transform var(--hero-move) var(--hero-ease)}
.hero .slides img.on{opacity:1;z-index:1;transform:scale(1.1);
  transition:opacity var(--hero-move) var(--hero-ease),transform var(--hero-move) var(--hero-ease)}
/* The EQ ribbon (js/hero-ribbon.js): over the top hero's photos; in the hockey hero behind the players; behind Mike */
.hero .ribbon{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero .table{display:none}
/* The desk with the laptop in front of everything, along the bottom edge (Figma: 1434 × 495 of 1440 × 810) */
.hero>img.desk{inset:auto auto 0 50%;width:100%;max-width:none;height:auto;object-fit:initial;transform:translateX(-50%)}
/* On a wide screen the top hero fits in the first view: its bottom (the laptop) is at most at the window's bottom.
   When the height limits it, the desk and the slogan scale with the height (cqh), so the picture keeps its layout. */
@media (min-width:761px){
  .hero-top{width:100%;container-type:size;max-height:max(420px,min(1080px,calc(100svh - var(--nav-h,120px))))}
  .hero-top>img.desk{width:min(100%,100cqh * 16 / 9);
    mask-image:linear-gradient(to right,transparent,#000 1.5%,#000 98.5%,transparent)}
  /* When the desk is narrower than the screen, the table continues to the sides in one colour: its top at the table's
     top edge at the desk image's sides (row 373 of 689, so the lower 316 rows). Only beside the desk and under its faded
     edges – not behind it, where the desk's soft top edge would show the colour as a line. */
  .hero-top .table{display:block;position:absolute;inset:auto 0 0;height:calc(100cqh * 16 / 9 * 316 / 2000);
    --side:max(0px,(100cqw - 100cqh * 16 / 9) / 2 + 100cqh * 16 / 9 * .015);
    background:linear-gradient(rgb(19 30 38),rgb(19 30 38)) left / var(--side) 100% no-repeat,
      linear-gradient(rgb(19 30 38),rgb(19 30 38)) right / var(--side) 100% no-repeat}
  .hero-top .hero-words span{font-size:min(17.8cqw,31.6cqh,320px)}
}
.hero .fade{position:absolute;inset:0 0 27.53% 0;background:linear-gradient(to bottom,var(--black),rgb(17 17 17 / 0))}
/* The hockey hero above the footer (Figma: Website / Ice Hockey Hero, 1920 × 1080): the rink photo, the ribbon behind
   the players, a shade over the lower part and the slogan at the bottom left */
.hero-players{container-type:inline-size}
.hero-players .shade{position:absolute;inset:26.48% 0 0;opacity:.5;
  background:linear-gradient(178.57deg,rgb(0 0 0 / 0) 3.41%,#000 97.75%)}
.hero-players .slogan{position:absolute;left:2.92cqw;bottom:3.8%;width:48.07cqw;font-family:var(--display);font-weight:500;
  font-size:6.67cqw;line-height:.95;letter-spacing:-.02em;text-transform:uppercase;color:var(--white)}

/* Headline word by word over the hero image (js/hero-words.js) */
/* Above the middle so the laptop doesn't hide it (Figma: centre at 269 px of 810, 256 px of 1440) */
.hero-words{position:absolute;inset:0 0 33.6% 0;display:grid;place-items:center;pointer-events:none;overflow:hidden}
/* A word is a mask, tight round its letters (the shadow is drawn outside it): the word waits below the line, rises
   on the beat (ease in and out, like the photos behind it), and leaves upwards behind the same line on the next beat.
   While it is shown, the word grows a little (.drift), and keeps growing as it leaves. */
.hero-words span{grid-area:1/1;display:block;overflow:hidden;padding:.03em .06em;font-family:var(--display);
  font-weight:500;text-transform:uppercase;letter-spacing:-.04em;font-size:clamp(72px,17.8vw,320px);line-height:1;
  color:var(--white);white-space:nowrap;transform:scale(var(--fit,1));filter:drop-shadow(0 8px 24px rgb(0 0 0 / .45))}
.hero-words .drift{display:block;font-weight:inherit}
.hero-words .ch{display:inline-block;font-style:normal;transform:translateY(105%)}
.hero-words span.in .ch{transform:none;transition:transform var(--hero-move) var(--hero-ease)}
.hero-words span.out .ch{transform:translateY(-105%);transition:transform var(--hero-move) var(--hero-ease)}
.hero-words span:is(.in,.out) .drift{animation:hero-drift calc(var(--hold) * 1s + .6s) linear both}
@keyframes hero-drift{from{transform:scale(1)}to{transform:scale(1.035)}}

/* Key features (Figma: Box/Features) */
.features{padding:var(--pad-y) var(--pad-x-wide);display:flex;flex-direction:column;gap:var(--gap-head)}
.split{display:flex;flex-wrap:wrap;gap:30px 0;align-items:flex-start}
.split>*{flex:1 0 0;min-width:min(360px,100%)}
.split .display.md{max-width:580px}
.boxes{display:flex;flex-wrap:wrap;gap:40px}
.boxes>*{flex:1 0 0;min-width:min(360px,100%)}
.feature{display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:260px;padding:30px;
  border-radius:var(--radius-box);background:var(--grey-darkest)}
.feature .label{font-size:14px;font-weight:700;line-height:1.2;text-transform:uppercase;color:var(--grey-light)}
.feature .text{font-size:28px;line-height:1.2;letter-spacing:-.03em}
.feature.accent{background:var(--primary)}
.feature.accent .label{color:var(--white)}

/* Example: an announcement with its waveform */
.example{background:var(--grey-darkest)}
.example .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:64px;padding:var(--pad-y) var(--pad-x)}
.example .wrap>*{flex:1 0 0;min-width:min(360px,100%)}
.example .copy{display:flex;flex-direction:column;gap:32px}
.example .copy h2{max-width:580px}
.example .copy .body{display:flex;flex-direction:column;gap:23px;max-width:480px}
.example .demo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:80px;min-height:466px}
.example .quote{font-size:20px;line-height:1.2;text-align:center;max-width:460px;text-wrap:balance}
.example .audiowave{width:100%;height:184px}

/* Inside the app: a screenshot of the UI and the main features */
.app .wrap{display:flex;flex-direction:column;gap:var(--gap-head);padding:var(--pad-y) var(--pad-x)}
.app .head{display:flex;flex-direction:column;gap:20px}
.app-shot{margin:0;padding:clamp(8px,1.2vw,16px);border-radius:var(--radius-box);background:var(--grey-darkest)}
.app-shot img{width:100%;height:auto;border-radius:calc(var(--radius-box) - 16px)}
.app-features{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr));gap:40px}
.app-feature{display:flex;flex-direction:column;gap:14px;padding:30px;border-radius:var(--radius-box);background:var(--grey-darkest)}
.app-feature .label{font-size:14px;font-weight:700;line-height:1.2;text-transform:uppercase;color:var(--primary)}
.app-feature h3{font-size:26px;font-weight:400;line-height:1.2;letter-spacing:-.03em}
.app-feature ul{margin:4px 0 0;padding-left:20px;color:var(--grey-light);display:flex;flex-direction:column;gap:6px}

/* Announcer (Mike) */
.announcer{background:var(--grey-deep)}
.announcer .wrap{padding:var(--pad-y) var(--pad-x-wide)}
.announcer-card{display:flex;flex-wrap:wrap;align-items:stretch;border-radius:var(--radius-box);background:var(--grey-darkest);overflow:hidden}
.announcer-card>*{flex:1 0 0;min-width:min(360px,100%)}
/* The portrait fills the card's full height (the text side can be taller); the EQ ribbon and Mike scale with it */
.portrait{position:relative;min-height:598px;overflow:hidden}
.portrait .ribbon{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}   /* js/hero-ribbon.js */
.portrait .mike{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.portrait .sticker{position:absolute;bottom:59px;left:calc(50% + 9.5px);width:237px;transform:translateX(-50%) rotate(-4.07deg)}
.announcer .copy{display:flex;flex-direction:column;gap:32px;padding:64px}
.pads{display:flex;flex-wrap:wrap;gap:20px}
.pad{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;flex:1 0 0;min-width:170px;height:100px;padding:10px;border:0;border-radius:10px;
  background:var(--grey-dark);color:var(--white);font:inherit;text-align:left;cursor:pointer}
/* Playing, as in the app: the pad turns primary and the progress moves across it as a darker shade (js/pads.js
   sets --p); once played, it stays primary as a reminder */
.pad{overflow:hidden}
.pad .fill{position:absolute;inset:0;width:var(--p,0%);background:color-mix(in oklab,var(--primary),#000 30%)}
.pad .name{position:relative}
.pad.playing,.pad.played{background:var(--primary)}
.pad.playing .time,.pad.playing .key,.pad.played .time,.pad.played .key{color:rgb(255 255 255 / .8)}
/* Hover as in the app: an unplayed pad lightens a little, a played one fades the primary a little */
.pad:not(.playing,.played):hover{background:color-mix(in oklab,var(--grey-dark),#fff 5%)}
.pad.played:not(.playing):hover{background:color-mix(in oklab,var(--primary) 80%,transparent)}
.pad .name{display:block;font-size:16px;font-weight:500;line-height:1.2}
.pad .time,.pad .key{position:absolute;bottom:8px;font-size:12px;font-weight:500;line-height:1;color:var(--grey-light)}
.pad .time{left:10px}
.pad .key{right:10px}

/* Sponsors: example spots and a season calculator (js/sponsors.js) */
.sponsors .wrap{display:flex;flex-direction:column;gap:var(--gap-head);padding:var(--pad-y) var(--pad-x)}
.sponsors .head{display:flex;flex-direction:column;gap:20px}
.sponsor-body{display:flex;flex-wrap:wrap;gap:40px;align-items:stretch}
.sponsor-body>*{flex:1 0 0;min-width:min(360px,100%)}
.spots{list-style:none;padding:0;display:flex;flex-direction:column;gap:20px}
.spots li{flex:1;display:flex}
/* A spot plays its sample like the announcer pads (js/pads.js): primary while playing, the progress as a darker shade */
.spot{position:relative;flex:1;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:30px 96px 30px 30px;
  overflow:hidden;border:0;border-radius:var(--radius-box);background:var(--grey-darkest);color:var(--white);font:inherit;
  text-align:left;cursor:pointer;transition:background-color .15s}
.spot>span{position:relative}
.spot .fill{position:absolute;inset:0;width:var(--p,0%);background:color-mix(in oklab,var(--primary),#000 30%)}
.spot .when{font-size:14px;font-weight:700;line-height:1.2;text-transform:uppercase;color:var(--grey-light)}
.spot .line{font-size:24px;line-height:1.25;letter-spacing:-.02em;text-wrap:balance}
.spot .time{font-size:12px;font-weight:500;color:var(--grey-light)}
.spot .icon{position:absolute;right:30px;top:50%;width:48px;height:48px;margin-top:-24px;border-radius:50%;
  background:var(--primary)}
.spot .icon::before{content:'';position:absolute;left:19px;top:15px;border-style:solid;border-width:9px 0 9px 14px;
  border-color:transparent transparent transparent var(--white)}
.spot:hover:not(.playing){background:color-mix(in oklab,var(--grey-darkest),#fff 5%)}
.spot.playing{background:var(--primary)}
.spot.playing .when,.spot.playing .time{color:rgb(255 255 255 / .8)}
.spot.playing .icon{background:var(--white)}
.spot.playing .icon::before{left:17px;top:17px;width:14px;height:14px;border:0;background:var(--primary)}
.calc{display:flex;flex-direction:column;gap:28px;padding:40px;border-radius:var(--radius-box);background:var(--primary)}
.calc-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.calc h3{font-size:26px;font-weight:400;line-height:1.2;letter-spacing:-.03em}
.currency{display:inline-flex;padding:3px;border-radius:50px;background:rgb(0 0 0 / .2)}
.currency button{min-width:44px;height:34px;padding:0 12px;border:0;border-radius:50px;background:none;color:var(--white);
  font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.currency button[aria-pressed="true"]{background:var(--white);color:var(--primary)}
.field{display:flex;flex-direction:column;gap:12px}
.field label{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:16px;color:rgb(255 255 255 / .85)}
.field output{font-size:20px;font-weight:600;color:var(--white);font-variant-numeric:tabular-nums}
.field input{--p:50%;width:100%;height:24px;margin:0;background:none;cursor:pointer;-webkit-appearance:none;appearance:none}
.field input::-webkit-slider-runnable-track{height:6px;border-radius:6px;
  background:linear-gradient(to right,var(--white) var(--p),rgb(255 255 255 / .3) var(--p))}
.field input::-moz-range-track{height:6px;border-radius:6px;background:rgb(255 255 255 / .3)}
.field input::-moz-range-progress{height:6px;border-radius:6px;background:var(--white)}
.field input::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-9px;border-radius:50%;
  background:var(--white);box-shadow:0 2px 8px rgb(0 0 0 / .3)}
.field input::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:50%;background:var(--white);
  box-shadow:0 2px 8px rgb(0 0 0 / .3)}
.sum{display:flex;flex-direction:column;gap:8px;padding-top:24px;border-top:1px solid rgb(255 255 255 / .3);
  font-variant-numeric:tabular-nums}
.sum p{display:flex;justify-content:space-between;align-items:baseline;gap:16px;color:rgb(255 255 255 / .85)}
.sum strong{font-size:48px;font-weight:500;line-height:1;letter-spacing:-.02em;color:var(--white)}
.sum .left span:last-child{font-weight:700;color:var(--white)}
.calc .fine{font-size:14px;color:rgb(255 255 255 / .75)}
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:40px}
.step{display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:2px solid var(--grey-dark)}
.step h3{font-size:22px;font-weight:500;letter-spacing:-.02em}
.step p{color:var(--grey-light)}
.app-feature .more{margin-top:auto;padding-top:6px;color:var(--primary);text-decoration:none;font-weight:500}
.app-feature .more::after{content:' ↓'}
.app-feature .more:hover{text-decoration:underline}

/* Pricing (Figma: Box/Pricing) */
.pricing .wrap{display:flex;flex-direction:column;gap:var(--gap-head);padding:var(--pad-y) var(--pad-x)}
.pricing .head{display:flex;flex-direction:column;gap:20px}
/* The currency switch at the top right (js/currency.js); the same control as in the sponsor calculator */
.pricing .split .aside{display:flex;justify-content:flex-end}
.pricing .currency{background:var(--grey-darkest)}
.pricing .boxes{align-items:stretch}
.price{display:flex;flex-direction:column;justify-content:space-between;gap:48px;min-height:263px;padding:30px;
  border:2px solid transparent;border-radius:var(--radius-box);background:var(--grey-darkest)}
.price.featured{border-color:var(--primary)}
.price .label{font-size:14px;font-weight:700;line-height:1.2;text-transform:uppercase;color:var(--primary)}
.price .amount{display:flex;align-items:flex-end;gap:20px}
.price .amount strong{font-size:64px;font-weight:500;line-height:1;letter-spacing:-.02em}
.price .amount span,.price .note{color:var(--grey-light)}
.price .amount span{display:block}
.price .bottom{display:flex;flex-direction:column;gap:15px}
.includes{display:flex;flex-direction:column;gap:19px;padding:30px 30px 25px;border-radius:var(--radius-box);background:var(--primary)}
.includes .label{font-size:14px;font-weight:700;line-height:1.2;text-transform:uppercase}
.includes ul{padding-left:27px}
.trial{display:flex;flex-wrap:wrap;align-items:center;gap:40px;margin-top:8px}
.trial p{flex:1 0 0;min-width:min(360px,100%);color:var(--grey-light)}
.trial b{font-weight:700}

/* FAQ (not in Figma yet: copy from the wireframe) */
.faq .wrap{display:flex;flex-wrap:wrap;gap:var(--gap-head) 64px;padding:var(--pad-y) var(--pad-x)}
.faq .wrap>.head{flex:1 0 0;min-width:min(360px,100%);display:flex;flex-direction:column;gap:20px}
.faq .list{flex:2 0 0;min-width:min(360px,100%)}
.faq details{border-bottom:1px solid var(--grey-dark)}
.faq details:first-child{border-top:1px solid var(--grey-dark)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;font-size:22px;
  letter-spacing:-.02em;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';flex:none;font-size:28px;line-height:1;color:var(--primary);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding:0 40px 22px 0;color:var(--grey-light)}

/* Contact (not in Figma yet: copy from the wireframe) */
.contact .wrap{padding:0 var(--pad-x-wide) var(--pad-y)}
.contact-card{display:flex;flex-direction:column;align-items:center;gap:32px;padding:clamp(80px,8vw,120px) 40px;text-align:center;
  border-radius:var(--radius-box);background:var(--grey-darkest)}
.contact-card h2{max-width:900px}
.contact-card a.mail{color:var(--white)}

/* Footer (Figma: Footer/Desktop) */
.footer .wrap{display:flex;flex-direction:column;gap:30px;padding:var(--pad-y) var(--pad-x)}
.footer .cols{display:flex;flex-wrap:wrap;gap:40px}
.footer .cols>*{flex:1 0 0;min-width:min(360px,100%)}
.footer .links{display:flex;flex-direction:column;font-size:32px;letter-spacing:-.02em}
.footer .links a{text-decoration:none}
.footer .links a:hover{color:var(--grey-light)}
.footer .blurb{font-size:16px;letter-spacing:-.02em;color:var(--grey-light)}
.footer .bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.footer .legal{display:flex;flex-wrap:wrap;gap:0 28px;color:var(--grey-light);letter-spacing:-.02em}
.footer .legal a{color:var(--primary);text-decoration:none}
.footer .legal a:hover{text-decoration:underline}
.footer .legal .dot{opacity:.8}
.footer .mark{width:49px;height:46px}

/* Narrower screens */
@media (max-width:1100px){
  .header{padding:var(--pad-y) 40px 0}
}
@media (max-width:760px){
  :root{--pad-x:20px;--pad-x-wide:16px;--pad-y:56px;--gap-head:32px}
  .nav{padding:12px 20px}
  main section[id]{scroll-margin-top:64px}
  .nav-links{display:none}
  .menu-toggle{display:inline-flex}
  .mobile-menu{display:flex}
  .brand .mark{width:36px;height:34px}
  .brand{gap:19px}
  .brand .divider{display:none}
  .brand .word{width:120px;height:15px}
  .header{padding:var(--pad-y) 20px 0;gap:24px}
  .header .lead{font-size:18px}
  .hero{aspect-ratio:4/3}
  /* A narrow screen: the hero is taller and the desk wider than the screen, so the laptop stays readable */
  .hero-top{aspect-ratio:1/1}
  .hero>img.desk{width:190%}
  .hero-top .hero-words{inset:0 0 52% 0}
  .hero-players .slogan{font-size:max(36px,9cqw);width:80%;left:20px;bottom:20px}
  .feature{min-height:200px}
  .feature .text{font-size:26px}
  .example .demo{min-height:0;gap:40px}
  .example .audiowave{height:120px}
  .portrait{min-height:440px}
  .portrait .sticker{width:200px;bottom:44px}
  .announcer .copy{padding:32px 20px}
  .pad{min-width:calc(50% - 10px)}
  .price .amount strong{font-size:56px}
  .pricing .split .aside{justify-content:flex-start}
  .calc{padding:30px 20px}
  .spot{padding:24px 84px 24px 24px}
  .spot .icon{right:20px}
  .spot .line{font-size:20px}
  .sum strong{font-size:40px}
  .faq summary{font-size:19px}
  .contact-card{padding:56px 20px}
  .footer .links{font-size:26px}
}

/* Scroll build-up (js/reveal.js): parts fade and rise into place, one after another.
   .reveal-ready is set in <head> only when motion is allowed; keep this list in step with PARTS in reveal.js. */
.reveal-ready :where(.header > *, .split > *, .boxes > *, .example .copy > *, .example .demo > *, .announcer-card,
  .announcer .copy > :not(.pads), .pad, .pricing .head > *, .trial, .faq .head > *, .faq details, .contact-card > *,
  .footer .cols > *, .footer .bottom, .app-shot, .app-feature, .spot, .calc, .step){
  opacity:0;transform:translateY(30px);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay:calc(var(--i,0) * 120ms)}
.reveal-ready .in :where(.header > *, .split > *, .boxes > *, .example .copy > *, .example .demo > *, .announcer-card,
  .announcer .copy > :not(.pads), .pad, .pricing .head > *, .trial, .faq .head > *, .faq details, .contact-card > *,
  .footer .cols > *, .footer .bottom, .app-shot, .app-feature, .spot, .calc, .step){opacity:1;transform:none}

/* Cookie consent (js/analytics.js): only in Europe; Accept and Decline equally prominent */
.consent{position:fixed;z-index:60;left:50%;bottom:20px;transform:translateX(-50%);width:min(720px,calc(100% - 32px));
  display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding:20px 24px;border-radius:24px;
  background:var(--grey-darkest);color:var(--white);box-shadow:0 12px 40px rgb(0 0 0 / .45);font-size:16px;line-height:1.4}
.consent p{flex:1 1 320px;margin:0;color:#b3b3b3}
.consent a{color:var(--white)}
.consent-actions{display:flex;gap:12px;flex:0 0 auto}
.consent .btn{height:40px;padding:0 22px}
@media (max-width:760px){.consent-actions{flex:1 1 100%}.consent .btn{flex:1}}
