:root {
  --bg-header: #fcfaf7;
  --bg-hero: #f4efea;
  --bg-benefits: #f8f4ef;
  --bg-essentials: #fdfbf8;
  --bg-story: #f8f4ef;
  --bg-story-panel: #fbf8f4;
  --bg-trying-next: #fdfbf8;
  --bg-footer: #f7f3ee;
  --bg-contact: #f4efea;
  --bg-contact-panel: #fbf8f4;
  --bg-story-page: #f4efea;
  --bg-story-page-panel: #fbf8f4;
  --bg-privacy: #f4efea;
  --bg-privacy-panel: #fbf8f4;
  --bg-essentials-page: #fdfbf8;
  --bg-product-card: #fbf8f4;
  --bg-guarantee: #f7f3ee;
  --text: #231d19;
  --text-soft: #605953;
  --text-light: #7b736d;
  --line: #e3d8ce;
  --green: #4b5935;
  --green-dark: #414d2e;
  --pink: #e9cfca;
  --container: 1240px;
  --topbar-height: 78px;
  --topbar-reopen-height: 26px;
  --shadow-soft: 0 10px 30px rgba(35, 29, 25, 0.06);
  --shadow-hover: 0 18px 42px rgba(35, 29, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-essentials);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.has-topbar {
  padding-top: var(--topbar-height);
}

body.has-topbar-reopen {
  padding-top: calc(var(--topbar-reopen-height) + 8px);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
}

.form-alert {
  width: min(calc(100% - 64px), var(--container));
  margin: 14px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form-alert--success {
  background: #f3f7ee;
  border-color: #d5dfc8;
  color: #3f4c2c;
}

.form-alert--error {
  background: #fbf2f1;
  border-color: #ead1cc;
  color: #7a4a42;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background:
    linear-gradient(rgba(47, 38, 30, 0.42), rgba(47, 38, 30, 0.42)),
    url("assets/topbar-bg.jpg") center center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.topbar__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: center;
  gap: 26px;
}

.topbar--collapsed {
  display: none;
}

.topbar__reopen {
  position: fixed;
  top: 8px;
  left: 50%;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--topbar-reopen-height);
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: rgba(252, 250, 247, 0.96);
  color: #4a433d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(35, 29, 25, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topbar__reopen span {
  font-size: 11px;
  line-height: 1;
}

.topbar__reopen[hidden] {
  display: none !important;
}

.topbar__copy {
  text-align: center;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.topbar__form {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__form input {
  width: 185px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topbar__form input::placeholder {
  color: #928982;
}

.topbar__form input:focus {
  border-color: rgba(75, 89, 53, 0.45);
  box-shadow: 0 0 0 3px rgba(75, 89, 53, 0.12);
  background: #ffffff;
}

.topbar__form button {
  height: 46px;
  padding: 0 30px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.topbar__close {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar__close:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  align-items: center;
  gap: 24px;
}

.header__logo-link {
  justify-self: start;
}

.header__logo {
  width: 216px;
  height: auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__logo-link:hover .header__logo {
  transform: translateY(-1px);
  opacity: 0.92;
}

.nav-toggle {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-width: 0;
}

.nav a,
.footer__nav a {
  position: relative;
  color: #4a433d;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  transition: color 0.2s ease;
}

.nav a::after,
.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: rgba(74, 67, 61, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav a:hover::after,
.footer__nav a:hover::after {
  transform: scaleX(1);
}

.nav a:hover,
.footer__nav a:hover {
  color: #2f2824;
}

.nav a.active::after {
  transform: scaleX(1);
  height: 2px;
  bottom: -18px;
  width: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 20px rgba(75, 89, 53, 0.12);
}

.button:hover,
.topbar__form button:hover,
.signup-band__form button:hover,
.contact-form__button:hover,
.product-card__button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(65, 77, 46, 0.18);
}

.topbar__reopen:hover {
  background: rgba(252, 250, 247, 1);
  transform: translateX(-50%) translateY(-1px);
}

.guarantee-band__link:hover {
  background: rgba(252, 250, 247, 1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button--header {
  justify-self: end;
  width: 220px;
  height: 58px;
}

.header-essentials {
  position: relative;
  justify-self: end;
}

.header-essentials__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fbf8f4;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.header-essentials__dropdown a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: #4a433d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.header-essentials__dropdown a + a {
  margin-top: 6px;
}

.header-essentials:hover .header-essentials__dropdown,
.header-essentials:focus-within .header-essentials__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-essentials__dropdown a:hover,
.header-essentials__dropdown a:focus-visible {
  background: #fff;
  border-color: #d9cec4;
  transform: translateX(2px);
}

.hero {
  background: var(--bg-hero);
}

.hero__inner {
  min-height: 650px;
  display: grid;
  grid-template-columns: 430px 1fr;
  align-items: center;
  gap: 52px;
  padding: 28px 0 28px;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 8px;
  padding-left: 24px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding-top: 14px;
  border-top: 2px solid #d3c6bc;
  color: #5f5851;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero__title,
.section-title,
.card__title,
.story__title,
.signup-band__copy h2,
.trying-next__title,
.contact-page__title,
.story-page__title,
.privacy-page__title,
.essentials-page__title,
.essentials-page__section-title,
.product-card__title,
.guarantee-band__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

.hero__title {
  margin: 0 0 22px;
  color: #231d18;
  font-size: 74px;
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.hero__title span {
  color: #6b7651;
  font-style: italic;
}

.hero__text {
  margin: 0 0 30px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.button--primary {
  min-width: 306px;
  height: 58px;
  padding: 0 28px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  color: #756d66;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero__note-line {
  width: 34px;
  height: 2px;
  background: #bbae9f;
}

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  margin-left: -42px;
}

.hero__media::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: -72px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(244, 239, 234, 0.96) 0%,
      rgba(244, 239, 234, 0.74) 18%,
      rgba(244, 239, 234, 0.4) 34%,
      rgba(244, 239, 234, 0.14) 48%,
      rgba(244, 239, 234, 0) 62%
    );
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 24% 42%,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.08) 18%,
      rgba(255, 255, 255, 0) 42%
    );
}

.hero__image {
  width: 100%;
  max-width: 760px;
  height: 575px;
  object-fit: cover;
  object-position: 58% center;
  background: #eae0d5;
  transition: transform 0.8s ease, box-shadow 0.4s ease, filter 0.4s ease;
  transform-origin: center center;
  filter: saturate(1.02) contrast(1.01);
}

.hero__media:hover .hero__image {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
  filter: saturate(1.04) contrast(1.02);
}

.guarantee-band {
  background: var(--bg-guarantee);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guarantee-band--essentials {
  margin-bottom: 38px;
}

.guarantee-band__inner {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
}

.guarantee-band__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 1px solid #d8cec4;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guarantee-band:hover .guarantee-band__icon {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.guarantee-band__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--green);
}

.guarantee-band__content {
  min-width: 0;
}

.guarantee-band__title {
  margin: 0 0 6px;
  color: #2b2420;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.guarantee-band__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.guarantee-band__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid #d6cbc1;
  background: #fcfaf7;
  color: #4a433d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.benefits {
  background: var(--bg-benefits);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits__inner {
  min-height: 114px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 16px;
  border-right: 1px solid #e4dacf;
  transition: background 0.25s ease, transform 0.25s ease;
}

.benefit:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.benefit--last {
  border-right: 0;
}

.benefit__icon {
  color: #817970;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.benefit:hover .benefit__icon {
  transform: scale(1.05);
}

.benefit__text strong,
.benefit__text span {
  display: block;
  color: #665e57;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.benefit__text span {
  margin-top: 4px;
}

.essentials {
  position: relative;
  background: var(--bg-essentials);
  padding: 50px 0 58px;
}

.section-title {
  margin: 0 0 34px;
  text-align: center;
  color: #37312c;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.card {
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card__tag {
  position: absolute;
  top: -12px;
  left: 28px;
  z-index: 2;
  min-width: 166px;
  padding: 8px 16px;
  background: var(--pink);
  color: #665d56;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 6px 18px rgba(35, 29, 25, 0.08);
}

.card__image {
  width: 100%;
  height: 242px;
  object-fit: cover;
  object-position: center;
  background: #eee5db;
  transition: transform 0.45s ease, box-shadow 0.28s ease;
}

.card:hover .card__image {
  transform: scale(1.02);
  box-shadow: var(--shadow-soft);
}

.card__title {
  margin: 14px 0 8px;
  color: #2b2420;
  font-size: 31px;
  line-height: 1.03;
  letter-spacing: -0.02em;
  transition: color 0.22s ease;
}

.card:hover .card__title {
  color: #1f1a17;
}

.card__subtitle {
  margin-bottom: 14px;
  color: #635b55;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.card__text {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.72;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #47403b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color 0.22s ease, transform 0.22s ease;
}

.card__link span {
  transition: transform 0.22s ease;
}

.card:hover .card__link {
  color: #2f2824;
}

.card:hover .card__link span {
  transform: translateX(3px);
}

.card--placeholder {
  position: relative;
}

.card--placeholder::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -34px;
  width: 106px;
  height: 240px;
  border-right: 2px solid rgba(208, 190, 179, 0.45);
  border-radius: 80px;
  transform: rotate(10deg);
  pointer-events: none;
}

.story {
  background: var(--bg-story);
  padding: 0;
}

.story__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: stretch;
}

.story__inner::after {
  content: "";
  position: absolute;
  right: 46px;
  top: 44px;
  width: 118px;
  height: 306px;
  border-right: 2px solid rgba(198, 181, 170, 0.48);
  border-radius: 80px;
  transform: rotate(11deg);
  pointer-events: none;
}

.story__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  background: #e8dfd5;
  transition: transform 0.55s ease, box-shadow 0.3s ease;
}

.story__media:hover .story__image,
.trying-next__media:hover .trying-next__image,
.story-page__media:hover .story-page__image {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.story__content {
  background: var(--bg-story-panel);
  padding: 42px 56px 38px 46px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.story__content:hover,
.contact-page__panel:hover,
.story-page__content:hover,
.privacy-page__content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.eyebrow--story {
  margin-bottom: 16px;
}

.story__title {
  margin: 0 0 18px;
  color: #29231f;
  font-size: 59px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.story__text {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.72;
  max-width: 510px;
}

.story__signoff {
  margin: 18px 0 24px;
  color: #514941;
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-style: italic;
}

.button--story {
  min-width: 220px;
  height: 50px;
}

.trying-next {
  background: var(--bg-trying-next);
  padding: 54px 0 58px;
}

.trying-next__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 52px;
}

.eyebrow--trying-next {
  margin-bottom: 18px;
}

.trying-next__title {
  margin: 0 0 18px;
  color: #29231f;
  font-size: 58px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.trying-next__title span {
  color: #6b7651;
  font-style: italic;
}

.trying-next__text {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.72;
  max-width: 470px;
}

.trying-next__media {
  display: flex;
  justify-content: flex-end;
}

.trying-next__image {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #e8dfd5;
  transition: transform 0.55s ease, box-shadow 0.3s ease;
}

.contact-page {
  background: var(--bg-contact);
  padding: 54px 0 58px;
}

.contact-page__inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 52px;
}

.contact-page__title {
  margin: 0 0 20px;
  color: #231d18;
  font-size: 68px;
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.contact-page__title span {
  color: #6b7651;
  font-style: italic;
}

.contact-page__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.72;
  max-width: 430px;
}

.contact-page__panel {
  background: var(--bg-contact-panel);
  padding: 34px 36px 36px;
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field label {
  color: #4a433d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-form__field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #d9cec4;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-form__field textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  border: 1px solid #d9cec4;
  background: #fff;
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus,
.signup-band__form input:focus {
  border-color: rgba(75, 89, 53, 0.45);
  box-shadow: 0 0 0 3px rgba(75, 89, 53, 0.12);
  background: #ffffff;
}

.contact-form__button {
  min-width: 180px;
  height: 52px;
  margin-top: 24px;
}

.story-page {
  background: var(--bg-story-page);
  padding: 54px 0 58px;
}

.story-page__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 52px;
}

.story-page__media {
  display: flex;
  justify-content: flex-start;
}

.story-page__image {
  width: 100%;
  max-width: 520px;
  height: 700px;
  object-fit: cover;
  object-position: center;
  background: #e8dfd5;
  transition: transform 0.55s ease, box-shadow 0.3s ease;
}

.story-page__content {
  background: var(--bg-story-page-panel);
  padding: 40px 42px 44px;
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.story-page__title {
  margin: 0 0 20px;
  color: #231d18;
  font-size: 68px;
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.story-page__title span {
  color: #6b7651;
  font-style: italic;
}

.story-page__text {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.78;
}

.story-page__signoff {
  margin-top: 26px;
  color: #514941;
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-style: italic;
}

.privacy-page {
  background: var(--bg-privacy);
  padding: 54px 0 58px;
}

.privacy-page__inner {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 52px;
}

.privacy-page__intro {
  position: sticky;
  top: 110px;
}

.privacy-page__title {
  margin: 0 0 18px;
  color: #231d18;
  font-size: 68px;
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.privacy-page__title span {
  color: #6b7651;
  font-style: italic;
}

.privacy-page__updated {
  margin: 0;
  color: #756d66;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.privacy-page__content {
  background: var(--bg-privacy-panel);
  padding: 38px 40px 40px;
  border: 1px solid var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.privacy-page__section + .privacy-page__section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e7ddd4;
}

.privacy-page__section h2 {
  margin: 0 0 12px;
  color: #2b2420;
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.privacy-page__section p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.78;
}

.privacy-page__section p:last-child {
  margin-bottom: 0;
}

.privacy-page__section a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.essentials-page {
  background: var(--bg-essentials-page);
  padding: 54px 0 58px;
}

.essentials-page__intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.essentials-page__title {
  margin: 0 0 18px;
  color: #231d18;
  font-size: 68px;
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.essentials-page__title span {
  color: #6b7651;
  font-style: italic;
}

.essentials-page__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.72;
  max-width: 560px;
}

.essentials-subnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #fbf8f4;
  box-shadow: var(--shadow-soft);
}

.essentials-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #d9cec4;
  background: #fff;
  color: #4a433d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.essentials-subnav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(35, 29, 25, 0.08);
  background: #fcfaf7;
}

.essentials-page__section + .essentials-page__section {
  margin-top: 48px;
}

.essentials-page__section-title {
  margin: 0 0 22px;
  color: #2b2420;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-product-card);
  border: 1px solid var(--line);
  padding: 18px 18px 20px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(227, 216, 206, 0.8);
}

.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eee4da;
  transition: box-shadow 0.28s ease;
}

.product-card:hover .product-card__media {
  box-shadow: inset 0 0 0 1px rgba(75, 89, 53, 0.06);
}

.product-card__image {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.035);
}

.product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 16px;
}

.product-card__id {
  margin-bottom: 8px;
  color: #756d66;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.product-card__title {
  margin: 0 0 10px;
  color: #2b2420;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.22s ease;
}

.product-card:hover .product-card__title {
  color: #1f1a17;
}

.product-card__text {
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.product-card__button {
  width: 100%;
  min-width: 0;
  height: 46px;
  margin-top: auto;
  padding: 0 16px;
  font-size: 11px;
}

.signup-band {
  background:
    linear-gradient(rgba(79, 67, 54, 0.56), rgba(79, 67, 54, 0.56)),
    url("assets/footer-banner.jpg") center / cover no-repeat;
  color: #fff;
}

.signup-band__inner {
  min-height: 98px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.signup-band__copy h2 {
  margin: 0 0 6px;
  font-size: 27px;
  line-height: 1;
}

.signup-band__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}

.signup-band__form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.signup-band__form input {
  width: 176px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.signup-band__form button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.signup-band__note {
  padding: 5px 0 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
}

.footer {
  background: var(--bg-footer);
  border-top: 1px solid #ddd2c8;
}

.footer__inner {
  padding: 16px 0 12px;
}

.footer__top {
  min-height: 72px;
  display: grid;
  grid-template-columns: 170px 1fr 90px;
  align-items: center;
  gap: 18px;
}

.footer__logo-link {
  justify-self: start;
}

.footer__logo {
  width: 122px;
  height: auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer__logo-link:hover .footer__logo {
  transform: translateY(-1px);
  opacity: 0.92;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  min-width: 0;
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.footer__socials a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.footer__socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer__bottom {
  padding: 0 0 14px;
  text-align: center;
  color: #786f67;
  font-size: 11px;
}

.footer__bottom a {
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer__bottom a:hover {
  color: #3b3530;
}

@media (max-width: 1100px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .topbar__inner,
  .hero__inner,
  .benefits__inner,
  .cards,
  .story__inner,
  .trying-next__inner,
  .contact-page__inner,
  .story-page__inner,
  .privacy-page__inner,
  .signup-band__inner,
  .guarantee-band__inner {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar__inner {
    padding: 18px 0;
  }

  .topbar__form,
  .signup-band__form,
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__media {
    margin-left: 0;
  }

  .hero__media::before {
    left: 0;
  }

  .hero__image,
  .story__image,
  .trying-next__image,
  .story-page__image {
    height: auto;
  }

  .guarantee-band__inner {
    justify-items: center;
    text-align: center;
    gap: 16px;
  }

  .benefit,
  .benefit--last {
    border-right: 0;
    border-bottom: 1px solid #e4dacf;
    justify-content: flex-start;
  }

  .benefit--last,
  .card--placeholder::after,
  .story__inner::after {
    border-bottom: 0;
    display: none;
  }

  .story__content {
    padding: 32px 24px;
  }

  .trying-next {
    padding: 46px 0 50px;
  }

  .trying-next__media {
    justify-content: flex-start;
  }

  .contact-page__panel,
  .story-page__content,
  .privacy-page__content {
    padding: 28px 24px 30px;
  }

  .privacy-page__intro {
    position: static;
  }

  .footer__top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    min-height: auto;
  }

  .footer__logo-link,
  .footer__socials {
    justify-self: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 18px 28px;
  }
}

@media (max-width: 767px) {
  :root {
    --topbar-height: 0px;
    --topbar-reopen-height: 32px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .form-alert {
    width: min(calc(100% - 32px), var(--container));
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.5;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.has-topbar,
  body.has-topbar-reopen {
    padding-top: 0;
  }

  .topbar,
  .topbar__reopen {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }

  .topbar__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0 16px;
  }

  .topbar__copy {
    font-size: 22px;
  }

  .topbar__form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .topbar__form input,
  .topbar__form button,
  .signup-band__form input,
  .signup-band__form button {
    width: 100%;
  }

  .topbar__close {
    justify-self: end;
    margin-top: -4px;
  }

  .topbar__reopen {
    width: 100%;
    border-radius: 0;
    justify-content: center;
    white-space: normal;
    box-shadow: none;
  }

  .header__inner {
    position: relative;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px 14px;
    min-height: auto;
    padding: 16px 0 14px;
  }

  .header__logo-link {
    justify-self: start;
    align-self: start;
  }

  .header__logo {
    width: 160px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: start;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-top: 2px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #4a433d;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 1px);
    width: 100%;
    padding: 18px 20px 20px;
    background: var(--bg-header);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    z-index: 20;
  }

  .nav a::after,
  .footer__nav a::after {
    display: none;
  }

  body.nav-open .nav {
    display: flex;
  }

  .header-essentials {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 260px;
  }

  .header-essentials .button--header {
    width: 100%;
    max-width: 260px;
  }

  .header-essentials__dropdown {
    display: none;
  }

  .button--header {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 260px;
    height: 52px;
    margin-top: 2px;
  }

  .hero__inner {
    gap: 24px;
    padding: 22px 0 24px;
  }

  .hero__content {
    padding-top: 0;
    padding-left: 0;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__text {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.65;
  }

  .button--primary {
    width: 100%;
    min-width: 0;
    max-width: 320px;
  }

  .hero__note {
    margin-top: 28px;
  }

  .hero__media {
    margin-left: 0;
  }

  .hero__media::before {
    left: 0;
    background:
      linear-gradient(
        180deg,
        rgba(244, 239, 234, 0.18) 0%,
        rgba(244, 239, 234, 0) 38%
      );
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }

  .hero__media::after {
    display: none;
  }

  .hero__image {
    height: auto;
    max-width: 100%;
    object-position: center;
  }

  .guarantee-band__inner {
    padding: 18px 0;
  }

  .guarantee-band__icon {
    width: 58px;
    height: 58px;
  }

  .guarantee-band__icon svg {
    width: 28px;
    height: 28px;
  }

  .guarantee-band__title {
    font-size: 30px;
  }

  .guarantee-band__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .guarantee-band__link {
    width: 100%;
    max-width: 220px;
  }

  .essentials {
    padding: 40px 0 44px;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .cards {
    gap: 28px;
  }

  .story__content {
    padding: 26px 22px 28px;
  }

  .story__title,
  .trying-next__title,
  .contact-page__title,
  .story-page__title,
  .privacy-page__title,
  .essentials-page__title {
    font-size: 44px;
  }

  .trying-next {
    padding: 38px 0 42px;
  }

  .trying-next__inner {
    gap: 24px;
  }

  .trying-next__text:last-child {
    margin-bottom: 0;
  }

  .contact-page,
  .story-page,
  .privacy-page,
  .essentials-page {
    padding: 38px 0 42px;
  }

  .contact-page__inner,
  .story-page__inner,
  .privacy-page__inner {
    gap: 24px;
  }

  .contact-page__text,
  .story-page__text,
  .privacy-page__section p,
  .essentials-page__text,
  .product-card__text {
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-page__panel,
  .story-page__content,
  .privacy-page__content {
    padding: 22px 18px 24px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form__field input {
    height: 48px;
  }

  .contact-form__field textarea {
    min-height: 130px;
  }

  .contact-form__button {
    width: 100%;
    min-width: 0;
    margin-top: 20px;
  }

  .story-page__signoff {
    font-size: 34px;
    margin-top: 22px;
  }

  .privacy-page__updated {
    font-size: 12px;
  }

  .privacy-page__section + .privacy-page__section {
    margin-top: 24px;
    padding-top: 24px;
  }

  .privacy-page__section h2,
  .essentials-page__section-title {
    font-size: 32px;
  }

  .essentials-page__intro {
    margin-bottom: 30px;
  }

  .essentials-subnav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .essentials-subnav a {
    width: 100%;
    min-width: 0;
  }

  .essentials-page__section + .essentials-page__section {
    margin-top: 38px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card {
    padding: 18px 18px 20px;
  }

  .product-card__media {
    min-height: 280px;
  }

  .product-card__title {
    font-size: 30px;
  }

  .product-card__button {
    width: 100%;
    min-width: 0;
  }

  .signup-band__inner {
    gap: 16px;
    padding: 18px 0 8px;
  }

  .signup-band__copy h2 {
    font-size: 24px;
  }

  .signup-band__copy p {
    font-size: 15px;
    line-height: 1.45;
  }

  .signup-band__form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .footer__inner {
    padding: 14px 0 10px;
  }

  .footer__top {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px 12px;
  }

  .footer__logo-link {
    justify-self: start;
    align-self: start;
  }

  .footer__logo {
    width: 118px;
  }

  .footer__socials {
    justify-self: end;
    align-self: start;
    gap: 14px;
    padding-top: 6px;
  }

  .footer__nav {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
  }

  .footer__bottom {
    font-size: 10px;
    line-height: 1.5;
  }
}