/* Cyberfortix static site.
   Hand-written CSS that reproduces the look of the main (React + Tailwind) site:
   same tokens, fonts, spacing, hover behaviour and motion. No build step.
   Light is the default; dark applies via [data-theme="dark"], which theme.js
   resolves before first paint. */

/* ---------- Design tokens (copied from the main site) ---------- */
:root,
:root[data-theme='light'] {
  --ground: #faf9fc;
  --surface: #ffffff;
  --surface-2: #f3f1f8;
  --ink: #161320;
  --body: #484254;
  --muted: #655e75;
  --line: #e6e2ef;
  --line-strong: #d0cade;

  --violet: #805dff;
  --violet-text: #6636ee;
  --violet-deep: #5325ce;
  --violet-lift: #b7a3ff;
  --violet-wash: #f0ebff;

  --btn: #5325ce;
  --on-btn: #ffffff;

  --stage: #f1edfd;
  --stage-ink: #161320;
  --stage-body: #463f58;
  --stage-mute: #635b78;
  --stage-line: rgb(128 93 255 / 0.16);
  --stage-card: rgb(255 255 255 / 0.78);
  --stage-card-br: rgb(128 93 255 / 0.22);
  --stage-card-sh: 0 14px 34px -18px rgb(83 37 206 / 0.42);
  --stage-ghost: rgb(22 19 32 / 0.05);
  --stage-btn: #5325ce;
  --stage-btn-ink: #ffffff;
  --stage-pill-bg: rgb(128 93 255 / 0.11);
  --stage-pill-br: rgb(128 93 255 / 0.3);
  --stage-accent: #5325ce;
  --stage-glow:
    radial-gradient(680px 460px at -6% 42%, rgb(128 93 255 / 0.24), transparent 64%),
    radial-gradient(680px 460px at 106% 40%, rgb(110 139 255 / 0.2), transparent 64%),
    radial-gradient(900px 520px at 50% 116%, rgb(183 163 255 / 0.26), transparent 68%);
  --stage-rake: linear-gradient(104deg, transparent 26%, rgb(255 255 255 / 0.55) 41%, rgb(255 255 255 / 0.3) 47%, transparent 60%);
  --stage-shadow: 0 30px 80px -44px rgb(83 37 206 / 0.4), 0 2px 6px rgb(22 19 32 / 0.06);

  --shadow: 0 1px 2px rgb(22 19 32 / 0.04), 0 10px 30px -14px rgb(22 19 32 / 0.14);
  --shadow-lift: 0 2px 4px rgb(22 19 32 / 0.05), 0 18px 44px -16px rgb(83 37 206 / 0.24);

  --danger: #b42318;
  --good: #0f7b4f;
  --good-wash: #e6f5ee;

  --hero-scrim: 93%;
  --hero-scrim-w: 42%;
  --hero-scrim-h: 34%;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme='dark'] {
  --ground: #161320;
  --surface: #1e1a2b;
  --surface-2: #262135;
  --ink: #f2f0f7;
  --body: #e8e4f1;
  --muted: #bdb6cd;
  --line: #302a40;
  --line-strong: #413a54;

  --violet: #9b80ff;
  --violet-text: #a992ff;
  --violet-deep: #b7a3ff;
  --violet-lift: #c7b8ff;
  --violet-wash: rgb(155 128 255 / 0.11);

  --btn: #b7a3ff;
  --on-btn: #0b0817;

  --stage: #0b0817;
  --stage-ink: #ffffff;
  --stage-body: #e6e1f2;
  --stage-mute: #b6afca;
  --stage-line: rgb(183 163 255 / 0.16);
  --stage-card: rgb(255 255 255 / 0.06);
  --stage-card-br: rgb(255 255 255 / 0.12);
  --stage-card-sh: 0 16px 34px -18px rgb(0 0 0 / 0.7);
  --stage-ghost: rgb(255 255 255 / 0.03);
  --stage-btn: #b7a3ff;
  --stage-btn-ink: #0b0817;
  --stage-pill-bg: rgb(128 93 255 / 0.16);
  --stage-pill-br: rgb(183 163 255 / 0.3);
  --stage-accent: #b7a3ff;
  --stage-glow:
    radial-gradient(680px 460px at -6% 42%, rgb(128 93 255 / 0.42), transparent 62%),
    radial-gradient(680px 460px at 106% 40%, rgb(96 124 255 / 0.3), transparent 62%),
    radial-gradient(900px 500px at 50% 118%, rgb(183 163 255 / 0.16), transparent 66%);
  --stage-rake: linear-gradient(104deg, transparent 26%, rgb(214 200 255 / 0.11) 40%, rgb(255 255 255 / 0.05) 46%, transparent 58%);
  --stage-shadow: 0 30px 80px -44px rgb(83 37 206 / 0.55), 0 2px 6px rgb(0 0 0 / 0.4);

  --shadow: 0 1px 2px rgb(0 0 0 / 0.34), 0 10px 30px -14px rgb(0 0 0 / 0.6);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.4), 0 18px 44px -16px rgb(0 0 0 / 0.7);

  --danger: #f87171;
  --good: #5bc98f;
  --good-wash: rgb(91 201 143 / 0.1);
}

