:root {
  --navy: #132836;
  --ink: #111314;
  --green: #087f68;
  --white: #ffffff;
  --paper: #f8f9fb;
  --line: #d9dde0;
  --muted: #646a6e;
  --shell: min(1280px, calc(100vw - 64px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--ink); font-family: "neue-haas-unica", Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select { color: inherit; font: inherit; }
.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; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; background: #000; color: white; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #168eea; outline-offset: 3px; }

.announcement { min-height: 39px; display: grid; place-items: center; background: var(--navy); color: white; font-size: 12px; font-weight: 650; }
.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.nav-shell { width: var(--shell); min-height: 58px; margin: 0 auto; display: grid; grid-template-columns: 166px 1fr auto; align-items: center; gap: 24px; }
.brand { display: block; width: 156px; }
.brand img { width: 100%; }
.desktop-nav { min-width: 0; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.7vw, 29px); }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 400; }
.desktop-nav a:hover { color: var(--green); }
.desktop-nav .nav-strong { font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 5px; }
.market-select-wrap select { height: 42px; border: 0; padding: 0 20px 0 8px; background: transparent; font-size: 12px; font-weight: 650; }
.icon-button, .menu-button { position: relative; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.icon-button svg { width: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.cart-button > span { position: absolute; top: 1px; right: 1px; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 9px; font-weight: 700; }
.menu-button, .mobile-menu { display: none; }

.hero { min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(48px, 4.45vw, 64px); }
.hero-subscribers { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero-subscribers img { width: 130px; height: auto; flex: 0 0 auto; }
.hero-subscribers p { margin: 0; font-size: 16px; line-height: 1.3; }
.hero-subscribers strong { font-weight: 600; }
.hero h1 { max-width: 600px; margin: 0; font-size: 48px; line-height: 1.2; letter-spacing: 0; font-weight: 600; }
.hero-description { max-width: 600px; margin: 10px 0 0; font-size: 22px; line-height: 1.3; font-weight: 400; }
.hero-actions { max-width: 360px; display: grid; gap: 12px; margin-top: 40px; }
.button { width: 100%; height: 52px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); border-radius: 40px; padding: 12px 10px 14px; font-size: 16px; line-height: 1; font-weight: 600; transition: opacity .2s ease; }
.button:hover { opacity: .8; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--green); border-color: var(--green); }
.button-outline { background: transparent; }
.button-outline:hover { background: white; }
.hero-image { min-width: 0; min-height: 540px; overflow: hidden; background: #102e27; }
.hero-image picture, .hero-image img { width: 100%; height: 100%; }
.hero-image img { object-fit: cover; }

.benefits { min-height: 94px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; border-bottom: 1px solid var(--line); background: #f8f9f9; }
.benefits article { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.benefits svg { width: 48px; height: 48px; flex: 0 0 auto; padding: 8px; border-radius: 50%; background: #f5f5f5; fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.benefits span { font-size: 16px; line-height: 1.5; font-weight: 400; }

.catalog { width: var(--shell); margin: 0 auto; padding: 88px 0 112px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.catalog-head h2 { margin: 0; font-size: 40px; line-height: 1.2; letter-spacing: 0; font-weight: 600; }
.catalog-head > a { min-height: 42px; display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 650; }
.category-tabs { display: flex; align-items: center; gap: 10px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs button { height: 33px; min-height: 33px; flex: 0 0 auto; border: 1px solid rgba(17,19,20,.4); border-radius: 80px; padding: 6.5px 12px 7.5px; background: white; color: rgba(17,19,20,.8); font-size: 16px; line-height: 1.3; font-weight: 400; cursor: pointer; }
.category-tabs button.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.product-card { min-width: 0; }
.product-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: #0e3129; }
.product-media picture, .product-media img { width: 100%; height: 100%; }
.product-media img { object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-badge { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 11px; border-radius: 999px; background: white; font-size: 11px; font-weight: 700; }
.product-info { padding: 20px 3px 0; }
.product-category { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.product-info h3 { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: 0; font-weight: 600; }
.product-info > p:not(.product-category) { margin: 2px 0 0; color: #676767; font-size: 16px; line-height: 1.3; }
.product-info > a { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 650; }

.goals { padding: 88px 0; background: var(--paper); }
.goals-shell { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 58px; align-items: start; }
.goals-intro h2 { margin: 0; font-size: 40px; line-height: 1.2; font-weight: 600; }
.goals-intro p { max-width: 350px; margin: 22px 0 0; color: #4f5559; font-size: 18px; line-height: 1.35; }
.goal-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.goal-card { min-width: 0; overflow: hidden; background: white; }
.goal-card-copy { min-height: 82px; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 3px 14px; padding: 16px; }
.goal-card h3 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 600; }
.goal-card-copy > span { font-size: 22px; line-height: 1; }
.goal-card p { grid-column: 1 / -1; margin: 0; color: #565c60; font-size: 14px; line-height: 1.35; }
.goal-card img { aspect-ratio: 1.68 / 1; object-fit: cover; transition: transform .35s ease; }
.goal-card:hover img { transform: scale(1.025); }

.ingredients-media { position: relative; min-height: 465px; overflow: hidden; background: #173e35; color: white; }
.ingredients-video, .ingredients-video::after { position: absolute; inset: 0; }
.ingredients-video::after { content: ""; background: rgba(4, 16, 15, .13); }
.ingredients-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.ingredients-video-mobile { display: none !important; }
.ingredients-content { position: relative; z-index: 2; width: var(--shell); min-height: 465px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 88px 0; }
.ingredients-content h2 { max-width: 650px; margin: 0; font-size: 40px; line-height: 1.2; font-weight: 600; }
.ingredients-button { width: 360px; border-color: white; background: rgba(0,0,0,.08); color: white; }
.ingredients-button:hover { border-color: white; background: white; color: var(--ink); }

.support { width: var(--shell); min-height: 250px; margin: 88px auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 50px 60px; border: 1px solid var(--line); }
.support p { margin: 0 0 12px; color: var(--green); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.support h2 { margin: 0; font-size: 40px; line-height: 1.2; letter-spacing: 0; font-weight: 600; }
.support .button { min-width: 220px; }

.site-footer { padding: 68px 0 24px; background: #eef0f1; }
.footer-top, .footer-bottom { width: var(--shell); margin: 0 auto; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 70px; padding-bottom: 60px; }
.footer-logo { width: min(340px, 38vw); }
.footer-links { display: grid; grid-template-columns: repeat(2, 170px); gap: 50px; }
.footer-links div { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 4px; font-size: 13px; }
.footer-links a { min-height: 28px; color: var(--muted); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; border-top: 1px solid #cdd2d4; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 11px; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 36px, 900px); }
  .nav-shell { grid-template-columns: 150px 1fr auto; }
  .desktop-nav { gap: 15px; }
  .desktop-nav a:nth-child(4), .desktop-nav a:nth-child(5) { display: none; }
  .brand { width: 144px; }
  .hero-copy { padding-inline: 48px; }
  .benefits article { gap: 12px; padding-inline: 12px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 30px); }
  html { scroll-padding-top: 92px; }
  .announcement { min-height: 36px; font-size: 11px; }
  .nav-shell { width: calc(100% - 20px); min-height: 60px; grid-template-columns: 44px 1fr auto; gap: 7px; }
  .menu-button { display: block; padding: 11px; }
  .menu-button > span:not(.sr-only) { display: block; height: 1.3px; margin: 5px 0; background: currentColor; }
  .brand { width: 132px; justify-self: center; }
  .desktop-nav, .market-select-wrap, .account-button { display: none; }
  .nav-actions { gap: 0; }
  .icon-button { width: 38px; }
  .mobile-menu { position: absolute; top: 100%; left: 10px; right: 10px; padding: 8px 18px 18px; border: 1px solid var(--line); border-top: 0; background: white; box-shadow: 0 16px 34px rgba(0,0,0,.12); }
  .mobile-menu.is-open { display: grid; }
  .mobile-menu a, .mobile-menu label { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 14px; }
  .mobile-menu label { border-bottom: 0; }
  .mobile-menu select { min-height: 40px; border: 0; background: white; }

  .hero { position: relative; min-height: 400px; display: block; overflow: hidden; background: #0a241e; }
  .hero-image { position: absolute; inset: 0; min-height: 0; }
  .hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,12,10,.12) 0%, rgba(3,12,10,.36) 34%, rgba(3,12,10,.88) 100%); }
  .hero-image img { object-position: 50% 50%; }
  .hero-copy { position: relative; z-index: 2; min-height: 400px; justify-content: flex-end; padding: 40px 16px; color: white; }
  .hero-subscribers { gap: 9px; margin-bottom: 15px; }
  .hero-subscribers img { width: 108px; }
  .hero-subscribers p { max-width: none; font-size: 13px; line-height: 1.25; white-space: nowrap; }
  .hero h1 { max-width: 340px; font-size: 28px; line-height: 1.2; letter-spacing: 0; font-weight: 600; }
  .hero-description { display: none; }
  .hero-actions { max-width: none; gap: 12px; margin-top: 24px; }
  .button { height: 52px; min-height: 52px; }
  .hero .button-dark { border-color: white; background: white; color: var(--ink); }
  .hero .button-outline { border-color: white; color: white; }

  .benefits { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 20px; }
  .benefits article { width: 100%; min-height: 112px; flex-direction: column; gap: 12px; padding: 10px; text-align: center; }
  .benefits span { max-width: 150px; font-size: 16px; line-height: 1.5; }
  .benefits svg { width: 48px; height: 48px; }

  .catalog { padding: 48px 0; }
  .catalog-head h2 { font-size: 28px; line-height: 1.2; }
  .catalog-head > a { font-size: 13px; }
  .category-tabs { margin-top: 24px; margin-right: -15px; gap: 5px; }
  .product-grid { grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 24px; margin-right: -15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card { scroll-snap-align: start; }
  .product-media { aspect-ratio: 1; }
  .product-info h3 { font-size: 16px; line-height: 1.4; }
  .product-info > p:not(.product-category) { font-size: 14px; }

  .goals { padding: 48px 0; }
  .goals-shell { display: block; }
  .goals-intro h2 { font-size: 28px; }
  .goals-intro p { max-width: 340px; margin-top: 14px; font-size: 16px; }
  .goal-cards { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .goal-card-copy { min-height: 80px; }
  .goal-card h3 { font-size: 18px; }
  .goal-card img { aspect-ratio: 1.6 / 1; }

  .ingredients-media { min-height: 500px; }
  .ingredients-video-desktop { display: none !important; }
  .ingredients-video-mobile { display: block !important; }
  .ingredients-content { width: auto; min-height: 500px; margin: 0; padding: 40px 16px; }
  .ingredients-content h2 { max-width: 340px; font-size: 28px; }
  .ingredients-button { width: 100%; }

  .support { min-height: 290px; margin-block: 60px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 28px; }
  .support h2 { font-size: 28px; line-height: 1.2; }
  .support .button { width: 100%; min-width: 0; }
  .footer-top { flex-direction: column; }
  .footer-logo { width: min(320px, 80vw); }
  .footer-links { width: 100%; grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 370px) {
  .brand { width: 118px; }
  .search-button { display: none; }
  .hero h1 { font-size: 28px; }
  .catalog-head { align-items: flex-start; }
  .catalog-head h2 { max-width: 220px; font-size: 28px; }
}

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