/* ============================================================
   winsym.ai — Site components v3
   Consumes tokens.css only. Component docs: design-system/MASTER.md
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  font-stretch: var(--stretch-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .on-dark :focus-visible { outline-color: var(--accent-soft); }
input, select, textarea { accent-color: var(--accent-ink); }
.num, .price, time, .tabular { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 999;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.display, .h-hero, .h1, .h2, .h3 {
  font-stretch: var(--stretch-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
  text-wrap: balance;
}
.h-hero { font-size: var(--t-hero); line-height: 0.94; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: var(--lh-tight); }
.h4 { font-size: var(--t-h4); font-weight: 700; line-height: 1.3; }
.lead { font-size: var(--t-lead); color: var(--muted); max-width: 58ch; line-height: 1.55; }
.small { font-size: var(--t-small); color: var(--muted-2); }
.xs { font-size: var(--t-xs); }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
p + p { margin-top: var(--s-4); }
.center { text-align: center; }
.center .lead, .lead.center { margin-inline: auto; }

/* Highlight word — the signature. Orange type on a soft pill with glow. */
.hl {
  position: relative;
  display: inline-block;
  color: var(--accent);
  padding: 0.02em 0.16em 0;
  margin: 0 -0.04em;
  isolation: isolate;
  text-shadow: 0 0 0.28em rgba(240, 85, 26, 0.45);
}
.hl::before {
  content: "";
  position: absolute;
  inset: 0.06em -0.02em 0.02em;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.82));
  box-shadow: 0 0.18em 0.5em -0.22em rgba(17,17,17,0.35), 0 0 0 1px rgba(255,255,255,0.7) inset;
  z-index: -1;
  transform-origin: left center;
  transition: transform var(--d-slow) var(--ease-out), opacity var(--d-slow) var(--ease-out);
}
.on-dark .hl::before, .section--dark .hl::before, .card--dark .hl::before {
  background: linear-gradient(180deg, rgba(44,44,44,0.95), rgba(28,28,28,0.9));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 0.2em 0.6em -0.2em rgba(0,0,0,0.6);
}
.on-dark .hl, .section--dark .hl, .card--dark .hl { color: var(--accent-soft); }
/* Authored motion moment: the pill "lights" in when its heading enters view */
.js .reveal-hl .hl::before { transform: scaleX(0.2); opacity: 0; }
.js .reveal-hl.is-in .hl::before { transform: none; opacity: 1; }

.tag {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem; border-radius: var(--r-pill);
  background: var(--white); color: var(--ink); box-shadow: var(--sh-pill);
}
.tag--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tag--flat { box-shadow: none; background: var(--bg); }
.on-dark .tag, .section--dark .tag, .card--dark .tag { background: rgba(255,255,255,0.08); color: var(--on-dark); box-shadow: none; }
.kicker { font-size: var(--t-small); font-weight: 600; color: var(--muted); margin-bottom: var(--s-4); display: block; }
.on-dark .kicker, .section--dark .kicker { color: var(--on-dark-2); }

.link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(184,62,12,0.35); }
.link:hover { text-decoration-color: currentColor; }
.on-dark .link, .section--dark .link, .card--dark .link { color: var(--accent-soft); text-decoration-color: rgba(255,122,69,0.4); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--max-narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; overflow-x: clip; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--soft { background: var(--bg-soft); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .lead, .section--dark .muted { color: var(--on-dark-2); }
.section--dark .small { color: var(--on-dark-3); }
.section-head { max-width: 900px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: var(--s-5); }
.section-head--split { display: grid; gap: var(--s-5); max-width: none; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.3fr 1fr; gap: var(--s-8); } .section-head--split .lead { margin-top: 0; } }

/* A dark frame holding a light panel (reference: dark board, light artboards) */
.frame { background: var(--dark); padding: clamp(0.75rem, 2vw, 1.75rem) 0; }
.frame > .panel { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; background: var(--bg); position: relative; overflow: hidden; }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.row--center { justify-content: center; }
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }

/* Split: text + media, alternating (reference: services rows) */
.split { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.08fr; }
  .split--flip > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.split + .split { margin-top: clamp(3.5rem, 8vw, 7rem); }
