/* Layout: quiet and spacious. One grotesk typeface in light-to-medium weights with tight tracking,
   hairline rules instead of boxes, square corners, black buttons. Colour comes from the app itself
   (the 3D hall) and from a soft sky-to-wood gradient borrowed from the GymSpace logo. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/geist-latin.woff2") format("woff2"); 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; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/geist-latin-ext.woff2") format("woff2"); 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; }

:root {
  --bg: #F3F4F5;
  --hall: #E7EBEF;          /* exact background of the 3D view, so the hero video blends in */
  --surface: #FFFFFF;
  --surface-2: #E9ECEF;
  --ink: #121417;
  --muted: #5C626A;
  --line: rgba(18, 20, 23, .16);
  --line-strong: rgba(18, 20, 23, .9);
  --accent: #2459F0;        /* the court-line blue from the app */
  --wood: #D9A05B;          /* the hall floor */
  --sky: #D5E5F6;           /* the GymSpace logo tile */
  --on-ink: #FFFFFF;
  --ok: #1B7F4B; --ok-soft: #DDF1E5;
  --warn: #8A5300; --warn-soft: #FBEFD5;
  --danger: #C62D2D;
  --shadow: 0 30px 60px -30px rgba(18, 20, 23, .35);

  --f: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1012; --hall: #1A1D21; --surface: #16191C; --surface-2: #1E2226; --ink: #F2F3F4; --muted: #A1A7AF;
    --line: rgba(242, 243, 244, .16); --line-strong: rgba(242, 243, 244, .9); --accent: #6E93FF; --wood: #E2B074; --sky: #1F3550;
    --on-ink: #0E1012; --ok: #5BD192; --ok-soft: #12321F; --warn: #F2C063; --warn-soft: #382A0C; --danger: #FF7B7B;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); --hero-filter: brightness(.6) contrast(1.05);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1012; --hall: #1A1D21; --surface: #16191C; --surface-2: #1E2226; --ink: #F2F3F4; --muted: #A1A7AF;
  --line: rgba(242, 243, 244, .16); --line-strong: rgba(242, 243, 244, .9); --accent: #6E93FF; --wood: #E2B074; --sky: #1F3550;
  --on-ink: #0E1012; --ok: #5BD192; --ok-soft: #12321F; --warn: #F2C063; --warn-soft: #382A0C; --danger: #FF7B7B;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); --hero-filter: brightness(.6) contrast(1.05);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6.4rem); letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 52ch; line-height: 1.5; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { font-size: .9rem; color: var(--muted); }

