:root {
  --green: #00843d;
  --green-dark: #006d32;
  --black: #030303;
  --charcoal: #2c2c2c;
  --muted: #f4f4f4;
  --line: #d9d9d9;
  --text: #111;
  --shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #000 url("assets/site-bg.jpg") center top / 100% auto repeat-y;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #000;
  color: #fff;
}

.news-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 39px;
  padding: 0 15px;
  border-bottom: 1px solid #333;
  font-size: 12px;
  text-transform: uppercase;
}

.news-toggle {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}

.news-toggle .chevron {
  color: var(--green);
  font-size: 15px;
  line-height: 1;
}

.news-title {
  overflow: hidden;
  max-width: 460px;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  font-weight: 700;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 700;
}

.utility-nav a:hover,
.primary-nav a:hover,
.footer-columns a:hover {
  color: var(--green);
}

.utility-nav img {
  width: 22px;
  height: 16px;
}

.news-panel {
  position: absolute;
  top: 39px;
  left: 0;
  display: none;
  width: min(620px, 100vw);
  padding: 18px 24px 20px;
  background: #080808;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  box-shadow: var(--shadow);
  text-transform: none;
}

.news-panel.open,
.news-bar:focus-within .news-panel,
.news-bar:hover .news-panel {
  display: grid;
  gap: 16px;
}

.news-panel time {
  display: block;
  color: #bdbdbd;
  font-size: 12px;
  margin-bottom: 4px;
}

.news-panel h3 {
  margin: 0;
  font-size: 16px;
}

.main-nav {
  display: grid;
  grid-template-columns: 215px 1fr 205px;
  align-items: center;
  gap: 22px;
  min-height: 93px;
  padding: 13px 15px 14px;
}

.brand img {
  width: 196px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  font-size: clamp(15px, 1.45vw, 21px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-search {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 37px;
  padding: 0 10px 0 18px;
  border: 2px solid #fff;
  border-radius: 22px;
}

.site-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
}

.site-search input::placeholder {
  color: #fff;
  opacity: 1;
}

.site-search button,
.mobile-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}

.search-icon {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: currentColor;
}

.search-icon::after {
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 3px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.mobile-actions,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 375px;
  background: #000 url("assets/hero.jpg") center center / cover no-repeat;
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.04));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 74px 15px 40px;
}

.hero h1 {
  display: inline-block;
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(50px, 5.3vw, 72px);
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
  transform: scaleX(0.7);
  transform-origin: left center;
  white-space: nowrap;
}

.market-strip {
  background: #fff;
  padding: 28px 15px 39px;
}

.market-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  max-width: 790px;
  margin: 0 auto 9px;
}

.market-tabs button {
  min-height: 50px;
  border: 0;
  border-left: 1px solid #e4e4e4;
  background: transparent;
  color: #000;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-tabs button:first-child {
  border-left: 0;
}

.market-tabs button.active {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.market-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 252px));
  justify-content: center;
  gap: 30px;
  max-width: var(--container);
  margin: 0 auto 34px;
}

.product-card {
  display: grid;
  grid-template-rows: minmax(214px, 1fr) 84px;
  min-height: 336px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 252px;
  object-fit: contain;
  padding: 12px;
}

.product-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  margin: 0;
  padding: 12px 18px;
  background: #f7f7f7;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  min-height: 52px;
  padding: 13px 30px;
  border: 2px solid currentColor;
  border-radius: 30px;
  background: transparent;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.market-link {
  display: flex;
  width: max-content;
  margin: 0 auto;
  color: var(--green);
}

.resource-showcase {
  position: relative;
  min-height: 565px;
  padding: 66px max(15px, calc((100vw - var(--container)) / 2)) 55px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

.resource-controls {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
}

.resource-controls button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
}

.dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.dots span.active {
  background: #fff;
}

.resource-slide {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 58px;
}

.resource-copy {
  max-width: 430px;
}

.eyebrow,
.label {
  display: inline-block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-copy h2,
.app-promo h2,
.section-title h2,
.feature-card h3,
.footer-promos h2 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  line-height: 1.08;
}

