:root {
  --paper: #eef1ed;
  --paper-2: #dfe6e1;
  --cream: #fffdf5;
  --ink: #1d2522;
  --soft-ink: #33403b;
  --muted: #63706a;
  --line: rgba(32, 40, 37, 0.12);
  --line-strong: rgba(32, 40, 37, 0.2);
  --sage: #5d7468;
  --sage-dark: #2f463e;
  --accent: #b46a42;
  --accent-dark: #73391f;
  --accent-soft: #efe0cf;
  --blue-grey: #d7e2df;
  --stone: #c9baa5;
  --sand: #e7d6bd;
  --shadow: 0 22px 70px rgba(44, 37, 28, 0.12);
  --max: 1280px;
  --wide: 1540px;
  --edge-total: clamp(40px, 6vw, 112px);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(215, 226, 223, 0.72), transparent 34rem),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 46%, var(--paper-2) 100%);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(rgba(32, 40, 37, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 40, 37, 0.028) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
strong,
span,
small,
a,
button {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  max-width: 12.8ch;
  font-size: 6.05rem;
}

h2 {
  max-width: 14ch;
  font-size: 4rem;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

p {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.72;
}

:focus-visible {
  outline: 3px solid rgba(47, 70, 62, 0.32);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(var(--wide), calc(100% - var(--edge-total)));
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(32, 40, 37, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 14px 44px rgba(44, 37, 28, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 18px 54px rgba(44, 37, 28, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--cream);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(47, 70, 62, 0.2);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}

.brand strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.main-nav .mobile-nav-only {
  display: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--soft-ink);
  font-size: 0.81rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(93, 116, 104, 0.1);
  color: var(--sage-dark);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: var(--cream);
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-action:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

.menu-toggle {
  display: none;
}

.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--paper);
}

.home-hero h1 {
  max-width: 12.1ch;
}

.home-hero h1 > span {
  display: block;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(0.9) contrast(0.98) brightness(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 238, 227, 0.98) 0%, rgba(244, 238, 227, 0.9) 42%, rgba(244, 238, 227, 0.3) 74%),
    linear-gradient(180deg, rgba(244, 238, 227, 0.12), rgba(244, 238, 227, 0.9));
}

.hero-grid,
.page-hero,
.portal-hero,
.dashboard-hero,
.lesson-hero,
.lesson-layout,
.route-section,
.content-band,
.proof-band,
.faq-band,
.security-band,
.commerce-roadmap,
.split-feature,
.academy-lab,
.module-strip,
.kit-builder,
.contact-grid {
  width: min(var(--wide), calc(100% - var(--edge-total)));
  margin-inline: auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: clamp(28px, 5vw, 92px);
  align-items: end;
  padding: 150px 0 64px;
}

.hero-copy p,
.page-copy p,
.feature-copy p,
.lab-panel p {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--soft-ink);
  font-size: 1rem;
  font-weight: 500;
}

.hero-copy,
.page-copy,
.feature-copy,
.lab-panel,
.security-copy,
.shop-console,
.course-console,
.contact-card,
.platform-preview,
.forum-mock {
  min-width: 0;
}

.hero-copy > p:not(.kicker),
.page-copy > p:not(.kicker) {
  max-width: 780px;
  text-transform: uppercase;
  line-height: 1.48;
}

