:root {
  --paper: #f4efe6;
  --ink: #302050;
  --magic: #8a4208;
  --line: #30205033;
  --story: #f3e2c4;
  --focus: #302050;
}

html[data-contrast="high"] {
  --paper: #ffffff;
  --ink: #000000;
  --magic: #7a2e00;
  --line: #000000;
  --story: #ffffff;
  --focus: #000000;
}

html[data-text="large"] {
  font-size: 150%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: #2a1848;
  color: var(--ink);
  font-family: Figtree, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.55;
}

.cover-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cover-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.peach-veil,
.hero-plate,
.land {
  display: none;
}

.glint {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  background: #fffaf4;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.glint:nth-child(1) { top: 11%; right: 7%; }
.glint:nth-child(2) { top: 22%; left: 5%; width: 0.4rem; height: 0.4rem; }
.glint:nth-child(3) { bottom: 16%; right: 12%; width: 0.45rem; height: 0.45rem; }

html[data-contrast="high"] body {
  background: #ffffff;
}

html[data-contrast="high"] .masthead,
html[data-contrast="high"] main > section:not(.hero),
html[data-contrast="high"] footer {
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  font-weight: 800;
  z-index: 5;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  display: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-a {
  width: 42rem;
  height: 42rem;
  left: -10rem;
  top: 8rem;
  background: radial-gradient(circle, #f0b15ccc 0%, #f0b15c00 68%);
}

.orb-b {
  width: 36rem;
  height: 36rem;
  right: -8rem;
  top: 18%;
  background: radial-gradient(circle, #e39ad4cc 0%, #e39ad400 70%);
}

.orb-c {
  width: 38rem;
  height: 38rem;
  left: 24%;
  bottom: -10rem;
  background: radial-gradient(circle, #f6c56ecc 0%, #f6c56e00 68%);
}

.mote {
  display: none;
  position: absolute;
  bottom: -2rem;
  width: 0.55rem;
  height: 0.55rem;
  background: #fff6e4;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  opacity: 0.7;
}

.mote:nth-child(4) { left: 8%; }
.mote:nth-child(5) { left: 22%; width: 0.22rem; height: 0.22rem; }
.mote:nth-child(6) { left: 37%; }
.mote:nth-child(7) { left: 51%; width: 0.25rem; height: 0.25rem; }
.mote:nth-child(8) { left: 64%; }
.mote:nth-child(9) { left: 76%; width: 0.2rem; height: 0.2rem; }
.mote:nth-child(10) { left: 86%; }
.mote:nth-child(11) { left: 94%; width: 0.28rem; height: 0.28rem; }

.skip:focus {
  transform: none;
}

.page {
  position: relative;
  z-index: 2;
  width: min(62rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.masthead .wordmark {
  color: var(--paper);
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.6rem;
}

.mast-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  background: #f7f3ee;
  border: 1.5px solid #ddd2c6;
  border-radius: 0.7rem;
}

.nav a:hover,
.prefs button:hover,
.sounds button:hover,
.actions button:not(.primary):hover:not(:disabled) {
  background: #ffffff;
  border-color: #302050;
}

.nav a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 3.6rem;
  height: auto;
}

.wordmark {
  margin: 0;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.magic {
  color: var(--magic);
  font-style: italic;
  font-weight: 500;
}

.masthead .magic {
  color: #f3e2c8;
}

.prefs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
}

.prefs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.prefs-label {
  margin: 0;
  color: var(--paper);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
}

.prefs button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f7f3ee;
  border: 1.5px solid #ddd2c6;
  border-radius: 0.7rem;
  box-shadow: none;
}

.prefs svg,
.waitlist button svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}

.kicker {
  margin: 0 0 0.55rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: #f3e2c8;
}

.hero {
  position: relative;
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0.4rem 0 0.5rem;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  isolation: isolate;
  box-shadow: none;
}

.hero-plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 1.8rem;
  background: #341c58;
  box-shadow: 0 1.3rem 2.4rem #3a215f2e;
}

.hero::before,
.hero::after {
  display: none;
}

.hero::before {
  width: 26rem;
  height: 26rem;
  right: -8rem;
  top: -7rem;
  background: radial-gradient(circle, #5a3d82 0%, transparent 68%);
}

.hero::after {
  width: 20rem;
  height: 20rem;
  left: -6rem;
  bottom: -8rem;
  background: radial-gradient(circle, #4a326e 0%, transparent 70%);
}

.hero-copy,
.cover {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero .hero-copy > p {
  color: var(--paper);
  text-shadow: 0 1px 0 #1a1030, 0 0.12rem 0.4rem #1a1030;
}

.hero .kicker {
  color: #f3e2c8;
}

.hero .voice {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #f3e2c8;
}

.spark {
  display: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.35rem;
  background: var(--magic);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  vertical-align: 0.12em;
}

.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  background: #fbefd9;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.star:nth-child(1) { left: 6%; top: 8%; }
.star:nth-child(2) { left: 78%; top: 0%; width: 0.35rem; height: 0.35rem; }
.star:nth-child(3) { left: 88%; top: 28%; }
.star:nth-child(4) { left: 70%; top: 78%; width: 0.3rem; height: 0.3rem; }
.star:nth-child(5) { left: 8%; top: 62%; }
.star:nth-child(6) { left: 42%; top: 4%; width: 0.28rem; height: 0.28rem; }
.star:nth-child(7) { left: 92%; top: 58%; width: 0.4rem; height: 0.4rem; }

.cover {
  position: relative;
  width: 9.5rem;
  margin: 0 0 0.35rem;
  order: -1;
  justify-self: center;
}

.swirl {
  position: absolute;
  z-index: 0;
  inset: -28%;
  width: 156%;
  height: 156%;
  pointer-events: none;
}

.cover img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.land {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 24rem;
  pointer-events: none;
}

.land img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
}

.hero .waitlist {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  color: var(--ink);
  box-shadow: 0 0.9rem 1.8rem #1a103030;
}

.hero .waitlist h2,
.hero .waitlist p,
.hero .waitlist label {
  color: var(--ink);
}

@media (min-width: 52rem) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    padding: 0.6rem 0 0.5rem;
  }

  .cover {
    order: 0;
    width: min(16.5rem, 100%);
    margin: 0.2rem auto 0;
    justify-self: center;
  }
}

h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 3.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  margin: 0 0 0.75rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  margin: 1.6rem 0 0.45rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 1.25rem;
}

.story {
  margin: 0;
  padding: 1.5rem 1.35rem 1.45rem;
  border-radius: 0.85rem;
}

.story.is-speaking {
  box-shadow: 0 0 0 3px var(--magic), 0 1rem 2rem #1a103024;
}

html[data-contrast="high"] .story {
  border: 3px solid var(--ink);
  border-left-width: 8px;
  border-radius: 0;
  box-shadow: none;
}

html[data-contrast="high"] .hero {
  background: #000000;
  color: #ffffff;
  border-radius: 0;
  grid-template-columns: 1fr;
  box-shadow: none;
  padding-bottom: 1.5rem;
}

html[data-contrast="high"] .hero h1,
html[data-contrast="high"] .hero .hero-copy > p,
html[data-contrast="high"] .hero .kicker,
html[data-contrast="high"] .voice {
  color: #ffffff;
}

html[data-contrast="high"] .hero .waitlist {
  border: 3px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}

html[data-contrast="high"] .waitlist button.primary,
html[data-contrast="high"] .brand img,
html[data-contrast="high"] .prefs button {
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  box-shadow: none;
}

html[data-contrast="high"] input {
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  box-shadow: none;
}

html[data-contrast="high"] input::placeholder {
  color: #000000;
}

html[data-contrast="high"] .cover-art,
html[data-contrast="high"] .wordmark,
html[data-contrast="high"] .magic,
html[data-contrast="high"] .prefs-label,
html[data-contrast="high"] .nav a {
  color: #000000;
}

html[data-contrast="high"] .nav a {
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 0;
}

html[data-contrast="high"] .coming li,
html[data-contrast="high"] .steps li,
html[data-contrast="high"] .questions details {
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  border-radius: 0;
  box-shadow: none;
}

html[data-contrast="high"] .audiences li:first-child {
  border-left-width: 8px;
}

html[data-contrast="high"] .questions summary::after {
  border-color: #000000;
}

html[data-contrast="high"] .hero h1,
html[data-contrast="high"] .hero .hero-copy > p {
  text-shadow: none;
}

html[data-contrast="high"] .cover-art,
html[data-contrast="high"] .peach-veil,
html[data-contrast="high"] .hero-plate,
html[data-contrast="high"] .sky,
html[data-contrast="high"] .cover,
html[data-contrast="high"] .land,
html[data-contrast="high"] .swirl,
html[data-contrast="high"] .atmosphere,
html[data-contrast="high"] .hero::before,
html[data-contrast="high"] .hero::after,
html[data-contrast="high"] .waitlist::before,
html[data-contrast="high"] .story::before {
  display: none;
}

html[data-contrast="high"] #position,
html[data-contrast="high"] .optional,
html[data-contrast="high"] .field-icon {
  color: #000000;
}

html[data-contrast="high"] #memories article,
html[data-contrast="high"] .sounds button,
html[data-contrast="high"] .actions button:not(.primary) {
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  box-shadow: none;
}

html[data-contrast="high"] .actions button.primary,
html[data-contrast="high"] .sounds button[aria-pressed="true"],
html[data-contrast="high"] button[aria-pressed="true"] {
  background: #000000;
  color: #ffffff;
  border: 3px solid #000000;
}

html[data-contrast="high"] .actions button:disabled {
  border-style: dashed;
}

html[data-contrast="high"] .questions details,
html[data-contrast="high"] .questions details:last-child {
  border-color: #000000;
  border-width: 3px;
}

html[data-contrast="high"] .story.is-speaking {
  box-shadow: none;
  outline: 3px solid var(--magic);
  outline-offset: 3px;
}

#position {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #5c456e;
}

