:root {
  --background: #fff7f7;
  --surface: rgba(255, 253, 253, 0.94);
  --ink: #171515;
  --charcoal: #5f5b5d;
  --muted: #777174;
  --pink: #e9175b;
  --pink-dark: #cf114e;
  --pink-pale: #ffe4eb;
  --line: rgba(111, 88, 97, 0.17);
  --shadow: 0 22px 52px rgba(141, 81, 102, 0.11), 0 3px 12px rgba(141, 81, 102, 0.06);
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--background);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input { font: inherit; }

a { color: inherit; }

.page-shell {
  position: relative;
  width: min(1640px, calc(100% - clamp(30px, 5.4vw, 96px)));
  margin: 0 auto;
  padding: 34px 0 10px;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, clamp(520px, 40vw, 590px)) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(2px, 0.19vw, 4px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 4px;
}

.wordmark {
  display: inline-block;
  width: clamp(154px, 12.46vw, 187px);
  margin-bottom: 24px;
  text-decoration: none;
  transform: scaleY(0.96);
  transform-origin: top left;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  max-width: 520px;
  margin: 0 0 26px;
  color: #555158;
  font-size: 0.75rem;
  line-height: 1.65;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 620;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 4.55vw, 4.85rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
  font-weight: 650;
}

h1 span { display: block; }
h1 span:first-child { color: var(--pink); }
h1 span + span { margin-top: -8px; }

.hero-description {
  max-width: 545px;
  margin: 18px 0 22px;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.62;
  color: #393537;
}

.hero-art {
  position: relative;
  left: clamp(-90px, calc(-18px - 4vw), -55px);
  align-self: start;
  min-height: clamp(680px, 45vw, 805px);
  margin-top: clamp(-28px, -1.6vw, -14px);
  margin-right: 0;
  overflow: visible;
  z-index: 1;

}

.hero-art img {
  display: block;
  width: min(115%, 800px);
  max-width: none;
  margin-left: auto;
  margin-right: clamp(0px, calc((100vw - 960px) * 0.17), 140px);
  transform: translateX(clamp(0px, calc((100vw - 960px) * 0.061), 50px));
  object-fit: contain;
  filter: saturate(1.01) contrast(1.01);
}

.signup-card {
  width: min(100%, 540px);
  position: relative;
  padding: 25px 32px 23px;
  border: 1px solid rgba(166, 126, 140, 0.16);
  border-radius: 20px;
  background: rgba(255, 254, 254, 0.9);
  box-shadow: 0 18px 44px rgba(141, 81, 102, 0.09), 0 2px 8px rgba(141, 81, 102, 0.045);
  text-align: center;
}

.envelope-mark {
  position: relative;
  width: 52px;
  height: 40px;
  margin: 0 auto 8px;
  color: #9f9297;
}

.envelope { width: 52px; height: 39px; }

.envelope-heart {
  position: absolute;
  width: 14px;
  height: 15px;
  left: 19px;
  top: 12px;
}

.signup-card h2 {
  margin: 0;
  color: var(--pink);
  font-family: var(--serif);
  font-size: clamp(1.78rem, 2vw, 2rem);
  line-height: 1.06;
  font-weight: 650;
}

.signup-intro {
  max-width: 425px;
  margin: 9px auto 18px;
  color: #4b4548;
  font-size: 0.95rem;
  line-height: 1.46;
}

.field-row {
  display: grid;
  grid-template-columns: 1.42fr 0.82fr;
  gap: 11px;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #d7d2d6;
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input::placeholder { color: #8f8b95; }

input:focus {
  border-color: rgba(233, 23, 91, 0.58);
  box-shadow: 0 0 0 4px rgba(233, 23, 91, 0.11);
  background: #fff;
}

button {
  width: 100%;
  min-height: 52px;
  margin-top: 11px;
  border: 0;
  border-radius: 8px;
  background: var(--pink);
  color: white;
  font-weight: 660;
  letter-spacing: 0.005em;
  cursor: pointer;
  box-shadow: 0 11px 24px rgba(233, 23, 91, 0.18);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

button:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(233, 23, 91, 0.23);
}

button:focus-visible {
  outline: 3px solid rgba(233, 23, 91, 0.25);
  outline-offset: 3px;
}

button:disabled { opacity: .68; cursor: wait; transform: none; }

.form-status {
  min-height: 1.1em;
  margin: 7px 0 -3px;
  color: #7e374f;
  font-size: .78rem;
}

.signup-notes {
  display: grid;
  gap: 10px;
  margin: 16px auto 0;
  max-width: 360px;
  text-align: left;
}

.signup-notes p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: #6d6669;
  font-size: .82rem;
  line-height: 1.45;
}

.signup-notes svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signup-notes p:first-child svg { color: var(--pink); }

.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 1260px);
  margin: -5px auto 0;
  padding: 18px 0 8px;
  z-index: 3;
}