.split__text .h3 { margin-bottom: var(--s-5); font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.7rem); line-height: 1; }
.split__text .lead, .split__text p { max-width: 46ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  padding-block: var(--s-4);
  transition: background var(--d-med) var(--ease-out), box-shadow var(--d-med) var(--ease-out), padding var(--d-med) var(--ease-out);
}
.site-header.is-condensed {
  background: rgba(236, 236, 236, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: var(--s-2);
}
.site-header__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); }
@media (min-width: 1100px) { .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; } }
.brand {
  display: inline-flex; align-items: baseline; gap: 1px;
  font-weight: 800; font-stretch: 108%; font-size: 1.55rem; letter-spacing: -0.04em;
  text-decoration: none; color: var(--ink); line-height: 1;
}
.brand__dot { color: var(--accent-ink); }
.navpill {
  justify-self: center;
  display: none; align-items: center; gap: 2px;
  background: var(--white); border-radius: var(--r-pill); padding: 5px;
  box-shadow: var(--sh-pill);
}
.navpill a {
  text-decoration: none; font-size: var(--t-small); font-weight: 600;
  padding: 0.55rem 0.95rem; border-radius: var(--r-pill); color: var(--muted);
  transition: background var(--d-fast), color var(--d-fast);
}
.navpill a:hover { color: var(--ink); background: var(--bg); }
.navpill a[aria-current="page"] { color: var(--white); background: var(--ink); }
.header-aside { display: flex; align-items: center; gap: var(--s-3); justify-self: end; }
.header-login { display: none; font-size: var(--t-small); font-weight: 600; text-decoration: none; padding: 0.55rem 0.8rem; border-radius: var(--r-pill); }
.header-login:hover { background: var(--white); }
.menu-btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; padding: 0 1.1rem;
  background: var(--white); border-radius: var(--r-pill); box-shadow: var(--sh-pill);
  font-size: var(--t-small); font-weight: 600;
}
.menu-btn__plus { font-size: 1.1rem; line-height: 1; transition: transform var(--d-med) var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__plus { transform: rotate(45deg); }
.btn.header-cta { display: none; }
@media (min-width: 640px) { .btn.header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .navpill { display: inline-flex; }
  .header-login { display: inline-flex; }
  .menu-btn__label { display: none; }
  .menu-btn { padding: 0; width: 44px; justify-content: center; }
}

/* Full menu overlay */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--dark); color: var(--on-dark);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: var(--s-4) var(--gutter) var(--s-6);
  opacity: 0; visibility: hidden; transition: opacity var(--d-med) var(--ease-out), visibility var(--d-med);
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; max-width: var(--max); width: 100%; margin-inline: auto; }
.menu .brand { color: var(--on-dark); }
.menu__close { background: rgba(255,255,255,0.08); box-shadow: none; color: var(--on-dark); }
.menu__grid { max-width: var(--max); width: 100%; margin: var(--s-7) auto 0; display: grid; gap: var(--s-6); align-content: start; }
@media (min-width: 760px) { .menu__grid { grid-template-columns: repeat(4, 1fr); } }
.menu__group h2 { font-size: var(--t-small); font-weight: 600; color: var(--on-dark-3); margin-bottom: var(--s-3); }
.menu__group ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.menu__group a {
  text-decoration: none; font-weight: 800; font-stretch: var(--stretch-display); text-transform: uppercase;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.1; letter-spacing: -0.01em;
}
.menu__group a:hover { color: var(--accent-soft); }
.menu__foot { max-width: var(--max); width: 100%; margin: var(--s-7) auto 0; display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; color: var(--on-dark-2); font-size: var(--t-small); }
.menu__foot a { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--white); --btn-fg: var(--ink); --btn-dot: var(--ink); --btn-dot-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 52px; padding: 6px 6px 6px 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--r-pill); box-shadow: var(--sh-pill);
  font-weight: 700; font-size: 0.9375rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out), background var(--d-fast);
}
.btn__dot {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--btn-dot); color: var(--btn-dot-fg);
  transition: transform var(--d-med) var(--ease-out);
}
.btn__dot svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-lift); }
.btn:hover .btn__dot { transform: rotate(-45deg); }
.btn:active { transform: translateY(0); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-dot: var(--accent); --btn-dot-fg: var(--ink); box-shadow: 0 14px 30px -14px rgba(17,17,17,0.6); }
.btn--ghost { --btn-bg: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.on-dark .btn--ghost, .section--dark .btn--ghost, .card--dark .btn--ghost { --btn-fg: var(--on-dark); --btn-dot: var(--on-dark); --btn-dot-fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25); }
.btn--plain { padding: 0 1.5rem; justify-content: center; }
.btn--sm { min-height: 44px; font-size: var(--t-small); padding-left: 1.1rem; }
.btn--sm .btn__dot { width: 32px; height: 32px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn.is-loading .btn__dot svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Big round arrow (reference: footer / carousel) */
.circle-btn {
  display: grid; place-items: center; width: clamp(88px, 12vw, 128px); aspect-ratio: 1; border-radius: 50%;
  background: var(--bg-soft); box-shadow: 0 30px 50px -24px rgba(17,17,17,0.35), 0 0 0 1px rgba(255,255,255,0.8) inset;
  color: var(--ink); text-decoration: none; transition: transform var(--d-med) var(--ease-out);
}
.circle-btn svg { width: 38%; height: 38%; }
.circle-btn:hover { transform: translateY(3px); }
.circle-btn--ink { background: var(--ink); color: var(--white); }

/* ---------- Media: chamfered corners ---------- */
.media { position: relative; isolation: isolate; }
.media__frame {
  position: relative; overflow: hidden; background: var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.media--alt .media__frame { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.media__frame img, .media__frame video { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 .media__frame { aspect-ratio: 4 / 3; }
.media--16x10 .media__frame { aspect-ratio: 16 / 10; }
.media--portrait .media__frame { aspect-ratio: 4 / 5; }
.media--square .media__frame { aspect-ratio: 1; }
.media__caption { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--muted-2); }

/* Aurora glows — decorative only */
.aurora { position: absolute; pointer-events: none; z-index: -1; filter: blur(46px); opacity: 0.9; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; }
.aurora::before { width: 62%; height: 62%; left: 0; bottom: 0; background: var(--glow-lime); }
.aurora::after { width: 58%; height: 58%; right: 0; top: 0; background: var(--glow-orange); }
.aurora--bl { inset: 30% 45% -12% -14%; }
.aurora--tr { inset: -14% -10% 40% 50%; }
.hero--page .aurora { opacity: 0.55; }
.aurora--full { inset: 10% -8% -10% -8%; opacity: 0.55; }
.aurora--orange::before { background: var(--glow-orange); }
.aurora--lime::after { background: var(--glow-lime); }
.blob { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(60px); z-index: 0; }
.blob--orange { background: var(--glow-orange); }
.blob--lime { background: var(--glow-lime); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-xs);
}
.card--cut { border-radius: 0; clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut-sm)); }
.card--cut-lg { border-radius: 0; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.card--soft { background: var(--bg-soft); }
.card--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.card h3, .card .h4 { margin-bottom: var(--s-3); }
.card p { color: var(--muted); }
.card > .btn, .card > .row { margin-top: var(--s-5); }
a.card { text-decoration: none; display: block; transition: transform var(--d-med) var(--ease-out), box-shadow var(--d-med) var(--ease-out); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }

/* Dark gradient card (reference: Growth plan / testimonial) */
.card--dark {
  background: var(--dark-2); color: var(--on-dark); overflow: hidden; isolation: isolate;
}
.card--dark p, .card--dark li { color: var(--on-dark-2); }
.card--dark::before, .card--dark::after { content: ""; position: absolute; border-radius: 50%; filter: blur(50px); z-index: -1; pointer-events: none; }
.card--dark::before { width: 70%; height: 55%; right: -20%; top: -10%; background: radial-gradient(circle, rgba(142,222,84,0.55), transparent 70%); }
.card--dark::after { width: 75%; height: 60%; left: -25%; bottom: -20%; background: radial-gradient(circle, rgba(255,106,38,0.7), transparent 70%); }
.card--dark .muted { color: var(--on-dark-2); }

/* Credential cells (reference: "trusted by" logo grid) */
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 760px) { .cred-grid { grid-template-columns: repeat(4, 1fr); } }
.cred {
  background: var(--bg-soft); border-radius: var(--r-sm); min-height: 108px; padding: var(--s-4);
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.7) inset, 0 12px 26px -20px rgba(17,17,17,0.3);
}
.cred strong { display: block; font-weight: 800; font-stretch: 112%; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); letter-spacing: -0.01em; line-height: 1.1; }
.cred span { display: block; font-size: var(--t-xs); color: var(--muted-2); margin-top: 4px; }

