/* Oxer website — "night arena" theme: deep navy, arena sand, track teal. */
:root {
  color-scheme: light;
  --night: #0c1626;
  --night-2: #13233a;
  --night-3: #1b3150;
  --ink: #14202e;
  --muted: #5b6b7f;
  --line: #e6dfd2;
  --line-strong: #d6ccb9;
  --paper: #faf7f1;
  --card: #ffffff;
  --sand: #efe4cf;
  --sand-deep: #b88d4a;
  --teal: #1f9c86;
  --teal-bright: #64d2b9;
  --red: #c0392b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(12, 22, 38, .06);
  --shadow: 0 18px 40px rgba(12, 22, 38, .10);
  --shadow-lg: 0 40px 90px rgba(4, 10, 20, .45);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font-family: inherit; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }
.site-page { display: flex; min-height: 100vh; flex-direction: column; }
h1, h2, h3 { margin: 0; color: inherit; font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
p { margin: 0; }

/* ---------- Header ---------- */
.public-header {
  position: sticky;
  z-index: 80;
  top: 0;
  color: #e9eff7;
  background: rgba(12, 22, 38, .92);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}
.public-header-inner {
  display: flex;
  width: min(var(--wrap), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.public-brand { display: flex; align-items: center; gap: 12px; }
.public-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: #fff;
}
.public-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.public-brand strong, .public-brand small { display: block; }
.public-brand strong { font-family: var(--display); font-size: 20px; line-height: 1.1; }
.public-brand small { color: #93a3b8; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.public-header-actions { display: flex; align-items: center; gap: 14px; }
.public-nav { display: flex; align-items: center; gap: 2px; }
.public-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #b9c6d6;
  font-size: 14px;
  font-weight: 600;
  transition: color .15s ease, background .15s ease;
}
.public-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.public-nav a.is-active { color: #fff; background: rgba(100,210,185,.16); }
.header-cta { min-height: 40px !important; padding: 0 18px !important; font-size: 14px !important; }
.menu-toggle { display: none; }

.language-switcher { position: relative; }
.language-current {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 10px 0 6px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #dbe5f1;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.language-current:hover { background: rgba(255,255,255,.07); }
.language-current img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.language-menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 160px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}
.language-menu[hidden] { display: none; }
.language-menu a { display: flex; min-height: 40px; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.language-menu a:hover, .language-menu a.is-active { background: var(--paper); }
.language-menu img { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #06231d; background: var(--teal-bright); box-shadow: 0 10px 24px rgba(100,210,185,.28); }
.btn-primary:hover { background: #7fe0ca; box-shadow: 0 14px 30px rgba(100,210,185,.36); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.24); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-large { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-small, .small-btn { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.danger-btn { color: #9d2637; background: #fff1f3; border-color: #f5c8cf; }

/* ---------- Shared layout ---------- */
.home-main, .page-main { flex: 1; }
.page-main { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; padding: 56px 0 96px; }
.eyebrow, .public-eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--teal-bright); }
.section { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; padding: 104px 0 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.section-head > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-heading > p { max-width: 380px; color: var(--muted); }
.section-heading.compact { margin-bottom: 18px; }
.section-heading.compact h2 { font-size: 28px; }
.tag, .feature-tag {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(31,156,134,.1);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 28px; color: #354457; font-weight: 600; }
.checks li::before {
  position: absolute;
  top: .2em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #06231d;
  background: var(--teal-bright);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}
.checks-light li { color: #dbe5f1; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(100,210,185,.18), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(59,96,144,.45), transparent 65%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 55%, var(--night-3) 100%);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
  padding: 88px 0 120px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #cfdbea;
  background: rgba(255,255,255,.05);
  font-size: 13px;
  font-weight: 700;
}
.hero-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(100,210,185,.2); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
.hero h1 em { color: var(--teal-bright); font-style: italic; }
.hero-lead { max-width: 540px; margin-top: 24px; color: #c3d0df; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #9fb0c5; font-size: 14px; font-weight: 600; }
.hero-proof li { position: relative; padding-left: 18px; }
.hero-proof li::before { position: absolute; top: .55em; left: 0; width: 8px; height: 8px; border: 2px solid var(--teal-bright); border-radius: 50%; content: ""; }

.hero-visual { position: relative; padding: 0 0 60px 0; }
.hero-window {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: #0e1726;
  box-shadow: var(--shadow-lg);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transform-origin: left center;
}
.hero-window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: #111c2d; }
.hero-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3a50; }
.hero-window-bar i:first-child { background: #e0625a; }
.hero-window-bar i:nth-child(2) { background: #e9b54a; }
.hero-window-bar i:nth-child(3) { background: #5cc489; }
.hero-window-bar span { margin-left: 10px; color: #8d9db2; font-size: 12px; font-weight: 600; }
.hero-window img { display: block; width: 100%; height: auto; }
.hero-float {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 46%;
  margin: 0;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.hero-float img { display: block; width: 100%; height: auto; }
.hero-float figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(12,22,38,.78);
  font-size: 12px;
  font-weight: 700;
}
.hero-chip {
  position: absolute;
  display: grid;
  gap: 1px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(19,35,58,.86);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.hero-chip strong { font-size: 18px; line-height: 1.2; }
.hero-chip span { color: #9fb0c5; font-size: 12px; font-weight: 600; }
.hero-chip-distance { top: -22px; right: 6%; }
.hero-chip-time { left: -26px; bottom: 26%; }

/* ---------- Home: facts strip ---------- */
.facts {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--wrap), calc(100% - 40px));
  margin: -56px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}
.facts div { display: grid; gap: 4px; padding: 26px 28px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- Home: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bento-card {
  display: grid;
  align-content: start;
  gap: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.bento-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: 40px; padding: 34px; }
.bento-wide-reverse { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.bento-wide.no-shot { grid-template-columns: minmax(0, 1fr); }
.bento-wide.no-shot .bento-text { max-width: 760px; }
.bento-text { display: grid; justify-items: start; gap: 12px; }
.bento-text h3 { font-size: clamp(24px, 2.6vw, 32px); }
.bento-text p { color: var(--muted); }
.shot {
  display: block;
  overflow: hidden;
  border: 1px solid #1c2638;
  border-radius: 12px;
  background: #0e1726;
  box-shadow: 0 16px 36px rgba(12,22,38,.18);
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot img { display: block; width: 100%; height: auto; }
.shot:hover { transform: translateY(-3px); box-shadow: 0 24px 46px rgba(12,22,38,.24); }
.shot-paper { border-color: var(--line-strong); background: #fff; }

/* ---------- Home: 3D band ---------- */
.band-3d { position: relative; margin-top: 104px; overflow: hidden; color: #fff; background: var(--night); }
.band-3d-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.band-3d::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,22,38,.96) 0%, rgba(12,22,38,.82) 42%, rgba(12,22,38,.25) 100%);
  content: "";
}
.band-3d-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: 56px;
  padding: 110px 0;
}
.band-3d h2 { font-size: clamp(32px, 4.4vw, 50px); }
.band-3d-copy > p:not(.eyebrow) { margin: 18px 0 26px; color: #c3d0df; font-size: 18px; }
.band-3d-thumbs { display: grid; gap: 18px; }
.band-3d-thumbs .shot { border-color: rgba(255,255,255,.18); box-shadow: var(--shadow-lg); }
.band-3d-thumbs .shot:nth-child(2) { width: 82%; justify-self: end; margin-top: -60px; border: 4px solid #fff; }

/* ---------- Home: steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 28px 24px; border-top: 3px solid var(--ink); background: transparent; }
.steps li:nth-child(2) { border-color: var(--teal); }
.steps li:nth-child(3) { border-color: var(--sand-deep); }
.steps li:nth-child(4) { border-color: var(--red); }
.steps span { display: block; margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.steps h3 { font-size: 24px; }
.steps p { margin-top: 10px; color: var(--muted); }

/* ---------- Home: pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; }
.price-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; }
.price-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.price-card h3 { font-size: 26px; }
.price-card-featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 12px; font-weight: 800; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.price strong { font-family: var(--display); font-size: 52px; font-weight: 600; line-height: 1; }
.price strong.price-text { font-size: 30px; }
.price span { color: var(--muted); font-weight: 600; }

/* ---------- Home: final CTA ---------- */
.cta-band {
  display: flex;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 104px auto 96px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px 52px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(100,210,185,.25), transparent 60%),
    linear-gradient(135deg, var(--night) 0%, var(--night-3) 100%);
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); }
.cta-band p { margin-top: 10px; color: #b9c6d6; }

/* ---------- Inner pages ---------- */
.page-heading { max-width: 780px; margin-bottom: 40px; }
.page-heading h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; }
.page-heading > p:last-child { margin-top: 16px; color: var(--muted); font-size: 18px; }
.content-section, .support-card, .license-card, .contact-section, .auth-card, .purchase-option-card, .download-card {
  border: 1px solid var(--line);
  background: var(--card);
}
.content-section { padding: 32px; border-radius: var(--radius-lg); }
.doc-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.doc-quick-grid article { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.doc-quick-grid strong { font-family: var(--display); font-size: 20px; font-weight: 600; }
.doc-quick-grid span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.documentation-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 22px; }
.doc-block { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.doc-block:first-child { padding-top: 0; }
.doc-block:last-child { padding-bottom: 0; border-bottom: 0; }
.doc-number { color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.doc-block h2 { font-size: 24px; }
.doc-block p { margin-top: 8px; color: #4b5b6e; }
.warning-box {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #f0d9a6;
  border-radius: var(--radius);
  color: #5f4610;
  background: #fff8e8;
}
.warning-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #fff; background: #d29a1e; font-weight: 800; }
.warning-box strong { color: #4d3700; }
.warning-box p { margin-top: 6px; font-size: 14px; }
.warning-box ol { margin: 12px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.8; }
.warning-box small { display: block; margin-top: 10px; color: #7d6127; }
.support-card { position: sticky; top: 96px; padding: 28px; border-radius: var(--radius-lg); }
.support-card h2 { font-size: 26px; }
.support-card p:not(.public-eyebrow) { margin-top: 10px; color: var(--muted); font-size: 15px; }
.support-card .btn { width: 100%; margin-top: 22px; }
.patch-section { margin-top: 22px; }
.patch-list { display: grid; gap: 12px; }
.patch-list article { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--paper); }
.patch-meta { display: grid; align-self: start; justify-items: start; gap: 6px; }
.patch-meta small { color: var(--muted); font-size: 12px; font-weight: 700; }
.version-pill { align-self: start; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 12px; font-weight: 800; text-align: center; }
.version-pill.muted { color: var(--muted); background: #ece6da; }
.patch-list ul { margin: 0; padding-left: 18px; color: #4b5b6e; font-size: 14px; line-height: 1.8; }

.download-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 22px; }
.download-options { display: grid; gap: 14px; }
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.download-card.recommended { border: 2px solid var(--ink); }
.recommendation { position: absolute; top: 0; right: 0; padding: 6px 12px; border-radius: 0 0 0 12px; color: #fff; background: var(--ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.download-icon { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 16px; color: var(--teal-bright); background: var(--night); font-size: 15px; font-weight: 800; }
.download-card h2 { font-size: 24px; }
.download-card p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.license-card { padding: 30px; border-radius: var(--radius-lg); }
.license-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.license-price strong { font-family: var(--display); font-size: 48px; font-weight: 600; line-height: 1; }
.license-price span { color: var(--muted); font-size: 14px; font-weight: 700; }
.license-card > p:not(.public-eyebrow) { margin-top: 12px; color: var(--muted); font-size: 15px; }
.license-card ul { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.license-card li { position: relative; padding-left: 26px; color: #354457; font-weight: 600; }
.license-card li::before { position: absolute; left: 0; color: var(--teal); content: "✓"; font-weight: 900; }
.license-card .btn { width: 100%; }
.purchase-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.purchase-option-card { display: grid; align-content: start; gap: 12px; padding: 30px; border-radius: var(--radius-lg); }
.purchase-option-card h2 { font-size: 28px; }
.purchase-option-card p:not(.public-eyebrow) { color: var(--muted); }
.purchase-option-card strong { font-family: var(--display); font-size: 30px; font-weight: 600; }
.purchase-option-card .btn { justify-self: start; }
.license-success-box { display: grid; gap: 7px; margin: 22px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.license-success-box span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.license-success-box code { color: var(--ink); font-size: 16px; font-weight: 800; }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; padding: 36px; border-radius: var(--radius-lg); scroll-margin-top: 96px; }
.contact-intro h2 { font-size: 30px; }
.contact-intro > p:not(.public-eyebrow) { margin-top: 12px; color: var(--muted); }
.contact-note { display: grid; gap: 3px; margin-top: 24px; padding: 14px 16px; border-left: 4px solid var(--teal-bright); border-radius: 8px; background: var(--paper); }
.contact-note strong { color: var(--teal); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.contact-note span { font-weight: 700; }
.contact-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label span { color: #3c4b5e; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  outline: 0;
}
.contact-form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31,156,134,.14); }
.contact-form .btn { justify-self: end; }
.notice { margin-top: 16px; padding: 13px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.notice.success { color: #176541; background: #e6f6ec; }
.notice.error { color: #9d2637; background: #ffe9ec; }

.auth-main { display: grid; place-items: start center; }
.auth-card { width: min(520px, 100%); padding: 38px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.08; }
.auth-card > p:not(.public-eyebrow):not(.notice) { margin-top: 12px; color: var(--muted); }
.auth-card form { margin-top: 24px; }
.auth-link { margin-top: 20px; color: var(--teal); font-size: 14px; font-weight: 700; text-align: center; }
.auth-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-actions { display: flex; align-items: center; justify-content: flex-end; gap: 26px; margin-top: 4px; }
.auth-actions .btn { flex: 0 0 auto; }
.auth-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: var(--teal); font-size: 14px; font-weight: 700; }

.account-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.account-summary div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.account-summary span, .account-summary small { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.account-summary strong { display: block; margin: 6px 0 4px; font-family: var(--display); font-size: 30px; font-weight: 600; }
.empty-state { display: grid; justify-items: start; gap: 12px; padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.empty-state p { color: var(--muted); }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.table-scroll { width: 100%; overflow-x: auto; }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.data-table th { padding: 11px 12px; color: var(--muted); background: var(--paper); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.data-table td { padding: 12px; border-bottom: 1px solid var(--line); color: #334155; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table code { display: inline-block; max-width: 260px; padding: 4px 8px; border-radius: 6px; background: var(--paper); font-size: 12px; }
.data-table input, .data-table select { width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; outline: 0; }
.data-table input[type="number"] { width: 76px; margin-right: 8px; }
.data-table input:focus, .data-table select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,156,134,.12); }
.inline-form { margin: 0; }
.inline-admin-form { display: contents; }
.status-pill { display: inline-flex; min-height: 24px; align-items: center; padding: 0 9px; border-radius: 999px; color: var(--muted); background: #ece6da; font-size: 12px; font-weight: 800; }
.status-pill.active, .status-pill.admin { color: #176541; background: #e6f6ec; }
.status-pill.disabled { color: #9d2637; background: #ffe9ec; }
.admin-main .notice { margin: 0 0 16px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 22px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.admin-section-heading h2, .admin-grid h2, .admin-activations h2 { font-size: 26px; }
.admin-form { margin-top: 18px; }
.admin-licenses, .admin-activations { margin-top: 22px; }
.compact-table { min-width: 560px; }
.admin-license-table { min-width: 1040px; }
.muted-text { margin-top: 10px; color: var(--muted); }
.success-page .page-heading { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; color: #b9c6d6; background: var(--night); }
.site-footer-inner {
  display: grid;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.site-footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer-logo { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; overflow: hidden; border-radius: 11px; background: #fff; }
.site-footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.site-footer-brand strong, .site-footer-brand small { display: block; }
.site-footer-brand strong { color: #fff; font-family: var(--display); font-size: 20px; }
.site-footer-brand small { color: #8d9db2; font-size: 12px; }
.site-footer-about p { max-width: 320px; margin-top: 16px; color: #8d9db2; font-size: 14px; }
.site-footer-links { display: grid; align-content: start; gap: 10px; }
.site-footer-links strong { margin-bottom: 4px; color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer-links a { color: #b9c6d6; font-size: 15px; }
.site-footer-links a:hover { color: var(--teal-bright); }
.site-footer-bottom {
  display: flex;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #6f8197;
  font-size: 13px;
}
.ok { color: #168a4a; }
.bad { color: #dc3545; }
code { color: var(--night-3); overflow-wrap: anywhere; }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1600px, 96vw); max-width: none; max-height: 94vh; padding: 0; overflow: visible; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(6,12,22,.88); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: 100%; max-height: 90vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; padding: 64px 0 112px; }
  .hero-copy { max-width: 680px; }
  .hero-window { transform: none; }
  .hero-chip-time { left: 12px; }
  .band-3d-inner { grid-template-columns: 1fr; padding: 80px 0; }
  .band-3d::after { background: linear-gradient(180deg, rgba(12,22,38,.9), rgba(12,22,38,.75)); }
  .documentation-grid, .download-layout { grid-template-columns: 1fr; }
  .support-card { position: static; }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .public-header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: var(--night);
  }
  .public-header-actions.is-open { display: flex; }
  .public-nav { flex-direction: column; align-items: stretch; }
  .public-nav a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .language-switcher { align-self: flex-start; }
  .header-cta { width: 100%; min-height: 48px !important; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento, .bento-wide, .price-grid, .purchase-options, .contact-section, .admin-grid, .account-summary { grid-template-columns: 1fr; }
  .bento-wide { gap: 26px; padding: 26px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-quick-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .public-header-inner, .page-main, .section, .hero-inner, .band-3d-inner, .facts, .cta-band, .site-footer-inner, .site-footer-bottom { width: calc(100% - 32px); }
  .hero-inner { padding: 48px 0 96px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-float { right: -6px; width: 58%; }
  .hero-chip-distance { top: -18px; right: 0; }
  .hero-chip-time { display: none; }
  .facts div { padding: 20px; }
  .facts strong { font-size: 24px; }
  .section { padding-top: 80px; }
  .section-head { margin-bottom: 32px; }
  .section-head > p:not(.eyebrow) { font-size: 16px; }
  .bento-card, .bento-wide { padding: 18px; }
  .band-3d { margin-top: 80px; }
  .band-3d-thumbs .shot:nth-child(2) { width: 88%; margin-top: -36px; }
  .steps { grid-template-columns: 1fr; }
  .price-card { padding: 26px; }
  .cta-band { flex-direction: column; align-items: flex-start; margin: 80px auto 72px; padding: 32px 26px; }
  .cta-band .btn { width: 100%; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 48px; }
  .site-footer-about { grid-column: 1 / -1; }
  .site-footer-bottom { flex-direction: column; }
  .content-section, .contact-section, .auth-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 52px 1fr; padding: 22px; }
  .download-card .btn { grid-column: 1 / -1; }
  .patch-list article { grid-template-columns: 1fr; gap: 10px; }
  .version-pill { justify-self: start; }
  .lightbox-close { top: 8px; right: 8px; }
  .auth-actions { flex-direction: column-reverse; align-items: stretch; gap: 18px; }
  .auth-actions .btn { width: 100%; }
  .auth-links { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Legal pages ---------- */
.legal-content { display: grid; gap: 14px; max-width: 860px; }
.legal-content h2 { margin-top: 18px; font-size: 24px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #4b5b6e; }
.legal-content ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.legal-content a { color: var(--teal, #0f7f6c); font-weight: 600; }
.legal-list { display: grid; grid-template-columns: minmax(180px, max-content) 1fr; gap: 8px 24px; margin: 0; }
.legal-list dt { font-weight: 700; color: #17212e; }
.legal-list dd { margin: 0; color: #4b5b6e; }
.legal-missing { padding: 1px 6px; border-radius: 6px; background: #fff1c2; color: #7a4b00; font-size: .92em; font-weight: 600; }
@media (max-width: 640px) { .legal-list { grid-template-columns: 1fr; gap: 2px; } .legal-list dd { margin-bottom: 10px; } }

/* ---------- Home: FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; font-weight: 700; font-size: 17px; color: #17212e; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--teal, #0f7f6c); font-size: 22px; font-weight: 600; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 18px; color: #4b5b6e; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner { position: fixed; left: 50%; bottom: 20px; z-index: 1000; display: flex; align-items: center; gap: 20px; width: min(920px, calc(100% - 32px)); padding: 18px 22px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 16px; background: #fff; color: #17212e; box-shadow: 0 18px 48px rgba(12, 22, 38, .22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.5; color: #4b5b6e; }
.cookie-banner strong { color: #17212e; }
.cookie-banner a { color: var(--teal); font-weight: 600; }
.cookie-banner-actions { display: flex; flex-shrink: 0; gap: 10px; }
.cookie-banner-actions .btn { min-width: 110px; }
.site-footer-link-button { padding: 0; border: 0; background: none; color: #b9c6d6; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.site-footer-link-button:hover { color: var(--teal-bright); }
@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 12px; }
  .cookie-banner-actions .btn { flex: 1; }
}
/* "Refuse" must be as visible as "Accept": light variant of the ghost button on white surfaces. */
.cookie-banner .btn-ghost, .legal-content .btn-ghost { border: 1px solid var(--line-strong); color: #17212e; background: #fff; }
.cookie-banner .btn-ghost:hover, .legal-content .btn-ghost:hover { background: #f3eee5; }

/* ---------- Exercise library (exercices.php, exercice.php, admin-exercices.php) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.exercise-library, .exercise-page { flex: 1; }
.exercise-wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.exercise-hero { padding: 64px 0 96px; color: #e9eff7; background: radial-gradient(1200px 420px at 78% -10%, rgba(100,210,185,.18), transparent 60%), var(--night); }
.exercise-hero-inner { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.exercise-hero-inner > div { max-width: 720px; }
.exercise-hero h1 { margin-top: 12px; color: #fff; font-size: clamp(34px, 4.6vw, 50px); }
.exercise-hero p { margin-top: 14px; color: #b9c6d6; font-size: 17px; }
.exercise-hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; }
.exercise-hero-stats b { display: block; color: #fff; font-family: var(--display); font-size: 28px; font-weight: 600; }
.exercise-hero-stats span { color: #93a3b8; font-size: 13px; font-weight: 600; }
.exercise-search { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: -40px; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.exercise-search label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.exercise-search input, .exercise-search select { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); font-size: 15px; font-weight: 600; outline: 0; }
.exercise-search input:focus, .exercise-search select:focus { border-color: var(--teal); }
.exercise-search-field { flex: 1 1 280px; }
.exercise-search-field input { width: 100%; }
.exercise-search .btn { min-height: 48px; }
.exercise-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.exercise-types a, .exercise-sort a, .exercise-active-filters a, .exercise-step-tabs a {
  display: inline-flex; min-height: 34px; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--muted); background: #fff; font-size: 13.5px; font-weight: 700;
}
.exercise-types a em { color: var(--sand-deep); font-style: normal; font-size: 12px; }
.exercise-types a.is-active, .exercise-step-tabs a.is-active { border-color: var(--night); color: #fff; background: var(--night); }
.exercise-types a.is-active em { color: var(--teal-bright); }
.exercise-type-selection { margin-left: auto; }
.exercise-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 34px 0 14px; }
.exercise-list-head h2 { font-size: 26px; }
.exercise-list-head h2 span { margin-left: 8px; color: var(--muted); font-family: var(--body); font-size: 15px; font-weight: 600; }
.exercise-sort { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #efe8dc; }
.exercise-sort a { min-height: 30px; border: 0; background: transparent; }
.exercise-sort a.is-active { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.exercise-active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.exercise-active-filters a { min-height: 30px; color: var(--ink); }
.exercise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 72px; }
.exercise-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.exercise-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.exercise-card-plan { position: relative; padding: 10px; border-bottom: 1px solid var(--line); background: #f3ece0; }
.exercise-plan { display: block; width: 100%; height: auto; border-radius: 8px; }
.exercise-badge, .exercise-steps { position: absolute; top: 18px; z-index: 1; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.exercise-badge { left: 18px; color: #fff; background: #e07b2e; }
.exercise-steps { right: 18px; border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.92); }
.exercise-card-body { display: grid; flex: 1; gap: 8px; padding: 14px 16px 16px; }
.exercise-card h3 { font-family: var(--body); font-size: 16.5px; font-weight: 800; letter-spacing: 0; }
.exercise-card-body > p { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.exercise-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.exercise-tags span { padding: 3px 8px; border-radius: 6px; color: var(--muted); background: #f3ece0; font-size: 11.5px; font-weight: 700; }
.exercise-tags .is-level { color: #a4521a; background: #fbeadb; }
.exercise-tags .is-goal { color: var(--teal); background: #e3f4ef; }
.exercise-card-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; }
.exercise-avatar { display: grid; width: 26px; height: 26px; flex: none; place-items: center; border-radius: 50%; color: #fff; background: var(--night-3); font-size: 11px; font-weight: 800; }
.exercise-avatar.is-large { width: 46px; height: 46px; font-size: 15px; }
.exercise-author { color: var(--ink); }
.exercise-views { margin-left: auto; }
.exercise-cta-card { display: grid; align-content: center; gap: 12px; padding: 26px; border-radius: 18px; color: #e9eff7; background: var(--night); }
.exercise-cta-card h3 { color: #fff; font-size: 22px; }
.exercise-cta-card p:not(.eyebrow) { color: #b9c6d6; font-size: 14px; }
.exercise-cta-card .btn { justify-self: start; }

.exercise-page .exercise-wrap { padding: 26px 0 0; }
.exercise-crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.exercise-crumbs a:hover { color: var(--teal); }
.exercise-crumbs b { color: var(--ink); }
.exercise-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 16px 0 24px; }
.exercise-head h1 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 44px); }
.exercise-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; color: var(--muted); font-weight: 600; }
.exercise-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.exercise-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.exercise-main, .exercise-side { display: grid; gap: 20px; align-content: start; }
.exercise-panel { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.exercise-viewer { padding: 14px; scroll-margin-top: 96px; }
.exercise-step-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px 12px; }
.exercise-plan-frame { padding: 12px; border-radius: 14px; background: #f3ece0; }
.exercise-text { display: grid; gap: 14px; padding: 24px 26px; }
.exercise-text h2 { font-size: 22px; }
.exercise-objective { padding: 14px 16px; border-left: 3px solid #e07b2e; border-radius: 0 12px 12px 0; background: #fdf6ef; font-weight: 600; }
.exercise-steps-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.exercise-steps-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 190px; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.exercise-step-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #fff; background: var(--night); font-weight: 800; }
.exercise-steps-list b { display: block; font-size: 15.5px; }
.exercise-steps-list p { margin-top: 2px; color: var(--muted); font-size: 14px; }
.exercise-step-plan { display: block; padding: 4px; border-radius: 8px; background: #f3ece0; }
.exercise-variants { color: var(--muted); font-weight: 600; }
.exercise-side h3 { margin-bottom: 10px; color: var(--muted); font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.exercise-open { color: #e9eff7; border: 0; background: var(--night); }
.exercise-open h3 { color: var(--teal-bright); }
.exercise-open p { margin-bottom: 14px; color: #b9c6d6; font-size: 14px; }
.exercise-open-note { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.exercise-open .exercise-open-note { margin: 12px 0 0; color: #93a3b8; }
.exercise-open-note a { color: var(--teal-bright); font-weight: 700; }
.exercise-equipment, .exercise-distances { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.exercise-equipment li, .exercise-distances li { display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.exercise-equipment b { min-width: 30px; padding: 2px 8px; border-radius: 7px; color: var(--teal); background: #e3f4ef; text-align: center; }
.exercise-distances span { color: var(--muted); font-weight: 600; }
.exercise-author-card { display: flex; align-items: center; gap: 12px; }
.exercise-author-card b, .exercise-author-card span { display: block; }
.exercise-author-card span { color: var(--muted); font-size: 13px; font-weight: 600; }
.exercise-similar { padding-top: 48px; }
.exercise-similar h2 { margin-bottom: 16px; font-size: 26px; }

.admin-exercise-thumb { width: 110px; }
.admin-exercise-thumb .exercise-plan { width: 96px; }
.admin-exercise-edit { margin-top: 22px; }
.admin-exercise-preview { max-width: 640px; margin-bottom: 20px; padding: 10px; border-radius: 14px; background: #f3ece0; }
.admin-checks, .admin-steps { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.admin-checks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-checks legend, .admin-steps legend { padding: 0 6px; color: #3c4b5e; font-size: 13px; font-weight: 700; }
.contact-form .admin-checks label, .contact-form .admin-inline-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.contact-form .admin-checks input, .contact-form .admin-inline-check input { width: auto; min-height: 0; }
.admin-exercise-files { margin-top: 24px; }
.admin-exercise-files h3 { font-size: 18px; }
.admin-exercise-delete { margin-top: 18px; }

@media (max-width: 1060px) {
  .exercise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exercise-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .exercise-grid { grid-template-columns: 1fr; }
  .exercise-steps-list li { grid-template-columns: 34px minmax(0, 1fr); }
  .exercise-step-plan { grid-column: 2; }
  .exercise-type-selection { margin-left: 0; }
  .admin-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Exercises sent by coaches: review in the admin, « Mes exercices » in the account. */
.status-pill.pending { color: #a4521a; background: #fbeadb; }
.admin-review-box { display: grid; gap: 10px; margin-bottom: 20px; padding: 16px 18px; border: 1px solid #f1cfb1; border-radius: 14px; background: #fdf6ef; }
.admin-review-box p { color: var(--ink); }
.account-exercises { margin-top: 22px; scroll-margin-top: 96px; }
.account-exercise-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Home: exercises of the month. Download page: documentation moved below the purchase options. */
.month-picks-head { display: flex; max-width: none; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.month-picks-head > div { max-width: 720px; }
.month-picks-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.month-picks-grid { padding-bottom: 0; }
.download-docs { margin-top: 88px; scroll-margin-top: 96px; }
.download-docs-heading h2 { font-size: clamp(32px, 4.4vw, 48px); }

/* Exercise page: the plan opens in the lightbox. */
a.exercise-plan-frame { position: relative; display: block; cursor: zoom-in; }
.exercise-zoom-hint { position: absolute; right: 20px; bottom: 20px; padding: 5px 11px; border-radius: 999px; color: #fff; background: rgba(12,22,38,.72); font-size: 12px; font-weight: 800; pointer-events: none; }
.exercise-zoom-hint::before { content: "⤢ "; }
.lightbox img[src*="exercice-plan.php"] { background: #f7f2e9; }

/* Download page: monthly licence line and account note under the lifetime price. */
.license-alt { margin-top: 14px; font-size: 14px; }
.license-alt a { font-weight: 700; }
.license-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

/* ---------- Admin: custom content ---------- */
.content-pack-choice { display: grid; gap: 8px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.content-pack-choice legend { padding: 0 6px; font-weight: 700; }
.checkbox-line { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.checkbox-line input { width: auto; }
.content-new-code code { font-size: 20px; letter-spacing: .06em; user-select: all; }
.content-design-list { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.content-design-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.content-code-packs summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.content-code-packs form { display: grid; gap: 6px; margin-top: 6px; }
.upload-progress { font-weight: 700; }
.content-detection summary { cursor: pointer; font-weight: 700; }
.content-detection { display: grid; gap: 10px; }
.content-thumb { display: block; width: 96px; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.content-new-bundle { display: flex; gap: 8px; align-items: center; }
.content-new-bundle input { min-width: 200px; }
.content-bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.content-bundle { display: grid; gap: 8px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.content-bundle-name { font-weight: 800; font-size: 17px; }
