:root {
  --bg: #06111f;
  --bg-deep: #030814;
  --bg-panel: #0d1d31;
  --bg-panel-soft: #10243d;
  --orange: #ff5722;
  --orange-hover: #e64e1f;
  --cyan: #2cb7d6;
  --text: #ffffff;
  --text-soft: #d7e0ef;
  --text-muted: #8d9bb2;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 0 6%;
  background: rgba(3, 8, 20, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-link img {
  width: auto;
  height: 54px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-links a,
.nav-cta {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid rgba(255, 87, 34, 0.42);
  color: var(--text);
}

.nav-cta:hover {
  border-color: var(--orange);
  background: rgba(255, 87, 34, 0.1);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 48px;
  padding: 150px 6% 76px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}

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

.hero-media {
  background-image: url("./assets/refinery-background.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 8, 20, 0.94) 0%, rgba(6, 17, 31, 0.82) 42%, rgba(6, 17, 31, 0.42) 100%),
    linear-gradient(0deg, rgba(3, 8, 20, 0.94) 0%, rgba(3, 8, 20, 0.28) 52%, rgba(3, 8, 20, 0.42) 100%);
}

.hero-content {
  max-width: 820px;
}

.eyebrow,
.section-tag {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 800;
  line-height: 0.98;
}

.hero-lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.btn-primary,
.btn-secondary,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-primary {
  min-height: 48px;
  padding: 15px 24px;
  background-color: var(--orange);
  box-shadow: 0 16px 35px rgba(255, 87, 34, 0.26);
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  background: rgba(3, 8, 20, 0.42);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.hero-proof {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: rgba(6, 17, 31, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  padding: 18px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.04);
}

.hero-proof span,
.impact-item span,
.timeline-grid span,
.resource-type {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}

.trust-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--orange);
  color: var(--bg-deep);
}

.impact-item {
  padding: 32px 6vw;
  border-right: 1px solid rgba(3, 8, 20, 0.14);
}

.impact-item span {
  color: rgba(3, 8, 20, 0.66);
}

.impact-item strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.services-section,
.framework-section,
.outcomes-section,
.founder-section,
.academy-section,
.member-section,
.contact-section {
  position: relative;
  z-index: 3;
  padding: 112px 6%;
}

.services-section,
.outcomes-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(44, 183, 214, 0.1), transparent 34%),
    var(--bg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

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

.section-heading h2,
.framework-copy h2,
.founder-copy h2,
.academy-intro h2,
.member-intro h2,
.resources-toolbar h2,
.contact-left h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
}

.section-heading p:not(.section-tag),
.framework-copy p,
.founder-copy p,
.academy-intro p,
.member-intro p,
.resources-toolbar p,
.resource-card p,
.auth-header p,
.auth-message,
.timeline-grid p,
.contact-left p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.section-heading p:not(.section-tag) {
  margin: 20px 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.resource-card,
.timeline-grid article,
.auth-card,
.contact-right {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 360px;
  padding: 34px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.service-card:hover,
.resource-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 87, 34, 0.42);
  background: var(--bg-panel-soft);
}

.featured-card {
  background:
    linear-gradient(180deg, rgba(255, 87, 34, 0.12), rgba(16, 36, 61, 0.96)),
    var(--bg-panel-soft);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--orange);
  background: rgba(255, 87, 34, 0.1);
  border-radius: 8px;
}

.service-card h3,
.timeline-grid h3,
.resource-card h3,
.auth-header h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.service-card p,
.timeline-grid p,
.resource-card p {
  margin: 0;
}

.framework-section {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  align-items: center;
  gap: 68px;
  background: #f5f7fb;
  color: #0c1a2b;
}

.framework-copy {
  max-width: 520px;
}

.framework-copy h2 {
  color: #0c1a2b;
}

.framework-copy p {
  color: #526070;
}

.framework-copy p:not(.section-tag) {
  margin: 20px 0 0;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #263548;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 87, 34, 0.12);
}

.framework-visual {
  width: 100%;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(12, 26, 43, 0.18);
}

.framework-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.timeline-grid article {
  padding: 30px;
}

.timeline-grid span {
  margin-bottom: 22px;
  color: var(--orange);
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(320px, 1fr);
  align-items: center;
  gap: 56px;
  background: var(--bg-deep);
}

.founder-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.founder-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: left center;
}

.founder-copy {
  max-width: 620px;
}

.founder-copy p:not(.section-tag) {
  margin: 22px 0 0;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-link:hover {
  color: #ff7b52;
}

.academy-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1fr);
  align-items: center;
  gap: 68px;
  background:
    radial-gradient(circle at 14% 10%, rgba(44, 183, 214, 0.14), transparent 32%),
    radial-gradient(circle at 92% 36%, rgba(255, 87, 34, 0.12), transparent 30%),
    var(--bg);
}

.academy-intro {
  max-width: 840px;
}

.academy-intro p:not(.section-tag) {
  margin: 22px 0 0;
}

