:root {
  color-scheme: light;
  --ink: #26324f;
  --muted: #5f6880;
  --purple: #684a91;
  --purple-dark: #493169;
  --cream: #fffaf1;
  --peach: #ffe4cf;
  --blue: #dff2ff;
  --mint: #daf2df;
  --line: #dfd5e6;
  --white: #fff;
  --shadow: 0 18px 60px rgba(63, 48, 86, .14);
  font-family: "Trebuchet MS", "Avenir Next", Avenir, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #fff2c6 0 3px, transparent 4px),
    radial-gradient(circle at 84% 16%, #fff 0 4px, transparent 5px),
    linear-gradient(180deg, #eef7ff 0 34rem, var(--cream) 34rem 100%);
}

img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; }

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--purple-dark);
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand small { display: block; margin-top: 3px; font-size: 10px; letter-spacing: .13em; color: var(--muted); }

.quiet-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid #b5a8c7;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, .7);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(36px, 7vw, 94px);
  padding: 52px 0 84px;
}

.eyebrow,
.step {
  margin: 0 0 13px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

h1, h2, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  color: var(--purple-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 84px);
  line-height: .95;
  letter-spacing: -.045em;
}

.lede {
  max-width: 650px;
  margin: 25px 0;
  color: #4c5770;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 6px 18px rgba(58, 65, 97, .08);
  color: #4e5870;
  font-size: 13px;
  font-weight: 800;
}

.hero-art {
  position: relative;
  min-height: 450px;
  border-radius: 48% 48% 16% 16%;
  background: linear-gradient(180deg, #c9e6fa 0 58%, #c7ebcd 58%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: auto -8% -30% -8%;
  height: 58%;
  border-radius: 50%;
  background: #a3d6ad;
}
.moon {
  position: absolute;
  top: 46px;
  right: 54px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff4ad;
  box-shadow: 0 0 0 15px rgba(255, 244, 173, .22);
}
.friend {
  position: absolute;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-weight: 900;
  color: var(--purple-dark);
}
.friend img {
  width: clamp(82px, 10vw, 126px);
  aspect-ratio: 1;
  border: 5px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(51, 55, 75, .18);
}
.friend figcaption { margin-top: 5px; }
.friend-jace { left: 11%; bottom: 20%; transform: rotate(-4deg); }
.friend-juno { left: 37%; bottom: 8%; transform: rotate(2deg); }
.friend-juni { right: 10%; bottom: 18%; transform: rotate(5deg); }
.friend-jake { left: 23%; top: 12%; transform: rotate(3deg) scale(.83); }

.studio-shell {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: 42px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.studio-intro h2,
.how-it-works h2 {
  margin: 0;
  color: var(--purple-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}
.studio-intro p:last-child { color: var(--muted); line-height: 1.6; }

form { min-width: 0; }
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label > span,
legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}
input[type="text"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 2px solid #cfc4d8;
  border-radius: 14px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #3474a8;
  outline-offset: 3px;
}
label small,
.hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

fieldset {
  margin: 25px 0;
  padding: 0;
  border: 0;
}
.character-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.character-card {
  position: relative;
  min-width: 0;
  padding: 12px 8px;
  border: 2px solid var(--line);
  border-radius: 18px;
  text-align: center;
  background: #fffaf5;
  cursor: pointer;
}
.character-card:has(input:checked) {
  border-color: var(--purple);
  background: #f0e8fa;
  box-shadow: inset 0 0 0 2px #fff;
}
.character-card input {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 20px;
  height: 20px;
  accent-color: var(--purple);
}
.character-card img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blue);
}
.character-card span { margin: 7px 0 0; }
.character-card strong, .character-card small { display: block; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
button[type="submit"],
.download-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  padding: 0 22px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 10px 24px rgba(104, 74, 145, .24);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
button[type="submit"]:hover { background: var(--purple-dark); }
button[type="submit"]:disabled { opacity: .62; cursor: wait; }
#status { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.download-link { margin-top: 14px; background: #36744b; }
.download-link[hidden] { display: none; }

.how-it-works {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 42px;
  padding: 100px 0;
}
.how-it-works ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-it-works li {
  min-height: 190px;
  padding: 22px;
  border-radius: 24px;
  background: var(--peach);
}
.how-it-works li:nth-child(2) { background: var(--blue); }
.how-it-works li:nth-child(3) { background: var(--mint); }
.how-it-works li > span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
}
.how-it-works li strong { font-size: 20px; }
.how-it-works li p { color: var(--muted); line-height: 1.5; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; gap: 13px; align-items: center; }
.footer-brand img { border-radius: 14px; object-fit: cover; }
.footer-brand p { margin: 0; line-height: 1.5; }
.legal { max-width: 420px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }

@media (max-width: 840px) {
  .hero,
  .studio-shell,
  .how-it-works { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero-art { min-height: 390px; }
  .studio-shell { gap: 24px; }
  .how-it-works { padding: 72px 0; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 76px; }
  .brand { font-size: 17px; }
  .brand img { width: 44px; height: 44px; }
  .quiet-link { display: none; }
  .hero { min-height: 0; gap: 30px; padding-bottom: 48px; }
  h1 { font-size: clamp(44px, 15vw, 67px); }
  .hero-art { min-height: 340px; border-radius: 34px; }
  .friend img { width: 82px; }
  .friend-jace { left: 6%; bottom: 18%; }
  .friend-juno { left: 35%; }
  .friend-juni { right: 4%; bottom: 17%; }
  .friend-jake { left: 24%; top: 8%; }
  .studio-shell { padding: 25px 16px; border-radius: 24px; }
  .field-grid { grid-template-columns: 1fr; }
  .character-grid { grid-template-columns: 1fr 1fr; }
  .character-card { display: flex; align-items: center; gap: 7px; text-align: left; padding: 11px 8px 11px 34px; }
  .character-card img { width: 52px; height: 52px; flex: 0 0 auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .how-it-works ol { grid-template-columns: 1fr; }
  .how-it-works li { min-height: auto; }
  .how-it-works li > span { margin-bottom: 18px; }
  footer { align-items: flex-start; flex-direction: column; }
  .legal { text-align: left; }
}