.kicker {
  margin: 0 0 14px;
  color: var(--sage-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  overflow: hidden;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn::after {
  content: ">";
  position: relative;
  z-index: 2;
  margin-left: 10px;
  font-weight: 700;
  transition: transform 180ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  transform: translateX(3px);
}

.btn-ice {
  background: var(--accent-dark);
  color: var(--cream);
  box-shadow: 0 14px 34px rgba(125, 61, 36, 0.24);
}

.btn-ice:hover {
  background: var(--accent);
}

.btn-glass,
.btn-outline {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.62);
  color: var(--ink);
}

.btn-glass:hover,
.btn-outline:hover {
  background: rgba(255, 250, 240, 0.95);
  box-shadow: 0 14px 34px rgba(44, 37, 28, 0.1);
}

.signal-panel,
.route-card,
.service-matrix article,
.process-grid article,
.timeline article,
.educator-grid article,
.lab-grid article,
.course-card,
.membership-card,
.community-card,
.product-card,
.access-grid article,
.proof-card,
.faq-grid article,
.roadmap-grid article,
.contact-card,
.map-card,
.course-console,
.shop-console,
.forum-mock,
.platform-preview,
.auth-shell,
.student-card,
.lesson-panel,
.secure-player,
.lesson-meta,
.event-list {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: var(--shadow);
}

.signal-panel {
  padding: 28px;
  border: 1px solid rgba(255, 253, 245, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.88), rgba(239, 224, 207, 0.62)),
    rgba(255, 250, 240, 0.78);
  backdrop-filter: blur(12px);
  animation: floatPanel 7s ease-in-out infinite;
}

.panel-chip {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(93, 116, 104, 0.12);
  color: var(--sage-dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2.08rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.signal-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.signal-list span {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.scroll-track {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 1px;
  height: 72px;
  overflow: hidden;
  background: rgba(32, 40, 37, 0.16);
}

.scroll-track i {
  display: block;
  width: 100%;
  height: 24px;
  background: var(--sage-dark);
  animation: scan 1.9s ease-in-out infinite;
}

.route-section,
.content-band,
.proof-band,
.faq-band,
.commerce-roadmap,
.module-strip,
.kit-builder {
  padding: 106px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 430px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 26px);
}

.route-card {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 250, 240, 0.68);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.route-card-primary {
  border: 1px solid rgba(47, 70, 62, 0.28);
  background:
    linear-gradient(145deg, rgba(47, 70, 62, 0.98), rgba(93, 116, 104, 0.9)),
    var(--sage-dark);
}

.route-card::after {
  content: ">";
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(185, 106, 61, 0.12);
  color: var(--accent-dark);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.route-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 26px 80px rgba(44, 37, 28, 0.16);
}

.route-card-primary:hover {
  background:
    linear-gradient(145deg, rgba(47, 70, 62, 1), rgba(125, 61, 36, 0.84)),
    var(--sage-dark);
}

.route-card:hover::after {
  transform: translateX(4px);
  background: rgba(185, 106, 61, 0.2);
}

.route-card span,
.service-matrix article span,
.timeline article span,
.community-card span,
.product-card span,
.proof-card span,
.roadmap-grid article span,
.access-grid article span,
.membership-card > span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-card h3 {
  margin-top: 72px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.route-card p {
  margin-bottom: 0;
}

.route-card-primary h3,
.route-card-primary p {
  color: var(--cream);
}

.route-card-primary span {
  color: var(--sand);
}

.route-card-primary::after {
  background: rgba(255, 253, 245, 0.16);
  color: var(--cream);
}

.compact-band {
  padding-top: 38px;
}

.nav-button {
  border: 0;
}

.portal-hero,
.dashboard-hero,
.lesson-hero {
  min-height: 78svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.58fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: center;
  padding: 132px 0 78px;
}

.dashboard-hero,
.lesson-hero {
  min-height: 64svh;
}

.auth-shell,
.student-card,
.lesson-meta,
.lesson-panel {
  padding: 28px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(93, 116, 104, 0.1);
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.auth-tab.is-active {
  background: var(--sage-dark);
  color: var(--cream);
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.is-active {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  color: var(--ink);
  outline: none;
}

.auth-message {
  min-height: 22px;
  margin-top: 14px;
  color: var(--sage-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.auth-message.is-error {
  color: var(--accent-dark);
}

.dashboard-welcome h1 span {
  display: inline;
}

.student-card span,
.lesson-meta span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.student-card strong,
.lesson-meta strong {
  display: block;
  margin-top: 22px;
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.student-meter {
  height: 10px;
  overflow: hidden;
  margin: 28px 0 12px;
  border-radius: 999px;
  background: rgba(93, 116, 104, 0.12);
}

.student-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage-dark), var(--accent));
}

.portal-events {
  padding: 18px;
}

.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 22px;
  align-items: start;
  padding: 0 0 106px;
}

.secure-player {
  min-height: 520px;
  background: #101513;
  box-shadow: var(--shadow);
}

.secure-player video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  background: #101513;
}

.watermark-grid {
  position: absolute;
  inset: -8%;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  align-content: center;
  pointer-events: none;
  opacity: 0.28;
  transform: rotate(-18deg);
}

.watermark-grid span {
  color: rgba(255, 253, 245, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.privacy-blackout {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background: #050707;
  color: var(--cream);
  text-align: center;
}

.privacy-blackout[hidden] {
  display: none !important;
}

.privacy-blackout strong {
  color: var(--cream);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.privacy-blackout span {
  color: rgba(255, 253, 245, 0.7);
}

.lesson-panel h2 {
  font-size: 2.15rem;
}

.lesson-panel .btn {
  width: 100%;
  margin-top: 14px;
}

.admin-table {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: var(--shadow);
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.8fr 0.9fr;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-row:first-child {
  border-top: 0;
}

.admin-row-head {
  background: rgba(47, 70, 62, 0.08);
  color: var(--sage-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.proof-band {
  padding-top: 30px;
}

.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.proof-card {
  min-height: 230px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.84), rgba(215, 226, 223, 0.58)),
    rgba(255, 250, 240, 0.72);
}

.proof-card span {
  display: block;
  margin-bottom: 44px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.9;
}

.proof-card strong,
.section-cta strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-grid,
.roadmap-grid {
  grid-template-columns: repeat(4, 1fr);
}

.faq-grid article h3 {
  margin-bottom: 30px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-grid article p,
.roadmap-grid article p {
  margin-bottom: 0;
}

.section-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(47, 70, 62, 0.96), rgba(115, 57, 31, 0.82)),
    var(--sage-dark);
  box-shadow: var(--shadow);
}

.section-cta strong {
  color: var(--cream);
}

.security-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px 0 106px;
}

.security-copy {
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(239, 224, 207, 0.66)),
    rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow);
}

.security-copy p {
  max-width: 650px;
}

.security-stack {
  display: grid;
  gap: 12px;
}

.security-stack article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 14px 42px rgba(44, 37, 28, 0.08);
}

.security-stack article span {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--cream);
  font-weight: 800;
}

.security-stack strong,
.roadmap-grid article span {
  display: block;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

.security-stack small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding: 24px 0 106px;
}

.feature-image,
.page-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-grey);
  box-shadow: var(--shadow);
}