.academy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.academy-visual,
.member-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.academy-visual img,
.member-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academy-visual {
  height: 470px;
}

.academy-visual img {
  object-position: center top;
}

.member-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.1), transparent 32%),
    #071326;
}

.member-access-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: 68px;
}

.member-visual {
  height: 680px;
}

.member-visual img {
  object-position: 52% center;
}

.member-access-copy {
  min-width: 0;
}

.member-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.member-intro p:not(.section-tag) {
  margin: 18px 0 0;
}

.member-panel,
.resources-page {
  animation: slideDown 0.38s ease both;
}

.resources-page {
  margin-top: 52px;
}

.auth-card {
  max-width: 560px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.auth-header {
  margin-bottom: 26px;
}

.auth-header h3 {
  font-size: 24px;
}

.member-auth-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.auth-support {
  margin-top: -10px;
}

.auth-link {
  min-height: auto;
  padding: 4px 0;
  color: var(--cyan);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.auth-link:hover {
  color: var(--text);
}

.auth-link:disabled {
  cursor: wait;
  opacity: 0.6;
}

.signup-consent {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: rgba(3, 8, 20, 0.38);
  border: 1px solid rgba(44, 183, 214, 0.28);
  border-radius: 8px;
}

.notice-at-collection {
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.notice-at-collection strong {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.notice-at-collection p,
.consent-help {
  margin: 0;
}

.notice-at-collection a,
.contact-privacy a,
.footer-copy a,
.privacy-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
}

.consent-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.consent-option input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.consent-help {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.auth-message {
  min-height: 24px;
  margin: 18px 0 0;
}

.auth-message[data-type="error"] {
  color: #ffb199;
}

.auth-message[data-type="info"] {
  color: #a8b2d1;
}

.resources-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.resources-toolbar > div {
  max-width: 760px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.resource-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.resource-type {
  width: fit-content;
  margin-bottom: 20px;
  padding: 6px 10px;
  border: 1px solid rgba(44, 183, 214, 0.34);
  border-radius: 999px;
}

.resource-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

[hidden] {
  display: none !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1fr);
  gap: 70px;
  background: var(--bg-deep);
}

.contact-left p:not(.section-tag) {
  max-width: 520px;
  margin: 22px 0 38px;
}

.linkedin-box {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  transition: opacity 0.2s, transform 0.2s;
}

.linkedin-box:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

.linkedin-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0077b5;
  border-radius: 6px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.linkedin-info span {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.linkedin-info small {
  color: var(--text-muted);
  font-size: 12px;
}

.contact-right {
  padding: 38px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  outline: 0;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--orange);
}

.btn-submit {
  align-self: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 15px 28px;
  background-color: var(--orange);
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status,
.contact-privacy {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.contact-form-status {
  min-height: 20px;
  color: var(--text-muted);
}

.contact-form-status[data-type="success"] {
  color: #89f7d0;
}

.contact-form-status[data-type="error"] {
  color: #ffb199;
}

.contact-form-status[data-type="info"] {
  color: var(--cyan);
}

.contact-privacy {
  margin-top: -12px;
  color: var(--text-muted);
  opacity: 0.82;
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6%;
  background-color: var(--bg-deep);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
}

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

.site-footer > a:last-child {
  font-weight: 800;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.privacy-document {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 5%, rgba(44, 183, 214, 0.12), transparent 28%),
    radial-gradient(circle at 88% 9%, rgba(255, 87, 34, 0.11), transparent 24%),
    var(--bg-deep);
}

.privacy-nav {
  position: relative;
}

.privacy-main {
  width: min(100% - 12%, 1180px);
  margin: 0 auto;
  padding: 86px 0 110px;
}

.privacy-hero {
  max-width: 900px;
  margin-bottom: 38px;
}

.privacy-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
}

.privacy-summary {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.privacy-version {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.privacy-callout {
  padding: 30px;
  margin-bottom: 42px;
  background: linear-gradient(135deg, rgba(13, 29, 49, 0.98), rgba(16, 36, 61, 0.82));
  border: 1px solid rgba(44, 183, 214, 0.32);
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.privacy-callout h2 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: clamp(25px, 4vw, 38px);
}

.privacy-callout p:not(.section-tag) {
  max-width: 980px;
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 4px;
  padding: 20px;
  background: rgba(13, 29, 49, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-toc strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.privacy-toc a {
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.privacy-toc a:hover {
  color: var(--cyan);
}

.privacy-content {
  min-width: 0;
}

.privacy-content section {
  scroll-margin-top: 28px;
  padding: 0 0 36px;
  margin: 0 0 36px;
  border-bottom: 1px solid var(--line);
}

.privacy-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.privacy-content h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 34px);
}

.privacy-content p,
.privacy-content li {
  color: var(--text-soft);
  line-height: 1.78;
}

.privacy-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.privacy-content strong {
  color: var(--text);
}

.privacy-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(13, 29, 49, 0.52);
}

.privacy-table th,
.privacy-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.58;
}

.privacy-table th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.privacy-table td {
  color: var(--text-soft);
}

.privacy-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 820px) {
  .privacy-main {
    width: min(100% - 40px, 1180px);
    padding: 58px 0 80px;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .privacy-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .privacy-nav {
    min-height: 72px;
    padding: 10px 20px;
  }

  .privacy-nav .logo-link img {
    height: 44px;
  }

  .privacy-nav .nav-cta {
    padding: 10px;
    font-size: 10px;
  }

  .privacy-main {
    width: min(100% - 28px, 1180px);
  }

  .privacy-callout {
    padding: 22px;
  }

  .privacy-toc {
    grid-template-columns: 1fr;
  }
}

.resource-document {
  background-color: var(--bg-deep);
}

.resource-document-body {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 80px 0;
}

.resource-document-body h1 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 42px;
  line-height: 1.15;
}

.resource-document-body h2 {
  margin: 42px 0 14px;
  color: var(--text);
  font-size: 24px;
}

.resource-document-body p,
.resource-document-body li {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.resource-document-body li + li {
  margin-top: 10px;
}

.academy-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 8%, rgba(44, 183, 214, 0.14), transparent 32%),
    var(--bg-deep);
}

.academy-shell {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
  padding: 56px 0 90px;
}

.academy-portal-hero {
  max-width: 940px;
  margin-bottom: 40px;
}

.academy-portal-hero h1,
.academy-dashboard-top h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
}

.academy-portal-hero p:not(.section-tag),
.academy-dashboard-top p,
.academy-course-card p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.academy-portal-hero p:not(.section-tag) {
  margin: 24px 0 0;
}

.academy-login-panel,
.academy-dashboard {
  animation: slideDown 0.38s ease both;
}

.academy-auth-card {
  max-width: 620px;
}

.academy-auth-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 28px;
}

.academy-dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.academy-dashboard-top h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.academy-course-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.academy-sidebar,
.academy-course-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.academy-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.academy-sidebar a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--text-soft);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.academy-sidebar a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.academy-course-list {
  display: grid;
  gap: 22px;
}

.academy-course-card {
  padding: 30px;
}

.academy-course-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 26px;
}

