:root {
  color-scheme: light;
  --bg: #faf9f3;
  --text: #14333a;
  --muted: #3c5960;
  --line: #cfe0e2;
  --accent: #206e78;
  --aqua: #91dcde;
  --aqua-hover: #afe9ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; color: var(--text); background: var(--bg); }
h1, h2, h3, p, figure { margin: 0 }
a { color: inherit; text-decoration: none }
button, input { font: inherit }
button { cursor: pointer }
[hidden] { display: none !important }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px }
[id] { scroll-margin-block: 22px }
.shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.skip { position: absolute; z-index: 4; background: var(--bg); padding: 12px; }
.header { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 29px; font-weight: 700; letter-spacing: -.05em; }
.logo { display: inline-block; width: 30px; height: 33px; background: url("assets/logo.png") center / 180% auto no-repeat; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: 14px; }
nav a:hover, .footer button:hover { color: var(--accent); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--aqua);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease;
}
.button:hover { background: var(--aqua-hover); color: var(--text); }
.button.outline { min-height: 38px; padding-inline: 15px; background: transparent; border-color: var(--line); color: var(--text); font-size: 13px; }
.button.outline:hover { border-color: var(--accent); color: var(--accent); }
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #faf9f3f7 6%, #faf9f3b8 42%, transparent 74%),
    url("assets/morning-valley.jpg") 60% 52% / cover no-repeat;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 81%, transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  padding-block: clamp(42px, 6vw, 90px);
}
.hero-copy { position: relative; z-index: 1; }
.companion {
  min-width: 0;
  display: grid;
  justify-items: center;
}
.companion-stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 415px);
  height: clamp(216px, 26vw, 310px);
  background: radial-gradient(ellipse 49% 48% at 50% 60%, #bceef088, transparent 100%);
}
/* Offset the PNG’s transparent lower margin so Nyla’s feet meet the card. */
.companion-stage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transform: translateY(12%);
  filter: drop-shadow(0 8px 10px #143b4435);
}
.companion-stage::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 34%;
  height: 9px;
  background: #16465070;
  border-radius: 50%;
  filter: blur(4px);
}

.example {
  width: min(100%, 415px);
  border: 1px solid #bad6da;
  border-top-color: #82bcc2;
  box-shadow: 0 18px 42px #1a4e591d;
  border-radius: 10px;
  background: #fbffff;
  padding: clamp(15px, 2vw, 23px);
}
.example-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: var(--accent); font-weight: 650; font-size: 14px; }
.example-label span { color: var(--muted); font-size: 12px; font-weight: 400; }
.example-context { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.example-reply { margin-top: 6px; font-size: 15px; line-height: 1.45; }
.example-plan { display: grid; gap: 4px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.example-plan span { color: var(--muted); font-size: 12px; }
.example-plan strong { color: var(--accent); font-size: 19px; font-weight: 650; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; color: var(--accent); }
h1 {
  margin-top: 19px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: clamp(44px, 5.7vw, 82px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.04;
}
h1 > span { display: block; }
h1 .hero-action {
  margin-top: .1em;
  font-size: .79em;
  letter-spacing: -.04em;
  white-space: nowrap;
}
h1 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.56em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: 1;
}
.lede { margin: 26px 0 29px; color: var(--muted); font-size: clamp(16px, 1.55vw, 19px); line-height: 1.55; max-width: 360px; }
.rhythm { padding-block: clamp(54px, 7vw, 96px); border-top: 1px solid var(--line); }
.section-intro { margin-bottom: 33px; }
h2 { font-size: clamp(34px, 4.2vw, 60px); font-weight: 650; letter-spacing: -.045em; line-height: 1.06; margin-top: 12px; }
.section-intro > p:last-child { max-width: 450px; margin-top: 17px; color: var(--muted); line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 25px 1fr; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li > span { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--accent); padding-top: 4px; }
.steps h3 { font-size: 17px; font-weight: 650; }
.steps p { margin-top: 6px; color: var(--muted); line-height: 1.45; font-size: 14px; }
.closing { background: #e9f5f5; border-block: 1px solid var(--line); }
.closing-inner { padding-block: clamp(66px, 9vw, 110px); }
.closing-inner > p:nth-of-type(2) { color: var(--muted); margin-top: 16px; }
.waitlist-note { color: var(--muted); font-size: 13px; margin-top: 20px; }
#waitlist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#email { border: 1px solid #729ba2; border-radius: 999px; min-height: 50px; padding: 0 18px; width: min(100%, 257px); color: var(--text); background: #fbffff; }
#email::placeholder { color: var(--muted); }
#form-status { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer { display: flex; align-items: center; gap: 16px; padding-block: 25px; }
.footer .brand { font-size: 22px; }
.footer .logo { width: 21px; height: 24px; }
.footer p { color: var(--muted); font-size: 13px; }
.footer nav { margin-left: auto; }
.footer button { background: none; border: 0; color: var(--muted); padding: 8px 0; font-size: 13px; }
dialog { width: min(430px, 88vw); border: 1px solid var(--line); border-radius: 12px; padding: 27px; background: #fbffff; color: var(--text); }
dialog::backdrop { background: #112f3766; }
dialog h2 { font-family: inherit; font-size: 28px; font-weight: 600; margin: 0; }
dialog p { color: var(--muted); margin: 12px 0 20px; line-height: 1.55; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header { height: 66px; }
  .brand { font-size: 25px; }
  .logo { width: 25px; height: 28px; }
  nav { gap: 12px; font-size: 13px; }
  .button.outline { padding-inline: 12px; }
  .hero::before {
    background:
      linear-gradient(180deg, #faf9f3f5 3%, #faf9f3dc 29%, #faf9f344 67%),
      url("assets/morning-valley.jpg") 70% 60% / cover no-repeat;
  }
  .hero-inner { grid-template-columns: 1fr; padding-block: 40px 36px; gap: 28px; }
  .hero-copy { width: min(100%, 525px); margin-inline: auto; text-align: center; }
  h1 { font-size: clamp(37px, 9vw, 65px); }
  .lede { margin: 21px auto 24px; }
  .companion { width: min(100%, 430px); margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .section-intro { margin-bottom: 24px; }
  .footer { flex-wrap: wrap; }
  .footer nav { width: 100%; margin: 0; gap: 25px; }
}
@media (max-width: 440px) {
  #waitlist { display: grid; }
  #email { width: 100%; }
}