/* ---------- Base (equivalent of the Tailwind preflight the main site uses) ---------- */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--line); }
html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  background: var(--ground);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 400ms var(--ease-out-quint);
}
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; font-family: var(--font-display); color: var(--ink); text-wrap: balance; letter-spacing: -0.025em; }
a { color: inherit; text-decoration: inherit; }
ul, ol { list-style: none; }
img, svg, canvas, video, iframe { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; background: transparent; border-radius: 0; }
button { cursor: pointer; text-align: inherit; }
address { font-style: normal; }
blockquote { quotes: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-text); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--btn); color: var(--on-btn); padding: 0.75rem 1.25rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; transition: top 150ms; }
.skip-link:focus { top: 1rem; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { width: 18px; height: 18px; flex: none; fill: currentColor; stroke: none; }
.i10 { width: 10px; height: 10px; } .i11 { width: 11px; height: 11px; } .i12 { width: 12px; height: 12px; }
.i13 { width: 13px; height: 13px; } .i14 { width: 14px; height: 14px; } .i15 { width: 15px; height: 15px; }
.i16 { width: 16px; height: 16px; } .i18 { width: 18px; height: 18px; } .i19 { width: 19px; height: 19px; }
.i22 { width: 22px; height: 22px; } .i24 { width: 24px; height: 24px; } .i28 { width: 28px; height: 28px; }
.star-on { fill: var(--violet); }
.star-off { opacity: 0.25; }
.g-icon { width: 14px; height: 14px; stroke: none; }

/* ---------- Interaction timing (the main site's .cfx-t) ---------- */
.t {
  transition-property: translate, scale, rotate, transform, box-shadow, border-color, background-color, color, opacity, filter;
  transition-duration: 420ms;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}
.t:hover, .t:focus-visible, .group:hover .t {
  transition-duration: 300ms;
  transition-timing-function:
    cubic-bezier(0.34, 1.28, 0.64, 1), cubic-bezier(0.34, 1.28, 0.64, 1), cubic-bezier(0.34, 1.28, 0.64, 1), cubic-bezier(0.34, 1.28, 0.64, 1),
    cubic-bezier(0.33, 1, 0.68, 1), cubic-bezier(0.33, 1, 0.68, 1), cubic-bezier(0.33, 1, 0.68, 1), cubic-bezier(0.33, 1, 0.68, 1),
    cubic-bezier(0.33, 1, 0.68, 1), cubic-bezier(0.33, 1, 0.68, 1);
}
.tf { transition-property: color, background-color, border-color, opacity; transition-duration: 220ms; transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1); }
.tf:hover, .tf:focus-visible { transition-duration: 150ms; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }
.section { padding-block: 4rem; border-top: 1px solid var(--line); }
.section.no-border { border-top: 0; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.stack-12 { display: flex; flex-direction: column; gap: 3rem; }
.stack-10 { display: flex; flex-direction: column; gap: 2.5rem; }
.stack-8 { display: flex; flex-direction: column; gap: 2rem; }
.stack-14 { display: flex; flex-direction: column; gap: 3.5rem; }
/* Single-column grids may shrink below their content, so a long email address wraps instead of widening the page. */
.contact-grid, .about-grid, .two-col, .svc-grid, .why-grid, .tiles, .topics, .modules, .fopts, .gallery, .steps, .principles, .facts { grid-template-columns: minmax(0, 1fr); }
.crow .val, .direct a.dl, .phone-row a.num { overflow-wrap: anywhere; }

.eyebrow { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.69rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-text); }
.eyebrow::before { content: ''; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--violet); }
.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.section-head { display: flex; flex-direction: column; gap: 1rem; }
.section-head h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); line-height: 1.08; font-weight: 700; }
.lede { max-width: 62ch; font-size: 1.02rem; }
.lede a, .link { color: var(--violet-text); font-weight: 500; }
.lede a:hover, .link:hover { text-decoration: underline; }
.mono-label { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px; padding: 0.875rem 1.5rem; font-size: 0.875rem; line-height: 1.4286; font-weight: 500; cursor: pointer; }
.btn:hover { translate: 0 -2px; }
.btn:active { translate: 0 0; }
.btn-primary { background: var(--btn); color: var(--on-btn); box-shadow: 0 10px 26px -12px var(--btn); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet-text); }
.btn-stage { background: var(--stage-btn); color: var(--stage-btn-ink); box-shadow: 0 10px 26px -12px var(--stage-btn); }
.btn-stage:hover { filter: brightness(1.1); }
.btn-stage-ghost { border: 1px solid var(--stage-card-br); background: var(--stage-card); color: var(--stage-ink); }
.btn-stage-ghost:hover { border-color: var(--stage-btn); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: all 300ms var(--ease-out-quint); }
.site-header.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--ground) 85%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 5rem; transition: all 300ms var(--ease-out-quint); }
.scrolled .header-row { height: 4rem; }
.brand { display: block; }
.brand:hover { opacity: 0.8; }
.logo { height: 34px; width: auto; object-fit: contain; transition: height 300ms var(--ease-out-quint); }
.scrolled .logo { height: 30px; }
.logo-dark { display: none; }
:root[data-theme='dark'] .logo-light { display: none; }
:root[data-theme='dark'] .logo-dark { display: block; }

.nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
@media (min-width: 1280px) { .nav { gap: 2rem; } }
.nav a { position: relative; font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -0.375rem; height: 2px; width: 100%; border-radius: 999px; background: var(--violet); transform-origin: left; transform: scaleX(0); opacity: 0; transition: transform 420ms cubic-bezier(0.33, 1, 0.68, 1), opacity 420ms cubic-bezier(0.33, 1, 0.68, 1); }
.nav a[aria-current]::after { transform: scaleX(1); opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle { position: relative; width: 3.5rem; height: 2rem; flex: none; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); cursor: pointer; }
.theme-toggle:hover { border-color: var(--violet); }
.theme-toggle .knob { position: absolute; top: 3px; left: 3px; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--btn); color: var(--on-btn); transition: transform 300ms var(--ease-out-quint); }
.theme-toggle .knob .i-moon { display: none; }
:root[data-theme='dark'] .theme-toggle .knob { transform: translateX(24px); }
:root[data-theme='dark'] .theme-toggle .knob .i-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .knob .i-moon { display: block; }
.nav-cta { display: none; border-radius: 999px; background: var(--btn); color: var(--on-btn); padding: 0.625rem 1.25rem; font-size: 0.875rem; line-height: 1.4286; font-weight: 500; }
.nav-cta:hover { translate: 0 -2px; filter: brightness(1.1); }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

.menu-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.menu-btn:hover { border-color: var(--violet); }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded='true'] .i-menu { display: none; }
.menu-btn[aria-expanded='true'] .i-close { display: block; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--ground); }
.site-header[data-open='true'] .mobile-nav { display: block; }
@media (min-width: 1024px) { .site-header[data-open='true'] .mobile-nav { display: none; } }
.mobile-nav .wrap { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 1rem; }
.mobile-nav a.m-link { display: flex; align-items: center; justify-content: space-between; border-radius: 0.5rem; padding: 0.875rem 0.75rem; font-family: var(--font-display); font-size: 1rem; line-height: 1.5; font-weight: 600; color: var(--ink); }
.mobile-nav a.m-link:hover { background: var(--surface-2); }
.mobile-nav a.m-link[aria-current] { background: var(--violet-wash); color: var(--violet-text); }
.mobile-nav a.m-link[aria-current]::after { content: ''; width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--violet); }
.mobile-nav .m-cta { margin-top: 0.5rem; border-radius: 999px; background: var(--btn); color: var(--on-btn); padding: 0.875rem 1.25rem; text-align: center; font-size: 0.875rem; line-height: 1.4286; font-weight: 500; }
.mobile-nav .m-cta:hover { filter: brightness(1.1); }
body.menu-open { overflow: hidden; }

/* Without JavaScript the header scrolls away with the page and lists its links inline. */
html:not(.js) .site-header { position: absolute; left: 0; right: 0; }
html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
html:not(.js) .menu-btn, html:not(.js) .theme-toggle { display: none; }

