:root {
  --brand: #12b82a;
  --brand-dark: #087c1a;
  --brand-soft: #dff7b8;
  --ink: #10130f;
  --text: #30392f;
  --muted: #5a6656;
  --bg: #fffef9;
  --surface: #fffdf7;
  --surface-alt: #f5faed;
  --line: rgba(16, 19, 15, .14);
  --line-strong: rgba(16, 19, 15, .24);
  --shadow: 0 8px 18px rgba(24, 47, 25, .08);
  --radius: 24px;
  --gap: 24px;
  --inset: 16px;
  --sidebar: 280px;
  --page-pad: clamp(16px, 3vw, 32px);
  --content: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(16, 19, 15, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 15, .035) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(18, 184, 42, .09), transparent 30%),
    radial-gradient(circle at 86% 84%, rgba(207, 238, 255, .55), transparent 32%),
    var(--bg);
  background-size: 96px 96px, 96px 96px, auto, auto, auto;
  color: var(--ink);
  font-family: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.cart-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

button:disabled {
  cursor: default;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform .18s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid rgba(18, 184, 42, .42);
  outline-offset: 4px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, .88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 88px;
  width: min(var(--content), calc(100% - var(--page-pad) - var(--page-pad)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 850;
  white-space: nowrap;
}

.brand > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.1;
}

.nav-links a::after {
  content: "->";
  margin-left: 10px;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.cart-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}

.cart-button:hover {
  background: #fff;
  border-color: var(--brand-dark);
}

.cart-button:active {
  transform: translateY(1px);
}

.cart-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: var(--brand);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3.1 3H1v2h1.5l2.7 10.2A2.5 2.5 0 0 0 7.6 17H18a2.5 2.5 0 0 0 2.4-1.8L23 7H6.1L5.5 4.8A2.5 2.5 0 0 0 3.1 3Zm3.5 6H20l-1.5 5.6a.5.5 0 0 1-.5.4H7.6a.5.5 0 0 1-.5-.4L6.6 9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cart-count {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.cart-empty .cart-count {
  display: none;
}

main {
  min-width: 0;
}

main#top {
  scroll-margin-top: 96px;
}

section {
  padding: var(--gap) 0;
  scroll-margin-top: 96px;
}

.container,
.hero-inner {
  width: min(var(--content), calc(100% - var(--page-pad) - var(--page-pad)));
  margin: 0 auto;
}

.hero-inner,
.container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.hero-inner > *,
.container > * {
  min-width: 0;
}

.section-head {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, .72fr);
  align-items: start;
  gap: var(--gap);
}

.section-head h2 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 76px);
}

.section-head p {
  max-width: 520px;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-card,
.story-panel,
.audience-item,
.product-card,
.plan,
.contact-card,
.contact-map-card,
.service-card,
.pickup-card,
.review {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, .9);
  color: var(--ink);
  box-shadow: none;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.hero-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: var(--gap);
  padding: var(--inset);
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(40px, 7vw, 76px);
  overflow-wrap: normal;
}