/* Numbered list (reference: "why choose") */
.num-list { list-style: none; padding: 0; }
.num-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.num-list li:first-child { padding-top: 0; }
.num-list__n {
  width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-pill);
  display: grid; place-items: center; font-size: var(--t-small); font-weight: 600; font-variant-numeric: tabular-nums;
}
.num-list h3 { font-weight: 800; font-stretch: var(--stretch-display); text-transform: uppercase; font-size: clamp(1.1rem, 0.95rem + 0.9vw, 1.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.num-list p { color: var(--muted); margin-top: var(--s-2); max-width: 54ch; }
.section--dark .num-list li { border-color: var(--dark-3); }
.section--dark .num-list__n { background: var(--dark-2); box-shadow: none; color: var(--on-dark); }

/* Check list */
.checks { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
  color: var(--ink);
}
.card--dark .checks li::before, .section--dark .checks li::before { color: var(--accent-soft); }

/* Pricing */
.price-grid { display: grid; gap: var(--s-5); align-items: stretch; }
@media (min-width: 980px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { display: flex; flex-direction: column; gap: var(--s-4); }
.price-card .h4 { font-size: 1.25rem; }
.price { font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); letter-spacing: -0.02em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.card--dark .price small { color: var(--on-dark-3); }
.price-card .checks { flex: 1; }
.price-card .btn { align-self: flex-start; margin-top: var(--s-4); }

/* Course cards */
.course-card { display: flex; flex-direction: column; gap: var(--s-3); height: 100%; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.course-card h3 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.08; letter-spacing: -0.01em; margin: var(--s-2) 0 0; }
.course-card p { flex: 1; }
.course-card__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--muted-2); }
.card--dark .course-card__foot { border-color: rgba(255,255,255,0.12); color: var(--on-dark-3); }
.course-card__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); flex: none; }
.card--dark .course-card__go { background: var(--accent); color: var(--ink); }
.course-card__go svg { width: 18px; }