.feature-image img,
.page-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.92) brightness(1.04);
}

.feature-image::after,
.page-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 46%, rgba(32, 40, 37, 0.14));
}

.feature-copy {
  padding: 12px 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pill-row span,
.course-meta span,
.metric-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(93, 116, 104, 0.1);
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 700;
}

.page-hero {
  min-height: 80svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.78fr);
  gap: clamp(32px, 4.8vw, 86px);
  align-items: center;
  padding: 128px 0 74px;
}

.page-hero.text-only {
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.5fr);
  min-height: 68svh;
}

.page-copy h1 {
  max-width: 12.6ch;
  font-size: 5.45rem;
}

.page-hero.text-only .page-copy h1 {
  max-width: 14ch;
}

.visual-badge {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  min-width: 126px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(14px);
}

.visual-badge strong {
  color: var(--sage-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.visual-badge span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.metric-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(var(--wide), calc(100% - var(--edge-total)));
  margin: 0 auto;
}

.metric-rail span {
  justify-content: center;
  min-height: 76px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
  text-align: center;
  box-shadow: 0 12px 36px rgba(44, 37, 28, 0.08);
}

.service-matrix,
.process-grid,
.timeline,
.educator-grid,
.lab-grid,
.community-grid,
.shop-grid,
.access-grid,
.proof-grid,
.faq-grid,
.roadmap-grid,
.membership-pricing {
  display: grid;
  gap: 18px;
}

.service-matrix {
  grid-template-columns: repeat(4, 1fr);
}

.service-matrix article,
.process-grid article,
.timeline article,
.educator-grid article,
.community-card,
.access-grid article,
.faq-grid article,
.roadmap-grid article {
  min-height: 250px;
  padding: 26px;
}

.service-matrix strong {
  display: block;
  margin: 42px 0 14px;
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
}

.service-matrix small {
  color: var(--accent-dark);
  font-weight: 700;
}

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(185, 106, 61, 0.12);
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.card-link:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  color: var(--cream);
}