/* ---------- Stage (hero / training panel treatment) ---------- */
.stage { position: relative; isolation: isolate; overflow: hidden; background-color: var(--stage); background-image: var(--stage-glow); transition: background-color 500ms; }
.stage::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55; background-image: linear-gradient(var(--stage-line) 1px, transparent 1px), linear-gradient(90deg, var(--stage-line) 1px, transparent 1px); background-size: 58px 58px; -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000, transparent 76%); mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000, transparent 76%); }
.stage::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; background: var(--stage-rake); }
.stage-card { border-radius: 1rem; box-shadow: var(--stage-shadow); }
.stage-in { position: relative; z-index: 1; }
.ghost { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; pointer-events: none; user-select: none; font-family: var(--font-display); font-size: clamp(6rem, 20vw, 15rem); line-height: 1; font-weight: 900; white-space: nowrap; font-stretch: 70%; letter-spacing: -0.04em; color: var(--stage-ghost); }
.pill { display: inline-flex; align-items: center; align-self: flex-start; border-radius: 999px; border: 1px solid var(--stage-pill-br); background: var(--stage-pill-bg); color: var(--stage-accent); padding: 0.5rem 1rem; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.stage-eyebrow { display: inline-flex; align-items: center; align-self: flex-start; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stage-accent); }
.stage-eyebrow::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: currentColor; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.orb { position: absolute; top: 56%; left: 50%; z-index: 0; aspect-ratio: 1; width: min(1180px, 150%); translate: -50% -50%; opacity: 0.6; pointer-events: none; }
@media (min-width: 1024px) { .orb { opacity: 1; } }
.hero-scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse var(--hero-scrim-w) var(--hero-scrim-h) at 50% 44%, color-mix(in srgb, var(--stage) var(--hero-scrim), transparent) 35%, transparent 63%); }
.hero-wrap { display: flex; flex: 1; flex-direction: column; width: 100%; max-width: 1560px; margin-inline: auto; padding: 6rem 1.25rem 1.5rem; }
@media (min-width: 768px) { .hero-wrap { padding: 7rem 2rem 2rem; } }
@media (max-height: 900px) { .hero-wrap { padding-top: 86px; padding-bottom: 0.75rem; } }
@media (max-height: 690px) { .hero-wrap { padding-top: 82px; } }
.hero-grid { position: relative; z-index: 1; display: grid; flex: 1; align-items: stretch; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 1.5rem; }
@media (min-width: 768px) { .hero-grid { gap: 1rem; padding-block: 2rem; } }
@media (max-height: 900px) { .hero-grid { gap: 0.625rem; padding-block: 0.5rem; } }
.hero-copy { grid-column: span 2; margin-bottom: 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (max-height: 900px) { .hero-copy { gap: 0.75rem; } }
.rail { display: contents; }
.hero-copy .pill { align-self: center; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .hero-copy .pill { margin-bottom: 1.25rem; } }
@media (max-height: 900px) { .hero-copy .pill { margin-bottom: 0.5rem; padding-block: 0.375rem; } }
.hero-copy h1 { font-size: clamp(1.75rem, 4.2vw, 3rem); line-height: 0.95; font-weight: 800; text-transform: uppercase; font-stretch: 70%; letter-spacing: -0.018em; color: var(--stage-ink); }
@media (max-height: 900px) { .hero-copy h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); } }
.hero-copy h1 span { display: block; color: var(--stage-accent); }
.hero-copy p { max-width: 46ch; font-size: 0.95rem; line-height: 1.625; color: var(--stage-body); }
.hero-copy .btn-row { margin-top: 0.25rem; justify-content: center; }
@media (max-height: 900px) { .hero-copy .btn { padding-block: 0.75rem; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 320px minmax(0, 620px) 320px; align-items: center; justify-content: space-between; gap: 2rem; }
  .hero-copy { grid-column: auto; order: 2; margin-bottom: 0; }
  .rail { display: flex; flex-direction: column; gap: 1rem; }
  .rail-l { order: 1; } .rail-r { order: 3; }
}
@media (min-width: 1024px) and (max-height: 900px) { .rail { gap: 0.5rem; } .hero-grid { padding-block: 0.5rem; } }
@media (min-width: 1280px) { .hero-grid { grid-template-columns: 340px minmax(0, 660px) 340px; } }

.hero-card { display: flex; min-width: 0; flex-direction: column; gap: 0.5rem; border-radius: 0.75rem; border: 1px solid var(--stage-card-br); background: var(--stage-card); padding: 0.875rem; }
@media (min-width: 768px) { .hero-card { gap: 0.625rem; padding: 1rem; } }
@media (max-height: 900px) { .hero-card { gap: 0.375rem; padding: 0.625rem 0.75rem; } }
.hero-card:hover { scale: 1.03; box-shadow: 0 18px 38px -20px rgb(83 37 206 / 0.55); }
.hero-card .ibox { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; border: 1px solid var(--stage-pill-br); background: var(--stage-pill-bg); color: var(--stage-accent); }
@media (max-height: 900px) { .hero-card .ibox { width: 2rem; height: 2rem; } }
.hero-card:hover .ibox { background: var(--stage-btn); color: var(--stage-btn-ink); }
.hero-card h2 { font-size: 0.88rem; line-height: 1.25; font-weight: 600; color: var(--stage-ink); }
.hero-card p { display: none; font-size: 0.74rem; line-height: 1.375; color: var(--stage-mute); }
@media (min-width: 640px) { .hero-card p { display: block; } }
@media (max-height: 900px) { .hero-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } }
@media (max-height: 690px) { .hero-card p { -webkit-line-clamp: 1; } }
@media (max-width: 639px) { .hero-card p { display: none; } }
.hero-card .go { display: none; place-items: center; align-self: flex-end; margin-top: auto; width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 1px solid var(--stage-card-br); color: var(--stage-body); }
@media (min-width: 640px) { .hero-card .go { display: grid; } }
.hero-card:hover .go { translate: 4px 0; }