/* Team cards (reference: circle backdrop + name plate) */
.team-card { background: var(--bg-soft); position: relative; padding: var(--s-5) var(--s-5) var(--s-5); text-align: center; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.team-card__photo { position: relative; width: min(100%, 260px); aspect-ratio: 1; margin: 0 auto var(--s-5); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fbfbfb, #e2e2e2 70%); box-shadow: 0 30px 50px -30px rgba(17,17,17,0.45), inset 0 0 0 1px rgba(255,255,255,0.8); overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team-card h3 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1.05rem; line-height: 1.15; }
.team-card .role { font-weight: 700; font-stretch: 112%; text-transform: uppercase; color: var(--muted-2); font-size: var(--t-xs); letter-spacing: 0.02em; margin-top: 4px; }
.team-card p.bio { text-align: left; font-size: var(--t-small); color: var(--muted); margin-top: var(--s-4); }
.team-card .creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: var(--s-4); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--white); padding: var(--s-5); border-radius: var(--r-xs); }
.stat__n { display: block; font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__l { display: block; margin-top: var(--s-2); font-size: var(--t-small); color: var(--muted); }
.stat__src { display: block; margin-top: var(--s-2); font-size: var(--t-xs); color: var(--muted-2); }
.section--dark .stat { background: var(--dark-2); }
.section--dark .stat__l { color: var(--on-dark-2); }
.section--dark .stat__src { color: var(--on-dark-3); }

/* Steps (Learn → Coach → Build) */
.steps { display: grid; gap: var(--s-3); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.step { background: var(--white); padding: var(--s-6) var(--s-5) var(--s-5); position: relative; border-radius: var(--r-xs); }
.step__n { font-size: var(--t-small); font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.step h3 { font-weight: 800; font-stretch: var(--stretch-display); text-transform: uppercase; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.05; margin: var(--s-3) 0; }
.step p { color: var(--muted); font-size: 0.95rem; }
.section--dark .step { background: var(--dark-2); }
.section--dark .step p { color: var(--on-dark-2); }
.section--dark .step__n { color: var(--accent-soft); }

/* ---------- FAQ accordion (dark, reference) ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  background: var(--dark-2); color: var(--on-dark); border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: background var(--d-med) var(--ease-out);
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5); min-height: 64px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; flex: none; transition: transform var(--d-med) var(--ease-out); }
.faq details[open] { background: var(--white); color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 var(--s-5) var(--s-5); color: var(--muted); max-width: 70ch; }
.faq--light details { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.faq--light details[open] { background: var(--white); }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: var(--t-small); color: var(--muted-2); margin-bottom: var(--s-5); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; isolation: isolate; }
.hero__title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 1fr; } }
.hero__copy .lead { color: var(--ink-2); }
.hero__copy .row { margin-top: var(--s-6); }
.hero__note { margin-top: var(--s-4); font-size: var(--t-small); color: var(--muted-2); }
.hero--page { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero--page .lead { margin-top: var(--s-5); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-4); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: var(--t-small); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.8rem 1rem;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,0.12); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-bg); }
.field .help { font-size: var(--t-xs); color: var(--muted-2); }
.field .error { font-size: var(--t-xs); color: var(--err); font-weight: 600; }
.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; font-size: var(--t-small); color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: var(--t-small); min-height: 1.4em; font-weight: 600; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--err); }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea { background: var(--dark-2); border-color: var(--dark-3); color: var(--on-dark); }
.section--dark .check { color: var(--on-dark-2); }
.section--dark .form-status.is-ok { color: #7ED99B; }
.section--dark .form-status.is-error { color: #FF9A8F; }
.form-card { background: var(--white); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-sm); box-shadow: var(--sh-card); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--r-sm); }
.table { font-size: var(--t-small); min-width: 560px; }
.table caption { text-align: left; padding: var(--s-4) var(--s-5) 0; font-weight: 700; }
.table th, .table td { text-align: left; padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 700; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }

/* ---------- Prose (articles, legal) ---------- */
.prose { max-width: var(--prose); font-size: 1.0625rem; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; margin-top: 2em; letter-spacing: -0.01em; }
.prose h3 { font-weight: 700; font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--accent-ink); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: var(--s-5); color: var(--ink); font-size: 1.15rem; }
.prose table { font-size: var(--t-small); background: var(--white); }
.prose th, .prose td { padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); text-align: left; }
.prose code { background: var(--white); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.92em; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); }

