:root {
  --bg: #fbf9ff;
  --surface: #ffffff;
  --surface-soft: #f3edff;
  --ink: #171321;
  --muted: #70667f;
  --purple: #7417d4;
  --purple-deep: #2d075b;
  --purple-bright: #b716f2;
  --aqua: #21c6b7;
  --amber: #ffb02e;
  --green: #22b573;
  --line: #e9ddf8;
  --shadow: 0 22px 60px rgba(57, 13, 105, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(251, 249, 255, 0.9);
  border-bottom: 1px solid rgba(116, 23, 212, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(116, 23, 212, 0.28);
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--purple);
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.main-nav .nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #463a55;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav .nav-link:hover {
  background: var(--surface-soft);
  color: var(--purple-deep);
}

.main-nav .auth-open {
  border: 1px solid var(--line);
  background: #fff;
}

.main-nav .user-chip {
  max-width: 190px;
  overflow: hidden;
  border: 1px solid rgba(116, 23, 212, 0.22);
  background: var(--surface-soft);
  color: var(--purple-deep);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav .logout-button {
  color: #7b3152;
}

.main-nav .nav-cta {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 12px 28px rgba(116, 23, 212, 0.22);
}

.main-nav .nav-cta:hover {
  background: var(--purple-deep);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--purple-deep);
}

.section-band,
.section,
.contact-section {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding: clamp(44px, 7vw, 86px) 0 40px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--amber);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.hero-announcement {
  position: relative;
  margin: 26px 0 28px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(45, 7, 91, 0.96), rgba(116, 23, 212, 0.94) 58%, rgba(183, 22, 242, 0.92)),
    radial-gradient(circle at 88% 15%, rgba(255, 176, 46, 0.28), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: 0 20px 54px rgba(74, 15, 139, 0.24);
}

.hero-announcement::after {
  content: "";
  position: absolute;
  inset: auto -38px -58px auto;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-announcement span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ffd98a;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-announcement h2 {
  max-width: 600px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.hero-announcement ul {
  display: grid;
  gap: 9px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.hero-announcement li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f4eaff;
  font-weight: 820;
}

.hero-announcement svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--aqua);
}

.hero-announcement strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  white-space: nowrap;
}

.button svg,
.main-nav svg,
.floating-action svg,
.feature-card svg,
.program-card svg,
.price-card svg,
.trust-row svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  color: #fff;
  box-shadow: 0 16px 34px rgba(116, 23, 212, 0.32);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(116, 23, 212, 0.38);
}

.button.ghost {
  background: var(--surface);
  color: var(--purple-deep);
  border: 1px solid var(--line);
}

.button.secondary {
  width: 100%;
  background: var(--surface-soft);
  color: var(--purple-deep);
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #514760;
  font-size: 0.9rem;
  font-weight: 800;
}

.trust-row svg {
  color: var(--aqua);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% 5%;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 176, 46, 0.34), transparent 22%),
    radial-gradient(circle at 84% 25%, rgba(33, 198, 183, 0.28), transparent 24%),
    linear-gradient(145deg, #2b075c, #8216df 48%, #130420);
  border-radius: 32px;
  box-shadow: var(--shadow);
  z-index: -2;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  z-index: -1;
}

.hero-visual.hero-promo {
  min-height: auto;
  align-self: center;
  display: block;
}

.hero-visual.hero-promo::before,
.hero-visual.hero-promo::after {
  display: none;
}

.hero-promo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(116, 23, 212, 0.18);
  box-shadow: 0 28px 80px rgba(57, 13, 105, 0.22);
  object-fit: cover;
}

.orb-logo {
  position: absolute;
  top: 30px;
  right: 32px;
  width: min(36vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.orb-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.score-board {
  width: min(88%, 430px);
  margin-top: 110px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(22, 8, 36, 0.3);
}

.board-head,
.exam-card,
.mini-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.board-head {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.board-head strong {
  color: var(--purple);
  font-size: 1.35rem;
}

.exam-card {
  min-height: 82px;
  padding: 14px;
  background: #211034;
  border-radius: var(--radius);
  color: #fff;
}

.exam-card small {
  display: block;
  color: #d8c8ef;
  font-weight: 800;
}

.exam-card strong {
  display: block;
  font-size: 1.45rem;
}

.status {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status.good {
  background: rgba(34, 181, 115, 0.16);
  color: #82f0bd;
}

.bars {
  height: 126px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  padding: 22px 6px 12px;
}

.bars span {
  height: var(--h);
  min-height: 28px;
  background: linear-gradient(180deg, var(--purple-bright), var(--aqua));
  border-radius: 999px 999px 4px 4px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mini-grid span {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--surface-soft);
  border-radius: var(--radius);
  color: #3f3150;
  font-size: 0.88rem;
  font-weight: 900;
}

.proof-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 12px 36px rgba(57, 13, 105, 0.08);
}

.proof-strip div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  background: var(--surface);
}

.proof-strip strong {
  font-size: 1.25rem;
}

.proof-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(70px, 10vw, 124px) 0 0;
}

.section.tinted {
  width: 100%;
  max-width: none;
  margin-top: clamp(70px, 9vw, 112px);
  padding: clamp(70px, 9vw, 104px) max(20px, calc((100vw - var(--max)) / 2)) clamp(76px, 9vw, 108px);
  background: #f4efff;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 720px;
}

.system-grid,
.program-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.program-card,
.price-card,
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(57, 13, 105, 0.07);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-card > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--purple);
}