.pillar {
  display: grid;
  grid-template-columns: clamp(64px, 7vw, 108px) minmax(0, 255px);
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.5vw, 22px);
  padding: 12px 10px;
}

.pillar + .pillar { border-left: 1px solid var(--line); }

.pillar-icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 108px);
  height: clamp(64px, 7vw, 108px);
  border-radius: 50%;
  background: #fee2e3;
  box-shadow: inset 0 0 0 1px rgba(220, 108, 125, 0.045);
}

.pillar-icon svg {
  width: 59.26%;
  height: 59.26%;
  fill: none;
  stroke: #f10e56;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-icon--compatibility svg {
  width: 75.93%;
  height: 75.93%;
  stroke-width: 2.55;
}

.pillar-icon--pacing svg {
  width: 66.67%;
  height: 66.67%;
  stroke-width: 2.7;
}

.pillar-icon--kindness svg {
  width: 70.37%;
  height: 70.37%;
  stroke-width: 2.55;
}

.pillar h2 {
  margin: 0 0 7px;
  color: #151112;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.22vw, 1.34rem);
  line-height: 1.15;
  font-weight: 700;
}

.pillar p {
  margin: 0;
  max-width: 255px;
  color: #4f494c;
  font-size: .94rem;
  line-height: 1.48;
}

.corner-accent {
  position: fixed;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: .88;
}

.corner-left { left: 0; width: min(215px, 18vw); }
.corner-right { right: 0; width: min(188px, 16vw); }

footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 18px;
  width: min(1640px, calc(100% - clamp(30px, 5.4vw, 96px)));
  margin: 0 auto;
  padding: 0 0 22px;
  color: #827c7f;
  font-size: .75rem;
}

footer a { text-underline-offset: 3px; }

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

/* Smooth desktop positioning: the offsets taper to zero before the layout stacks. */
@media (min-width: 1081px) {
  .page-shell,
  footer {
    transform: translateX(clamp(0px, calc((100vw - 1080px) * 0.0653), 30px));
  }

  .hero {
    transform: translateX(clamp(0px, calc((100vw - 1080px) * 0.1305), 60px));
  }

  h1 span { white-space: nowrap; }
}

/* Tablet: one deliberate structural change, after the two-column version runs out of room. */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy { display: contents; }

  .wordmark,
  .eyebrow,
  h1,
  .hero-description,
  .signup-card {
    position: relative;
    z-index: 2;
  }

  .wordmark { order: -4; }
  .eyebrow { order: -3; }
  h1 { order: -2; max-width: 700px; }
  .hero-description { order: -1; max-width: 700px; }

  .hero-art {
    order: 0;
    left: 0;
    width: min(72vw, 700px);
    max-width: 700px;
    min-height: auto;
    margin: -60px 0 -95px auto;
    overflow: visible;
  }

  .hero-art img {
    width: 100%;
    margin: 0;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .signup-card {
    order: 1;
    max-width: 540px;
    justify-self: center;
  }

  .pillars {
    width: 100%;
    margin: 32px auto 0;
  }
}

@media (max-width: 760px) {
  .page-shell { padding-top: 26px; }
  .wordmark { width: clamp(158px, 38.81vw, 190px); margin-bottom: 22px; }
  .eyebrow { font-size: .68rem; }
  h1 span + span {
  margin-top: 1px;
}
    h1 {
      font-size: clamp(2.2rem, 10vw, 3.6rem);
    }
    
    h1 span {
      white-space: nowrap;
    }
  .hero-description { font-size: .98rem; }

.hero-art {
   width: 100%;
   max-width: none;
   justify-self: stretch;
   margin: -50px 0 -70px;
   opacity: .98;
}

  .pillars {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding-bottom: 8px;
  }

  .pillar {
    grid-template-columns: 52px 1fr;
    padding: 19px 8px;
  }

  .pillar-icon {
    width: 52px;
    height: 52px;
  }

  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .corner-accent { display: none; }
}

@media (max-width: 520px) {
  .hero-art { margin-top: -20px; margin-bottom: -50px; }
  .signup-card { padding: 22px 18px 20px; border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 46px 1fr; }
  .pillar-icon { width: 42px; height: 42px; }
  footer { width: calc(100% - 30px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero-description,
.signup-intro,
.signup-notes p {
  font-weight: 500;
}