#memories article {
  margin: 0 0 1rem;
  padding: 1.05rem 1.15rem 0.25rem;
  background: #ffffff;
  border: 1px solid #ddd2c6;
  border-radius: 0.7rem;
}

#memories article p {
  margin-bottom: 0.55rem;
}

.prompt {
  margin-bottom: 0.75rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.note {
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sounds {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .sounds {
    grid-template-columns: 1fr 1fr;
  }
}

button {
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 3px solid var(--ink);
  border-radius: 0.7rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.15rem;
  text-align: left;
}

.prefs button,
.actions button {
  border-radius: 0.7rem;
  text-align: center;
}

.actions button.primary {
  border-radius: 999px;
}

.actions button {
  flex: 1 1 14rem;
}

.sounds button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  min-height: 4.75rem;
  background: #ffffff;
  border: 1.5px solid #c3b6aa;
  border-radius: 0.7rem;
}

.sounds button[aria-pressed="true"] {
  background: var(--magic);
  border-color: var(--magic);
  color: #ffffff;
}

.actions button:not(.primary) {
  background: #ffffff;
  border: 1.5px solid #c3b6aa;
}

.actions button.primary {
  border: 0;
  background: #24143f;
  color: #ffffff;
}

.actions button:disabled {
  border-style: dashed;
}

.sound-name {
  font-size: 1.2rem;
  line-height: 1.2;
}

.sound-scene {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

button.primary {
  background: var(--ink);
  color: var(--paper);
}

button[aria-pressed="true"] {
  background: var(--magic);
  border-color: var(--magic);
  color: #ffffff;
}

button:disabled {
  border-style: dashed;
}

button:focus-visible,
.skip:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

  body,
  .nav a,
  button,
  input,
  .story,
  .waitlist,
  main > section:not(.hero),
  footer,
  #memories article,
  .coming li,
  .steps li,
  .questions details {
    transition:
      background-color 0.28s var(--ease),
      color 0.28s var(--ease),
      border-color 0.28s var(--ease),
      box-shadow 0.28s var(--ease),
      transform 0.2s var(--ease);
  }

  .questions summary::after {
    transition: transform 0.28s var(--ease);
  }

  button:active:not(:disabled) {
    transform: scale(0.98);
  }

  html:not([data-contrast="high"]) .star {
    animation: twinkle 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  }

  html:not([data-contrast="high"]) .star:nth-child(2) { animation-delay: -1.2s; }
  html:not([data-contrast="high"]) .star:nth-child(3) { animation-delay: -2.4s; }
  html:not([data-contrast="high"]) .star:nth-child(4) { animation-delay: -3.1s; }
  html:not([data-contrast="high"]) .star:nth-child(5) { animation-delay: -0.6s; }
  html:not([data-contrast="high"]) .star:nth-child(6) { animation-delay: -4s; }
  html:not([data-contrast="high"]) .star:nth-child(7) { animation-delay: -2s; }

  html:not([data-contrast="high"]) .cover img {
    animation: float 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  }

  #memories article:not([hidden]) {
    animation: settle 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .orb-a { animation: drift-a 16s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
  .orb-b { animation: drift-b 18s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
  .orb-c { animation: drift-c 17s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }

  .hero::before { animation: drift-b 14s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
  .hero::after { animation: drift-a 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }

  .waitlist::before,
  .story::before {
    animation: halo 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  }

  .mote {
    animation: rise 18s linear infinite;
  }

  .mote:nth-child(5) { animation-duration: 22s; animation-delay: -4s; }
  .mote:nth-child(6) { animation-duration: 16s; animation-delay: -9s; }
  .mote:nth-child(7) { animation-duration: 20s; animation-delay: -2s; }
  .mote:nth-child(8) { animation-duration: 24s; animation-delay: -12s; }
  .mote:nth-child(9) { animation-duration: 17s; animation-delay: -6s; }
  .mote:nth-child(10) { animation-duration: 21s; animation-delay: -14s; }
  .mote:nth-child(11) { animation-duration: 19s; animation-delay: -8s; }
}

@keyframes twinkle {
  0%,
  100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-0.45rem); }
}

@keyframes settle {
  from { opacity: 0.35; transform: translateY(0.35rem); }
  to { opacity: 1; transform: none; }
}

@keyframes drift-a {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(10rem, 7rem, 0) scale(1.12); }
}

@keyframes drift-b {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-9rem, 11rem, 0) scale(1.08); }
}