/* Buttons: square, solid, quiet */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 1rem/1 var(--f); letter-spacing: -.01em; padding: 18px 28px; border-radius: 0;
  border: 1px solid var(--ink); cursor: pointer; text-decoration: none;
  background: var(--ink); color: var(--on-ink); transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.blue { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.blue:hover { background: transparent; color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn.small { padding: 11px 16px; font-size: .93rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); color: var(--on-ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.demo-bar { background: var(--ink); color: var(--on-ink); font-size: .85rem; text-align: center; padding: 8px 16px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
body[data-route="home"] .site-header { background: color-mix(in srgb, var(--hall) 70%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 500; font-size: 1.45rem; letter-spacing: -.04em; line-height: 1; }
.nav { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.nav-pill { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.nav-pill a + a { position: relative; }
.nav-pill a + a::before { content: ""; position: absolute; left: -1px; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 16px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.nav a[aria-current="page"]::before, .nav a[aria-current="page"] + a::before { display: none; }
#nav-account { border: 1px solid var(--line-strong); }
.nav .cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; padding: 0 5px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); padding: 8px; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav-pill { flex-direction: column; align-items: stretch; border: 0; padding: 0; }
  .nav-pill a + a::before { display: none; }
  .nav a, #nav-account { padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.3rem; letter-spacing: -.02em; }
  .nav a[aria-current="page"] { background: none; color: var(--accent); }
  .nav .cart-link { width: auto; height: auto; justify-content: start; border: 0; padding: 16px 0; }
}

/* Hero: the app itself, full bleed */
.hero { position: relative; overflow: hidden; background: var(--hall); min-height: min(92svh, 980px); display: flex; isolation: isolate; margin-top: -76px; }
.hero-media { filter: var(--hero-filter, none); position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; z-index: -2; }
.hero-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--hall) 0%, color-mix(in srgb, var(--hall) 85%, transparent) 32%, transparent 62%),
    linear-gradient(0deg, var(--hall) 0%, color-mix(in srgb, var(--hall) 80%, transparent) 26%, transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--hall) 70%, transparent) 0%, transparent 18%); }
.hero-copy { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; padding-block: 140px 48px; }
.hero h1 { max-width: 13ch; }
.hero hr { border-color: var(--line-strong); opacity: .5; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (max-width: 720px) {
  .hero { min-height: 0; flex-direction: column; }
  .hero-media { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; object-position: 60% 50%; margin-top: 76px; }
  .hero-fade { display: none; }
  .hero-copy { padding-block: 44px 40px; margin-top: -64px; background: linear-gradient(180deg, transparent 0, var(--hall) 52px); }
}
.shot { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; object-fit: cover; object-position: center top; background: var(--surface-2); }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 920px; }
.section-head h1, .section-head h2 { max-width: 18ch; }
.section-head .lead { max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.stats div { padding: 36px 24px 36px 0; display: flex; flex-direction: column; gap: 6px; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

.feature { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); counter-increment: feat; }
#features { counter-reset: feat; }
#features .feature:last-child { border-bottom: 1px solid var(--line); }
.feature.flip .feature-img { order: -1; }
.feature .txt { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feature .txt::before { content: "0" counter(feat); font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.feature .txt p { color: var(--muted); }
.feature-img { overflow: hidden; background: var(--hall); }
.feature-img img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.feature:hover .feature-img img { transform: scale(1.025); }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.ticks li { padding: 10px 0; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-img { order: 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; border-top: 1px solid var(--line-strong); }
.step { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); font-size: clamp(3.4rem, 6vw, 5.4rem); font-weight: 300; letter-spacing: -.06em; line-height: 1; margin-bottom: 18px; }
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Product family */
.family { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
.prod { position: relative; padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.family .prod:nth-child(3n), .family .prod:last-child { border-right: 0; }
.prod .top { display: flex; align-items: center; gap: 14px; }
.prod .top img { width: 48px; height: 48px; flex: none; }
.prod .top > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.prod .name { font-weight: 500; font-size: 1.5rem; letter-spacing: -.035em; line-height: 1; display: flex; align-items: center; gap: 10px; }
.prod .name::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tint, var(--accent)); }
.prod p { color: var(--muted); font-size: .97rem; }
.prod .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.prod .price { font-weight: 400; font-size: 1.6rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.prod.main { grid-row: span 2; padding-left: 0; }
.prod.main .name { font-size: 2.2rem; }
.prod.main .thumb { overflow: hidden; background: var(--hall); }
.family .prod:not(.main) { padding-right: 24px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.pill.soon { color: var(--muted); }
@media (min-width: 921px) { .family .prod:nth-child(3), .family .prod:nth-child(5) { border-right: 0; } .family .prod:nth-child(2), .family .prod:nth-child(4) { border-right: 1px solid var(--line); } }
@media (max-width: 920px) { .family { grid-template-columns: 1fr 1fr; } .prod.main { grid-column: 1 / -1; grid-row: auto; border-right: 0; } .family .prod:nth-child(odd):not(.main) { border-right: 0; } .family .prod:nth-child(even):not(.main) { padding-left: 0; } .family .prod:nth-child(odd):not(.main) { padding-left: 24px; } }
@media (max-width: 540px) { .family { grid-template-columns: 1fr; } .family .prod { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; } }

/* About */
.about { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); padding-top: 28px; }
.about .txt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px 60px; align-items: start; }
.about .txt .label, .about .txt h2 { grid-column: 1; }
.about .txt p, .about .txt a { grid-column: 2; }
.about .txt p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; grid-row: 1 / span 2; }
.about .txt a { align-self: start; }
@media (max-width: 760px) { .about .txt { grid-template-columns: 1fr; } .about .txt p, .about .txt a { grid-column: 1; grid-row: auto; } }

/* FAQ */
.faq { display: grid; max-width: 920px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.15rem; letter-spacing: -.015em; padding: 22px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 65ch; }

/* Product page */
.product-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.product-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.product-hero .intro { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.product-hero h1 { font-size: clamp(3rem, 8vw, 7.5rem); }
.app-id { display: flex; align-items: center; gap: 16px; }
.app-id img { width: 64px; height: 64px; }
.buybox { position: sticky; top: 96px; border-top: 1px solid var(--line-strong); padding-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.buybox h3 { font-size: 1.3rem; }
.buybox .price { font-weight: 400; font-size: 3.4rem; letter-spacing: -.05em; line-height: 1; }
.buybox .price small { font-size: .95rem; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-strong); }
.platform { position: relative; }
.platform + .platform { border-left: 1px solid var(--line-strong); }
.platform input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.platform span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; font-weight: 500; text-align: center; transition: background .2s, color .2s; }
.platform span small { font-weight: 400; color: inherit; opacity: .7; font-size: .8rem; }
.platform svg { width: 24px; height: 24px; }
.platform input:checked + span { background: var(--ink); color: var(--on-ink); }
.platform input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -4px; }
.paymethods { display: flex; flex-wrap: wrap; gap: 6px; }
.paymethods span { font-size: .78rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
@media (max-width: 960px) { .product-hero .wrap { grid-template-columns: 1fr; } .buybox { position: static; } }

/* Video */
.video-box { position: relative; overflow: hidden; background: var(--hall); aspect-ratio: 16 / 9; max-width: 100%; }
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.video-soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; }
.play { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); display: grid; place-items: center; margin: 0 auto 14px; }
.play svg { width: 26px; height: 26px; margin-left: 4px; }

/* Gallery carousel */
.gallery { display: flex; flex-direction: column; gap: 16px; }
.gal-stage { position: relative; overflow: hidden; background: var(--hall); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; position: relative; }
.gal-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--hall); cursor: zoom-in; }
.gal-slide figcaption { padding: 16px 0 0; display: flex; gap: 14px; align-items: baseline; background: var(--bg); flex-wrap: wrap; }
.gal-slide figcaption b { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.gal-nav { position: absolute; top: calc(50% - 50px); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(8px); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.gal-nav:hover { background: var(--ink); color: var(--on-ink); }
.gal-nav.prev { left: 16px; } .gal-nav.next { right: 16px; }
.gal-nav svg { width: 20px; height: 20px; }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.gal-thumbs button { flex: 0 0 128px; padding: 0; border: 0; border-bottom: 2px solid transparent; cursor: pointer; background: none; opacity: .5; transition: opacity .2s; }
.gal-thumbs button:hover { opacity: .85; }
.gal-thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.gal-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--bg) 96%, transparent); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.spec { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.spec .ticks { margin-top: 14px; }
.spec dl { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; font-size: .98rem; }
.spec dt, .spec dd { padding: 10px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); padding-right: 20px; }
.spec dd { margin: 0; }
@media (max-width: 680px) { .specs { grid-template-columns: 1fr; gap: 40px; } .gal-nav { top: calc(50% - 44px); width: 42px; height: 42px; } .gal-thumbs button { flex-basis: 96px; } }

