:root {
  --mint: #f3faf5;
  --mint-deep: #e4f1e7;
  --olive: #617465;
  --olive-dark: #243b31;
  --ink: #1c2822;
  --muted: #66746d;
  --coral: #ff6f68;
  --coral-dark: #df5957;
  --gold: #efb557;
  --line: #d9e6dc;
  --shadow: 0 24px 64px rgba(45, 73, 58, 0.12);
  --soft-shadow: 0 12px 30px rgba(45, 73, 58, 0.08);
  --max: 1240px;
}

body {
  background: var(--mint);
}

h1,
h2 {
  letter-spacing: 0;
}

.site-header {
  top: 0;
  padding: 0 28px;
  border-bottom: 1px solid rgba(36, 59, 49, 0.08);
  background: rgba(243, 250, 245, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .brand {
  gap: 8px;
  font-size: 25px;
  font-weight: 700;
}

.site-header .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 0;
  color: var(--olive-dark);
  background: transparent;
}

.site-header .brand-mark svg {
  width: 27px;
  height: 27px;
}

.nav-links {
  gap: 8px;
}

.nav-links a,
.nav-login,
.nav-menu-auth {
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  color: var(--olive-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-login:hover,
.nav-menu-auth:hover {
  color: var(--coral-dark);
  background: transparent;
}

.nav-login {
  position: relative;
  padding-inline: 12px;
}

.nav-login::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-login:hover::after {
  transform: scaleX(1);
}

.header-actions {
  gap: 12px;
}

.button {
  min-height: 46px;
  padding-inline: 20px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

.button.primary {
  box-shadow: 0 10px 24px rgba(255, 111, 104, 0.22);
}

.button.ghost {
  border-color: rgba(36, 59, 49, 0.22);
  background: transparent;
}

.hero {
  min-height: 720px;
  padding: 128px 28px 58px;
  background: var(--mint);
}

.hero-grid {
  min-height: 534px;
  grid-template-columns: minmax(390px, 0.82fr) minmax(540px, 1.18fr);
  gap: 28px;
}

.hero-copy {
  max-width: 520px;
  position: relative;
  z-index: 4;
}

.hero h1 {
  max-width: none;
  margin-bottom: 12px;
  color: var(--olive-dark);
  font-size: clamp(76px, 8vw, 118px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-kicker {
  display: block;
  margin-bottom: 26px;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.hero-kicker::before {
  display: none;
}

.hero-statement {
  margin-bottom: 9px;
  color: var(--olive-dark);
  font-size: 17px;
  font-weight: 780;
}

.hero-lead {
  max-width: 430px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions .button.ghost {
  padding-inline: 12px;
  border-color: transparent;
  color: var(--olive-dark);
}

.hero-actions .button.ghost:hover {
  color: var(--coral-dark);
  background: transparent;
}

.hero-note {
  margin-top: 22px;
  color: #718078;
}

.hero-visual {
  min-height: 534px;
}

.hero-photo {
  inset: 0 -24px 0 0;
  border-radius: 8px;
  background-position: 58% center;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 100%);
}

.hero-photo::after {
  background: linear-gradient(180deg, transparent 72%, rgba(243, 250, 245, 0.18));
}

.app-card {
  width: min(292px, 58%);
  margin-left: 2px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 58px rgba(38, 59, 49, 0.18);
}

.app-card-item,
.float-note {
  border-radius: 8px;
}

.float-note {
  right: 4px;
  bottom: 22px;
  width: 184px;
  color: #783d3b;
  background: #ffd0ca;
  box-shadow: 0 12px 28px rgba(105, 65, 55, 0.12);
}

.section {
  padding: 100px 28px;
}

.section-heading {
  margin-bottom: 48px;
}

.section-eyebrow,
.member-card .member-label,
.workspace-card-label,
.portal-card-label {
  letter-spacing: 0;
}

main h2 {
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-section {
  padding-top: 92px;
  background: #fff;
}

.product-grid {
  gap: 12px;
}

.product-block {
  min-height: 450px;
  border-radius: 8px;
}

.product-copy {
  width: 65%;
  min-height: 450px;
  padding: 30px;
  background: linear-gradient(90deg, var(--mint) 0%, rgba(243, 250, 245, 0.98) 44%, rgba(243, 250, 245, 0.76) 68%, rgba(243, 250, 245, 0) 100%);
}

.product-block.meals .product-copy {
  background: linear-gradient(90deg, #fff8eb 0%, rgba(255, 248, 235, 0.98) 44%, rgba(255, 248, 235, 0.76) 68%, rgba(255, 248, 235, 0) 100%);
}

.product-icon {
  border-radius: 50%;
}

.product-copy h3 {
  font-size: 36px;
  letter-spacing: 0;
}

.rhythm-section {
  padding-block: 112px;
  background: var(--mint);
}

.rhythm-grid {
  gap: 92px;
}

.rhythm-item {
  padding: 23px 0;
}

.rhythm-item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.membership-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #e7f2e8;
}

.membership-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(239, 181, 87, 0) 30%, rgba(239, 181, 87, 0.16) 100%);
}

.membership-section .section-inner {
  position: relative;
  z-index: 1;
}

.membership-section h2 {
  color: var(--olive-dark);
}

.membership-section .section-intro,
.benefit p {
  color: var(--muted);
}

.membership-grid {
  gap: 92px;
}

.benefit {
  border-color: rgba(36, 59, 49, 0.14);
}

.benefit h3 {
  color: var(--olive-dark);
}

.benefit-icon {
  color: var(--coral-dark);
}

.pricing-card {
  padding: 32px;
  border: 1px solid rgba(36, 59, 49, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(47, 76, 60, 0.11);
}

.pricing-top .status {
  color: #8d4140;
  background: #ffe5e1;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  letter-spacing: 0;
}

.price small {
  white-space: nowrap;
}

.billing-switch {
  border-radius: 8px;
  background: #edf5ef;
}

.billing-switch button,
.billing-switch button.active {
  border-radius: 6px;
}

.billing-switch .yearly-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.save-tag {
  position: relative;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px 0 13px;
  color: #754821;
  background: #ffd89a;
  clip-path: polygon(7px 0, 100% 0, 100% 100%, 7px 100%, 0 50%);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.save-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(117, 72, 33, 0.55);
  transform: translateY(-50%);
}

.billing-switch .yearly-option.active .save-tag {
  color: #fff;
  background: var(--coral);
}

.billing-switch .yearly-option.active .save-tag::before {
  background: rgba(255, 255, 255, 0.72);
}

.account-section {
  background: #fff;
}

.account-preview {
  padding: 30px;
  border-radius: 8px;
  background: var(--mint);
}

.summary-cell,
.status {
  border-radius: 8px;
}

.site-footer {
  padding-top: 66px;
  border-top: 0;
  background: var(--mint);
}

.site-footer .brand-mark {
  border-radius: 0;
  color: var(--olive-dark);
  background: transparent;
}

.modal-panel {
  border-radius: 8px;
}

.modal-close {
  border-radius: 8px;
}

.form-field input,
.form-field select,
.modal-message {
  border-radius: 8px;
}

@media (max-width: 940px) {
  .nav-links {
    top: 68px;
    right: 14px;
    left: auto;
    width: min(310px, calc(100vw - 28px));
    border-radius: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 470px;
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 0;
    padding: 0 14px;
  }

  .nav-shell {
    min-height: 66px;
    padding-left: 0;
    border-radius: 0;
  }

  .site-header .brand {
    font-size: 21px;
  }

  .site-header .brand-mark {
    width: 27px;
    height: 27px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions .button {
    min-height: 38px;
    padding: 0 11px;
  }

  .menu-toggle {
    border: 0;
  }

  .hero {
    padding: 104px 16px 54px;
  }

  .hero h1 {
    font-size: clamp(62px, 19vw, 82px);
  }

  .hero-kicker {
    margin-bottom: 22px;
    font-size: 25px;
  }

  .hero-statement {
    font-size: 16px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-actions .button.primary {
    flex: 1 1 156px;
  }

  .hero-actions .button.ghost {
    flex: 0 0 auto;
  }

  .hero-visual {
    min-height: 386px;
  }

  .hero-photo {
    inset: 0;
    border-radius: 8px;
    background-position: 60% center;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
  }

  .app-card {
    width: min(258px, 74%);
    align-self: end;
    margin: 0 0 18px 10px;
  }

  .float-note {
    right: 6px;
    bottom: 0;
    width: 138px;
    padding: 12px;
  }

  .section {
    padding: 76px 16px;
  }

  main h2 {
    font-size: 42px;
  }

  .product-section {
    padding-top: 72px;
  }

  .product-block,
  .product-copy {
    min-height: 410px;
  }

  .product-copy {
    width: 100%;
    background: linear-gradient(180deg, rgba(243, 250, 245, 0) 0%, rgba(243, 250, 245, 0.76) 45%, var(--mint) 76%);
  }

  .product-block.meals .product-copy {
    background: linear-gradient(180deg, rgba(255, 248, 235, 0) 0%, rgba(255, 248, 235, 0.78) 45%, #fff8eb 76%);
  }

  .product-copy h3 {
    font-size: 34px;
  }

  .rhythm-grid,
  .membership-grid,
  .account-grid {
    gap: 44px;
  }

  .pricing-card,
  .account-preview {
    padding: 22px;
  }

  .price {
    font-size: 52px;
  }

  .pricing-top .status {
    white-space: nowrap;
  }

  .billing-switch .yearly-option {
    gap: 6px;
  }

  .save-tag {
    padding-right: 6px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-login::after {
    transition: none;
  }
}