.process-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid article span,
.timeline article span {
  display: inline-flex;
  margin-bottom: 54px;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.academy-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px 0 106px;
}

.lab-panel {
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(215, 226, 223, 0.86), rgba(255, 250, 240, 0.72)),
    rgba(255, 250, 240, 0.8);
  box-shadow: var(--shadow);
}

.lab-grid {
  grid-template-columns: repeat(2, 1fr);
}

.lab-grid article {
  min-height: 180px;
  padding: 24px;
}

.lab-grid strong,
.event-list strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
}

.lab-grid span,
.event-list small,
.contact-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.58;
}

.educator-grid {
  grid-template-columns: repeat(3, 1fr);
}

.educator-grid article span {
  display: grid;
  place-items: center;
  width: 70px;
  aspect-ratio: 1;
  margin-bottom: 48px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--cream);
  font-weight: 800;
}

.course-console,
.shop-console,
.contact-card {
  padding: 28px;
  align-self: center;
}

.course-console span,
.shop-console span {
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.course-console strong,
.shop-console strong,
.contact-card strong,
.map-card strong {
  display: block;
  margin-top: 22px;
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.course-toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 12px 36px rgba(44, 37, 28, 0.08);
}

.course-filter {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.course-filter.is-active,
.course-filter:hover {
  background: var(--sage-dark);
  color: var(--cream);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.module-notice {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid rgba(185, 106, 61, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.78);
  box-shadow: 0 14px 42px rgba(44, 37, 28, 0.08);
}

.module-notice strong {
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
}

.module-notice p {
  margin: 0;
}

.course-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 26px;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.course-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 250, 240, 0.96);
}

.course-card.is-hidden {
  display: none;
}

.level-tag {
  align-self: flex-start;
  margin-bottom: 58px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(93, 116, 104, 0.1);
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-card h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.membership-pricing {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.membership-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 28px;
}

.membership-card.featured {
  background:
    linear-gradient(135deg, rgba(215, 226, 223, 0.86), rgba(255, 250, 240, 0.92)),
    var(--cream);
  transform: translateY(-12px);
}

.membership-card h3 {
  margin-top: 52px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  text-transform: uppercase;
}

.membership-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.membership-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.price {
  display: block;
  margin-top: auto;
  color: var(--sage-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2.15rem;
  font-weight: 700;
}

.platform-preview {
  min-height: 460px;
  padding: 28px;
  align-self: stretch;
  background:
    linear-gradient(150deg, rgba(215, 226, 223, 0.9), rgba(255, 250, 240, 0.78)),
    var(--cream);
}

.platform-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.platform-top span {
  color: var(--muted);
  font-weight: 700;
}

.platform-top strong {
  color: var(--sage-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
}

.platform-lines {
  display: grid;
  gap: 12px;
  margin: 40px 0;
}

.platform-lines i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-dark), var(--sage));
}

.platform-card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.62);
}

.platform-card + .platform-card {
  margin-top: 12px;
}

.platform-card b,
.platform-card small {
  display: block;
}

.platform-card small {
  margin-top: 6px;
  color: var(--muted);
}

.platform-card.ghost {
  background: rgba(93, 116, 104, 0.09);
}

.forum-mock {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.76);
  align-self: center;
}

.post-card,
.event-list article {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(93, 116, 104, 0.08);
}

.post-card.active {
  background: rgba(215, 226, 223, 0.74);
}

