/* WNP1 shared styles: fonts, colours, base, header, buttons */
/* DM Sans, self-hosted (SIL Open Font License, see assets/fonts/OFL.txt). Variable font covers weights 400-700. */
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-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;
}
:root {
  --obsidian: #0B0B0E;
  --obsidian-2: #15151A;
  --frost: #EDF0F4;
  --frost-dim: #A9AEB8;
  --yellow: #F9EC31;
  --pink: #EC297B;
  --font: "DM Sans", Verdana, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--obsidian); color: var(--frost); font-family: var(--font); }
body { min-height: 100vh; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  background: linear-gradient(to bottom, rgba(11,11,14,.85), rgba(11,11,14,0));
}
.site-header nav {
  max-width: 1200px; margin: 0 auto; padding: 22px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 56px;
}
.site-header .logo { display: block; line-height: 0; }
.site-header .logo img { height: 64px; width: auto; transition: transform .35s cubic-bezier(.7,0,.2,1); }
.site-header .logo:hover img { transform: scale(1.06); }

.nav-link {
  position: relative; justify-self: end;
  color: var(--frost); text-decoration: none;
  font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 0;
  transition: color .25s;
}
.nav-group { display: flex; align-items: center; gap: 44px; }
.nav-group.left { justify-self: end; }
.nav-group.right { justify-self: start; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.coaching { --accent: var(--yellow); }
.team { --accent: var(--pink); }
.setups, .socials { --accent: var(--frost); }

/* pill buttons */
.btn {
  --fill: var(--yellow); --ink: var(--obsidian);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 6px 0 26px; border-radius: 999px;
  background: var(--fill); color: var(--ink); text-decoration: none; white-space: nowrap;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  --shadow: 0 10px 24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.35);
  box-shadow: var(--shadow);
  transition: color .3s, box-shadow .3s, transform .3s cubic-bezier(.7,0,.2,1);
}
.btn::before { /* frost fill sweeping in on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--frost);
  transform: translateX(-101%); transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.btn:hover { color: var(--obsidian); transform: translateY(-2px);
  --shadow: 0 16px 32px rgba(0,0,0,.5), 0 3px 8px rgba(0,0,0,.35); }
.btn:hover::before { transform: none; }
.btn:focus-visible { outline: 2px solid var(--frost); outline-offset: 4px; }
/* arrow in a circle: circle turns to point down-right, a second arrow slides through */
.btn-icon {
  --circle: var(--obsidian); --arrow: var(--fill);
  position: relative; overflow: hidden; flex: none;
  width: 44px; height: 44px; border-radius: 50%; background: var(--circle);
  transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.btn-icon svg {
  position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; fill: var(--arrow);
  transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.btn-icon svg + svg { transform: translateX(-44px); }
.btn:hover .btn-icon { transform: scale(1.06) rotate(45deg); }
.btn:hover .btn-icon svg { transform: translateX(44px); }
.btn:hover .btn-icon svg + svg { transform: none; }
.btn-ghost .btn-icon { --circle: var(--frost); --arrow: var(--obsidian); }
.btn-ghost:hover .btn-icon { --circle: var(--obsidian); --arrow: var(--frost); }
.btn-pink { --fill: var(--pink); --ink: var(--frost); }
.btn-ghost { --fill: rgba(11,11,14,.25); --ink: var(--frost); box-shadow: inset 0 0 0 2px var(--frost), var(--shadow); }

@media (max-width: 860px) { /* logo on its own row, the four links underneath */
  .site-header nav { grid-template-columns: 1fr 1fr; row-gap: 6px; column-gap: 20px; padding: 12px 16px 8px; }
  .site-header .logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .site-header .logo img { height: 44px; }
  .nav-group { gap: 20px; }
  .nav-link { font-size: 13px; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-link::after, .site-header .logo img, .btn::before, .btn-icon, .btn-icon svg { transition: none; }
}

/* Header gets a solid backdrop once the page is scrolled, so it never sits on top of content */
.site-header { transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled {
  background: rgba(11,11,14,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(237,240,244,.08);
}

/* ---------- Footer (all pages) ---------- */
.site-footer { border-top: 1px solid rgba(237,240,244,.08); background: var(--obsidian); }
.site-footer .inner {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  font-size: 14px; color: var(--frost-dim);
}
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--frost); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
@media (max-width: 600px) { .site-footer .inner { padding: 24px 16px; } }

/* ---------- Legal pages (privacy policy, legal notice) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 170px 24px 96px; line-height: 1.7; }
.legal h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 12px; }
.legal .updated { color: var(--frost-dim); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; line-height: 1.3; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: #cfd3da; font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.legal a { color: var(--yellow); }
.legal address { font-style: normal; color: #cfd3da; }
.legal .todo { background: rgba(249,236,49,.14); color: var(--yellow); padding: 0 4px; border-radius: 4px; }
.legal .summary { padding: 20px 24px; border-radius: 16px; background: var(--obsidian-2); border: 1px solid rgba(237,240,244,.08); }
@media (max-width: 860px) { .legal { padding-top: 150px; } }
@media (max-width: 600px) { .legal { padding: 140px 16px 64px; } }
