:root {
  --black: #0b0d0f;
  --near-black: #141719;
  --white: #ffffff;
  --paper: #f4f4f1;
  --ink: #151719;
  --muted: #686d72;
  --line: #d7d9da;
  --teal: #1d8f83;
  --copper: #b96c39;
  --blue: #3570a8;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body { margin: 0; overflow-x: hidden; background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid rgba(29, 143, 131, 0.45); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 760;
  text-decoration: none;
}

.wordmark-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--black);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 900;
}

.site-header.is-solid .wordmark-mark,
.wordmark-footer .wordmark-mark { color: var(--white); background: var(--ink); }

.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { font-size: 0.88rem; font-weight: 680; text-decoration: none; }

.header-access {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: 700px;
  height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-media,
.hero-overlay { position: absolute; inset: -5%; }

.hero-media {
  background: url("./assets/mindsetdavid-hero.webp") center center / cover no-repeat;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06);
  will-change: transform;
}

.hero-overlay { background: rgba(5, 7, 8, 0.48); }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 42px;
}

.hero-kicker,
.section-label {
  margin: 0 0 15px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kicker { color: rgba(255, 255, 255, 0.8); }

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.3rem, 7.2vw, 7rem);
  line-height: 0.94;
  font-weight: 720;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.62;
}

.hero-actions,
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--ink); }
.button-glass { border-color: rgba(255, 255, 255, 0.64); background: rgba(0, 0, 0, 0.16); color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-outline { border-color: #9ea2a5; color: var(--ink); }

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  width: 28px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 2px;
  height: 8px;
  background: var(--white);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(14px); opacity: 1; }
}

.statement-band {
  min-height: 660px;
  display: grid;
  place-items: center;
  padding: 110px 24px;
  background: var(--white);
}

.statement-inner { width: min(980px, 100%); text-align: center; }

.statement-inner h2,
.principles-head h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1.04;
  font-weight: 680;
}

.statement-inner > p:last-child {
  max-width: 730px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.product-stage { position: relative; height: 210vh; background: var(--black); color: var(--white); }

.product-sticky {
  position: sticky;
  top: 0;
  min-height: 720px;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: 5vw;
  padding: 96px max(24px, calc((100% - 1240px) / 2)) 56px;
  overflow: hidden;
}

.product-copy { position: relative; z-index: 3; }
.section-label-light { color: #7ed1c8; }

.product-copy h2,
.ai-content h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 5.5rem);
  line-height: 0.98;
  font-weight: 680;
}

.product-copy > p:last-of-type,
.ai-content > p:last-of-type {
  max-width: 560px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-weight: 760; text-decoration: none; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }

.product-visual { position: relative; height: min(74vh, 720px); display: grid; place-items: center; }

.product-screen {
  position: relative;
  width: min(760px, 64vw);
  aspect-ratio: 16 / 10;
  padding: 8px;
  border: 1px solid #3a3e41;
  border-radius: 8px;
  background: #242729;
  box-shadow: 0 46px 110px rgba(0, 0, 0, 0.58);
  transform: perspective(1300px) rotateY(var(--screen-rotate, -8deg)) rotateX(var(--screen-tilt, 4deg)) scale(var(--screen-scale, 0.78));
  will-change: transform;
}

.product-screen::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 50%;
  width: 42px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: #555a5d;
}

.product-screen img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; border-radius: 4px; }

.metric {
  position: absolute;
  z-index: 4;
  min-width: 146px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(20, 23, 25, 0.86);
  backdrop-filter: blur(14px);
  transform: translate3d(0, var(--metric-shift, 0px), 0);
  will-change: transform;
}

.metric strong,
.metric span { display: block; }
.metric strong { font-size: 1.65rem; }
.metric span { margin-top: 2px; color: rgba(255, 255, 255, 0.62); font-size: 0.76rem; }
.metric-one { top: 8%; right: 1%; }
.metric-two { left: 0; bottom: 8%; }

