:root {
  color-scheme: light;
  --birthday-bg: #fff8ef;
  --birthday-forest: #1b5733;
  --birthday-coral: #ef6b57;
  --birthday-yellow: #f8d66d;
  --birthday-purple: #7869b6;
  --birthday-mint: #dff0df;
  --birthday-line: rgba(27, 87, 51, 0.24);
  --birthday-white: #fffdf9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--birthday-bg);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--birthday-bg);
  color: var(--birthday-forest);
  font-family: "Iosevka Charon Mono", monospace;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  width: 100%;
}

[hidden] {
  display: none !important;
}

.birthday-page {
  min-height: 100dvh;
  padding: calc(env(safe-area-inset-top) + 18px) 14px calc(env(safe-area-inset-bottom) + 30px);
}

.birthday-page__inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.birthday-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.birthday-header__back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  color: var(--birthday-forest);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.birthday-header__back span {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.birthday-header__logo {
  font-family: "Akrobat Bold", "Akrobat", "Arial Narrow", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.birthday-hero {
  position: relative;
}

.birthday-kicker,
.birthday-section__eyebrow {
  margin: 0 0 9px;
  color: var(--birthday-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.birthday-hero h1,
.birthday-section h2,
.birthday-service-card h2,
.birthday-menu-section h2,
.birthday-cake-card h2,
.birthday-request h2 {
  margin: 0;
  font-family: "Akrobat Bold", "Akrobat", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
}

.birthday-hero h1 {
  max-width: 390px;
  font-size: clamp(54px, 15.7vw, 68px);
}

.birthday-hero__lead {
  max-width: 390px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.birthday-primary-action,
.birthday-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: var(--birthday-forest);
  color: #fff;
  cursor: pointer;
  font-family: "Akrobat Bold", "Akrobat", "Arial Narrow", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
}

.birthday-primary-action:active,
.birthday-submit:active {
  transform: translateY(1px);
}

.birthday-hero__photo {
  position: relative;
  height: 360px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--birthday-line);
  border-radius: 120px 120px 28px 28px;
  background: #d9dfd8;
}

.birthday-hero__photo img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.birthday-hero__label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: 210px;
  padding: 10px 14px;
  border-radius: 18px 4px 18px 18px;
  background: rgba(255, 248, 239, 0.94);
  color: var(--birthday-forest);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.birthday-confetti {
  position: absolute;
  pointer-events: none;
}

.birthday-confetti--one,
.birthday-confetti--two {
  width: 22px;
  height: 9px;
  border-radius: 999px;
}

.birthday-confetti--one {
  top: 36px;
  right: 15px;
  background: var(--birthday-yellow);
  transform: rotate(33deg);
}

.birthday-confetti--two {
  top: 92px;
  right: -6px;
  background: var(--birthday-purple);
  transform: rotate(-18deg);
}

.birthday-confetti--three {
  right: 40px;
  top: 136px;
  color: var(--birthday-coral);
  font-family: Georgia, serif;
  font-size: 30px;
}

.birthday-section,
.birthday-menu-section,
.birthday-request {
  margin-top: 66px;
}

.birthday-section h2,
.birthday-menu-section h2,
.birthday-request h2 {
  font-size: clamp(42px, 12vw, 54px);
}

.birthday-feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.birthday-feature {
  min-height: 205px;
  padding: 20px;
  border: 1px solid currentColor;
  border-radius: 30px 8px 30px 8px;
}

.birthday-feature--green {
  background: var(--birthday-mint);
  color: var(--birthday-forest);
}

.birthday-feature--purple {
  border-radius: 8px 30px 8px 30px;
  background: #eee9ff;
  color: var(--birthday-purple);
}

.birthday-feature__number {
  display: block;
  margin-bottom: 28px;
  font-family: "Akrobat", "Arial Narrow", sans-serif;
  font-size: 18px;
}

.birthday-feature h3 {
  margin: 0 0 10px;
  font-family: "Akrobat Bold", "Akrobat", "Arial Narrow", sans-serif;
  font-size: 29px;
  line-height: 0.95;
  text-transform: uppercase;
}

.birthday-feature p,
.birthday-service-card p,
.birthday-cake-card span,
.birthday-menu-section__lead,
.birthday-request__lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
}

.birthday-service-card {
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--birthday-line);
  border-radius: 28px;
  background: var(--birthday-white);
}

.birthday-service-card img {
  height: 310px;
  object-fit: cover;
  object-position: 50% 46%;
}

.birthday-service-card--reverse img {
  object-position: 50% 35%;
}

.birthday-service-card__body {
  padding: 23px 20px 25px;
}

.birthday-service-card__tag {
  margin-bottom: 10px !important;
  color: var(--birthday-coral);
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.birthday-service-card h2 {
  margin-bottom: 14px;
  font-size: 43px;
}

.birthday-menu-section {
  padding: 28px 18px 22px;
  border-radius: 30px;
  background: var(--birthday-forest);
  color: #fff;
}

.birthday-menu-section .birthday-section__eyebrow {
  color: var(--birthday-yellow);
}

.birthday-menu-section__lead {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.birthday-downloads {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.birthday-download {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 25px;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 18px;
  background: #fff;
  color: var(--birthday-forest);
  text-decoration: none;
}

.birthday-download__icon {
  display: grid;
  width: 43px;
  height: 50px;
  place-items: center;
  border-radius: 8px 8px 12px 8px;
  background: var(--birthday-coral);
  color: #fff;
  font-family: "Akrobat Bold", "Akrobat", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.birthday-download__icon--yellow {
  background: var(--birthday-yellow);
  color: var(--birthday-forest);
}

.birthday-download__icon--purple {
  background: var(--birthday-purple);
}

.birthday-download strong,
.birthday-download small {
  display: block;
}

.birthday-download strong {
  font-family: "Akrobat Bold", "Akrobat", sans-serif;
  font-size: 21px;
  line-height: 1.1;
}

.birthday-download small {
  margin-top: 4px;
  color: rgba(27, 87, 51, 0.64);
  font-size: 10px;
}

.birthday-download__arrow {
  font-size: 24px;
  text-align: center;
}

.birthday-cake-card {
  position: relative;
  min-height: 500px;
  margin-top: 54px;
  overflow: hidden;
  border-radius: 28px;
  background: #e9d9c7;
}

.birthday-cake-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 16, 0.03) 38%, rgba(10, 25, 16, 0.8) 100%);
  content: "";
}

.birthday-cake-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
}

.birthday-cake-card__content {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 25px;
  left: 20px;
  color: #fff;
}

.birthday-cake-card__content p {
  margin: 0 0 8px;
  color: var(--birthday-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.birthday-cake-card h2 {
  margin-bottom: 13px;
  font-size: 46px;
}

.birthday-request {
  padding: 30px 18px;
  border: 1px solid var(--birthday-coral);
  border-radius: 32px;
  background: #fff0e8;
}

.birthday-request__lead {
  margin-top: 15px;
}

.birthday-form {
  display: grid;
  gap: 17px;
  margin-top: 25px;
}

.birthday-field {
  display: grid;
  gap: 7px;
}

.birthday-field > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.birthday-field small {
  color: rgba(27, 87, 51, 0.58);
  font-size: 9px;
  font-weight: 400;
}

.birthday-field input,
.birthday-field select {
  width: 100%;
  height: 52px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid rgba(27, 87, 51, 0.35);
  border-radius: 14px;
  outline: 0;
  background: #fffdf9;
  color: var(--birthday-forest);
  font-size: 14px;
}

.birthday-field input:focus,
.birthday-field select:focus {
  border-color: var(--birthday-forest);
  box-shadow: 0 0 0 3px rgba(27, 87, 51, 0.1);
}

.birthday-consent {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-size: 10px;
  line-height: 1.45;
}

.birthday-consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--birthday-forest);
}

.birthday-consent a {
  color: inherit;
}

.birthday-submit {
  margin-top: 2px;
}

.birthday-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.birthday-form__error {
  padding: 11px 13px;
  border: 1px solid rgba(172, 44, 33, 0.35);
  border-radius: 12px;
  background: #fff5f3;
  color: #9c2c22;
  font-size: 12px;
  line-height: 1.4;
}

.birthday-success,
.birthday-closed {
  margin-top: 24px;
  padding: 24px 18px;
  border-radius: 20px;
  background: var(--birthday-mint);
  text-align: center;
}

.birthday-success__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--birthday-forest);
  color: #fff;
  font-size: 30px;
}

.birthday-success h3 {
  margin: 0;
  font-family: "Akrobat Bold", "Akrobat", sans-serif;
  font-size: 32px;
}

.birthday-success p,
.birthday-closed span {
  display: block;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.birthday-success a {
  display: inline-block;
  margin-top: 15px;
  color: var(--birthday-forest);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.birthday-closed strong {
  display: block;
  font-family: "Akrobat Bold", "Akrobat", sans-serif;
  font-size: 25px;
  text-transform: uppercase;
}

.birthday-footer {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 54px;
  padding: 25px 0 5px;
  border-top: 1px solid var(--birthday-line);
  font-size: 12px;
}

.birthday-footer strong {
  font-family: "Akrobat Bold", "Akrobat", sans-serif;
  font-size: 34px;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.birthday-footer a {
  color: inherit;
  text-decoration: none;
}

@media (min-width: 620px) {
  .birthday-page {
    padding-top: 30px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
