:root {
  --ink: #112033;
  --muted: #5d6a78;
  --line: #dfe6ed;
  --paper: #f7fafc;
  --white: #ffffff;
  --navy: #0f2237;
  --green: #17b86a;
  --green-dark: #0d7c4a;
  --gold: #d9a522;
  --shadow: 0 18px 42px rgba(17, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 230, 237, 0.82);
  backdrop-filter: blur(14px);
}

.site-header.compact {
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  color: #24384d;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

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

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  background-image: url("assets/hero-study.png");
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 36%, rgba(255, 255, 255, 0.42) 62%, rgba(255, 255, 255, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 550px;
  margin: 22px 0 0;
  color: #2c3d4f;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 28px;
}

.hero-stats div {
  min-height: 82px;
  border: 1px solid rgba(223, 230, 237, 0.92);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(17, 32, 51, 0.07);
}

.hero-stats strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.hero-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(23, 184, 106, 0.22);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  border: 1px solid var(--line);
}

.section {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.intro-section {
  background: var(--white);
}

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

.exam-grid,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.exam-card,
.feature-grid article,
.contact-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 8px 24px rgba(17, 32, 51, 0.06);
}

.card-topline {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.exam-card p,
.feature-grid p,
.launch-copy p,
.split-layout p,
.legal-hero p,
.legal-content p,
.contact-grid p,
.site-footer p {
  color: var(--muted);
}

.exam-card dl {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.exam-card dl div,
.status-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.feature-band {
  background: var(--paper);
}

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

.content-section {
  background: var(--white);
}

.content-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.content-card,
.workflow-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 8px 24px rgba(17, 32, 51, 0.05);
}

.content-card p,
.workflow-grid p {
  color: var(--muted);
}

.workflow-section {
  background: var(--paper);
}

.workflow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.workflow-grid strong {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-size: 1.1rem;
}

.feature-mark {
  display: block;
  width: 34px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--green);
}

.progress-section {
  background: #102236;
  color: var(--white);
}

.progress-section h2,
.progress-section .eyebrow {
  color: var(--white);
}

.progress-section p {
  color: #d2dce6;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
}

.status-list {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 22px 20px;
  background: rgba(255, 255, 255, 0.08);
}

.status-list div {
  border-color: rgba(255, 255, 255, 0.18);
}

.status-list span {
  color: #b7c6d6;
}

.launch-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  background: var(--white);
}

.launch-copy {
  max-width: 720px;
}

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

.store-row span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 32, 51, 0.05);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 18px 22px;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.waitlist-section {
  background: var(--paper);
}

.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.waitlist-panel p {
  color: var(--muted);
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.waitlist-form label {
  color: var(--navy);
  font-weight: 850;
}

.waitlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist-row input,
.waitlist-row button {
  min-height: 52px;
  border-radius: 8px;
  font: inherit;
}

.waitlist-row input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
}

.waitlist-row input:focus {
  outline: 3px solid rgba(23, 184, 106, 0.18);
  border-color: var(--green);
}

.waitlist-row button {
  border: 0;
  padding: 0 18px;
  background: var(--green);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.waitlist-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.45em;
  font-weight: 800;
}

.form-status[data-type="success"] {
  color: var(--green-dark);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #081522;
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a,
.site-footer p {
  color: #c7d3df;
}

.legal-page,
.contact-page {
  background: var(--paper);
}

.legal-hero {
  padding: 76px clamp(18px, 5vw, 72px) 34px;
  background: var(--white);
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.legal-content,
.contact-grid {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 78px;
}

.legal-content h2 {
  margin-top: 32px;
  font-size: 1.45rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.inline-link {
  color: var(--green-dark);
  font-weight: 800;
  border-bottom: 2px solid rgba(23, 184, 106, 0.35);
}

@media (max-width: 960px) {
  .feature-grid,
  .content-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-section,
  .split-layout,
  .waitlist-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 18px;
  }

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

  .hero {
    min-height: 78svh;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 52%, rgba(255, 255, 255, 0.62) 100%);
  }

  .hero-content {
    margin-left: 18px;
    padding-top: 34px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button,
  .waitlist-row button {
    width: 100%;
  }

  .waitlist-row {
    grid-template-columns: 1fr;
  }

  .exam-grid,
  .feature-grid,
  .content-grid,
  .workflow-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .exam-card dl div,
  .status-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  dd {
    text-align: left;
  }
}
