:root {
  --site-font: "Caerphilly", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --content-max: 1280px;
  --content-gutter: 48px;
  color-scheme: dark;
  --ink: #f0f1f5;
  --muted: #92959f;
  --faint: #5b5d66;
  --bg: #08090c;
  --panel: #0f1116;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --pink: #ff52d6;
  --violet: #a77aff;
  --cyan: #39d9ff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--site-font); font-size: 15px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(rgba(255,255,255,.07) .6px, transparent .6px); background-size: 5px 5px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.site-shell { max-width: 1600px; margin: 0 auto; overflow: hidden; }
.topbar { height: 74px; padding: 0 5.5vw; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; background: rgba(8,9,12,.84); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--site-font); font-size: 11px; }
.brand-mark-symbol { color: var(--cyan); font-size: 12px; line-height: 1; }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 34px; font: 12px var(--site-font); color: var(--muted); }
.desktop-nav a, .footer-links a { transition: color .2s ease; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.mode-status { color: var(--faint); font: 10px var(--site-font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.outline-button { border: 1px solid var(--line-strong); border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; transition: background .2s, border-color .2s; }
.outline-button:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.outline-button.small { padding: 9px 15px; font-size: 12px; }
.hero { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); align-items: center; padding: 80px 5.5vw 54px; position: relative; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.eyebrow, .group-label, .card-top { font: 11px var(--site-font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.pulse { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(64px, 8.6vw, 125px); letter-spacing: -.075em; line-height: .91; font-weight: 500; margin: 31px 0 30px; }
h1 em, h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(240,241,245,.72); }
.hero-text { max-width: 475px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.hero-proof { display: flex; align-items: center; gap: 9px; margin-top: 42px; color: var(--muted); font: 11px var(--site-font); }
.hero-proof strong { color: var(--ink); font: 600 14px var(--site-font); }
.proof-dots { display: inline-flex; margin-right: 2px; }
.proof-dots i { width: 18px; height: 18px; margin-right: -5px; border: 2px solid var(--bg); border-radius: 50%; background: linear-gradient(145deg, #ff78d7, #6e5aff); }
.proof-dots i:nth-child(2) { background: linear-gradient(145deg, #71e4ff, #4667ff); } .proof-dots i:nth-child(3) { background: linear-gradient(145deg, #f9c567, #ff6a95); }
.text-link { font-size: 13px; border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; transition: border-color .2s, color .2s; }
.text-link:hover { color: var(--cyan); border-color: var(--cyan); }
.gradient-button { position: relative; padding: 13px 19px; border-radius: 999px; font-size: 13px; background: linear-gradient(100deg, rgba(255,82,214,.13), rgba(57,217,255,.16)); border: 1px solid rgba(196,123,255,.75); box-shadow: 0 0 24px rgba(161,91,255,.15); transition: transform .2s, box-shadow .2s; }
.gradient-button:hover { transform: translateY(-2px); box-shadow: 0 0 33px rgba(161,91,255,.32); }
.hero-visual { height: 480px; position: relative; display: grid; place-items: center; }
.visual-grid { width: 100%; height: 100%; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at center, #000 0%, transparent 70%); }
.core { width: 210px; height: 210px; position: relative; z-index: 2; border-radius: 50%; background: #07080b; box-shadow: 0 0 0 1px rgba(255,255,255,.07), inset -30px -22px 55px rgba(62, 34, 125, .22); }
.squad-core { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #232334, #06070a 70%); }
.squad-core span { color: rgba(255,255,255,.78); font: 500 58px var(--site-font); letter-spacing: -.12em; text-indent: -.12em; }
.squad-core::before, .squad-core::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.squad-core::before { width: 42px; height: 27px; left: 24%; top: 27%; background: rgba(120,126,166,.2); box-shadow: 64px 44px 0 8px rgba(120,126,166,.12), 28px 90px 0 4px rgba(120,126,166,.16), 95px -8px 0 2px rgba(120,126,166,.12); }
.squad-core::after { width: 25px; height: 19px; right: 20%; bottom: 25%; background: rgba(120,126,166,.14); box-shadow: -52px 28px 0 7px rgba(120,126,166,.1), -20px -54px 0 3px rgba(120,126,166,.12); }
.orbit { border-radius: 50%; position: absolute; transform: rotate(-24deg); }
.orbit-a { width: 382px; height: 245px; border: 1px solid rgba(190,125,255,.82); box-shadow: 0 0 30px rgba(190,125,255,.3), inset 0 0 25px rgba(190,125,255,.17); }
.orbit-b { width: 330px; height: 334px; border: 1px solid rgba(49,208,255,.52); transform: rotate(41deg); box-shadow: 0 0 24px rgba(49,208,255,.19), inset 0 0 25px rgba(49,208,255,.1); }
.star { width: 7px; height: 7px; position: absolute; border-radius: 50%; z-index: 3; background: #fff; box-shadow: 0 0 12px 4px var(--cyan); }
.star-a { top: 102px; right: 15%; }
.star-b { bottom: 92px; left: 14%; background: #f78ef0; box-shadow: 0 0 14px 4px var(--pink); }
.orbit-label { position: absolute; z-index: 3; font: 10px var(--site-font); color: var(--faint); letter-spacing: .12em; }
.label-a { top: 22%; right: 7%; } .label-b { bottom: 19%; left: 3%; }
.section { padding: 86px 5.5vw; }
.products-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 45px; }
h2 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.06em; line-height: 1; font-weight: 500; margin: 15px 0 0; }
.section-count { color: var(--faint); font: 13px var(--site-font); }
.membership-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 70px; align-items: center; }
.membership-copy { max-width: 540px; }
.membership-copy h3 { font-size: clamp(27px, 3.2vw, 42px); margin: 18px 0 15px; letter-spacing: -.06em; }
.membership-copy > p:not(.group-label) { color: var(--muted); max-width: 470px; line-height: 1.8; }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list li span { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid rgba(57,217,255,.6); border-radius: 50%; color: var(--cyan); font-size: 11px; }
.plan-card { min-height: 330px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); position: relative; overflow: hidden; }
.plan-card::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; right: -70px; bottom: -70px; background: var(--pink); filter: blur(45px); opacity: .14; pointer-events: none; }
.plan-name { display: flex; align-items: center; gap: 15px; margin-top: 30px; } .plan-name .card-symbol { margin: 0; } .plan-name h3 { margin: 0; }
.price { display: flex; align-items: baseline; gap: 5px; margin-top: 17px; } .price strong { font-size: 44px; letter-spacing: -.08em; } .price span { color: var(--muted); font: 12px var(--site-font); }
.plan-card > p { color: var(--muted); font-size: 12px; margin: 10px 0 22px; } .full-width { width: 100%; display: flex; justify-content: center; }
.plan-card > .pill { margin-top: 18px; }
.course-grid .product-card { min-height: 290px; } .course-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; } .course-meta > span:first-child { font: 500 18px var(--site-font); }
.course-grid .product-card { display: flex; flex-direction: column; } .course-grid .product-card p { margin-bottom: 30px; }
.faq-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 70px; }
.faq-list { position: relative; z-index: 2; align-self: center; } .faq-list details { border-top: 1px solid var(--line); padding: 16px 0; } .faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-size: 14px; padding-right: 25px; position: relative; } .faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--cyan); position: absolute; right: 0; top: -2px; font: 18px var(--site-font); } .faq-list details[open] summary::after { content: "×"; }
.faq-list details p { color: var(--muted); font-size: 12px; line-height: 1.75; margin: 12px 25px 0 0; }
.product-group + .product-group { margin-top: 40px; }
.group-label { margin-bottom: 15px; color: var(--faint); }
.product-grid { display: grid; gap: 18px; }
.product-grid-three { grid-template-columns: repeat(3, 1fr); }
.product-card, .wide-card { min-height: 255px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 22px; background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015) 55%, rgba(11,13,18,.86)); transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.product-card::after, .wide-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; filter: blur(30px); opacity: 0; transition: opacity .25s; pointer-events: none; }
.product-card:hover, .wide-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.42); }
.product-card:hover::after, .wide-card:hover::after { opacity: .45; }
.glow-pink:hover { box-shadow: 0 15px 50px rgba(255,82,214,.12); } .glow-pink::after { background: var(--pink); right: -30px; bottom: -50px; }
.glow-blue:hover { box-shadow: 0 15px 50px rgba(167,122,255,.12); } .glow-blue::after { background: var(--violet); right: -30px; bottom: -50px; }
.glow-cyan:hover { box-shadow: 0 15px 50px rgba(57,217,255,.12); } .glow-cyan::after { background: var(--cyan); right: -30px; bottom: -50px; }
.card-top { display: flex; justify-content: space-between; color: var(--faint); }
.card-symbol { font-size: 28px; margin-top: 35px; margin-bottom: 18px; }
.symbol-orbit { color: #53dfb9; } .symbol-north { color: #d5c0ff; } .symbol-signal { color: var(--cyan); } .symbol-field { color: var(--pink); } .symbol-partner { color: #e8e8eb; }
h3 { font-size: 21px; letter-spacing: -.04em; font-weight: 500; margin-bottom: 7px; }
.product-card p, .wide-card p { color: var(--muted); font-size: 13px; max-width: 280px; margin-bottom: 25px; }
.pill { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 9px; font: 10px var(--site-font); color: var(--muted); }
.split-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.wide-card { display: block; min-height: 190px; }
.wide-card-body { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.wide-card .card-symbol { margin: 0; font-size: 40px; }
.wide-card p { margin-bottom: 0; }
.signal-section { border-top: 1px solid var(--line); }
.signal-panel { border: 1px solid var(--line); border-radius: 14px; padding: 45px; position: relative; overflow: hidden; background: radial-gradient(circle at 84% 18%, rgba(110,76,176,.22), transparent 24%), #0d0f14; }
.signal-panel::before { content: ""; position: absolute; right: -90px; top: -150px; width: 400px; height: 400px; border: 1px solid rgba(190,125,255,.35); border-radius: 50%; box-shadow: 0 0 70px rgba(190,125,255,.16); }
.signal-intro { position: relative; z-index: 2; max-width: 600px; }
.signal-intro h2 { font-size: clamp(46px, 5vw, 76px); margin-bottom: 25px; }
.signal-intro h2 span { color: var(--cyan); }
.signal-intro > p { max-width: 470px; color: var(--muted); line-height: 1.8; }
.text-button { border: 0; border-bottom: 1px solid var(--line-strong); background: none; padding: 0 0 6px; margin-top: 18px; cursor: pointer; font-size: 13px; }
.text-button:hover { color: var(--cyan); border-color: var(--cyan); }
.signal-metric { position: absolute; right: 45px; bottom: 44px; display: flex; align-items: end; gap: 12px; color: var(--muted); font: 11px var(--site-font); text-transform: uppercase; letter-spacing: .1em; }
.signal-metric strong { font: 60px var(--site-font); letter-spacing: -.09em; color: var(--ink); line-height: .8; }
.principles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); }
.principles > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; }
.principles span { font: 11px var(--site-font); color: var(--cyan); }
.principles strong { font-weight: 500; font-size: 14px; }
.principles p { grid-column: 2; color: var(--muted); font-size: 12px; margin-top: 8px; }
.footer { border-top: 1px solid var(--line); padding: 76px 5.5vw 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 35px; align-items: end; min-height: 300px; }
.footer h2 { font-size: clamp(52px, 7vw, 100px); }
.contact-block { width: 330px; padding-bottom: 7px; }
.contact-block p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.email-button { border: 0; padding: 0 0 7px; border-bottom: 1px solid var(--line-strong); background: none; cursor: pointer; font-size: 13px; }
.email-button:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-status { display: block; min-height: 19px; margin-top: 8px; color: var(--cyan); font: 10px var(--site-font); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font: 10px var(--site-font); }
.footer-bottom > span:last-child { text-align: right; }
.footer-links { display: flex; gap: 20px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #f0f1f5; color: #101116; border-radius: 999px; padding: 10px 16px; font-size: 12px; transition: opacity .2s, transform .2s; z-index: 20; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .topbar { padding: 0 20px; } .desktop-nav { display: none; } .topbar-actions { gap: 8px; } .mode-status { font-size: 9px; }
  .hero { grid-template-columns: 1fr; padding: 70px 20px 35px; min-height: auto; } .hero-visual { height: 320px; margin-top: 25px; } .core { width: 145px; height: 145px; } .orbit-a { width: 285px; height: 185px; } .orbit-b { width: 245px; height: 255px; }
  .hero-text { font-size: 14px; } .hero-actions { gap: 18px; flex-wrap: wrap; }
  .section { padding: 65px 20px; } .product-grid-three, .split-groups, .membership-layout, .faq-panel { grid-template-columns: 1fr; gap: 14px; } .product-card { min-height: 230px; }
  .membership-layout { gap: 35px; } .plan-card { min-height: 300px; }
  .signal-panel { padding: 30px 24px; } .signal-metric { position: relative; right: auto; bottom: auto; margin-top: 46px; } .principles { grid-template-columns: 1fr; }
  .footer { padding: 62px 20px 22px; } .footer-top { display: block; min-height: 0; } .contact-block { width: auto; margin-top: 52px; } .footer-bottom { grid-template-columns: 1fr 1fr; } .footer-links { order: 3; grid-column: 1 / -1; } .footer-bottom > span:last-child { text-align: right; }
}