.lead {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(18px, 2.3vw, 26px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary,
.secondary,
.add-btn,
.plan button,
.checkout {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  font-weight: 780;
  line-height: 1;
  text-align: center;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.primary {
  min-width: min(100%, 280px);
  background: linear-gradient(90deg, var(--brand-soft), rgba(255, 255, 255, .9));
}

.secondary {
  min-width: min(100%, 280px);
}

.primary:hover,
.secondary:hover,
.add-btn:hover,
.plan button:hover,
.checkout:hover {
  border-color: rgba(18, 184, 42, .4);
  background: var(--brand-soft);
}

.primary:active,
.secondary:active,
.add-btn:active,
.plan button:active,
.checkout:active {
  transform: translateY(1px);
}

.hero-image-panel {
  min-height: clamp(260px, 44vw, 520px);
  overflow: hidden;
  background: #edf5df;
}

.hero-image-panel img,
.story-image,
.audience-image,
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-delivery {
  display: grid;
  gap: var(--gap);
}

.hero-delivery-head h2 {
  max-width: 760px;
  font-size: clamp(34px, 5.6vw, 58px);
  font-weight: 300;
  line-height: 1.06;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.step {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.step strong {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(18, 184, 42, .22);
}

.step h3 {
  font-size: clamp(22px, 3.6vw, 34px);
}

.step p {
  max-width: 260px;
  color: var(--muted);
  font-size: 16px;
}

.audiences {
  align-items: start;
}

.story-panel {
  display: grid;
  align-content: start;
}

.story-image {
  aspect-ratio: 16 / 10;
}

.story-panel h2,
.story-panel p {
  padding: 0 var(--inset);
}

.story-panel h2 {
  padding-top: var(--inset);
  font-size: clamp(36px, 6.3vw, 66px);
}

.story-panel p {
  padding-top: var(--inset);
  padding-bottom: var(--inset);
  font-size: clamp(17px, 2vw, 21px);
}

.audience-list {
  display: grid;
  gap: var(--gap);
}

.audience-item {
  display: grid;
  align-content: start;
}

.audience-image {
  aspect-ratio: 16 / 6;
}

.audience-item h3,
.audience-item p {
  padding: 0 var(--inset);
}

.audience-item h3 {
  padding-top: var(--inset);
  font-size: clamp(24px, 4vw, 34px);
}

.audience-item p {
  padding-top: 10px;
  padding-bottom: var(--inset);
  font-size: 16px;
}

.tabs {
  width: max-content;
  max-width: 100%;
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.tab.active {
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(18, 184, 42, .28);
}

.product-grid {
  min-width: 0;
  display: flex;
  gap: var(--gap);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 0 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.product-card {
  position: relative;
  flex: 0 0 min(360px, 82vw);
  display: grid;
  grid-template-rows: auto 1fr;
  scroll-snap-align: start;
}

.product-visual {
  aspect-ratio: 1.06 / 1;
  overflow: hidden;
  background: var(--tone, var(--surface-alt));
}

.badge {
  position: absolute;
  top: var(--inset);
  left: var(--inset);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.product-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: var(--inset);
}

.product-body h3 {
  font-size: clamp(28px, 5vw, 42px);
}

.product-body p {
  color: var(--text);
  font-size: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--inset);
  margin-top: 4px;
}

.price {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  line-height: 1;
}

.add-btn {
  min-width: 132px;
}

.subscription-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.plan {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: var(--inset);
  padding: var(--inset);
}

.plan.featured {
  background: linear-gradient(160deg, var(--brand-soft), rgba(255, 253, 247, .92) 62%);
  border-color: rgba(18, 184, 42, .28);
}

.plan h3 {
  font-size: clamp(28px, 5vw, 42px);
}

.plan p {
  color: var(--text);
  font-size: 17px;
}

.plan-price {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.contacts-grid {
  align-items: start;
}

.contacts-layout {
  min-width: 0;
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.contact-card-main,
.service-card,
.pickup-card,
.map-copy {
  min-width: 0;
  max-width: 100%;
  padding: var(--inset);
}

.contact-card-main {
  display: grid;
  gap: var(--inset);
}

.contact-card h3,
.contact-map-card h3,
.service-card h3,
.pickup-card h3 {
  font-size: clamp(28px, 5vw, 44px);
}

.contact-card p,
.contact-map-card p,
.service-card p,
.pickup-card p {
  color: var(--text);
  font-size: 17px;
}

.contact-method-grid {
  display: grid;
  gap: 12px;
}

.contact-method-grid a {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.contact-method-grid span,
.pickup-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.contact-method-grid strong,
.pickup-card dd {
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.contact-map-card {
  min-width: 0;
  max-width: 100%;
  display: grid;
  align-content: start;
}

.mini-map {
  position: relative;
  min-width: 0;
  max-width: 100%;
  contain: layout paint;
  min-height: clamp(280px, 45vw, 460px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(16, 19, 15, .04) 1px, transparent 1px),
    linear-gradient(rgba(16, 19, 15, .04) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(18, 184, 42, .18), transparent 26%),
    radial-gradient(circle at 82% 78%, rgba(255, 229, 180, .34), transparent 24%),
    #f9f6ed;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.map-point {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
  white-space: nowrap;
}

.map-point::before,
.city-tags span::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
}

.map-point.farm {
  top: 16px;
  left: 16px;
}

.map-point.pickup {
  top: 34%;
  right: 16px;
}

.map-point.city {
  left: 34%;
  bottom: 16px;
}

.map-route {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: rgba(18, 184, 42, .64);
  transform-origin: left center;
  pointer-events: none;
}

.route-one {
  width: 38%;
  top: 36%;
  left: 30%;
  transform: rotate(12deg);
}

.route-two {
  width: 32%;
  left: 35%;
  bottom: 30%;
  transform: rotate(-24deg);
}

.contacts-aside {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.service-card,
.pickup-card {
  display: grid;
  gap: var(--inset);
}

.city-tags {
  display: grid;
  gap: 10px;
}

.city-tags span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.pickup-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.pickup-card dl div {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.pickup-card dl div:first-child {
  border-top: 0;
  padding-top: 0;
}

.pickup-card dd {
  margin: 0;
}

.reviews-carousel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.review-grid {
  min-width: 0;
  display: flex;
  gap: var(--gap);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 0 12px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 1px;
  scrollbar-width: thin;
}

.review {
  flex: 0 0 min(300px, 82vw);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--inset);
  padding: var(--inset);
  scroll-snap-align: start;
}

.review p {
  color: var(--text);
  font-size: 18px;
}

.review span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.review-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 40px;
  max-width: 100%;
}

.review-control {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.review-control:not(:disabled):hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.review-control:disabled {
  color: rgba(16, 19, 15, .32);
  pointer-events: none;
}

.review-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.review-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(16, 19, 15, .22);
  transition: width .18s var(--ease), background .18s var(--ease);
}

.review-dot.is-filled {
  background: rgba(18, 184, 42, .58);
}

.review-dot.is-current {
  width: 24px;
  background: var(--brand);
}

footer {
  margin-top: var(--gap);
  padding: var(--gap) 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 247, .72);
}

.footer-inner {
  width: min(var(--content), calc(100% - var(--page-pad) - var(--page-pad)));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--inset);
  color: var(--ink);
  font-weight: 850;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  justify-items: end;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s var(--ease);
}

.cart-drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 15, .22);
}

.cart-panel {
  position: relative;
  width: min(460px, 100vw);
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: var(--inset);
  padding: var(--gap);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  box-shadow: -18px 0 36px rgba(16, 19, 15, .14);
  transform: translateX(100%);
  transition: transform .28s var(--ease);
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-head,
.total-row,
.cart-item,
.qty,
.buy-row {
  min-width: 0;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--inset);
}

.cart-head h2 {
  font-size: 40px;
}

.close-cart {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  overscroll-behavior: contain;
}

.empty {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
}

.cart-item h3 {
  font-size: 18px;
  line-height: 1.2;
}

.cart-item p {
  margin-top: 4px;
  font-size: 14px;
}

.qty {
  display: grid;
  grid-template-columns: 34px 28px 34px;
  align-items: center;
  justify-items: center;
  gap: 4px;
}

.qty button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.cart-options {
  display: grid;
  gap: 12px;
}

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

.field label {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--inset);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.checkout {
  width: 100%;
}

.toast {
  position: fixed;
  right: var(--page-pad);
  bottom: var(--page-pad);
  z-index: 80;
  max-width: min(360px, calc(100vw - var(--page-pad) - var(--page-pad)));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .subscription-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 760px) {
  .hero-card {
    grid-template-columns: minmax(0, .92fr) minmax(280px, 1.08fr);
  }

  .hero-image-panel {
    min-height: 100%;
  }

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

  .steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--brand);
  }

  .step strong {
    position: relative;
    z-index: 1;
  }

  .audiences {
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  }

  .contacts-layout {
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  }

  .contacts-aside {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  body {
    padding-left: var(--sidebar);
  }

  .topbar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar);
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .nav {
    width: 100%;
    min-height: 100%;
    padding: 32px 24px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .brand {
    gap: 12px;
    font-size: 23px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .nav-links {
    display: grid;
    gap: 18px;
    margin-top: 32px;
  }

  .cart-button {
    width: 100%;
    margin-top: auto;
    justify-content: flex-start;
    font-size: 18px;
  }

  section {
    scroll-margin-top: 24px;
  }

  main#top {
    scroll-margin-top: 0;
  }
}

@media (min-width: 1100px) and (max-width: 1399px) {
  .hero h1 {
    font-size: clamp(54px, 5.2vw, 68px);
  }
}

@media (min-width: 1280px) {
  .subscription-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .contacts-layout {
    grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.12fr) minmax(280px, .85fr);
  }

  .contacts-aside {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .cart-label {
    max-width: 8ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 520px) {
  .nav {
    min-height: 76px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    font-size: 21px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .cart-button {
    min-height: 44px;
    gap: 8px;
    font-size: 16px;
  }

  .cart-icon {
    width: 20px;
    height: 20px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .section-head h2,
  .story-panel h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .product-card {
    flex-basis: min(330px, 86vw);
  }

  .cart-panel {
    padding: 18px;
  }
}

@media (max-width: 340px) {
  .brand > span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