.post-card span {
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-card strong,
.post-card small {
  display: block;
  margin-top: 8px;
}

.post-card small {
  color: var(--muted);
}

.community-grid {
  grid-template-columns: repeat(3, 1fr);
}

.community-card h3 {
  margin-top: 56px;
}

.event-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.event-list article {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.event-list article span {
  color: var(--sage-dark);
  font-weight: 800;
}

.shop-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  padding: 22px;
}

.product-visual {
  min-height: 250px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 42% 22%, rgba(255, 250, 240, 0.7), transparent 34%),
    linear-gradient(145deg, rgba(215, 226, 223, 0.95), rgba(231, 214, 189, 0.76));
}

.product-visual::before {
  display: grid;
  place-items: center;
  height: 250px;
  color: rgba(47, 70, 62, 0.68);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
}

.product-visual.clipper::before {
  content: "Tools";
}

.product-visual.care::before {
  content: "Care";
}

.product-visual.guide::before {
  content: "Guide";
}

.product-card strong {
  display: block;
  margin-top: 20px;
  color: var(--sage-dark);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: 22px;
  padding: 0 0 106px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  color: var(--ink);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(47, 70, 62, 0.42);
  box-shadow: 0 0 0 4px rgba(93, 116, 104, 0.1);
}

.map-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background:
    linear-gradient(rgba(32, 40, 37, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 40, 37, 0.032) 1px, transparent 1px),
    rgba(255, 250, 240, 0.78);
  background-size: 38px 38px, 38px 38px, auto;
}

.map-card > span {
  display: grid;
  place-items: center;
  width: 78px;
  aspect-ratio: 1;
  margin-bottom: auto;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--cream);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--wide), calc(100% - var(--edge-total)));
  margin: 0 auto;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--sage-dark);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--sage);
}

body.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

body.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  body.has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes scan {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(280%);
  }
}