.article-head { max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; font-size: var(--t-small); color: var(--muted-2); margin-top: var(--s-5); }
.article-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.aside-card { position: sticky; top: 110px; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: var(--r-pill); background: var(--white); font-size: var(--t-small); font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-current="page"], .chip.is-active { background: var(--ink); color: var(--white); box-shadow: none; }

/* Post cards */
.post-card { display: flex; flex-direction: column; gap: var(--s-3); height: 100%; }
.post-card h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { flex: 1; font-size: 0.95rem; }
.post-card__meta { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; font-size: var(--t-xs); color: var(--muted-2); }
.post-card:hover { box-shadow: var(--sh-card); }

/* Study cards */
.study-card { display: flex; flex-direction: column; gap: var(--s-3); height: 100%; }
.study-card__cover {
  aspect-ratio: 3 / 2; margin: calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) var(--s-3);
  background: var(--dark); color: var(--on-dark); padding: var(--s-5); display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; isolation: isolate;
}
.study-card__cover::after { content: ""; position: absolute; width: 70%; height: 90%; right: -20%; bottom: -40%; border-radius: 50%; background: var(--glow-orange); filter: blur(40px); z-index: -1; }
.study-card__cover::before { content: ""; position: absolute; width: 50%; height: 70%; left: -10%; top: -30%; border-radius: 50%; background: var(--glow-lime); filter: blur(44px); z-index: -1; opacity: 0.6; }
.study-card__cover strong { font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: 1.3rem; line-height: 1.02; max-width: 14ch; }
.study-card__cover span { font-size: var(--t-xs); color: var(--on-dark-2); }
.study-card p { flex: 1; }

