:root {
  --ink: #17141f;
  --body: #67616f;
  --purple: #6355ff;
  --purple-text: #7754ae;
  --lavender: #f4f1ff;
  --soft: #f8f6fb;
  --line: #e8e5ee;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.stanley-page nav {
  position: relative;
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -1.3px;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; object-fit: contain; }
.nav-cta {
  padding: 12px 20px;
  border-radius: 30px;
  background: #f3f0f8;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  padding: 70px 24px 92px;
  background: radial-gradient(at 50% 82%, #eee7ff 0, rgba(244, 241, 255, .72) 24%, transparent 62%);
}

.hero-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .72fr);
  gap: 64px;
  align-items: center;
}

.hero-copy-wrap { text-align: left; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--purple-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .07em;
}

.stanley-page h1,
.stanley-page h2,
.stanley-page h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.stanley-page h1 {
  max-width: 760px;
  font-size: clamp(64px, 7vw, 104px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.stanley-page h2 {
  font-size: clamp(36px, 4.7vw, 64px);
  line-height: 1.04;
  font-weight: 780;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.stanley-page h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.stanley-page p { color: var(--body); font-size: 18px; line-height: 1.65; }
.hero-copy { max-width: 690px; margin: 28px 0 0; font-size: 20px; }
.date { margin: 24px 0 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.microcopy { margin: 7px 0 0; font-size: 13px; }

.button {
  min-height: 60px;
  margin-top: 28px;
  padding: 18px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(165deg, #241e3d, #121212 65%);
  color: var(--white);
  box-shadow: 0 12px 30px -15px rgba(99, 85, 255, .5);
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(99, 85, 255, .62); }
.button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(99, 85, 255, .35); outline-offset: 3px; }

.hero-register {
  position: relative;
  scroll-margin-top: 96px;
  min-width: 0;
  padding: 36px 34px 26px;
  overflow: hidden;
  border: 1px solid #e1dced;
  border-radius: 28px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 28px 80px rgba(35, 25, 49, .13);
}

.demio-form-shell { min-width: 0; }

.hero-register::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(99, 85, 255, .09);
}

.hero-register .register-character {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  transform: rotate(-8deg);
}

.hero-register-copy { position: relative; z-index: 1; padding-right: 62px; }
.hero-register-copy .eyebrow { margin-bottom: 10px; font-size: 12px; }
.hero-register-copy h2 { max-width: 300px; font-size: 32px; letter-spacing: -.045em; }
.hero-register-copy p { margin: 10px 0 18px; font-size: 14px; line-height: 1.5; }
.form-note { margin: 12px 4px 0; color: #766f7e; font-size: 11px; line-height: 1.5; text-align: center; }

.session-flow { padding: 106px max(32px, calc((100vw - 1140px) / 2)); background: var(--lavender); }
.session-flow > .eyebrow, .session-flow > h2 { max-width: 840px; margin-left: auto; margin-right: auto; text-align: center; }
.flow-list { max-width: 920px; margin: 62px auto 0; border-top: 1px solid #dcd6e8; }
.flow-list article { padding: 30px 4px; display: grid; grid-template-columns: 70px 1fr; gap: 24px; border-bottom: 1px solid #dcd6e8; }
.flow-list article > span { color: var(--purple); font-weight: 800; }
.flow-list h3 { margin-bottom: 8px; }
.flow-list p { margin: 0; font-size: 16px; line-height: 1.55; }

.host {
  width: min(1050px, calc(100% - 64px));
  margin: 0 auto;
  padding: 112px 0;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 84px;
  align-items: center;
}

.host-photo { min-height: 470px; overflow: hidden; border-radius: 34px; background: var(--soft); }
.host-photo img { width: 100%; height: 100%; min-height: 470px; display: block; object-fit: cover; object-position: center top; filter: grayscale(1); }
.host-copy p:not(.eyebrow) { max-width: 600px; margin: 24px 0 0; }

.closing-cta {
  position: relative;
  width: min(1140px, calc(100% - 64px));
  margin: 0 auto 104px;
  padding: 62px 68px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: var(--lavender);
}

.closing-cta > div { position: relative; z-index: 1; max-width: 760px; }
.closing-cta .button { position: relative; z-index: 1; margin-top: 0; white-space: nowrap; }
.closing-character { position: absolute; right: 250px; bottom: -30px; width: 140px; opacity: .12; transform: rotate(-8deg); }

.stanley-page footer { width: min(1140px, calc(100% - 64px)); margin: 0 auto; padding: 30px 0 42px; }
.footer-mark { min-height: 190px; display: flex; align-items: center; justify-content: center; }
.footer-mark span { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(78px, 14vw, 190px); font-weight: 800; letter-spacing: -.075em; line-height: .8; }
.footer-mark img { width: clamp(105px, 14vw, 190px); height: clamp(105px, 14vw, 190px); object-fit: contain; transform: rotate(-7deg); }
.footer-meta { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #797281; font-size: 12px; }
.footer-meta a { color: inherit; }

@media (max-width: 980px) {
  .hero-shell { grid-template-columns: minmax(0, 1fr) minmax(350px, .78fr); gap: 38px; }
  .stanley-page h1 { font-size: clamp(58px, 7.8vw, 78px); }
  .hero-register { padding: 30px 26px 22px; }
}

@media (max-width: 800px) {
  .stanley-page nav { width: calc(100% - 40px); padding: 16px 0; }
  .brand { font-size: 25px; }
  .brand img { width: 34px; height: 34px; }
  .nav-cta { padding: 10px 15px; font-size: 13px; }
  .hero { padding: 30px 20px 58px; }
  .hero-shell { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy-wrap { text-align: center; }
  .stanley-page h1 { max-width: 680px; margin: 0 auto; font-size: clamp(48px, 12.8vw, 68px); line-height: .95; }
  .stanley-page h2 { font-size: 36px; }
  .hero-copy { max-width: 600px; margin: 18px auto 0; font-size: 17px; line-height: 1.5; }
  .date { max-width: 340px; margin: 17px auto 0; line-height: 1.45; }
  .microcopy { margin-top: 5px; }
  .hero-register { width: min(500px, 100%); margin: 0 auto; padding: 28px 24px 20px; text-align: left; }
  .hero-register-copy { padding-right: 56px; }
  .hero-register-copy h2 { font-size: 30px; }
  .host, .closing-cta { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 44px; }
  .host { padding: 68px 0; }
  .session-flow { padding: 76px 20px; }
  .flow-list { margin-top: 42px; }
  .flow-list article { grid-template-columns: 48px 1fr; gap: 14px; }
  .host-photo, .host-photo img { min-height: 260px; max-height: 260px; }
  .host-photo img { object-position: center 30%; }
  .closing-cta { margin-bottom: 70px; padding: 46px 24px 36px; gap: 26px; text-align: center; }
  .closing-cta .button { width: 100%; max-width: 330px; margin: 0 auto; }
  .closing-character { right: 12px; bottom: -20px; width: 110px; }
  .stanley-page footer { width: calc(100% - 40px); }
  .footer-mark { min-height: 130px; }
  .footer-meta { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 430px) {
  .stanley-page nav { width: calc(100% - 32px); padding: 13px 0; }
  .brand { font-size: 23px; }
  .brand img { width: 31px; height: 31px; }
  .nav-cta { padding: 9px 12px; font-size: 12px; }
  .hero { padding: 10px 16px 46px; }
  .hero-shell { gap: 13px; }
  .eyebrow { margin-bottom: 8px; font-size: 11px; }
  .stanley-page h1 { font-size: 42px; line-height: .96; }
  .hero-copy { margin-top: 10px; font-size: 14px; line-height: 1.4; }
  .date { margin-top: 10px; font-size: 13px; }
  .microcopy { margin-top: 2px; font-size: 10px; line-height: 1.35; }
  .hero-register { padding: 20px 16px 14px; border-radius: 22px; }
  .hero-register .register-character, .hero-register-copy { display: none; }
  .form-note { margin-top: 8px; font-size: 10px; }
  .flow-list article { padding: 26px 0; }
  .host-photo, .host-photo img { min-height: 250px; max-height: 250px; }
  .footer-mark span { font-size: 68px; }
  .footer-mark img { width: 90px; height: 90px; }
}