/* Cart & account */
.panel { border-top: 1px solid var(--line-strong); padding-top: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.line-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start; padding-block: 18px; border-top: 1px solid var(--line); }
.line-item:first-child { border-top: 0; padding-top: 0; }
.line-item img { width: 52px; height: 52px; }
.line-item .info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.line-item .price { font-size: 1.4rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; align-self: flex-start; flex-wrap: wrap; border: 1px solid var(--line-strong); }
.seg button { background: transparent; border: 0; padding: 10px 16px; font: 500 .93rem var(--f); color: var(--ink); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.seg button + button { border-left: 1px solid var(--line-strong); }
.seg button svg { width: 16px; height: 16px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.linkbtn { align-self: flex-start; background: none; border: 0; color: var(--muted); font: 400 .9rem var(--f); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--danger); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-variant-numeric: tabular-nums; }
.totals .grand { font-size: 1.5rem; letter-spacing: -.03em; padding-top: 12px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); display: flex; flex-direction: column; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.empty b { color: var(--ink); font-weight: 500; font-size: 1.5rem; letter-spacing: -.03em; }
.notice { padding: 12px 14px; font-size: .94rem; background: var(--surface-2); color: var(--ink); border-left: 2px solid var(--accent); }
.notice.warn { background: var(--warn-soft); color: var(--warn); border-left-color: currentColor; }
.notice.ok { background: var(--ok-soft); color: var(--ok); border-left-color: currentColor; }
.notice.err { background: color-mix(in srgb, var(--danger) 12%, var(--bg)); color: var(--danger); border-left-color: currentColor; }

.auth-card { max-width: 460px; margin: 0 auto; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.tabs button { border: 0; background: transparent; padding: 12px; font: 500 .95rem var(--f); color: var(--ink); cursor: pointer; }
.tabs button + button { border-left: 1px solid var(--line-strong); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.social { display: grid; gap: 8px; }
.social .btn { background: transparent; color: var(--ink); border-color: var(--line-strong); justify-content: flex-start; padding: 15px 18px; }
.social .btn:hover { background: var(--ink); color: var(--on-ink); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: .92rem; }
.field input { font: 400 1rem var(--f); padding: 14px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--ink); }
.field input:focus { outline: none; border-bottom: 2px solid var(--accent); padding-bottom: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }

.owned { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.owned img { width: 56px; height: 56px; }
.owned .info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.devices { list-style: none; padding: 0; margin: 0; display: grid; }
.devices li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; flex-wrap: wrap; }

.doc { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { margin-block: 6px 10px; }
.doc h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 22px; }
.doc p, .doc li { color: var(--muted); }
.doc .lead { color: var(--ink); }

/* Footer: soft sky-to-wood gradient from the GymSpace logo, with a giant wordmark */
.site-footer { margin-top: clamp(40px, 6vw, 96px); background: linear-gradient(180deg, var(--bg) 0%, var(--sky) 48%, color-mix(in srgb, var(--wood) 55%, var(--sky)) 100%); color: var(--ink); overflow: hidden; }
.site-footer .wrap { padding-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.site-footer h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.site-footer h4 { margin: 0 0 14px; font-size: 1.15rem; letter-spacing: -.02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--ink); }
.site-footer .fine { max-width: 38ch; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.site-footer .wordmark { display: block; padding-top: clamp(48px, 6vw, 88px); font-weight: 500; font-size: clamp(3rem, 17.2vw, 16.6rem); letter-spacing: -.065em; line-height: .78; white-space: nowrap; color: var(--ink); user-select: none; }
.site-footer .footer-base { display: flex; gap: 10px 32px; flex-wrap: wrap; justify-content: space-between; padding-block: 28px; font-size: .85rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }
@media (max-width: 780px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
.site-footer a, .site-footer p, .site-footer span { overflow-wrap: anywhere; }

/* Modal & toast */
.modal { position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--ink) 40%, transparent); display: grid; place-items: center; padding: 16px; }
.modal .box { width: min(460px, 100%); max-height: 90vh; overflow: auto; background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.paylist { display: grid; }
.paylist label { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.paylist input { accent-color: var(--ink); width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translateX(-50%); z-index: 80; background: var(--ink); color: var(--on-ink); padding: 14px 20px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* Abonnement of studentenlicentie */
.plans { display: grid; border: 1px solid var(--line-strong); }
.plan { position: relative; }
.plan + .plan { border-top: 1px solid var(--line-strong); }
.plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan span { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 16px 16px 44px; position: relative; transition: background .2s, color .2s; }
.plan span::before { content: ""; position: absolute; left: 16px; top: 19px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid currentColor; }
.plan b { font-weight: 500; }
.plan em { font-style: normal; font-variant-numeric: tabular-nums; }
.plan em small { color: inherit; opacity: .7; }
.plan > span > small { grid-column: 1 / -1; color: inherit; opacity: .75; font-size: .85rem; line-height: 1.4; display: flex; gap: 6px; align-items: flex-start; }
.plan > span > small svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.plan input:checked + span { background: var(--ink); color: var(--on-ink); }
.plan input:checked + span::before { background: radial-gradient(circle, currentColor 0 4px, transparent 5px); }
.plan input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -4px; }
.per { font-size: .55em; color: var(--muted); letter-spacing: 0; }
.prod .fine { margin-top: -6px; }

.student .method { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-strong); margin-top: 12px; }
.student .step-no { font-size: 2.6rem; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.student .method h2 { margin-top: 0; }
.student .method .btn { align-self: flex-start; }
.student .method p { color: var(--muted); }
.schools { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 16px; }
.schools summary { cursor: pointer; padding: 16px 0; font-weight: 500; }
.schools ul { columns: 2; column-gap: 32px; padding: 0 0 16px; margin: 12px 0 0; list-style: none; }
.schools li { padding: 3px 0; break-inside: avoid; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .student .method { grid-template-columns: 1fr; gap: 8px; } .schools ul { columns: 1; } }
