:root {
  --ink: #29253a;
  --cream: #fff9f5;
  --paper: #ffffff;
  --mint: #e6f6ef;
  --sand: #f6e6ec;
  --clay: #f8e4dc;
  --focus: #3d6b5a;
  --mute: #8b8494;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, var(--mint) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 75%, var(--sand) 0%, transparent 55%),
    linear-gradient(165deg, #fff9f5 0%, #f7efe8 48%, #efe6f0 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
  max-width: 38rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}

.brand__mark {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(41, 37, 58, 0.1);
}

.brand__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.headline {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.lede {
  margin: 1.1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  max-width: 28ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.cta--center {
  justify-content: center;
}

.cta__badge {
  display: inline-flex;
  line-height: 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.cta__badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.cta__badge:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

.cta__badge img {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: min(100%, 11.5rem);
}

.hero__visual {
  margin: 0;
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--mint) 55%, transparent) 100%
  );
}

.hero__visual img {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  max-height: 92svh;
  object-fit: contain;
  object-position: bottom center;
  user-select: none;
  pointer-events: none;
}

.features {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.35rem, 5vw, 4rem);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--mint) 45%, var(--cream)) 0%,
      var(--cream) 100%
    );
}

.features__inner {
  max-width: 68rem;
  margin: 0 auto;
}

.features__title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 18ch;
}

.features__lede {
  margin: 0.9rem 0 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  max-width: 38ch;
}

.features__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.features__list h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.features__list p {
  margin: 0.55rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 66%, transparent);
}

.close {
  padding: clamp(3.25rem, 7vw, 5rem) clamp(1.35rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, var(--sand) 0%, transparent 70%),
    linear-gradient(180deg, var(--clay) 0%, var(--cream) 100%);
}

.close__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.close__title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.close__lede {
  margin: 0.75rem 0 0;
  font-size: 1.08rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}

.close .cta {
  margin-top: 1.75rem;
}

.foot {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--mute);
  background: color-mix(in srgb, var(--cream) 55%, var(--sand));
}

.foot p {
  margin: 0;
}

.foot__note {
  margin-top: 0.45rem !important;
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: 36rem;
  margin-left: auto !important;
  margin-right: auto !important;
}

.foot a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 960px) {
  .features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 2.25rem 1.35rem 1rem;
    max-width: none;
    text-align: center;
    align-items: center;
  }

  .brand {
    justify-content: center;
  }

  .headline,
  .lede,
  .features__title,
  .features__lede {
    max-width: 24ch;
  }

  .features__title,
  .features__lede {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .cta {
    justify-content: center;
  }

  .hero__visual {
    min-height: 48svh;
    margin-top: 0.5rem;
  }

  .hero__visual img {
    max-height: 48svh;
    width: min(100%, 22rem);
  }
}

@media (max-width: 560px) {
  .features__list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta__badge img {
    height: 2.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta__badge {
    transition: none;
  }

  .cta__badge:hover {
    transform: none;
  }
}