.feature-card p,
.program-card p,
.price-card p,
.testimonial figcaption,
.timeline p {
  color: var(--muted);
}

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

.program-card {
  min-height: 300px;
  display: grid;
  align-content: start;
  padding: 26px;
}

.program-card.featured {
  background: var(--purple-deep);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 26px 70px rgba(45, 7, 91, 0.28);
}

.program-card.featured p {
  color: #dac7f4;
}

.program-label {
  width: max-content;
  margin-bottom: 44px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(116, 23, 212, 0.1);
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 900;
}

.featured .program-label {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.program-card a {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin-top: 20px;
  color: var(--purple);
  font-weight: 900;
}

.featured a {
  color: #fff;
}

.timeline-section {
  padding-top: clamp(70px, 9vw, 108px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--line);
  gap: 18px;
}

.timeline div {
  position: relative;
  padding-top: 28px;
}

.timeline div::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--amber);
  border: 4px solid var(--bg);
  border-radius: 50%;
}

.timeline span {
  color: var(--purple);
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin: 5px 0;
  font-size: 1.08rem;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 28px;
}

.price-card.highlight {
  border: 2px solid var(--purple);
  box-shadow: 0 24px 66px rgba(116, 23, 212, 0.18);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #392b48;
  font-weight: 760;
}

.price-card li svg {
  padding: 2px;
  border-radius: 50%;
  background: rgba(34, 181, 115, 0.12);
  color: var(--green);
}

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

.testimonial {
  margin: 0;
  min-height: 210px;
  padding: 26px;
}

.testimonial blockquote {
  margin: 0 0 28px;
  color: #281a37;
  font-size: 1.16rem;
  font-weight: 850;
  line-height: 1.35;
}

.testimonial figcaption {
  font-weight: 800;
}

.portal-section,
.admin-section {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(74px, 10vw, 124px) 0 0;
}

.portal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.82fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.portal-intro p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portal-shell {
  display: grid;
  gap: 18px;
}

.portal-card,
.admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.account-card {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 30px;
}

.account-card > svg {
  width: 44px;
  height: 44px;
  color: var(--purple);
}

.account-card p {
  color: var(--muted);
}

.dashboard-card {
  padding: 26px;
}

.dashboard-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-head h3 {
  margin: 8px 0 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.access-pill {
  min-width: max-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--purple-deep);
  font-size: 0.8rem;
  font-weight: 900;
}

.access-pill.active {
  background: rgba(34, 181, 115, 0.12);
  color: #13764b;
}

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

.member-grid article {
  min-height: 116px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  background: var(--surface-soft);
  border-radius: var(--radius);
}

.member-grid svg {
  width: 23px;
  height: 23px;
  color: var(--purple);
}

.member-grid strong {
  font-size: 0.9rem;
}

.member-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.restricted-note {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #fff8e9;
  border: 1px solid #ffe0a2;
  border-radius: var(--radius);
  color: #744b06;
}

.restricted-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.restricted-note p {
  margin: 0;
  font-weight: 760;
}

.resource-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.resource-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdff;
}

.resource-item svg {
  width: 24px;
  height: 24px;
  color: var(--purple);
}

.resource-item strong,
.resource-item small {
  display: block;
}

.resource-item small {
  color: var(--muted);
  font-weight: 760;
}

.resource-item a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--purple);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-section {
  padding-top: clamp(58px, 8vw, 96px);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 18px;
}

.admin-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.admin-card label {
  display: grid;
  gap: 7px;
  color: #463a55;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-card input,
.admin-card select,
.admin-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdff;
  color: var(--ink);
  outline: none;
}

.admin-card textarea {
  resize: vertical;
}

