:root {
  --background: #ffffff;
  --pink: #dbf7b8;
  --pink-soft: #dbf7b8;
  --pink-muted: #111111;
  --border: rgba(219, 247, 184, 0.62);
  --white: #ffffff;
  --text: #111111;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration-color: var(--text);
  text-underline-offset: 0.22em;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

nav a {
  font-weight: 700;
}

[aria-current="page"] {
  color: var(--text);
}

.home-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.home-links a {
  font-weight: 800;
}

.home-page {
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
}

.transformation-page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 32px;
}

.transformation-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(14px, 3vw, 34px);
  margin: 0 auto 34px;
  text-align: center;
}

.home-logo {
  grid-column: 1 / -1;
  width: clamp(88px, 16vw, 150px);
  aspect-ratio: 1;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(219, 247, 184, 0.75);
}

.transformation-title {
  grid-column: 2;
}

.transformation-header h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(2.4rem, 8vw, 4.9rem);
  line-height: 1.02;
  text-shadow: 0 0 12px rgba(219, 247, 184, 0.55);
}

.transformation-header p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 3vw, 1.7rem);
}

.sparkles {
  color: var(--pink-soft);
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow: 0 0 24px rgba(219, 247, 184, 0.95);
}

.sparkles.left {
  justify-self: end;
}

.sparkles.right {
  justify-self: start;
}

.transformation-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 6vw, 48px);
  border: 5px solid var(--pink);
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 35%, rgba(219, 247, 184, 0.3), transparent 19rem),
    linear-gradient(145deg, rgba(219, 247, 184, 0.2), rgba(219, 247, 184, 0.05));
  box-shadow:
    inset 0 0 42px rgba(219, 247, 184, 0.2),
    0 0 34px rgba(219, 247, 184, 0.35);
}

.transformation-card::before,
.transformation-card::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow:
    30px 52px 0 rgba(219, 247, 184, 0.55),
    90px 160px 0 rgba(219, 247, 184, 0.35),
    -62px 238px 0 rgba(219, 247, 184, 0.45);
  content: "";
}

.transformation-card::before {
  top: 180px;
  left: 48%;
}

.transformation-card::after {
  right: 12%;
  bottom: 25%;
}

.photo-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 54px);
}

.photo-panel {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.photo-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(219, 247, 184, 0.5);
}

.photo-placeholder {
  position: relative;
  overflow: hidden;
  width: min(100%, 330px);
  aspect-ratio: 0.68;
  border: 4px solid var(--pink);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(219, 247, 184, 0.18), rgba(219, 247, 184, 0.04)),
    rgba(219, 247, 184, 0.08);
  box-shadow: inset 0 0 28px rgba(219, 247, 184, 0.14);
}

.photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-panel {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  margin: 24px auto 0;
}

.photo-placeholder.result {
  width: min(100%, 430px);
  aspect-ratio: 0.82;
  box-shadow:
    0 0 34px rgba(219, 247, 184, 0.75),
    inset 0 0 28px rgba(219, 247, 184, 0.14);
}

.flow-arrow {
  display: grid;
  place-items: center;
  filter: none;
}

.flow-arrow span {
  display: block;
  width: 34px;
  height: 34px;
  border-color: var(--text);
  border-style: solid;
  border-width: 0 7px 7px 0;
}

.flow-arrow.horizontal {
  grid-template-columns: repeat(2, 24px);
}

.flow-arrow.horizontal span {
  transform: rotate(-45deg);
}

.flow-arrow.vertical {
  position: relative;
  z-index: 1;
  grid-template-rows: repeat(2, 24px);
  width: 72px;
  margin: 26px auto 10px;
}

.flow-arrow.vertical span {
  transform: rotate(45deg);
}

.home-page .home-links {
  padding: 24px 0 0;
}

.home-page .home-links a {
  color: var(--text);
  text-decoration-color: var(--text);
}

.hero {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 154px);
  padding: 32px 16px 48px;
}

.hero-copy,
.legal-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 14vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 36px 0 10px;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: 0;
}

p {
  color: var(--pink-muted);
  font-size: 1.05rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--pink);
  border-radius: 8px;
  background: var(--pink);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--pink-soft);
  color: var(--text);
}

.button.secondary {
  background: transparent;
  color: var(--pink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--pink-soft);
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.legal-content {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.legal-content h1 {
  font-size: clamp(2.6rem, 8vw, 5.25rem);
}

.contact-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.contact-email {
  color: var(--text);
  font-size: clamp(1.4rem, 6vw, 3rem);
  font-weight: 800;
  text-align: center;
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .home-links {
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
  }

  .transformation-page {
    width: min(480px, calc(100% - 24px));
    padding-top: 28px;
  }

  .transformation-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }

  .sparkles {
    display: none;
  }

  .transformation-card {
    padding: 24px 18px;
    border-width: 4px;
    border-radius: 34px;
  }

  .photo-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .flow-arrow.horizontal {
    grid-template-rows: repeat(2, 20px);
    grid-template-columns: 1fr;
  }

  .flow-arrow.horizontal span {
    transform: rotate(45deg);
  }

  .photo-placeholder {
    width: min(100%, 300px);
  }

  .hero {
    place-items: start;
    min-height: auto;
    padding-top: 56px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
