:root {
  --navy: #0f2a3d;
  --teal: #1f8a8a;
  --turquoise: #dff7f6;
  --gold: #d8a441;
  --off-white: #f8f6f0;
  --charcoal: #263238;
  --gray: #eef2f3;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 42, 61, 0.12);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(248, 246, 240, 0.94);
  border-bottom: 1px solid rgba(15, 42, 61, 0.08);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 42, 61, 0.12);
}

.brand span:not(.brand-name):not(.brand-subtitle) {
  display: grid;
  gap: 0;
}

.brand-name {
  display: block;
  color: var(--navy);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.brand-subtitle {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--teal);
}

.nav-cta {
  padding: 0.72rem 1rem;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--radius);
  box-shadow: 0 10px 18px rgba(31, 138, 138, 0.18);
}

.nav-cta:hover {
  background: #176f6f;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 42, 61, 0.14);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.section {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding-top: clamp(42px, 6vw, 70px);
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 7vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 16px;
}

.hero-lede,
.section-heading p {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.hero-copy .emphasis {
  display: inline-block;
  margin: 8px 0 22px;
  color: var(--navy);
  font-size: 1.15rem;
}

.hero-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin: 0 0 20px;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(15, 42, 61, 0.08);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.12rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 25px rgba(31, 138, 138, 0.22);
}

.button.primary:hover {
  background: #176f6f;
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(15, 42, 61, 0.16);
}

.button.secondary:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 26px rgba(15, 42, 61, 0.08);
}

.microcopy,
.form-note {
  margin-top: 12px;
  color: #5d6a70;
  font-size: 0.92rem;
}

.hero-visual {
  min-height: 520px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 247, 246, 0.92), rgba(248, 246, 240, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(216, 164, 65, 0.22), transparent 30%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 42, 61, 0.08);
}

.hero-banner-logo,
.section-brand-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(15, 42, 61, 0.08);
}

.hero-banner-logo {
  margin-bottom: 18px;
}

.desk-scene {
  position: relative;
  height: calc(100% - 102px);
  min-height: 340px;
  border-radius: 8px;
  background: linear-gradient(160deg, #fffdf8 0%, #eef7f6 100%);
  overflow: hidden;
}

.checklist,
.phone,
.flashlight,
.tool,
.notebook {
  position: absolute;
  box-shadow: 0 16px 36px rgba(15, 42, 61, 0.12);
}

.checklist {
  left: 11%;
  top: 12%;
  width: 46%;
  height: 52%;
  padding: 28px 24px;
  background: var(--white);
  border-radius: 8px;
  border-top: 10px solid var(--gold);
}

.checklist span {
  display: block;
  height: 14px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal) 0 16px, var(--gray) 16px 100%);
}

.flashlight {
  right: 12%;
  top: 18%;
  width: 72px;
  height: 190px;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(180deg, var(--navy), #24465c);
  transform: rotate(-18deg);
}

.flashlight::before {
  content: "";
  position: absolute;
  inset: -24px 14px auto;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
}

.phone {
  right: 14%;
  bottom: 13%;
  width: 28%;
  height: 35%;
  border-radius: 24px;
  background: var(--navy);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  background: var(--turquoise);
}

.tool {
  left: 13%;
  bottom: 14%;
  height: 34px;
  background: var(--teal);
}

.tool-one {
  width: 190px;
  border-radius: 999px;
  transform: rotate(11deg);
}

.tool-two {
  left: 22%;
  bottom: 24%;
  width: 150px;
  border-radius: 999px;
  background: var(--gold);
  transform: rotate(-16deg);
}

.notebook {
  right: 31%;
  top: 44%;
  width: 150px;
  padding: 22px 16px;
  border-radius: 8px;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  transform: rotate(5deg);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-brand-banner {
  margin: 0 0 clamp(28px, 5vw, 48px);
}

.section-heading.center,
.center {
  justify-content: center;
  text-align: center;
  margin-inline: auto;
}

.two-column,
.signup-band,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.muted {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - var(--max-width)) / 2));
  background: var(--gray);
}

