@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #0b1220;
  --ink-2: #1c2738;
  --slate: #5b677a;
  --line: #c9d3e0;
  --paper: #f3f6fa;
  --mist: #e4eaf1;
  --sky: #9eb6d4;
  --signal: #ff5a1f;
  --signal-deep: #e04510;
  --lime: #c6f26d;
  --white: #ffffff;
  --max: 1180px;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, #dfe7f1 0%, var(--paper) 28%, #f7f9fc 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 22px,
      rgba(11, 18, 32, 0.015) 22px,
      rgba(11, 18, 32, 0.015) 23px
    );
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  border-bottom: 3px solid var(--signal);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  text-align: center;
}

.topbar strong {
  color: var(--lime);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.site-header {
  background: rgba(243, 246, 250, 0.92);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
  position: relative;
  z-index: 1;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-text span:first-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span:last-child {
  font-size: 0.7rem;
  color: var(--slate);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: var(--white);
  display: none;
  place-items: center;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  z-index: 130;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-menu a {
  padding: 0.55rem 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--signal-deep);
  border-bottom-color: var(--signal);
  background: rgba(255, 90, 31, 0.06);
}

.nav-overlay {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(560px, 90vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.62) 45%, rgba(11, 18, 32, 0.25) 100%),
    linear-gradient(0deg, rgba(11, 18, 32, 0.7) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3.2rem, 9vw, 6rem) 0 clamp(2.8rem, 6vw, 4.8rem);
  max-width: 680px;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 1.1rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--lime);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 20ch;
  margin-bottom: 0.9rem;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
  margin-bottom: 1.7rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.3rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--signal-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-solid {
  background: var(--ink);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--ink-2);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.section {
  padding: clamp(3.8rem, 8vw, 6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(228, 234, 241, 0.7), rgba(243, 246, 250, 0.2));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-deep);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--signal);
}

.section-head h2,
.block-title,
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.section-head p,
.lead {
  color: var(--slate);
  font-size: 1.05rem;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.feature-rail article {
  padding: 1.6rem 1.3rem 1.4rem 0;
  border-right: 1px solid var(--line);
}

.feature-rail article:last-child {
  border-right: 0;
  padding-right: 0;
}

.feature-rail .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--sky);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.feature-rail h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.feature-rail p {
  color: var(--slate);
  font-size: 0.98rem;
  max-width: 32ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}

.schedule-board {
  background: var(--ink);
  color: var(--white);
  padding: clamp(1.4rem, 3vw, 2rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.schedule-board h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  color: var(--lime);
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.time {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--signal);
  font-size: 0.95rem;
}

.timeline-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.metric-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.metric {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
}

.metric strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  color: var(--signal-deep);
  line-height: 1;
}

.metric span {
  color: var(--slate);
  font-size: 0.92rem;
}

.habit-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.habit-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
}

.habit-list li:last-child {
  border-bottom: 0;
}

.habit-list .check {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}

.teach-copy .cta-row {
  margin-top: 1.5rem;
}

.cta-band {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto clamp(3.2rem, 6vw, 5rem);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background:
    linear-gradient(120deg, var(--ink) 0%, #162235 55%, #1d2b42 100%);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 1.4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  background: var(--signal);
  opacity: 0.9;
  clip-path: polygon(30% 0, 100% 0, 100% 70%);
}

.cta-band h2 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
  position: relative;
  z-index: 1;
}

.cta-band .cta-row {
  position: relative;
  z-index: 1;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.8rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 0.65rem;
}

.footer-grid p {
  max-width: 34ch;
  font-size: 0.95rem;
}

.footer-grid h4 {
  color: var(--lime);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.footer-grid a {
  display: block;
  padding: 0.28rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.page-hero {
  padding: clamp(2.8rem, 7vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(28, 39, 56, 0.92)),
    linear-gradient(90deg, var(--ink), #1a2740);
  color: var(--white);
  border-bottom: 3px solid var(--signal);
}

.page-hero .eyebrow {
  color: var(--lime);
}

.page-hero .eyebrow::before {
  background: var(--lime);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: -0.03em;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 1.4rem 0 0.55rem;
  color: var(--ink);
}

.prose p,
.prose li {
  color: var(--slate);
  font-size: 1.02rem;
  margin-bottom: 0.85rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.prose a {
  color: var(--signal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.content-tile {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem;
}

.content-tile h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.content-tile p {
  color: var(--slate);
  font-size: 0.98rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.2rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding: 1rem 0;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--signal);
  font-weight: 800;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  color: var(--slate);
  padding-bottom: 1rem;
}

.assessment-wrap {
  max-width: 720px;
}

.assessment-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.assessment-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.assessment-progress {
  height: 6px;
  background: var(--mist);
  margin-bottom: 1.4rem;
}

.assessment-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--signal);
}

.question-text {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

.option-list {
  display: grid;
  gap: 0.65rem;
}

.option-list label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  background: var(--paper);
}

.option-list label:hover,
.option-list label.is-selected {
  border-color: var(--ink);
  background: var(--mist);
}

.option-list input {
  margin-top: 0.2rem;
}

.assessment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.result-box {
  display: none;
  margin-top: 1.2rem;
  padding: 1.2rem;
  background: var(--ink);
  color: var(--white);
}

.result-box.is-visible {
  display: block;
}

.result-box h3 {
  font-family: var(--font-display);
  color: var(--lime);
  margin-bottom: 0.55rem;
}

.result-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.result-box .btn-ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.guide-day {
  display: grid;
  gap: 1rem;
}

.guide-block {
  border-left: 3px solid var(--signal);
  padding: 0.2rem 0 0.2rem 1rem;
}

.guide-block h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.guide-block p {
  color: var(--slate);
}

.meta-note {
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 1.5rem;
}

.landing {
  padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
}

.landing-inner {
  width: min(100% - 2rem, 820px);
  margin-inline: auto;
  text-align: center;
}

.landing-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.landing-media {
  width: 100%;
  margin: 0 auto 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}

.landing-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.landing .btn {
  min-width: 200px;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .feature-rail,
  .split,
  .footer-grid,
  .cta-band,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .feature-rail article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 0;
  }

  .feature-rail article:last-child {
    border-bottom: 0;
  }

  .cta-band .cta-row {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
  }

  .nav-toggle {
    display: grid;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 110;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    width: min(84vw, 330px);
    max-width: 330px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    padding: 5.6rem 1.2rem 1.5rem;
    box-shadow: -18px 0 40px rgba(11, 18, 32, 0.2);
    transform: translateX(110%);
    transition: transform 0.22s ease, visibility 0.22s ease;
    z-index: 120;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 0.95rem 0.85rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }

  body.nav-open .brand {
    z-index: 1;
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 580px;
  }

  .hero-content {
    max-width: 100%;
  }

  .timeline-item,
  .metric,
  .habit-list li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 0.2rem;
  }
}