.hero-in { animation: heroIn 460ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.d60 { animation-delay: 60ms; } .d130 { animation-delay: 130ms; } .d200 { animation-delay: 200ms; } .d270 { animation-delay: 270ms; }
.d260 { animation-delay: 260ms; } .d340 { animation-delay: 340ms; } .d420 { animation-delay: 420ms; }
.d320 { animation-delay: 320ms; } .d400 { animation-delay: 400ms; } .d480 { animation-delay: 480ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal (final state is the default) ---------- */
.reveal { opacity: 1; transform: none; }
.reveal[data-armed='true'] { opacity: 0; transform: translateY(18px); }
.reveal[data-shown='true'] { opacity: 1; transform: none; transition: opacity 380ms var(--ease-out-quint), transform 380ms var(--ease-out-quint); transition-delay: var(--reveal-delay, 0ms); }

/* ---------- Cards (generic) ---------- */
.card-box { border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.ibox-violet { display: grid; place-items: center; flex: none; border-radius: 0.75rem; background: var(--violet-wash); color: var(--violet-text); }

/* ---------- About ---------- */
.two-tone { max-width: 28ch; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.22; font-weight: 700; letter-spacing: -0.03em; color: var(--muted); }
@media (min-width: 640px) { .two-tone { max-width: 46ch; } }
.two-tone strong { color: var(--ink); font-weight: inherit; }
.about-grid { display: grid; gap: 2.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; } }
.who { display: flex; flex-direction: column; gap: 1.25rem; }
.who .p1 { font-size: 0.98rem; color: var(--body); }
.who .p2 { font-size: 0.98rem; color: var(--muted); }
.where { display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-strong); padding: 0.375rem 0.875rem; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.chip.primary { border-color: var(--violet); font-weight: 600; color: var(--violet-text); }
.where p { font-size: 0.95rem; color: var(--muted); }
.legal { padding-top: 0.25rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.creds-card { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
.creds-card .head { display: flex; flex-direction: column; gap: 0.5rem; }
.creds-card .head p { font-size: 0.88rem; color: var(--muted); }
.creds { display: flex; flex-direction: column; gap: 0.625rem; }
.creds li { display: flex; align-items: baseline; gap: 0.75rem; }
.creds b { flex: none; width: 5.5rem; border-radius: 0.375rem; background: var(--violet-wash); padding: 0.25rem 0.5rem; text-align: center; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.04em; color: var(--violet-text); }
.creds span { font-size: 0.85rem; color: var(--muted); }
.exp { display: flex; flex-direction: column; gap: 0.25rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.exp dt { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.exp dd { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.333; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.exp sup { margin-left: 0.25rem; vertical-align: super; font-family: var(--font-mono); font-size: 0.875rem; font-weight: 400; color: var(--violet-text); }
.exp small { margin-left: 0.5rem; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.two-col { display: grid; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.two-col > div > div { display: flex; flex-direction: column; gap: 0.75rem; }
.two-col p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Services ---------- */
.svc-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-grid > .reveal { height: 100%; }
.svc { position: relative; display: flex; height: 100%; flex-direction: column; gap: 1rem; overflow: hidden; padding: 1.5rem; scroll-margin-top: 7rem; }
.svc::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms; background: radial-gradient(420px circle at 88% -10%, var(--violet-wash), transparent 62%); }
.svc:hover { translate: 0 -6px; border-color: var(--violet); box-shadow: var(--shadow-lift); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc .ibox-violet { width: 2.75rem; height: 2.75rem; }
.svc:hover .ibox-violet { background: var(--violet); color: #fff; }
.svc .txt { display: flex; flex-direction: column; gap: 0.5rem; }
.svc h3 { font-size: 1.05rem; line-height: 1.375; font-weight: 600; color: var(--ink); }
.svc .txt p { font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
.covers { margin-top: 0.25rem; display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.covers li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.82rem; color: var(--muted); }
.covers .icon { margin-top: 0.25rem; color: var(--violet-text); }
.get { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.82rem; line-height: 1.375; color: var(--ink); }
.get span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-text); }

/* ---------- Approach ---------- */
.process { position: relative; --p: 1; }
.rail-bg, .rail-fill { position: absolute; top: 1.5rem; left: 1.5rem; width: 2px; border-radius: 999px; }
.rail-bg { height: calc(100% - 3rem); background: var(--line); }
.rail-fill { height: calc((100% - 3rem) * var(--p)); background: var(--violet); transform-origin: top; transition: height 500ms ease-out, width 500ms ease-out; }
.steps { display: grid; gap: 2.5rem; }
.step { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; }
.step .sicon { position: relative; z-index: 1; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; border: 2px solid var(--line); background: var(--surface); color: var(--muted); scale: 0.95; transition: all 400ms var(--ease-out-quint); }
.step.is-active .sicon { scale: 1; border-color: var(--violet); background: var(--violet); color: #fff; box-shadow: 0 10px 26px -12px var(--violet); }
.step .stxt { display: flex; flex-direction: column; gap: 0.5rem; }
.step .sh { display: flex; align-items: baseline; gap: 0.625rem; }
.step .num { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--violet-text); }
.step h3 { font-size: 1.125rem; line-height: 1.556; font-weight: 600; color: var(--ink); }
.step p { font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
@media (min-width: 768px) {
  .rail-bg { left: 0; width: 100%; height: 2px; }
  .rail-fill { left: 0; height: 2px; width: calc(100% * var(--p)); transform-origin: left; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .step { display: block; }
  .step .sicon { margin-bottom: 1.5rem; }
  .step .stxt { padding-right: 1rem; }
}

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why-grid > .reveal { height: 100%; }
.why { display: flex; height: 100%; align-items: flex-start; gap: 1rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); padding: 1.25rem; }
.why:hover { translate: 0 -4px; border-color: var(--violet); box-shadow: var(--shadow-lift); }
.why .ibox-violet { width: 2.5rem; height: 2.5rem; }
.why .txt { display: flex; flex-direction: column; gap: 0.375rem; }
.why h3 { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.why p { font-size: 0.85rem; color: var(--muted); }
.panel { border-radius: 1rem; border: 1px solid var(--line); background: var(--surface-2); padding: 1.5rem; }
@media (min-width: 768px) { .panel { padding: 2.5rem; } }
.panel-in { display: flex; flex-direction: column; gap: 2rem; }
.panel-head { display: flex; flex-direction: column; gap: 0.75rem; }
.panel-head .mono-label { font-size: 0.66rem; letter-spacing: 0.14em; }
.panel-head h3 { max-width: 30ch; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.25; font-weight: 700; color: var(--ink); }
.principles { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.principles li { display: flex; gap: 1rem; }
.principles .n { font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.5rem; color: var(--violet-text); font-variant-numeric: tabular-nums; }
.principles div { display: flex; flex-direction: column; gap: 0.25rem; }
.principles h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.principles p { font-size: 0.85rem; color: var(--muted); }

/* ---------- Training preview panel ---------- */
.tp { padding-block: 4rem; }
@media (min-width: 768px) { .tp { padding-block: 6rem; } }
.tp .stage { padding: 1.5rem; }
@media (min-width: 768px) { .tp .stage { padding: 3rem; } }
.tp-in { display: flex; flex-direction: column; gap: 2.5rem; }
.tp-head { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .tp-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.tp-head .l { display: flex; flex-direction: column; gap: 1rem; }
.tp-head h2 { max-width: 20ch; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; font-weight: 800; text-transform: uppercase; font-stretch: 82%; letter-spacing: -0.03em; color: var(--stage-ink); }
.tp-head p { max-width: 52ch; font-size: 0.95rem; color: var(--stage-body); }
.tp-head .btn { flex: none; }
.tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--stage-card-br); background: var(--stage-card); padding: 1.25rem; }
.tile:hover { translate: 0 -6px; box-shadow: 0 18px 38px -20px rgb(0 0 0 / 0.45); }
.tile .ibox { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; border: 1px solid var(--stage-pill-br); background: var(--stage-pill-bg); color: var(--stage-accent); }
.tile:hover .ibox { background: var(--stage-btn); color: var(--stage-btn-ink); }
.tile h3 { font-size: 0.98rem; line-height: 1.375; font-weight: 600; color: var(--stage-ink); }
.tile p { font-size: 0.8rem; color: var(--stage-mute); }
.tile .more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.375rem; padding-top: 0.25rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stage-accent); }
.tile:hover .more { translate: 4px 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.contact-l { display: flex; height: 100%; flex-direction: column; gap: 2rem; }
.crow { display: grid; grid-template-columns: 3rem 1fr; align-items: start; gap: 1rem; border-bottom: 1px solid var(--line); padding-block: 1.25rem; }
.crow:last-child { border-bottom: 0; }
.crow .ibox { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--violet); color: #fff; box-shadow: 0 8px 20px -10px var(--violet); }
.crow .label { display: block; margin-bottom: 0.375rem; font-family: var(--font-mono); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crow .val { font-size: 0.96rem; line-height: 1.625; font-weight: 500; color: var(--ink); }
.crow .val a { display: block; }
.crow .val a:hover { color: var(--violet-text); }
.crow .val small { display: block; font-size: 0.9rem; font-weight: 400; color: var(--body); }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social-pill { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0.625rem 1rem; font-size: 0.875rem; line-height: 1.4286; font-weight: 500; color: var(--ink); }
.social-pill:hover { translate: 0 -2px; border-color: var(--violet); }
.social-pill .icon-fill { width: 15px; height: 15px; color: var(--violet-text); }
.map { position: relative; margin-top: auto; min-height: 300px; overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
.contact-r { padding: 1.5rem; }
@media (min-width: 768px) { .contact-r { padding: 2rem; } }
.contact-r .in { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-r h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--ink); }
.contact-r .in > p { font-size: 0.9rem; color: var(--muted); }
.direct { display: flex; flex-direction: column; gap: 0.75rem; }
.direct-label { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-text); }
.direct a.dl { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--ground); padding: 1rem; font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.direct a.dl:hover { translate: 0 -2px; border-color: var(--violet); box-shadow: var(--shadow); }
.direct a.dl .icon:first-child { color: var(--violet-text); }
.direct a.dl .go { margin-left: auto; color: var(--muted); }
.direct a.dl:hover .go { color: var(--violet-text); translate: 4px 0; }
.phone-row { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--ground); padding: 0.5rem 0.5rem 0.5rem 1rem; }
.phone-row a.num { font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.phone-row a.num:hover { color: var(--violet-text); }
.phone-row .icon { color: var(--violet-text); }
.phone-row a.wa-btn { margin-left: auto; border-radius: 999px; border: 1px solid var(--line-strong); padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 500; color: var(--ink); }
.phone-row a.wa-btn:hover { border-color: var(--violet); color: var(--violet-text); }
.small-note { font-size: 0.75rem; line-height: 1.333; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); }
.site-footer > .wrap { padding-block: 4rem; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .brand { align-self: flex-start; }
.footer-brand .logo { height: 38px; }
.footer-brand p { max-width: 34ch; font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
.footer-socials { margin-top: 0.25rem; display: flex; gap: 0.5rem; }
.footer-socials a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--surface); color: var(--violet-text); }
.footer-socials a:hover { translate: 0 -2px; border-color: var(--violet); }
.fcol { display: flex; flex-direction: column; gap: 0.75rem; }
.fcol h3 { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.fcol .links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.fl { font-size: 0.875rem; line-height: 1.4286; color: var(--muted); transition: color 170ms var(--ease-out-quint); }
.fl:hover { color: var(--violet-text); }
.fl.strong { font-weight: 500; color: var(--violet-text); }
.fl.addr { padding-top: 0.25rem; line-height: 1.625; }
.footer-bottom { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .dom { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: #1ea952; color: #fff; box-shadow: 0 10px 30px -8px rgb(30 169 82 / 0.6); margin-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 768px) { .wa-float { right: 1.75rem; bottom: 1.75rem; } }
.wa-float:hover { scale: 1.05; filter: brightness(1.05); }
.wa-float .tip { position: absolute; right: 100%; margin-right: 0.75rem; display: none; border-radius: 999px; background: var(--ink); color: var(--ground); padding: 0.5rem 0.75rem; font-size: 0.75rem; line-height: 1.333; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 200ms; }
@media (min-width: 768px) { .wa-float .tip { display: block; } }
.wa-float:hover .tip { opacity: 1; }

/* ---------- Page heroes (training, blog) ---------- */
.page-top { padding-top: 5rem; }
@media (min-width: 768px) { .page-top { padding-top: 6rem; } }
.page-top .stage { padding: 1.5rem; }
@media (min-width: 768px) { .page-top .stage { padding: 3rem; } }
@media (min-width: 768px) { .page-top .stage.roomy { padding: 3.5rem; } }
.page-hero-in { display: flex; flex-direction: column; gap: 2rem; padding-block: 1.5rem; }
@media (min-width: 768px) { .page-hero-in { padding-block: 2.5rem; } }
.page-hero-in .head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.page-hero-in h1 { max-width: 16ch; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 0.96; font-weight: 800; text-transform: uppercase; font-stretch: 78%; letter-spacing: -0.03em; color: var(--stage-ink); }
.page-hero-in.blog h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 0.94; }
.page-hero-in p { max-width: 54ch; font-size: 1rem; color: var(--stage-body); }
.page-hero-in.blog p { font-size: 0.98rem; }

/* ---------- Training: course rows ---------- */
.courses { display: flex; flex-direction: column; gap: 1rem; }
.course { overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 7rem; }
.course:hover { border-color: color-mix(in srgb, var(--violet) 60%, transparent); }
.course-top { display: grid; gap: 1.25rem; padding: 1.5rem; }
@media (min-width: 768px) { .course-top { grid-template-columns: auto 1fr auto; align-items: start; gap: 1.5rem; padding: 1.75rem; } }
.course-top .cicon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--violet-wash); color: var(--violet-text); }
.course .cbody { display: flex; min-width: 0; flex-direction: column; gap: 0.75rem; }
.course .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.course .idx { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 999px; border: 1px solid; padding: 0.25rem 0.625rem; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; }
.badge.foundation { border-color: color-mix(in srgb, var(--good) 40%, transparent); background: var(--good-wash); color: var(--good); }
.badge.intermediate { border-color: color-mix(in srgb, var(--violet) 40%, transparent); background: var(--violet-wash); color: var(--violet-text); }
.badge.advanced { border-color: color-mix(in srgb, #b45309 40%, transparent); background: #fef3e2; color: #b45309; }
:root[data-theme='dark'] .badge.advanced { border-color: color-mix(in srgb, #fbbf24 40%, transparent); background: rgb(251 191 36 / 0.1); color: #fbbf24; }
.badge.csp { border-color: color-mix(in srgb, var(--violet) 40%, transparent); color: var(--violet-text); }
.badge.new { border-color: var(--violet); background: var(--violet); color: #fff; }
.course .ctitle { display: flex; flex-direction: column; gap: 0.375rem; }
.course h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.25; font-weight: 700; color: var(--ink); }
.course .tag { max-width: 56ch; font-size: 0.92rem; color: var(--muted); }
.cmeta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); }
.cmeta div { display: flex; align-items: center; gap: 0.375rem; }
.cmeta .icon { color: var(--violet-text); }
.cactions { display: flex; flex: none; flex-direction: column; gap: 0.625rem; }
@media (min-width: 768px) { .cactions { width: 190px; } }
.cactions .btn { padding: 0.75rem 1.25rem; }
.cactions .btn-primary { box-shadow: none; }
.syl-toggle .chev { transition: rotate 420ms cubic-bezier(0.33, 1, 0.68, 1); }
.syl-toggle[aria-expanded='true'] .chev { rotate: 90deg; }
html:not(.js) .syl-toggle { display: none; }
.course-panel { border-top: 1px solid var(--line); background: var(--surface-2); padding: 1.75rem 1.5rem; }
@media (min-width: 768px) { .course-panel { padding-inline: 1.75rem; } }
.course-panel .inner { display: flex; flex-direction: column; gap: 1.75rem; }
.course-panel .sec { display: flex; flex-direction: column; gap: 0.75rem; }
.course-panel .sec.big { gap: 1rem; }
.course-panel h4 { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-text); }
.outcomes { display: flex; flex-direction: column; gap: 0.5rem; }
.outcomes li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.88rem; color: var(--body); }
.outcomes .icon { margin-top: 0.125rem; color: var(--violet-text); }
.modules { display: grid; gap: 1rem; }
@media (min-width: 768px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.module { display: flex; flex-direction: column; gap: 0.625rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--surface); padding: 1.25rem; }
.module .mh { display: flex; align-items: baseline; gap: 0.625rem; }
.module .mn { font-family: var(--font-mono); font-size: 0.66rem; color: var(--violet-text); font-variant-numeric: tabular-nums; }
.module h5 { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.module ul { display: flex; flex-direction: column; gap: 0.375rem; border-left: 1px solid var(--line); padding-left: 1rem; }
.module li { font-size: 0.82rem; line-height: 1.375; color: var(--muted); }

/* ---------- Training: CSP ---------- */
.csp { overflow: hidden; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--violet) 30%, transparent); background: var(--surface); box-shadow: var(--shadow-lift); }
.csp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 1.5rem; }
@media (min-width: 768px) { .csp-grid { padding: 2.5rem; } }
@media (min-width: 1024px) { .csp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; } }
.csp-l { display: flex; flex-direction: column; gap: 1.5rem; }
.csp-l > p { font-size: 0.98rem; color: var(--body); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { display: flex; flex-direction: column; gap: 0.375rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--ground); padding: 1rem; }
.fact dt { display: flex; align-items: center; gap: 0.375rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fact dt .icon { color: var(--violet-text); }
.fact dd { font-family: var(--font-display); font-size: 0.95rem; line-height: 1.375; font-weight: 600; color: var(--ink); }
.path { position: relative; display: flex; flex-direction: column; gap: 0.75rem; }
.path::before { content: ''; position: absolute; top: 1.5rem; bottom: 1.5rem; left: 1.35rem; width: 1px; background: linear-gradient(to bottom, var(--violet), color-mix(in srgb, var(--violet) 50%, transparent), transparent); }
.path a { position: relative; display: flex; align-items: center; gap: 1rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--ground); padding: 1rem; }
.path a:hover { translate: 0 -2px; border-color: var(--violet); box-shadow: var(--shadow); }
.path .pn { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 2px solid var(--violet); background: var(--surface); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; color: var(--violet-text); }
.path .pt { display: flex; min-width: 0; flex-direction: column; }
.path .pt b { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.path .pt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8rem; color: var(--muted); }
.path .go { margin-left: auto; flex: none; color: var(--muted); }
.path a:hover .go { translate: 4px 0; color: var(--violet-text); }
.csp-foot { border-top: 1px solid var(--line); background: var(--surface-2); padding: 1rem 1.5rem; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 768px) { .csp-foot { padding-inline: 2.5rem; } }

/* ---------- Training: track finder ---------- */
html:not(.js) .needs-js { display: none; }
.finder { overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.finder-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); padding: 1rem 1.5rem; }
.finder-bar .t1 { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-text); }
.dots { display: flex; align-items: center; gap: 0.375rem; }
.dot { height: 0.375rem; width: 0.75rem; border-radius: 999px; background: var(--line); transition: all 420ms cubic-bezier(0.33, 1, 0.68, 1); }
.dot.now { width: 1.75rem; background: color-mix(in srgb, var(--violet) 35%, transparent); }
.dot.done { width: 1.75rem; background: var(--violet); }
.finder-body { padding: 1.5rem; }
@media (min-width: 768px) { .finder-body { padding: 2rem; } }
.fq { display: flex; flex-direction: column; gap: 1.5rem; }
.fq .qh { display: flex; flex-direction: column; gap: 0.375rem; }
.fq .qn { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--muted); }
.fq h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--ink); }
.fopts { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .fopts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fopt { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--ground); padding: 1rem; text-align: left; cursor: pointer; }
.fopt:hover { translate: 0 -2px; border-color: var(--violet); box-shadow: var(--shadow); }
.fopt b { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.fopt span { font-size: 0.8rem; color: var(--muted); }
.fback { align-self: flex-start; font-size: 0.875rem; line-height: 1.4286; color: var(--muted); cursor: pointer; }
.fback:hover { color: var(--ink); }
.fres { display: flex; flex-direction: column; gap: 1.25rem; }
.fres .kicker { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fres .rrow { display: flex; align-items: flex-start; gap: 1rem; }
.fres .ricon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--violet); color: #fff; }
.fres .rtxt { display: flex; flex-direction: column; gap: 0.25rem; }
.fres h3 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.25; font-weight: 700; color: var(--ink); }
.fres .rtxt p { max-width: 46ch; font-size: 0.92rem; color: var(--muted); }
.fres .meta { margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-text); }
.fres .fine { font-size: 0.8rem; color: var(--muted); }