.calm-card,
.category-card,
.signup-card,
.handbook-card,
.method-grid article,
.problem-grid article,
.skill-grid article,
.video-grid article {
  border: 1px solid rgba(15, 42, 61, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 42, 61, 0.07);
}

.calm-card {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border-left: 6px solid var(--gold);
}

.grid {
  display: grid;
  gap: 18px;
}

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

.skill-grid article {
  padding: 20px;
  font-weight: 700;
}

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

.problem-grid article,
.video-grid article {
  padding: 18px;
}

.problem-grid span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.8rem;
}

.method-grid article {
  padding: 24px;
}

.method-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: var(--navy);
  background: var(--turquoise);
  border-radius: 50%;
  font-weight: 900;
}

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

.category-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 42, 61, 0.12);
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--navy);
  background: var(--turquoise);
  border-radius: 8px;
  font-weight: 900;
}

.category-card ul,
.check-list {
  padding-left: 20px;
}

.category-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.category-card a:hover {
  color: var(--navy);
}

.closing-line {
  margin-top: 26px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}

.signup-band {
  align-items: center;
  padding: clamp(44px, 6vw, 72px);
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signup-band h2,
.signup-band .eyebrow {
  color: var(--white);
}

.signup-band .eyebrow {
  color: var(--turquoise);
}

.signup-card {
  padding: clamp(22px, 4vw, 32px);
  color: var(--charcoal);
}

.signup-card h3 {
  margin-bottom: 18px;
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--navy);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(15, 42, 61, 0.16);
  border-radius: var(--radius);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(31, 138, 138, 0.22);
  border-color: var(--teal);
}

form .button {
  width: 100%;
  margin-top: 18px;
}

.success-message {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.step-section,
.final-cta {
  text-align: center;
}

.step-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 850px;
  margin: 0 auto 22px;
}

.step-cloud span,
.resource-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(15, 42, 61, 0.1);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
}

.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.handbook-card {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: linear-gradient(145deg, var(--turquoise), var(--white));
}

.book-cover {
  display: grid;
  align-content: space-between;
  width: min(280px, 80%);
  min-height: 360px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #1b5969);
  border: 10px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  box-shadow: 0 24px 45px rgba(15, 42, 61, 0.22);
}

.book-cover strong {
  font-size: 2rem;
  line-height: 1.05;
}

.book-cover small {
  color: var(--gold);
  font-weight: 800;
}

.compact-signup {
  margin-bottom: clamp(36px, 6vw, 70px);
}

.final-cta {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - 860px) / 2));
  background: var(--turquoise);
}

.legal-hero {
  padding-bottom: clamp(32px, 5vw, 54px);
}

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

.legal-logo {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 0 0 26px;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(15, 42, 61, 0.08);
}

.legal-content {
  max-width: 880px;
  padding-top: 0;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--teal);
  font-weight: 800;
}

.legal-note {
  margin-top: 34px;
  padding: 20px;
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gray);
  color: var(--navy);
  font-weight: 700;
}

.final-cta p {
  font-size: 1.15rem;
}

.brand-lines {
  display: grid;
  gap: 4px;
  margin: 24px 0;
  color: var(--navy);
}

.brand-lines strong {
  font-size: 1.5rem;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 42px max(18px, calc((100% - var(--max-width)) / 2));
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.footer-mark {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
}

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

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

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

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

  .site-nav {
    position: fixed;
    inset: 73px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .hero,
  .two-column,
  .signup-band,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .skill-grid,
  .problem-grid,
  .method-grid,
  .category-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 52px 0;
  }

  .muted,
  .final-cta,
  .site-footer {
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.5rem);
  }

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

  .desk-scene {
    min-height: 280px;
  }

  .checklist {
    width: 52%;
    height: 54%;
    padding: 18px 16px;
  }

  .phone {
    width: 32%;
  }

  .notebook {
    width: 118px;
    right: 28%;
  }

  .skill-grid,
  .problem-grid,
  .method-grid,
  .category-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .signup-band {
    padding: 28px 18px;
  }

  .button {
    width: 100%;
  }
}