.resource-copy h2 {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--green);
  font-size: clamp(52px, 6vw, 74px);
}

.resource-copy p {
  margin: 0 0 28px;
  font-size: 20px;
  line-height: 1.34;
}

.resource-image img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.product-finder {
  max-width: calc(var(--container) - 18px);
  margin: -8px auto 0;
  padding: 52px 49px 54px;
  background: #fff;
  color: #111;
}

.finder-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 508px);
  align-items: center;
  gap: 30px;
  padding-bottom: 49px;
  border-bottom: 1px solid var(--line);
}

.finder-heading h2 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 900;
}

.finder-search {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: 52px;
  gap: 16px;
  padding: 0 19px;
  border: 1px solid #9d9d9d;
  border-radius: 28px;
  color: #111;
}

.finder-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
}

.finder-search input::placeholder {
  color: #9a9a9a;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 29px;
  padding-top: 44px;
}

.finder-card {
  display: grid;
  grid-template-rows: 180px auto;
  border: 1px solid #b8b8b8;
  background: #fff;
  min-height: 250px;
}

.finder-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 8px;
}

.finder-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  margin: 0;
  padding: 10px;
  background: #f7f7f7;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.app-promo {
  padding: 74px 15px 68px;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  text-align: center;
}

.app-promo h2 {
  font-size: clamp(32px, 4vw, 37px);
}

.green-line {
  display: block;
  width: 101px;
  height: 2px;
  margin: 30px auto 24px;
  background: var(--green);
}

.app-promo p {
  margin: 0 0 39px;
  font-size: 18px;
}

.whats-new {
  padding: 7px max(15px, calc((100vw - var(--container)) / 2)) 45px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-title h2 {
  flex: 0 0 auto;
  font-size: clamp(36px, 4vw, 43px);
}

.section-title::after {
  display: block;
  height: 2px;
  flex: 1;
  background: var(--green);
  content: "";
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 98px;
}

.feature-card {
  min-width: 0;
}

.light-card {
  background: #fff;
  color: #111;
}

.light-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.light-card div {
  padding: 47px 70px 39px;
}

.label {
  margin-bottom: 14px;
  padding: 2px 7px;
  background: var(--green);
  font-size: 20px;
}

.feature-card h3 {
  margin-bottom: 18px;
  font-size: clamp(31px, 3.7vw, 39px);
}

.feature-card p {
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.32;
}

.outline-button.green {
  color: var(--green);
}

.dark-card {
  align-self: center;
  max-width: 470px;
}

.dark-card .label {
  margin-top: 8px;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 0 15px 50px;
  background: rgba(0, 0, 0, 0.82);
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 216px;
  padding: 32px 55px 33px 39px;
  overflow: hidden;
  color: #fff;
}

.promo-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 132, 61, 0.9), rgba(0, 174, 93, 0.73)), var(--promo-image) center / cover no-repeat;
  content: "";
}

.promo-card > * {
  position: relative;
}

.promo-card h2 {
  margin-bottom: 18px;
  font-size: 33px;
}