/* ---------- Training: gallery + lightbox ---------- */
.gallery { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); } }
.gal { position: relative; display: block; overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.gal:hover { translate: 0 -4px; box-shadow: var(--shadow-lift); }
@media (min-width: 1024px) { .gal.g1 { grid-column: span 2; grid-row: span 2; } .gal.g4 { grid-column: span 2; } }
.gal img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal:hover img { scale: 1.04; }
.gal .shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms; background: linear-gradient(to top, rgb(11 8 23 / 0.7), transparent 50%); }
.gal:hover .shade { opacity: 1; }
.gal .zoom { position: absolute; right: 0.75rem; bottom: 0.75rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: rgb(255 255 255 / 0.9); color: #0b0817; pointer-events: none; opacity: 0; translate: 0 0.5rem; transition: all 300ms; }
.gal:hover .zoom { opacity: 1; translate: 0 0; }
.lightbox { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: rgb(11 8 23 / 0.92); padding: 1rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { max-height: 74vh; width: auto; max-width: 100%; border-radius: 1rem; object-fit: contain; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5); }
.lightbox .cap { max-width: 60ch; text-align: center; font-size: 0.875rem; line-height: 1.4286; color: #d8d2e8; }
.lightbox .ctrl { display: flex; align-items: center; gap: 0.5rem; }
.lightbox .count { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: #948cab; font-variant-numeric: tabular-nums; }
.lb-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.2); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / 0.1); }
.lb-btn.prev .icon { rotate: 180deg; }
.lb-close { position: absolute; top: 1.25rem; right: 1.25rem; }