.academy-course-card p {
  margin: 0;
}

.lesson-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.lesson-list a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.lesson-list a:hover {
  border-color: rgba(255, 87, 34, 0.42);
  background: rgba(255, 87, 34, 0.1);
}

@media (max-width: 1080px) {
  .header-nav {
    padding: 0 5%;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 128px 5% 64px;
  }

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

  .services-section,
  .framework-section,
  .outcomes-section,
  .founder-section,
  .academy-section,
  .member-section,
  .contact-section {
    padding: 92px 5%;
  }

  .framework-section,
  .founder-section,
  .academy-section,
  .member-access-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .academy-section,
  .member-access-layout {
    gap: 42px;
  }

  .founder-image img {
    height: auto;
  }

  .academy-visual,
  .member-visual {
    height: 420px;
  }

  .academy-shell {
    width: min(100% - 10%, 1240px);
  }

  .academy-course-layout {
    grid-template-columns: 1fr;
  }

  .academy-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-nav {
    min-height: 72px;
  }

  .logo-link img {
    height: 44px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 8, 20, 0.96) 0%, rgba(6, 17, 31, 0.82) 100%),
      linear-gradient(0deg, rgba(3, 8, 20, 0.94) 0%, rgba(3, 8, 20, 0.42) 100%);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-buttons,
  .academy-actions,
  .auth-actions {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary,
  .academy-actions .btn-primary,
  .academy-actions .btn-secondary,
  .auth-actions .btn-primary,
  .auth-actions .btn-secondary {
    width: 100%;
  }

  .hero-proof,
  .trust-section,
  .services-grid,
  .timeline-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .impact-item {
    padding: 24px 5%;
    border-right: 0;
    border-bottom: 1px solid rgba(3, 8, 20, 0.14);
  }

  .framework-section {
    gap: 36px;
  }

  .academy-visual,
  .member-visual {
    height: 340px;
  }

  .framework-visual {
    width: 100%;
  }

  .framework-visual img {
    min-height: auto;
  }

  .resources-toolbar {
    flex-direction: column;
  }

  .academy-dashboard-top {
    flex-direction: column;
  }

  .auth-card,
  .contact-right {
    padding: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-bottom: 46px;
  }

  .services-section,
  .framework-section,
  .outcomes-section,
  .founder-section,
  .academy-section,
  .member-section,
  .contact-section {
    padding: 76px 5%;
  }

  .service-card,
  .timeline-grid article,
  .resource-card {
    padding: 26px;
  }

  .academy-shell {
    padding: 48px 0 72px;
  }

  .academy-visual,
  .member-visual {
    height: 260px;
  }

  .academy-course-card {
    padding: 26px;
  }
}