.admin-card input:focus,
.admin-card select:focus,
.admin-card textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(116, 23, 212, 0.12);
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 19px;
  min-height: 19px;
  accent-color: var(--purple);
}

.admin-message,
.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 850;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 19, 33, 0.56);
  backdrop-filter: blur(10px);
}

.auth-dialog {
  position: relative;
  width: min(100%, 470px);
  max-height: min(780px, calc(100svh - 40px));
  overflow: auto;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 32px 90px rgba(18, 7, 31, 0.35);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--purple-deep);
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 34px 0 20px;
  padding: 5px;
  background: var(--surface-soft);
  border-radius: var(--radius);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--purple-deep);
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active {
  background: #fff;
  box-shadow: 0 8px 20px rgba(57, 13, 105, 0.1);
}

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

.auth-form h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.auth-form p {
  color: var(--muted);
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #463a55;
  font-size: 0.9rem;
  font-weight: 900;
}

.auth-form input {
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.auth-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(116, 23, 212, 0.12);
}

.admin-page {
  background: #f8f4ff;
}

.admin-dashboard {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(34px, 6vw, 72px) 0 clamp(80px, 10vw, 124px);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.admin-hero h1 {
  max-width: 820px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.admin-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.admin-profile {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-profile svg {
  width: 36px;
  height: 36px;
  color: var(--purple);
}

.admin-profile span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: clamp(42px, 7vw, 72px);
}

.admin-stats article {
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(57, 13, 105, 0.07);
}

.admin-stats svg {
  width: 28px;
  height: 28px;
  color: var(--purple);
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-stats strong {
  font-size: 2rem;
}

.admin-workspace {
  margin-top: clamp(44px, 7vw, 72px);
}

.admin-workspace.two-column {
  display: grid;
  grid-template-columns: minmax(310px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--purple-deep);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  color: var(--muted);
}

.admin-table select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.switch-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #463a55;
  font-weight: 850;
}

.switch-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

.table-action,
.resource-actions button,
.resource-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.resource-actions button {
  background: #7b3152;
}

.admin-resource-list {
  display: grid;
  gap: 12px;
}

.admin-resource-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdff;
}

.admin-resource-item span,
.admin-resource-item small {
  color: var(--muted);
  font-weight: 800;
}

.admin-resource-item strong {
  display: block;
  margin: 3px 0;
  font-size: 1.05rem;
}

.admin-resource-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-state {
  margin: 0;
  padding: 18px;
  background: var(--surface-soft);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(74px, 10vw, 126px) 0;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #463a55;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdff;
  color: var(--ink);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(116, 23, 212, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 850;
}

.floating-action {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 36px rgba(34, 181, 115, 0.28);
}

.floating-action svg {
  width: 25px;
  height: 25px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 20px;
  color: #675b75;
  border-top: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}

.site-footer img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    border-radius: var(--radius);
    justify-content: flex-start;
  }

  .main-nav .nav-link {
    border-radius: var(--radius);
    justify-content: flex-start;
  }

  .hero,
  .contact-section,
  .portal-section,
  .admin-hero,
  .admin-workspace.two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 470px;
  }

  .proof-strip,
  .system-grid,
  .program-grid,
  .testimonial-grid,
  .admin-grid,
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .section-band,
  .section,
  .contact-section,
  .portal-section,
  .admin-section,
  .proof-strip {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .button {
    width: 100%;
  }

  .trust-row span {
    flex: 1 1 150px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual::before {
    inset: 4% 0 3%;
    border-radius: 22px;
  }

  .orb-logo {
    width: 190px;
    top: 26px;
    right: 20px;
  }

  .score-board {
    width: calc(100% - 28px);
    margin-top: 128px;
    padding: 16px;
  }

  .proof-strip,
  .system-grid,
  .program-grid,
  .timeline,
  .pricing-grid,
  .testimonial-grid,
  .member-grid,
  .admin-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-head,
  .resource-item,
  .admin-resource-item {
    grid-template-columns: 1fr;
  }

  .dashboard-head {
    display: grid;
  }

  .portal-actions .button {
    width: 100%;
  }

  .section.tinted {
    padding-inline: 14px;
  }

  .timeline {
    border-top: 0;
  }

  .timeline div {
    padding: 20px 0 0 22px;
    border-left: 2px solid var(--line);
  }

  .timeline div::before {
    top: 23px;
    left: -8px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .program-card,
  .feature-card,
  .price-card {
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  }

  .program-card:hover,
  .feature-card:hover,
  .price-card:hover {
    transform: translateY(-3px);
  }
}