/* ---------- Training: reviews ---------- */
.reviews { display: flex; flex-direction: column; gap: 1.5rem; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.rv-avg { display: flex; align-items: center; gap: 0.75rem; }
.stars { display: flex; gap: 0.125rem; color: var(--violet); }
.stars .icon { width: 14px; height: 14px; }
.rv-avg .stars .icon { width: 16px; height: 16px; }
.rv-avg p { font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
.rv-avg b { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.rv-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; line-height: 1.4286; font-weight: 500; color: var(--violet-text); }
.rv-link:hover { text-decoration: underline; }
.marquee { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-live { overflow: hidden; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 1rem; padding-block: 0.25rem; }
.marquee.is-live .marquee-track { animation: marquee var(--marquee-d, 77s) linear infinite; }
.marquee.is-live:hover .marquee-track, .marquee.is-live:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 0.5rem)); } }
.rcard { display: flex; width: 19rem; flex: none; scroll-snap-align: start; flex-direction: column; gap: 1rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .rcard { width: 22rem; } }
.rcard:hover { translate: 0 -4px; border-color: color-mix(in srgb, var(--violet) 60%, transparent); box-shadow: var(--shadow-lift); }
.rcard .top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.rcard .who2 { display: flex; align-items: center; gap: 0.75rem; }
.rcard .av { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--violet-wash); font-family: var(--font-display); font-size: 0.875rem; line-height: 1.4286; font-weight: 700; color: var(--violet-text); }
.rcard .nm { font-family: var(--font-display); font-size: 0.92rem; line-height: 1.25; font-weight: 600; color: var(--ink); }
.rcard .gbadge { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.rcard blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; font-size: 0.88rem; line-height: 1.625; color: var(--body); }
.rv-note { font-size: 0.75rem; line-height: 1.333; color: var(--muted); }