/* Compact footer bar inspired by the reference site. */
.compact-footer { max-width: none; padding: 18px 48px 20px; background: var(--bg); border-top: 1px solid var(--line); color: var(--ink); }
.footer-bar { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 24px; }
.copyright { color: var(--muted); font-size: 13px; white-space: nowrap; }
.footer-contact { display: flex; align-items: center; gap: 12px; min-width: 220px; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.18); }
.compact-footer .email-button { padding: 0; border: 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.compact-footer .email-button:hover { color: var(--ink); }
.compact-footer .copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.footer-pills { display: flex; align-items: center; gap: 10px; }
.footer-pill, .affiliate-pill { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 0 17px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .2s, filter .2s; }
.footer-pill:hover, .affiliate-pill:hover { transform: translateY(-2px); filter: brightness(1.1); }
.footer-pill img { width: 17px; height: 17px; object-fit: contain; }
.pill-discord { background: linear-gradient(135deg, #596cff, #5360d8); box-shadow: 0 5px 18px rgba(88,105,255,.22); }
.pill-youtube { background: linear-gradient(135deg, #ff4b56, #d91d29); box-shadow: 0 5px 18px rgba(232,48,61,.2); }
.pill-tete { background: linear-gradient(135deg, #f18a38, #c95011); box-shadow: 0 5px 18px rgba(232,105,36,.2); }
.pill-tete span { font-size: 17px; }
.affiliate-pill { gap: 11px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); font-weight: 500; }
.affiliate-pill > span:first-child { color: var(--ink); font-size: 16px; }
.affiliate-pill strong { border: 1px solid var(--cyan); border-radius: 999px; padding: 5px 10px; color: var(--ink); font-size: 12px; font-weight: 600; }

@media (max-width: 1050px) {
  .compact-footer { padding-left: 24px; padding-right: 24px; }
  .footer-bar { grid-template-columns: 1fr auto; gap: 14px 18px; }
  .footer-pills { grid-column: 1 / -1; grid-row: 2; }
  .affiliate-pill { grid-column: 2; grid-row: 1; }
  .footer-contact { padding-right: 0; border-right: 0; }
}

@media (max-width: 560px) {
  .compact-footer { padding: 18px 20px; }
  .footer-bar { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .footer-contact { order: 3; width: 100%; }
  .footer-pills { order: 4; width: 100%; flex-wrap: wrap; }
  .affiliate-pill { margin-left: auto; }
  .footer-pill, .affiliate-pill { min-height: 38px; padding: 0 13px; font-size: 12px; }
}

/* Narrow, centered content proportions inspired by Kova. */
.hero, .section, .footer { max-width: var(--content-max); margin-inline: auto; padding-left: var(--content-gutter); padding-right: var(--content-gutter); }
.topbar { padding-left: clamp(48px, 5.3vw, 96px); padding-right: clamp(48px, 5.3vw, 96px); }

/* Minimal Kova-style chrome: the page content carries the navigation. */
.desktop-nav, .mode-status { display: none; }
.hero-copy > .eyebrow { display: none; }
.hero-copy h1 { margin-top: 0; }
.social-links { align-items: center; gap: 19px; }
.social-link { width: 24px; height: 24px; display: grid; place-items: center; position: relative; color: var(--muted); transition: color .2s, transform .2s; }
.social-link:hover { color: var(--ink); transform: translateY(-2px); }
.social-link::after { content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translate(-50%, 4px); opacity: 0; pointer-events: none; border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; background: var(--panel); color: var(--ink); font: 10px var(--site-font); white-space: nowrap; transition: opacity .2s, transform .2s; }
.social-link:hover::after, .social-link:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.social-glyph { display: block; position: relative; }
.social-star { font-size: 17px; line-height: 1; }
.social-brand-icon { width: 18px; height: 18px; object-fit: contain; }
.social-discord { width: 19px; height: 14px; border: 1.5px solid currentColor; border-radius: 6px 6px 7px 7px; }
.social-discord::before { content: ""; position: absolute; left: 4px; top: 4px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; box-shadow: 7px 0 currentColor; }
.social-discord::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -3px; height: 5px; border-bottom: 1.5px solid currentColor; border-radius: 50%; }
.social-youtube { width: 20px; height: 14px; border-radius: 4px; background: currentColor; }
.social-youtube::after { content: ""; position: absolute; left: 8px; top: 4px; border-left: 5px solid var(--bg); border-top: 3px solid transparent; border-bottom: 3px solid transparent; }

@media (max-width: 520px) {
  .hero, .section, .footer { padding-left: 20px; padding-right: 20px; }
  .topbar { padding-left: 20px; padding-right: 20px; }
  .social-link { width: 28px; height: 28px; }
  .social-links { gap: 14px; }
}

@media (max-width: 520px) {
  .topbar { height: 66px; } .brand { font-size: 14px; } .mode-status { display: none; }
  .outline-button.small { min-height: 42px; padding: 8px 12px; }
  h1 { font-size: clamp(52px, 16vw, 76px); margin-top: 25px; }
  .hero { padding-top: 54px; } .hero-visual { height: 285px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 260px; gap: 13px; } .hero-actions .gradient-button { text-align: center; }
  .section-heading { margin-bottom: 30px; } .section-count { font-size: 11px; }
  .product-card, .plan-card { padding: 18px; } .plan-card { min-height: 290px; }
  .footer-bottom { font-size: 9px; gap: 12px; }
}

/* Fixed dark theme. */



@media (min-width: 851px) {
  .topbar { padding-left: clamp(48px, 5.3vw, 96px); padding-right: clamp(48px, 5.3vw, 96px); }
  .hero-visual { height: 475px; }
  .hero-visual .core { width: 285px; height: 285px; }
  .hero-visual .orbit-a { width: 510px; height: 325px; }
  .hero-visual .orbit-b { width: 440px; height: 445px; }
}

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

/* Kova-inspired pointer depth and icon motion. */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-visual { transform: translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0); transition: transform .55s cubic-bezier(.2,.8,.2,1); }
  .visual-grid { background-position: var(--grid-x, 0px) var(--grid-y, 0px); transition: background-position .55s cubic-bezier(.2,.8,.2,1); }
  .squad-core { transform: translate3d(var(--core-x, 0px), var(--core-y, 0px), 0); transition: transform .55s cubic-bezier(.2,.8,.2,1); }
  .product-card, .plan-card { --tilt-x: 0deg; --tilt-y: 0deg; transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); transition: transform .2s ease-out, border-color .25s, box-shadow .25s; }
  .product-card:hover, .plan-card:hover { transform: perspective(900px) translateY(-5px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); }
  .product-card::before, .plan-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,.14), transparent 33%); transition: opacity .25s; }
  .product-card:hover::before, .plan-card:hover::before { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .card-symbol { animation: iconFloat 4.2s ease-in-out infinite; }
  .product-card:nth-child(2) .card-symbol { animation-delay: -1.2s; }
  .product-card:nth-child(3) .card-symbol { animation-delay: -2.4s; }
  .pulse { animation: pulseGlow 2.2s ease-in-out infinite; }
  .star-a { animation: starBlink 2.6s ease-in-out infinite; }
  .star-b { animation: starBlink 3.1s .7s ease-in-out infinite; }
  .orbit-a { animation: orbitDriftA 8s ease-in-out infinite; }
  .orbit-b { animation: orbitDriftB 10s ease-in-out infinite; }
}

@keyframes iconFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(5deg); } }
@keyframes pulseGlow { 0%, 100% { opacity: .65; box-shadow: 0 0 10px var(--cyan); } 50% { opacity: 1; box-shadow: 0 0 20px var(--cyan); } }
@keyframes starBlink { 0%, 100% { opacity: .55; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes orbitDriftA { 0%, 100% { transform: rotate(-24deg) translate3d(0, 0, 0); } 50% { transform: rotate(-20deg) translate3d(4px, -5px, 0); } }
@keyframes orbitDriftB { 0%, 100% { transform: rotate(41deg) translate3d(0, 0, 0); } 50% { transform: rotate(45deg) translate3d(-4px, 5px, 0); } }

/* Compact layout: keep the offer legible with less scrolling. */
.hero { min-height: 520px; padding-top: 58px; padding-bottom: 34px; }
.hero-visual { height: 390px; }
.hero-text { max-width: 430px; line-height: 1.6; }
.hero-proof { margin-top: 28px; }
.section { padding-top: 58px; padding-bottom: 58px; }
.section-heading { margin-bottom: 28px; }
.membership-layout { gap: 42px; }
.membership-copy h3 { margin-top: 12px; }
.check-list { margin-top: 20px; gap: 8px; }
.plan-card { min-height: 285px; }
.courses-section { padding-top: 45px; }
.course-grid .product-card { min-height: 220px; }
.course-grid .product-card p { margin-bottom: 18px; }
.signal-section { padding-top: 40px; padding-bottom: 40px; }
.signal-panel { padding: 32px 38px; }
.signal-intro h2 { margin-bottom: 16px; }
.signal-intro > p { line-height: 1.6; }
.faq-list details { padding: 11px 0; }
.faq-list details p { margin-top: 8px; line-height: 1.55; }
.footer { padding-top: 54px; }
.footer-top { min-height: 230px; }

@media (max-width: 850px) {
  .hero { min-height: auto; padding-top: 58px; }
  .hero-visual { height: 290px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .courses-section { padding-top: 38px; }
  .signal-panel { padding: 26px 22px; }
  .footer-top { min-height: 0; }
}

/* Final footer overrides keep the toolbar full-width after the narrow content rules. */
.compact-footer { max-width: none; padding: 18px 48px 20px; }
@media (max-width: 1050px) { .compact-footer { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 560px) { .compact-footer { padding: 18px 20px; } }

/* Three-tier membership pricing layout. */
.membership-heading { align-items: center; }
.billing-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.025); }
.billing-option { border: 0; border-radius: 4px; padding: 8px 15px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.billing-option.is-active { background: var(--ink); color: var(--bg); }
.membership-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.membership-plan { min-height: 365px; padding: 25px 24px 22px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.34); position: relative; display: flex; flex-direction: column; overflow: hidden; }
.membership-plan h3 { font-size: 24px; margin: 12px 0 3px; }
.membership-plan .price { margin: 2px 0 25px; }
.membership-plan .price strong { font-size: 40px; }
.membership-plan .price span { font-size: 12px; }
.membership-plan .group-label { margin-bottom: 0; }
.plan-badge { position: absolute; top: -1px; right: 20px; border-radius: 0 0 8px 8px; padding: 6px 10px; background: #16a052; color: #fff; font: 10px var(--site-font); }
.plan-badge-blue { background: #5668e8; } .plan-badge-dark { background: #242936; }
.plan-features { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 13px; }
.plan-features li { position: relative; padding-left: 21px; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: #16a052; font-weight: 700; }
.plan-button { width: 100%; min-height: 41px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 12px; transition: transform .2s, border-color .2s, background .2s; }
.plan-button:hover { transform: translateY(-2px); border-color: var(--ink); color: var(--ink); }
.plan-button-light { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.plan-button-light:hover { background: transparent; color: var(--ink); }
.plan-standard { border-color: rgba(86,104,232,.4); box-shadow: 0 16px 34px rgba(86,104,232,.1); }
.plan-partner { border-color: rgba(255,82,214,.42); box-shadow: 0 16px 34px rgba(255,82,214,.1); }

@media (max-width: 850px) {
  .membership-plans { grid-template-columns: 1fr; gap: 14px; }
  .membership-plan { min-height: 305px; }
  .membership-heading { align-items: flex-start; gap: 22px; flex-direction: column; }
}

@media (min-width: 851px) {
  .hero-visual { height: 475px; }
  .hero-visual .core { width: 285px; height: 285px; }
  .hero-visual .orbit-a { width: 510px; height: 325px; }
  .hero-visual .orbit-b { width: 440px; height: 445px; }
}
