:root {
  --milk: #f5f3ef;
  --sand: #e7dfc9;
  --stone: #b8b2a6;
  --beige: #d8ccb6;
  --forest: #3e4a3f;
  --charcoal: #2e2e2e;

  --bg: var(--milk);
  --text: var(--charcoal);
  --muted: rgba(46, 46, 46, 0.7);

  --radius: 18px;
  --shadow: 0 18px 50px rgba(46, 46, 46, 0.12);

  --space: 140px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.container {
  max-width: var(--container);
  padding: 0 28px;
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.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;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background-color 200ms ease, backdrop-filter 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  background: rgba(245, 243, 239, 0.78);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(46, 46, 46, 0.08);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(46, 46, 46, 0.12);
}

.brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__links {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.nav__link {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(46, 46, 46, 0.78);
  transition: color 150ms ease;
}

.nav__link:hover {
  color: rgba(46, 46, 46, 1);
}

.nav__cta {
  display: flex;
  justify-content: flex-end;
}

.nav__burger {
  display: none;
  justify-content: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(46, 46, 46, 0.12);
  background: rgba(245, 243, 239, 0.6);
  backdrop-filter: blur(10px);
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.nav__burger span {
  display: block;
  height: 1px;
  width: 18px;
  background: rgba(46, 46, 46, 0.8);
}

.nav__mobile {
  max-width: var(--container);
  margin: 14px auto 0;
  padding: 14px 28px 22px;
  background: rgba(245, 243, 239, 0.92);
  border: 1px solid rgba(46, 46, 46, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__mobile.is-closing {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.nav__mobile-link {
  padding: 10px 10px;
  border-radius: 14px;
  color: rgba(46, 46, 46, 0.82);
}

.nav__mobile-link:hover {
  background: rgba(46, 46, 46, 0.06);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 160px 0 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("vecteezy_cozy-cream-knit-fabric-texture_75855119.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 243, 239, 0.15) 0%,
    rgba(245, 243, 239, 0.7) 60%,
    rgba(245, 243, 239, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(46, 46, 46, 0.72);
}

.hero__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(54px, 7vw, 86px);
  line-height: 0.95;
}

.hero__subtitle {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(46, 46, 46, 0.82);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__note {
  margin: 34px 0 0;
  color: rgba(46, 46, 46, 0.7);
  font-size: 14px;
  line-height: 1.65;
  max-width: 56ch;
}

.section {
  padding: var(--space) 0;
}

.section--center {
  text-align: center;
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
  max-width: 780px;
}

.h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.02;
}

.lead {
  margin: 16px auto 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(46, 46, 46, 0.84);
}

.text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(46, 46, 46, 0.75);
}

.story {
  display: grid;
  gap: 22px;
}

.story__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story__media img {
  height: 520px;
  object-fit: cover;
}

.fullbleed-media {
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.fullbleed-media img {
  width: 100%;
  height: clamp(260px, 52vh, 620px);
  object-fit: cover;
  display: block;
}

.story__text {
  max-width: 560px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  border: 1px solid rgba(46, 46, 46, 0.1);
  border-radius: 22px;
  padding: 22px 18px;
  background: rgba(231, 223, 201, 0.22);
}

.step__num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  color: rgba(62, 74, 63, 0.95);
}

.step__title {
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.step__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(46, 46, 46, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 42px;
  align-items: center;
}

.split__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media img {
  height: 720px;
  width: 100%;
  object-fit: cover;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.card {
  border: 1px solid rgba(46, 46, 46, 0.1);
  background: rgba(245, 243, 239, 0.55);
  border-radius: 18px;
  padding: 16px;
}

.card__title {
  font-weight: 500;
}

.card__text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(46, 46, 46, 0.72);
}

.cta {
  border: 1px solid rgba(46, 46, 46, 0.1);
  background: rgba(231, 223, 201, 0.24);
  border-radius: 28px;
  padding: 36px;
}

.cta__head {
  max-width: 720px;
}

.signup {
  border: 1px solid rgba(46, 46, 46, 0.1);
  background: rgba(216, 204, 182, 0.25);
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.signup__hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(46, 46, 46, 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(46, 46, 46, 0.18);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn--primary {
  background: var(--charcoal);
  color: var(--milk);
  border-color: var(--charcoal);
}

.btn--primary:hover {
  background: rgba(46, 46, 46, 0.92);
  border-color: rgba(46, 46, 46, 0.92);
}

.btn--ghost {
  background: rgba(245, 243, 239, 0.35);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(245, 243, 239, 0.6);
}

.btn--full {
  width: 100%;
}

.form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(46, 46, 46, 0.66);
}

.field__input,
.field__textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(46, 46, 46, 0.14);
  background: rgba(245, 243, 239, 0.65);
  padding: 14px 14px;
  font-family: inherit;
  font-size: 14px;
  color: rgba(46, 46, 46, 0.92);
  outline: none;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(46, 46, 46, 0.12);
  background: rgba(245, 243, 239, 0.55);
}

.option__input {
  margin-top: 3px;
}

.option__label {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(46, 46, 46, 0.78);
}

.field__textarea {
  resize: vertical;
  min-height: 120px;
}

.field__input:focus,
.field__textarea:focus {
  border-color: rgba(62, 74, 63, 0.55);
  box-shadow: 0 0 0 5px rgba(62, 74, 63, 0.08);
}

.field--inline {
  width: 100%;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-top: 6px;
}

.check__input {
  margin-top: 3px;
}

.check__text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(46, 46, 46, 0.7);
}

.form__actions {
  display: grid;
  gap: 10px;
  align-items: start;
  margin-top: 6px;
}

.form__hint {
  font-size: 12px;
  color: rgba(46, 46, 46, 0.6);
}

.signup__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.contacts {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.contact {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(46, 46, 46, 0.12);
  background: rgba(245, 243, 239, 0.55);
}

.footer {
  padding: 36px 0 44px;
  border-top: 1px solid rgba(46, 46, 46, 0.08);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.footer__brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
}

.footer__links {
  display: flex;
  gap: 16px;
  color: rgba(46, 46, 46, 0.7);
  font-size: 13px;
}

.footer__links a:hover {
  color: rgba(46, 46, 46, 0.9);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0 18px;
}

.toast__inner {
  background: rgba(46, 46, 46, 0.92);
  color: var(--milk);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  :root {
    --space: 110px;
  }

  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
    justify-self: end;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__media img {
    height: 520px;
  }

  .signup {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --space: 92px;
  }

  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .signup__form {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