/* ---------- Training: final CTA ---------- */
.cta-band { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface-2); padding: 2rem; }
@media (min-width: 768px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; } }
.cta-band .l { display: flex; flex-direction: column; gap: 0.5rem; }
.cta-band h2 { font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; font-weight: 700; color: var(--ink); }
.cta-band p { max-width: 52ch; font-size: 0.94rem; color: var(--muted); }
.cta-band p a { color: var(--violet-text); font-weight: 500; }
.cta-band p a:hover { text-decoration: underline; }

/* ---------- Blog ---------- */
.topics { display: grid; gap: 1rem; }
@media (min-width: 768px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.topics > .reveal { height: 100%; }
.topic { display: flex; height: 100%; flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
.topic .ibox-violet { width: 2.75rem; height: 2.75rem; }
.topic h2 { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.topic p { font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
.notify { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface-2); padding: 1.5rem; }
@media (min-width: 768px) { .notify { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem; } }
.notify .l { display: flex; flex-direction: column; gap: 0.375rem; }
.notify h2 { font-size: 1.125rem; line-height: 1.556; font-weight: 700; color: var(--ink); }
.notify p { max-width: 52ch; font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
.notify .btn { flex: none; }
.after-note { font-size: 0.875rem; line-height: 1.4286; color: var(--muted); }
.after-note a { font-weight: 500; color: var(--violet-text); }
.after-note a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.nf { padding-top: 9rem; padding-bottom: 6rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; min-height: 70vh; }
.nf h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; font-weight: 800; }
.nf p { max-width: 54ch; }
.nf p a:not(.btn) { color: var(--violet-text); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-in { animation: none; }
  .reveal[data-armed='true'] { opacity: 1; transform: none; }
}

/* ---------- Long-form landing pages and FAQ ---------- */
.page-hero-in.lp h1 { max-width: 22ch; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.quick { display: flex; flex-direction: column; gap: 0.75rem; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--violet) 30%, transparent); background: var(--surface); box-shadow: var(--shadow-lift); padding: 1.5rem; }
@media (min-width: 768px) { .quick { padding: 2rem 2.5rem; } }
.quick h2 { font-size: 1.15rem; line-height: 1.4; font-weight: 700; color: var(--ink); }
.quick p { max-width: 75ch; font-size: 1rem; color: var(--body); }
.prose { display: flex; max-width: 72ch; flex-direction: column; gap: 1rem; }
.prose p { font-size: 1rem; color: var(--body); }
.prose a, .ans a, .quick a { color: var(--violet-text); font-weight: 500; }
.prose a:hover, .ans a:hover, .quick a:hover { text-decoration: underline; }
.defs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) { .defs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.defs div { display: flex; flex-direction: column; gap: 0.375rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--surface); padding: 1.25rem; }
.defs dt { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.defs dd { font-size: 0.88rem; color: var(--muted); }
.cmp-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9rem; line-height: 1.5; }
.cmp th, .cmp td { padding: 0.875rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--surface-2); font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-text); }
.cmp tbody th { font-family: var(--font-display); font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp td { color: var(--muted); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { border-radius: 0.75rem; border: 1px solid var(--line); background: var(--surface); }
.faq details[open] { border-color: color-mix(in srgb, var(--violet) 40%, transparent); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: rotate 420ms cubic-bezier(0.33, 1, 0.68, 1); }
.faq details[open] summary .icon { rotate: 90deg; color: var(--violet-text); }
.faq .ans { max-width: 78ch; padding: 0 1.25rem 1.25rem; font-size: 0.95rem; color: var(--body); }
.rss-link { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 500; color: var(--violet-text); }
.rss-link:hover { text-decoration: underline; }

/* ---------- Readability: card and body text a step larger than the first pass (all pages) ---------- */
.hero-card h2 { font-size: 0.95rem; }
.hero-card p { font-size: 0.8rem; }
.svc h3 { font-size: 1.12rem; }
.svc .txt p { font-size: 0.95rem; }
.covers li { font-size: 0.92rem; }
.get { font-size: 0.92rem; }
.get span { font-size: 0.66rem; }
.why h3 { font-size: 1.05rem; }
.why p { font-size: 0.93rem; }
.principles h4 { font-size: 1.02rem; }
.principles p { font-size: 0.93rem; }
.principles .n { font-size: 0.75rem; }
.tile h3 { font-size: 1.05rem; }
.tile p { font-size: 0.88rem; }
.tile .more { font-size: 0.7rem; }
.step p { font-size: 0.95rem; }
.who .p1, .who .p2 { font-size: 1.02rem; }
.where p, .two-col p { font-size: 1rem; }
.creds-card .head p { font-size: 0.94rem; }
.creds span { font-size: 0.92rem; }
.creds b { font-size: 0.7rem; }
.course .tag { font-size: 0.98rem; }
.cmeta { font-size: 0.74rem; }
.badge { font-size: 0.66rem; }
.outcomes li { font-size: 0.95rem; }
.module h5 { font-size: 1rem; }
.module li { font-size: 0.9rem; }
.fact dd { font-size: 1rem; }
.fact dt { font-size: 0.68rem; }
.path .pt b { font-size: 1rem; }
.path .pt span { font-size: 0.88rem; }
.csp-l > p { font-size: 1.02rem; }
.csp-foot { font-size: 0.92rem; }
.fopt b { font-size: 1rem; }
.fopt span { font-size: 0.88rem; }
.rcard .nm { font-size: 0.98rem; }
.rcard blockquote { font-size: 0.95rem; }
.rv-note, .small-note { font-size: 0.8rem; }
.cta-band p { font-size: 1rem; }
.topic h2 { font-size: 1.12rem; }
.topic p, .notify p, .after-note { font-size: 0.95rem; }
.footer-brand p, .fl, .footer-bottom { font-size: 0.93rem; }
.fcol h3, .mono-label { font-size: 0.72rem; }
.defs dt { font-size: 1.02rem; }
.defs dd { font-size: 0.94rem; }
.cmp { font-size: 0.95rem; }
.quick p, .prose p { font-size: 1.05rem; }
.faq summary { font-size: 1.05rem; }
.faq .ans { font-size: 1rem; }
.lede { font-size: 1.06rem; }
.crow .val { font-size: 1rem; }
.crow .val small { font-size: 0.95rem; }
.contact-r .in > p { font-size: 0.95rem; }

/* ---------------------------------------------------------------- Forms (contact + course registration) */
.cfx-form { display: flex; flex-direction: column; gap: 1.25rem; }
.f-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .f-grid.two { grid-template-columns: 1fr 1fr; } }
.f-field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.f-field > label { font-size: 0.875rem; line-height: 1.43; font-weight: 500; color: var(--ink); }
.f-field .req { margin-left: 0.25rem; color: var(--violet-text); }
.f-input, .f-select, .f-textarea { width: 100%; border: 1px solid var(--line); border-radius: 0.75rem; background-color: var(--ground); padding: 0.875rem 1rem; font-size: 0.95rem; line-height: 1.5; color: var(--ink); transition: border-color 170ms var(--ease-out-quint), box-shadow 170ms var(--ease-out-quint); }
.f-textarea { resize: vertical; min-height: 6.5rem; }
.f-select { cursor: pointer; }
.f-input::placeholder, .f-textarea::placeholder { color: var(--muted); opacity: 0.7; }
.f-input:focus, .f-select:focus, .f-textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgb(128 93 255 / 0.28); }
.f-input[aria-invalid='true'], .f-select[aria-invalid='true'], .f-textarea[aria-invalid='true'] { border-color: var(--danger); }
.f-hint { font-size: 0.75rem; line-height: 1.4; color: var(--muted); }
.f-error { font-size: 0.75rem; line-height: 1.4; font-weight: 500; color: var(--danger); }
.f-consent { display: flex; gap: 0.75rem; border: 1px solid var(--line); border-radius: 0.75rem; background-color: var(--ground); padding: 1rem; }
.f-consent input { flex: none; width: 1rem; height: 1rem; margin-top: 0.2rem; accent-color: var(--violet); cursor: pointer; }
.f-consent label { font-size: 0.82rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.f-consent label a { color: var(--violet-text); font-weight: 500; }
.f-captcha { min-height: 78px; }
.f-status { font-size: 0.875rem; line-height: 1.5; font-weight: 500; color: var(--danger); }
.cfx-form .btn[disabled] { opacity: 0.6; pointer-events: none; }
.f-success { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-block: 0.5rem; }
.f-success:focus { outline: none; }
.f-success h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; color: var(--ink); }
.f-success p { max-width: 52ch; font-size: 0.94rem; color: var(--muted); }
.f-tick { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background-color: var(--good-wash); color: var(--good); }
.f-tick .icon { width: 1.5rem; height: 1.5rem; }
.form-intro { font-size: 0.9rem; color: var(--muted); }
.form-sep { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form-sep::before, .form-sep::after { content: ''; flex: 1; height: 1px; background-color: var(--line); }
.reg-wrap { max-width: 640px; margin-inline: auto; }
.reg-card { padding: 1.5rem; }
@media (min-width: 768px) { .reg-card { padding: 2rem; } }
.reg-alt { margin-top: 1.25rem; font-size: 0.85rem; color: var(--muted); }
.reg-alt a { color: var(--violet-text); font-weight: 500; }
.reg-alt a:hover { text-decoration: underline; }