/* Notice */
.notice { padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); background: var(--white); box-shadow: inset 4px 0 0 var(--accent); font-size: var(--t-small); color: var(--muted); }
.notice strong { color: var(--ink); }

/* Logo marquee for brand references — text wordmarks */
.wordmarks { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: center; font-weight: 800; font-stretch: 110%; text-transform: uppercase; color: var(--muted-2); font-size: 1rem; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); padding: clamp(0.75rem, 2vw, 1.75rem) 0; }
.footer-panel { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; background: var(--bg-soft); position: relative; overflow: hidden; isolation: isolate; }
.footer-cta { padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem); text-align: center; display: grid; justify-items: center; gap: var(--s-5); }
.footer-cta .lead { margin-inline: auto; }
.footer-cta .circle-btn { margin-top: var(--s-4); }
.footer-mail {
  display: inline-flex; align-items: center; min-height: 60px; padding: 0 clamp(1.25rem, 4vw, 2.5rem); border-radius: var(--r-pill);
  background: var(--white); box-shadow: var(--sh-pill); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); text-decoration: underline; text-underline-offset: 0.25em;
}
.footer-links { background: var(--bg); padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter); display: grid; gap: var(--s-6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-links { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-links h2 { font-size: var(--t-small); font-weight: 700; margin-bottom: var(--s-3); }
.footer-links ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.footer-links a { font-size: var(--t-small); color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-about { grid-column: auto; } }
.footer-about p { font-size: var(--t-small); color: var(--muted); max-width: 34ch; margin-top: var(--s-3); }
.footer-bottom { background: var(--bg); border-top: 1px solid var(--line); padding: var(--s-5) var(--gutter); display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; font-size: var(--t-xs); color: var(--muted-2); }
.footer-bottom a { color: inherit; }

/* WhatsApp quick action */
.wa-fab {
  position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: calc(var(--z-nav) - 1);
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 1rem 0 0.75rem;
  background: var(--ink); color: var(--white); border-radius: var(--r-pill); box-shadow: var(--sh-float);
  font-size: var(--t-small); font-weight: 700; text-decoration: none;
  transform: translateY(140%); transition: transform var(--d-slow) var(--ease-out);
}
.wa-fab.is-visible { transform: none; }
.wa-fab svg { width: 22px; height: 22px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-hl .hl::before { transform: none; opacity: 1; }
}

@media print {
  .site-header, .site-footer, .wa-fab, .menu { display: none !important; }
  body { background: #fff; }
}

/* ---------- Self-check (audit) ---------- */
.diag { display: grid; gap: var(--s-3); }
.diag__item {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; text-align: left;
  background: var(--white); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); min-height: 64px;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--d-fast), background var(--d-fast);
}
.diag__item:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.diag__item strong { display: block; }
.diag__item span span { display: block; font-size: var(--t-small); color: var(--muted); margin-top: 2px; }
.diag__box { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--line-strong); display: grid; place-items: center; margin-top: 1px; }
.diag__item[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.diag__item[aria-pressed="true"] .diag__box { background: var(--ink); border-color: var(--ink); }
.diag__item[aria-pressed="true"] .diag__box::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); }
.diag__result { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: center; background: var(--dark-2); color: var(--on-dark); border-radius: var(--r-sm); padding: var(--s-5); margin-top: var(--s-3); }
.diag__result .small { color: var(--on-dark-2); }
.diag__result .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 720px) { .diag__result { grid-template-columns: auto 1fr auto; } .diag__result .btn { grid-column: auto; } }
.diag__score { font-weight: 800; font-stretch: 115%; font-size: 2.4rem; line-height: 1; min-width: 3ch; }
.diag[data-band="high"] .diag__score { color: var(--accent-soft); }