.tool-catalog { padding: 120px max(24px, calc((100% - 1240px) / 2)); background: #fff; }
.tool-catalog-head { max-width: 900px; }
.tool-catalog-head h2 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 4.9rem); line-height: 1.03; font-weight: 680; }
.tool-catalog-head > p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--muted); line-height: 1.7; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 64px; }
.tool-card { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 7px; color: #fff; text-decoration: none; transition: transform 220ms ease; }
.tool-card:hover { transform: translateY(-5px); }
.tool-card-planner { background: #12302f; }
.tool-card-journal { background: #302842; }
.tool-card-career { background: #1a3148; }
.tool-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: .76rem; }
.tool-card p { margin: 0 0 8px; color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.tool-card h3 { margin: 0; font-size: 2rem; line-height: 1.04; }
.tool-card span { display: block; margin-top: 18px; color: rgba(255,255,255,.7); line-height: 1.6; }
.tool-card strong { font-size: .82rem; }

.principles-band { padding: 120px max(24px, calc((100% - 1240px) / 2)); background: var(--paper); }
.principles-head { max-width: 920px; }

.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin-top: 76px; }
.principles-grid article { padding-top: 22px; border-top: 3px solid var(--line); }
.principles-grid article:nth-child(1) { border-color: var(--teal); }
.principles-grid article:nth-child(2) { border-color: var(--blue); }
.principles-grid article:nth-child(3) { border-color: var(--copper); }
.principles-grid span { color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.principles-grid h3 { margin: 34px 0 12px; font-size: 1.55rem; }
.principles-grid p { margin: 0; color: var(--muted); line-height: 1.7; }

.ai-feature {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 70px;
  padding: 110px max(24px, calc((100% - 1240px) / 2));
  overflow: hidden;
  background: #171a1c;
  color: var(--white);
}

.ai-orbit { position: relative; width: min(580px, 42vw); aspect-ratio: 1; justify-self: center; }
.orbit-ring, .orbit-core, .orbit-label { position: absolute; }
.orbit-ring { inset: 8%; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; }
.orbit-ring-two { inset: 23%; border-color: rgba(126, 209, 200, 0.42); }
.orbit-ring-one { animation: orbit-spin 28s linear infinite; }

.orbit-ring-one::before,
.orbit-ring-two::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
}

.orbit-ring-two { animation: orbit-spin 18s linear infinite reverse; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.orbit-core {
  inset: 38%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: #24282b;
  font-size: 2rem;
  font-weight: 800;
}

.orbit-label {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: #202427;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
}

.orbit-label-one { top: 10%; left: 8%; }
.orbit-label-two { top: 43%; right: 0; }
.orbit-label-three { bottom: 8%; left: 18%; }

.final-cta { min-height: 650px; display: grid; place-items: center; padding: 100px 24px; background: var(--white); text-align: center; }
.final-cta-inner { width: min(900px, 100%); }
.final-cta p:not(.section-label) { margin: 24px 0 30px; color: var(--muted); font-size: 1.08rem; }
.final-actions { justify-content: center; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 42px max(24px, calc((100% - 1240px) / 2));
  background: var(--black);
  color: var(--white);
}

.site-footer p { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { color: rgba(255, 255, 255, 0.78); font-size: 0.82rem; text-decoration: none; }

.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal-section.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .site-header nav a:not(.header-access) { display: none; }
  .hero-content { width: min(100% - 36px, 760px); }
  .hero-media { background-position: 64% center; }
  .product-stage { height: auto; }
  .product-stage { width: 100%; overflow: hidden; }
  .product-sticky { position: relative; width: 100%; min-width: 0; height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); padding-top: 110px; padding-bottom: 100px; }
  .product-visual { width: 100%; min-width: 0; height: 520px; }
  .product-screen { width: min(820px, 90vw); --screen-scale: 0.9; --screen-rotate: -4deg; }
  .principles-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 340px; }
  .ai-feature { grid-template-columns: 1fr; }
  .ai-orbit { width: min(580px, 86vw); }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .site-header { height: 64px; padding-inline: 16px; }
  .wordmark { font-size: 0.9rem; }
  .site-header nav { gap: 12px; }
  .hero { min-height: 640px; height: 92svh; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-copy { font-size: 1rem; }
  .hero-media { background-position: 72% center; }
  .hero-media, .hero-overlay { inset: 0; }
  .hero-media { transform: translate3d(0, var(--hero-shift, 0px), 0); }
  .statement-band, .tool-catalog, .principles-band, .ai-feature, .final-cta { padding-top: 86px; padding-bottom: 86px; }
  .statement-inner h2, .principles-head h2, .final-cta h2, .product-copy h2, .ai-content h2 { font-size: 2.65rem; }
  .product-sticky { padding-inline: 18px; }
  .product-visual { height: 390px; }
  .product-screen { width: 100%; }
  .metric { min-width: 124px; }
  .metric-one { right: 0; }
  .metric-two { left: 0; }
  .ai-feature { min-height: 0; gap: 50px; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-section { opacity: 1; transform: none; }
}
