:root {
  --ink: #071d3d;
  --ink-soft: #33496a;
  --paper: #fff7ee;
  --paper-deep: #f8eadb;
  --white: #fffdf9;
  --pink: #e61173;
  --blue: #1588c9;
  --coral: #ff6148;
  --line: rgba(7, 29, 61, 0.18);
  --shadow: 0 24px 60px rgba(7, 29, 61, 0.15);
  --page-gutter: clamp(28px, 6vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px var(--page-gutter);
  background: rgba(255, 247, 238, 0.88);
  border-bottom: 1px solid rgba(7, 29, 61, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  box-shadow: inset -8px -8px 0 rgba(21, 136, 201, 0.45);
}

.site-header nav,
.site-footer nav {
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--pink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(260px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  padding: clamp(36px, 6vw, 76px) var(--page-gutter) clamp(56px, 7vw, 92px);
  background: linear-gradient(110deg, var(--paper) 0 62%, var(--paper-deep) 62% 100%);
}

.hero::after {
  position: absolute;
  right: 8vw;
  bottom: 8vw;
  width: 140px;
  height: 12px;
  content: "";
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 24px 0 var(--pink), 0 48px 0 var(--ink);
  opacity: 0.16;
  pointer-events: none;
  transform: rotate(-8deg);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(850px, 100%);
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span,
h1 strong,
h1 em {
  display: block;
}

h1 strong {
  color: var(--pink);
  font-style: normal;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.8rem, 5.9vw, 6rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 span,
h2 strong {
  display: block;
}

h2 span {
  color: var(--ink);
}

h2 b {
  color: var(--pink);
}

h2 strong {
  position: relative;
  display: inline-block;
  margin-top: 16px;
  padding: 10px clamp(16px, 3vw, 34px) 14px;
  color: var(--white);
  font-size: 0.86em;
  font-weight: 950;
  background: var(--ink);
  transform: rotate(-2deg);
  max-width: 100%;
}

.hero-text {
  max-width: min(640px, 100%);
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  font-weight: 650;
}

.waitlist-form {
  display: grid;
  max-width: min(800px, 100%);
  gap: 15px;
  padding: clamp(18px, 2.4vw, 26px);
  background: rgba(255, 253, 249, 0.9);
  border: 2px solid rgba(7, 29, 61, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 14px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(7, 29, 61, 0.24);
  border-radius: 7px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 136, 201, 0.18);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--pink);
}

button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  color: var(--white);
  background: var(--coral);
  border: 0;
  border-radius: 7px;
  box-shadow: 0 12px 26px rgba(255, 97, 72, 0.27);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

button:hover,
.text-link:hover {
  background: #f44f38;
  box-shadow: 0 18px 34px rgba(255, 97, 72, 0.34);
  transform: translateY(-2px);
}

.form-note {
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 650;
}

.form-note a {
  color: var(--ink);
  font-weight: 900;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.book-visual {
  margin: 0 auto;
  width: min(100%, 380px);
  text-align: center;
}

.book-visual img,
.book-visual video {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(7, 29, 61, 0.22);
  transform: rotate(1deg);
}

.book-media {
  aspect-ratio: 13 / 18;
  background: var(--paper-deep);
  object-fit: cover;
}

.book-visual figcaption {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(250px, 390px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  justify-content: center;
  min-height: min(820px, 100svh);
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) var(--page-gutter);
  background: var(--white);
  border-top: 1px solid rgba(7, 29, 61, 0.1);
}

.about-book::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 22%, rgba(230, 17, 115, 0.08), transparent 18%),
    linear-gradient(110deg, var(--white) 0 68%, var(--paper-deep) 68% 100%);
  pointer-events: none;
}

.about-copy,
.about-visual {
  position: relative;
  z-index: 2;
}

.about-copy {
  max-width: min(900px, 100%);
}

.about-copy .eyebrow {
  margin-bottom: 18px;
}

.about-text {
  max-width: min(760px, 100%);
  margin-top: clamp(28px, 4vw, 44px);
  color: #111827;
  font-size: clamp(1.08rem, 1.7vw, 1.46rem);
  font-weight: 650;
  line-height: 1.45;
}

.about-text p {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.about-text em {
  font-style: italic;
  font-weight: 800;
}

.about-closing {
  color: var(--ink);
  font-weight: 900;
}

.about-visual {
  width: min(100%, 360px);
  margin: 0 auto;
}

.about-visual img,
.about-visual video {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 32px 66px rgba(7, 29, 61, 0.2);
  transform: rotate(1deg);
}

.about-visual::after {
  position: absolute;
  right: -12%;
  bottom: -6%;
  z-index: 1;
  width: 116%;
  height: 21%;
  content: "";
  background: linear-gradient(135deg, #d8b98e, #f3ddbd 54%, #b98c60);
  border-radius: 3px;
  box-shadow: 0 26px 34px rgba(7, 29, 61, 0.13);
  transform: perspective(300px) rotateX(48deg) rotateZ(-1deg);
}

.about-heart-one {
  top: -12%;
  right: 12%;
  z-index: 3;
}

.about-heart-two {
  right: 3%;
  bottom: -19%;
  z-index: 3;
  width: 26px;
  height: 26px;
  animation-delay: 700ms;
}

.about-heart-two::before,
.about-heart-two::after {
  width: 26px;
  height: 26px;
}

.about-heart-two::before {
  left: -13px;
}

.about-heart-two::after {
  top: -13px;
}

.about-bubble {
  left: -22%;
  bottom: 4%;
  z-index: 3;
  width: 110px;
  height: 86px;
  opacity: 1;
  transform: rotate(-9deg);
}

.hero-copy {
  animation: riseIn 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-copy {
  animation: riseIn 700ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.burst,
.dialogue-shape {
  position: absolute;
  display: block;
}

.burst {
  width: 18px;
  height: 18px;
  background: var(--pink);
  transform: rotate(45deg);
  animation: pulse 2400ms ease-in-out infinite;
}

.burst::before,
.burst::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  background: inherit;
  border-radius: 50%;
}

.burst::before {
  left: -9px;
}

.burst::after {
  top: -9px;
}

.burst-one {
  top: clamp(130px, 24%, 230px);
  left: 60vw;
  z-index: 3;
}

.burst-two {
  right: 26%;
  bottom: 15%;
  z-index: 3;
  animation-delay: 800ms;
}

.dialogue-shape {
  width: 84px;
  height: 66px;
  background: var(--ink);
  border-radius: 50% 50% 48% 48%;
  opacity: 0.12;
}

.dialogue-shape::after {
  position: absolute;
  bottom: -14px;
  left: 16px;
  width: 26px;
  height: 26px;
  content: "";
  background: inherit;
  clip-path: polygon(0 0, 100% 20%, 12% 100%);
}

.shape-one {
  left: 6%;
  bottom: 24%;
  transform: rotate(-10deg);
}

.shape-two {
  top: 20%;
  right: 9%;
  transform: rotate(10deg);
}

.legal-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.simple-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 5.2rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.simple-page {
  min-height: calc(100svh - 150px);
}

.simple-hero {
  padding: clamp(72px, 11vw, 132px) var(--page-gutter) clamp(48px, 7vw, 82px);
}

.simple-hero p {
  max-width: 720px;
  margin: 22px 0 28px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  font-weight: 650;
}

.legal-page .simple-hero {
  padding-bottom: 24px;
}

.legal-copy {
  display: block;
  max-width: 920px;
  padding-top: 20px;
}

.legal-copy h2 {
  margin: 34px 0 8px;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.legal-copy p {
  color: var(--ink-soft);
  font-weight: 650;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px var(--page-gutter);
  color: var(--ink-soft);
  border-top: 1px solid rgba(7, 29, 61, 0.12);
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
  }
  50% {
    transform: rotate(45deg) scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 960px) {
  .hero,
  .about-book {
    grid-template-columns: 1fr;
  }

  .book-visual,
  .about-visual {
    width: min(74vw, 330px);
  }

  .about-book {
    min-height: auto;
  }

  .burst-one {
    top: 18%;
    right: 12%;
    left: auto;
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .burst-one {
    top: 18%;
    right: 48%;
    left: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: clamp(28px, 8vw, 36px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
    background: var(--paper);
  }

  h1 {
    font-size: clamp(2.65rem, 13.5vw, 4.75rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10.5vw, 3.75rem);
  }

  h2 strong {
    margin-top: 10px;
    padding: 8px 14px 11px;
  }

  .two-up {
    grid-template-columns: 1fr;
  }

  .waitlist-form {
    padding: 16px;
  }

  button,
  .text-link {
    width: 100%;
    min-height: 56px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .simple-hero h1 {
    font-size: clamp(2.15rem, 12vw, 4.2rem);
  }

  .about-book {
    padding-top: 52px;
    background: var(--white);
  }

  .about-text {
    font-size: 1.04rem;
  }

  .about-bubble {
    left: -12%;
    bottom: 5%;
    width: 82px;
    height: 64px;
  }
}