.promo-card p {
  max-width: 420px;
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.promo-card a {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  padding: 30px 15px 29px;
  background: var(--charcoal);
  color: #fff;
}

.footer-logo img {
  width: 230px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.05fr 1.05fr 1fr;
  gap: 44px;
  margin-top: 23px;
  padding-top: 22px;
  border-top: 1px solid #777;
}

.footer-columns section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-columns h2 {
  margin: 0 0 2px;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-columns a {
  font-size: 16px;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  color: #fff;
  font-weight: 900;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 65px;
  font-size: 11px;
}

.no-results {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  color: #555;
  text-align: center;
}

.feedback {
  position: fixed;
  top: 41%;
  right: 0;
  z-index: 30;
  width: 45px;
  height: 126px;
  border: 0;
  border-radius: 23px 0 0 23px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  writing-mode: vertical-rl;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1.25fr minmax(280px, 468px);
  gap: 40px;
  padding: 24px 32px 20px;
  border: 1px solid #fff;
  background: var(--green);
  color: #fff;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  align-self: center;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  font-weight: 900;
  text-decoration: underline;
}

.cookie-actions {
  display: grid;
  gap: 10px;
}

.cookie-actions button {
  min-height: 42px;
  border: 1px solid #e6e6e6;
  background: #fff;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .main-nav {
    grid-template-columns: 205px 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .site-search {
    justify-self: end;
    width: min(310px, 100%);
  }

  .market-products {
    grid-template-columns: repeat(2, minmax(180px, 252px));
  }

  .resource-slide,
  .news-grid,
  .footer-promos {
    grid-template-columns: 1fr;
  }

  .news-grid {
    gap: 34px;
  }

  .dark-card {
    max-width: 100%;
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .news-bar {
    height: 40px;
    padding: 0 14px;
  }

  .news-toggle {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .news-toggle .chevron {
    order: 3;
    font-size: 27px;
    line-height: 0.5;
  }

  .news-title,
  .utility-nav,
  .site-search {
    display: none;
  }

  .main-nav {
    grid-template-columns: 1fr auto;
    min-height: 102px;
    padding: 19px 14px 18px;
  }

  .brand img {
    width: 170px;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 23px;
    color: #fff;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 25px;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
  }

  .mobile-menu {
    position: fixed;
    inset: 142px 0 auto 0;
    z-index: 50;
    display: none;
    padding: 20px 15px 26px;
    background: #050505;
    border-top: 1px solid #333;
  }

  .mobile-menu.open {
    display: grid;
    gap: 18px;
  }

  .mobile-menu a {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .hero {
    min-height: 376px;
    background-position: 55% center;
  }

  .hero-content {
    padding: 82px 15px 28px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(38px, 10.3vw, 49px);
    line-height: 1.28;
    transform: scaleX(0.82);
  }

  .market-strip {
    padding: 25px 0 34px;
  }

  .market-tabs {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    max-width: none;
    margin-bottom: 34px;
    padding: 0 18px 4px;
    scrollbar-width: none;
  }

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

  .market-tabs button {
    flex: 0 0 165px;
    min-height: 40px;
    font-size: 20px;
  }

  .market-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 32px;
  }

  .product-card {
    grid-template-rows: 145px 85px;
    min-height: 230px;
  }

  .product-card img {
    height: 145px;
  }

  .product-card h3 {
    min-height: 85px;
    padding: 10px 8px;
    font-size: 16px;
  }

  .market-link {
    margin-top: 25px;
  }

  .resource-showcase {
    padding: 42px 24px 42px;
  }

  .resource-slide {
    gap: 30px;
  }

  .resource-copy h2 {
    font-size: 48px;
  }

  .resource-copy p {
    font-size: 18px;
  }

  .product-finder {
    margin: 0;
    padding: 39px 23px 42px;
  }

  .finder-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 31px;
  }

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

  .finder-card {
    grid-template-rows: 145px auto;
  }

  .finder-card img {
    height: 145px;
  }

  .whats-new {
    padding: 10px 15px 35px;
  }

  .section-title {
    align-items: flex-end;
  }

  .light-card div {
    padding: 30px 24px 33px;
  }

  .footer-promos {
    gap: 14px;
    padding-bottom: 38px;
  }

  .promo-card {
    grid-template-columns: 1fr;
    min-height: 230px;
    padding: 28px 26px;
  }

  .site-footer {
    padding-bottom: 34px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-columns section {
    gap: 11px;
  }

  .legal-row {
    flex-direction: column;
    margin-top: 42px;
  }

  .feedback {
    top: auto;
    right: 19px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 0;
    writing-mode: horizontal-tb;
  }

  .feedback::before {
    display: block;
    width: 18px;
    height: 14px;
    margin: 0 auto;
    border: 3px solid #fff;
    border-radius: 5px;
    content: "";
  }

  .cookie-banner {
    padding: 18px 18px 16px;
  }
}

@media (max-width: 430px) {
  .market-products {
    padding: 0 32px;
  }

  .outline-button {
    min-width: 216px;
  }

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