:root {
  --ink: #102a43;
  --muted: #486581;
  --line: #d9e2ec;
  --paper: #fbfcfe;
  --white: #ffffff;
  --blue: #1264a3;
  --blue-dark: #0b4f7a;
  --teal: #0f766e;
  --gold: #b7791f;
  --rose: #b83280;
  --shadow: 0 22px 70px rgba(16, 42, 67, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(251, 252, 254, 0.94);
  border-bottom: 1px solid rgba(217, 226, 236, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-weight: 800;
}

.brand small,
.footer p:last-child {
  display: block;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

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

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.language select {
  min-width: 142px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 64px) 56px;
  background:
    linear-gradient(135deg, rgba(18, 100, 163, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  cursor: pointer;
}

.button.primary {
  background: var(--blue);
  color: white;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-strip span,
.lesson-actions span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 0.9rem;
}

.product-visual {
  overflow: hidden;
  border: 1px solid rgba(217, 226, 236, 0.92);
  border-radius: 14px;
  background: #0b1726;
  box-shadow: var(--shadow);
}

.visual-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f87171;
}

.visual-top span:nth-child(2) {
  background: #fbbf24;
}

.visual-top span:nth-child(3) {
  background: #34d399;
}

.dashboard {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 520px;
  color: white;
}

.dashboard aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.dashboard aside small,
.dashboard section small,
.dash-header span,
.lesson-card p {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard aside button {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-align: left;
}

.dashboard section {
  padding: 26px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.dash-header span {
  align-self: start;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(15, 118, 110, 0.18);
  color: #a7f3d0;
  white-space: nowrap;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.progress-grid article,
.lesson-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-grid strong {
  display: block;
  font-size: 2rem;
}

.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.lesson-actions span {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.12);
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 64px);
  scroll-margin-top: 72px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  background: white;
  border-block: 1px solid var(--line);
}

.intro p {
  margin: 0;
}

.intro p:last-child,
.signup-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 14px;
}

.role-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: white;
  color: var(--ink);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.role-tabs button:hover {
  background: #f4f8fb;
}

.role-tabs button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.role-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: white;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.05);
}

.role-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.role-panel li + li {
  margin-top: 6px;
}

.pricing {
  background: white;
  border-block: 1px solid var(--line);
  align-items: center;
  text-align: center;
}

.pricing-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing .lead {
  margin: 12px auto 0;
  max-width: 660px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px auto 10px;
  text-align: left;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.plan-card--featured {
  border-color: var(--ink);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
}

.plan-name {
  margin: 0;
  font-size: 1rem;
}

.plan-band {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.plan-band-unit {
  margin-left: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-includes {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pricing-scaling-note {
  margin: 8px auto 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.83rem;
  font-style: italic;
  line-height: 1.5;
}

.addon-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto 18px;
  text-align: left;
}

.addon-card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.addon-name {
  margin: 0 0 2px;
  font-size: 0.88rem;
  font-weight: 700;
}

.addon-name small {
  margin-left: 4px;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
}

.addon-band {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.addon-includes {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.founder-callout {
  margin: 0 auto 14px;
  padding: 18px 22px;
  border: 1px solid var(--gold);
  border-left-width: 4px;
  border-radius: 12px;
  background: #fff8eb;
  text-align: left;
  max-width: 760px;
}

.founder-callout-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.founder-callout-list {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.founder-callout-list li + li {
  margin-top: 3px;
}

.founder-callout .cohort-application-note {
  margin: 12px 0;
  font-size: 0.82rem;
}

.founder-callout .hero-actions {
  margin-top: 12px;
  justify-content: flex-start;
}

.pricing-note {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cohort-cta {
  background: linear-gradient(180deg, #ffffff 0%, #eef5f9 100%);
  border-block: 1px solid var(--line);
  align-items: center;
  text-align: center;
}

.cohort-cta-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cohort-cta-inner .eyebrow {
  margin-bottom: 16px;
}

.cohort-copy {
  max-width: 600px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.cohort-cta-inner .hero-actions {
  justify-content: center;
}

.cohort-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 720px;
  margin: 32px auto;
  text-align: left;
}

.cohort-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  width: 100%;
  max-width: 880px;
  margin: 36px auto 32px;
  text-align: left;
}

.cohort-offer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.cohort-offer-heading {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.cohort-offer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.55;
}

.cohort-application-note {
  margin: 24px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.5;
}

.trust-strip {
  padding: 28px clamp(18px, 4vw, 64px);
  background: #fbfcfe;
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.trust-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

.trust-item p {
  margin: 0;
}

.trust-item a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.trust-item a:hover {
  text-decoration: underline;
}

.trust-eyebrow {
  display: block;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ai-governance {
  background: linear-gradient(180deg, #f4f8fb 0%, white 100%);
  border-block: 1px solid var(--line);
  align-items: center;
  text-align: center;
}

.ai-governance-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.ai-governance .lead {
  margin: 14px auto 0;
  max-width: 640px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 36px auto 18px;
  max-width: 880px;
  text-align: left;
}

.ai-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.ai-card-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.ai-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.ai-governance-note {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
}

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

.consent-note a {
  color: var(--blue);
  text-decoration: underline;
}

.consent-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
}

.consent-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex: 0 0 auto;
}

.consent-checkbox a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 600;
}

.legal-page {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 64px);
  background: var(--paper);
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-inner h1 {
  margin-bottom: 24px;
}

.legal-inner h2 {
  margin-top: 32px;
  font-size: 1.25rem;
}

.legal-inner ul {
  padding-left: 22px;
  color: var(--ink);
}

.legal-meta {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

.cohort-offer .cohort-card {
  margin-top: auto;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: #fbfcfe;
  padding: 14px;
}

.cohort-offer .cohort-count {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.cohort-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 18px;
  background: white;
}

.cohort-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cohort-count {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cohort-count span:nth-child(2) {
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 4px;
}

.cohort-bar {
  position: relative;
  height: 8px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(16, 42, 67, 0.08);
  overflow: hidden;
}

.cohort-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #d97706);
  transition: width 0.4s ease;
}

.cohort-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.signup-page {
  background: var(--paper);
}

.signup-page-main {
  display: grid;
  gap: 0;
}

.signup-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 64px);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  scroll-margin-top: 72px;
}

.signup-hero .eyebrow {
  margin-bottom: 14px;
}

.signup-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
}

.signup-hero .cohort-copy {
  max-width: 600px;
}

.signup-hero .cohort-grid {
  margin-top: 36px;
}

.share-strip {
  padding: 24px clamp(18px, 4vw, 64px);
  background: #eef5f9;
  border-block: 1px solid var(--line);
}

.qr-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 32px rgba(16, 42, 67, 0.06);
}

#qrcode {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

#qrcode svg {
  width: 100%;
  height: 100%;
  display: block;
}

.share-copy strong {
  display: block;
  margin-bottom: 4px;
}

.share-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.share-link {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  word-break: break-all;
}

.share-link code {
  background: rgba(16, 42, 67, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.signup-form-section {
  padding: 36px clamp(18px, 4vw, 64px) 72px;
}

.signup-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 4vw, 32px);
  background: white;
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label span,
legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 600;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 11px;
  background: #f8fbfd;
  color: var(--muted);
  cursor: pointer;
}

.chips input {
  width: auto;
}

.form-status {
  display: none;
  border-radius: 8px;
  padding: 12px;
  background: #e6fffa;
  color: #064e3b;
  font-weight: 700;
}

.form-status.show {
  display: block;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 64px);
  background: var(--ink);
  color: white;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .role-panel {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .signup-hero {
    min-height: auto;
  }

  .product-visual {
    max-width: 760px;
  }

  .addon-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 34px;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard aside {
    display: none;
  }

  .progress-grid,
  .two-col,
  .cohort-grid,
  .cohort-offers,
  .plans-grid,
  .addon-row,
  .secondary-skus,
  .trust-strip-inner,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .dash-header {
    flex-direction: column;
  }

  .qr-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #qrcode {
    margin: 0 auto;
  }

  .share-actions {
    justify-content: center;
  }

  .chips label {
    padding: 11px 14px;
    font-size: 0.95rem;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .role-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .role-tabs button {
    flex: 0 0 auto;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .form-actions,
  .share-actions {
    flex-direction: column;
  }
}