@media (max-width: 1440px) {
  h1 {
    font-size: 5.35rem;
  }

  h2 {
    font-size: 3.65rem;
  }

  .page-copy h1 {
    font-size: 4.85rem;
  }

  .signal-panel strong {
    font-size: 1.86rem;
  }
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.72rem;
  }

  h2 {
    font-size: 3.18rem;
  }

  .page-copy h1 {
    font-size: 4.25rem;
  }

  .main-nav a {
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .service-matrix,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-grid,
  .course-grid,
  .community-grid,
  .shop-grid,
  .proof-grid,
  .faq-grid,
  .roadmap-grid,
  .membership-pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .site-header {
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr) 44px;
    transform: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    justify-self: end;
    border: 0;
    border-radius: 50%;
    background: var(--sage-dark);
    color: var(--cream);
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px auto;
    border-radius: 99px;
    background: currentColor;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav,
  .nav-action {
    display: none;
  }

  .main-nav.is-open {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 14px;
    border-radius: var(--radius);
  }

  .main-nav.is-open .mobile-nav-only {
    display: flex;
  }

  .hero-grid,
  .page-hero,
  .page-hero.text-only,
  .portal-hero,
  .dashboard-hero,
  .lesson-hero,
  .lesson-layout,
  .split-feature,
  .academy-lab,
  .security-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 126px;
  }

  .signal-panel,
  .course-console,
  .shop-console,
  .contact-card,
  .platform-preview,
  .security-copy,
  .auth-shell,
  .student-card,
  .lesson-meta,
  .lesson-panel,
  .forum-mock {
    max-width: 560px;
  }

  .page-visual,
  .feature-image {
    min-height: 430px;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .metric-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .educator-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    min-height: 60px;
    backdrop-filter: none;
  }

  body {
    padding-bottom: 78px;
  }

  .nav-action {
    position: fixed;
    z-index: 95;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    min-height: 52px;
    box-shadow: 0 18px 48px rgba(125, 61, 36, 0.28);
  }

  .brand-mark {
    width: 38px;
  }

  .brand small {
    display: none;
  }

  .main-nav.is-open {
    top: 74px;
    left: 10px;
    right: 10px;
  }

  .hero-grid,
  .page-hero,
  .portal-hero,
  .dashboard-hero,
  .lesson-hero,
  .lesson-layout,
  .route-section,
  .content-band,
  .proof-band,
  .faq-band,
  .security-band,
  .commerce-roadmap,
  .split-feature,
  .academy-lab,
  .module-strip,
  .kit-builder,
  .contact-grid,
  .metric-rail,
  .site-footer {
    width: calc(100% - 28px);
    margin-left: 14px;
    margin-right: auto;
  }

  .home-hero {
    align-items: start;
  }

  .hero-grid {
    min-height: 100svh;
    padding: 118px 0 48px;
  }

  .page-hero,
  .page-hero.text-only {
    min-height: auto;
    padding: 112px 0 62px;
  }

  .portal-hero,
  .dashboard-hero,
  .lesson-hero {
    min-height: auto;
    padding: 112px 0 62px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(244, 238, 227, 0.98) 0%, rgba(244, 238, 227, 0.82) 70%, rgba(244, 238, 227, 0.5) 100%),
      linear-gradient(180deg, rgba(244, 238, 227, 0.26), rgba(244, 238, 227, 0.92));
  }

  h1 {
    max-width: 100%;
    font-size: 3.05rem;
    line-height: 0.96;
    text-wrap: wrap;
  }

  .home-hero h1 .line-cut span {
    display: block;
  }

  h2 {
    max-width: 12ch;
    font-size: 2.56rem;
    line-height: 0.96;
  }

  .page-copy h1 {
    max-width: 100%;
    font-size: 2.9rem;
  }

  .hero-copy p,
  .page-copy p,
  .feature-copy p,
  .lab-panel p {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .action-row,
  .course-toolbar {
    display: grid;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .signal-panel,
  .course-console,
  .shop-console,
  .contact-card,
  .platform-preview,
  .security-copy,
  .auth-shell,
  .student-card,
  .lesson-meta,
  .lesson-panel,
  .forum-mock {
    width: 100%;
    max-width: none;
  }

  .course-console strong,
  .shop-console strong,
  .contact-card strong,
  .map-card strong {
    font-size: 1.7rem;
    overflow-wrap: anywhere;
  }

  .route-grid,
  .service-matrix,
  .process-grid,
  .timeline,
  .course-grid,
  .community-grid,
  .shop-grid,
  .proof-grid,
  .faq-grid,
  .roadmap-grid,
  .membership-pricing,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .route-section,
  .content-band,
  .proof-band,
  .faq-band,
  .commerce-roadmap,
  .module-strip,
  .kit-builder {
    padding: 78px 0;
  }

  .split-feature,
  .academy-lab,
  .security-band,
  .lesson-layout,
  .contact-grid {
    padding-bottom: 78px;
  }

  .route-card,
  .service-matrix article,
  .process-grid article,
  .timeline article,
  .community-card,
  .access-grid article,
  .proof-card,
  .faq-grid article,
  .roadmap-grid article,
  .membership-card,
  .course-card {
    min-height: auto;
  }

  .section-cta,
  .security-stack article {
    grid-template-columns: 1fr;
  }

  .section-cta {
    display: grid;
  }

  .secure-player,
  .secure-player video {
    min-height: 240px;
  }

  .watermark-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .admin-row,
  .admin-row-head {
    grid-template-columns: 1fr;
  }

  .route-card h3,
  .membership-card h3,
  .community-card h3 {
    margin-top: 42px;
  }

  .page-visual,
  .feature-image {
    min-height: 340px;
  }

  .metric-rail {
    grid-template-columns: 1fr;
  }

  .membership-card.featured {
    transform: none;
  }

  .platform-preview {
    min-height: 420px;
  }

  .platform-top strong {
    font-size: 3.3rem;
  }

  .event-list article {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.42rem;
  }

  .page-copy h1 {
    font-size: 2.34rem;
  }

  .signal-panel strong {
    font-size: 1.55rem;
  }
}