@keyframes drift-c {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8rem, -8rem, 0) scale(1.15); }
}

@keyframes halo {
  0%,
  100% { opacity: 0.72; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes rise {
  0% { transform: translate3d(0, 8vh, 0); opacity: 0; }
  12% { opacity: 0.85; }
  88% { opacity: 0.75; }
  100% { transform: translate3d(1.5rem, -105vh, 0); opacity: 0; }
}

#status {
  min-height: 1.5em;
  margin: 1rem 0 0;
  font-size: 1.15rem;
}

.coming,
.steps {
  display: grid;
  gap: 0.65rem;
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 1.2rem;
}

.coming {
  list-style: none;
}

.steps {
  list-style: decimal;
  list-style-position: inside;
}

.coming li,
.steps li {
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: #ffffff;
  border: 1px solid #ddd2c6;
  border-radius: 0.7rem;
}

.coming strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.audiences li:first-child {
  border-color: #302050;
  border-width: 1.5px;
}

@media (min-width: 52rem) {
  .audiences,
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .audiences {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
}

.steps li {
  padding-left: 1.15rem;
}

.steps li::marker {
  font-weight: 600;
  color: #24143f;
}

.waitlist {
  margin: 1.5rem 0 0;
  padding: 1.4rem 1.35rem 1.3rem;
  background: #fbf8f4;
  border: 1px solid #ddd2c6;
  border-radius: 0.85rem;
  box-shadow: 0 0.45rem 1.1rem #1a103014;
}

html[data-contrast="high"] .waitlist {
  border: 3px solid var(--ink);
  border-left-width: 8px;
}

.waitlist h2 {
  margin-bottom: 0.35rem;
}

.hint {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.field {
  margin: 0 0 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.optional {
  font-weight: 600;
  letter-spacing: 0;
  color: #5c456e;
}

.input-wrap {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(-50%);
  color: #5c456e;
  pointer-events: none;
}

input {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  border: 1.5px solid #c3b6aa;
  border-radius: 0.95rem;
  box-shadow: inset 0 1px 2px #30205010;
}

.input-wrap input {
  padding-left: 2.85rem;
}

input::placeholder {
  color: #5c456e;
  font-weight: 600;
}

input:focus-visible {
  border-color: #302050;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: none;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.waitlist button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: #24143f;
  color: #ffffff;
  letter-spacing: 0.015em;
  text-align: center;
  box-shadow: inset 0 1px 0 #ffffff2e;
}

.actions button.primary:hover,
.waitlist button[type="submit"]:hover {
  background: #3a2260;
}

html[data-contrast="high"] .nav a:hover,
html[data-contrast="high"] .prefs button:hover,
html[data-contrast="high"] .sounds button:hover,
html[data-contrast="high"] .actions button:not(.primary):hover:not(:disabled),
html[data-contrast="high"] .actions button.primary:hover,
html[data-contrast="high"] .waitlist button[type="submit"]:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

html[data-contrast="high"] .nav a:hover,
html[data-contrast="high"] .prefs button:hover,
html[data-contrast="high"] .actions button:not(.primary):hover:not(:disabled) {
  background: #ffffff;
  color: #000000;
}

.waitlist[data-joined="true"] {
  box-shadow: 0 0 0 3px var(--magic);
}

.form-status {
  min-height: 1.5em;
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
}

.questions {
  display: grid;
  gap: 0.65rem;
}

.questions details {
  background: #ffffff;
  border: 1px solid #ddd2c6;
  border-radius: 0.7rem;
  padding: 0.15rem 1.05rem 0.15rem;
}

.questions summary {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.questions summary::-webkit-details-marker {
  display: none;
}

.questions summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #5c456e;
  border-bottom: 2px solid #5c456e;
  transform: rotate(45deg) translateY(-0.1rem);
  flex: none;
}

.questions details[open] summary::after {
  transform: rotate(-135deg) translateY(-0.1rem);
}

.questions summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.questions details p {
  margin-top: 0;
}

.waitlist,
.story {
  isolation: isolate;
}

.waitlist::before,
.story::before {
  display: none;
}

section + section {
  margin-top: 1.25rem;
}

main > section:not(.hero) > p {
  color: #4e3568;
}

html[data-contrast="high"] main > section:not(.hero) > p,
html[data-contrast="high"] .steps li::marker {
  color: #000000;
}

main > section:not(.hero),
footer {
  background: #f6f1ea;
  border-radius: 0.85rem;
  box-shadow: 0 1.1rem 2.2rem #1a103020;
}

main > section:not(.hero) {
  padding: 1.45rem 1.35rem 1.4rem;
}

@media (min-width: 52rem) {
  main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  main > .hero,
  main > .way,
  main > .story,
  main > .closing,
  main > section[aria-labelledby="places-heading"],
  main > section[aria-labelledby="for-heading"],
  main > section[aria-labelledby="coming-heading"],
  main > section[aria-labelledby="next-heading"],
  main > section[aria-labelledby="questions-heading"] {
    grid-column: 1 / -1;
  }

  main > section {
    margin-top: 0;
  }
}

footer {
  margin-top: 1.25rem;
  padding: 1.05rem 1.2rem 1.15rem;
  border-top: 0;
}

footer p {
  margin: 0;
  font-size: 1.05rem;
}

footer .footer-mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

footer .footer-mark img {
  width: 2.4rem;
  height: auto;
}

.way-title {
  margin: 0 0 0.45rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.way-choices {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.way-choices button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 4.75rem;
  text-align: left;
  background: #ffffff;
  border: 1.5px solid #c3b6aa;
  border-radius: 0.7rem;
}

.way-choices button:hover:not([aria-pressed="true"]) {
  background: #ffffff;
  border-color: #302050;
}

.way-choices button[aria-pressed="true"] {
  background: #24143f;
  border-color: #24143f;
  color: #ffffff;
}

.way-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.way-note {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
}

.way-status {
  min-height: 1.4em;
  margin-bottom: 0;
}

html[data-way="listen"]:not([data-text="large"]) {
  font-size: 118%;
}

html[data-way="listen"]:not([data-contrast="high"]) body {
  background: var(--paper);
}

html[data-way="listen"] .cover-art,
html[data-way="listen"] .atmosphere,
html[data-way="listen"] .cover,
html[data-way="listen"] .swirl {
  display: none;
}

html[data-way="listen"] .hero {
  grid-template-columns: 1fr;
}

html[data-way="listen"]:not([data-contrast="high"]) .masthead .wordmark,
html[data-way="listen"]:not([data-contrast="high"]) .masthead .magic,
html[data-way="listen"]:not([data-contrast="high"]) .prefs-label,
html[data-way="listen"]:not([data-contrast="high"]) .hero h1,
html[data-way="listen"]:not([data-contrast="high"]) .hero .hero-copy > p,
html[data-way="listen"]:not([data-contrast="high"]) .hero .kicker,
html[data-way="listen"]:not([data-contrast="high"]) .hero .voice {
  color: var(--ink);
  text-shadow: none;
}

html[data-way="listen"]:not([data-contrast="high"]) .hero .kicker,
html[data-way="listen"]:not([data-contrast="high"]) .hero .voice,
html[data-way="listen"]:not([data-contrast="high"]) .masthead .magic {
  color: var(--magic);
}

html[data-way="listen"]:not([data-contrast="high"]) .story {
  border: 2px solid var(--ink);
  box-shadow: none;
}

html[data-way="listen"] .story .actions {
  flex-direction: column;
}

html[data-way="listen"] #memory {
  width: 100%;
}

html[data-contrast="high"] .way-choices button {
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  border-radius: 0;
}

html[data-contrast="high"] .way-title,
html[data-contrast="high"] .way-note {
  color: #000000;
}

html[data-contrast="high"] .way-choices button:hover:not([aria-pressed="true"]) {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

html[data-contrast="high"] .way-choices button[aria-pressed="true"],
html[data-contrast="high"] .way-choices button[aria-pressed="true"]:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

@media (min-width: 40rem) {
  .way-choices {
    grid-template-columns: 1fr 1fr;
  }
}
