:root {
  --ink: #17211c;
  --muted: #637169;
  --line: #dfe7e1;
  --paper: #ffffff;
  --soft: #f5f8f1;
  --forest: #176c46;
  --forest-dark: #0f5034;
  --mint: #dff3de;
  --lime: #b8e063;
  --tomato: #e0523f;
  --gold: #f5bf3e;
  --blue: #3f7cac;
  --shadow: 0 18px 60px rgba(23, 33, 28, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 225, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--forest), var(--blue));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  position: fixed;
  inset: 65px 12px auto;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest-dark);
  background: var(--mint);
}

.nav-toggle,
.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.nav-toggle {
  width: 42px;
  padding: 0;
}

.nav-toggle svg,
.header-cart svg,
.button svg,
.text-link svg,
.feature-card svg,
.compact-grid svg,
.fulfillment-steps svg,
.deal-strip svg,
.process-grid svg,
.rewards-grid svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 37, 26, 0.84) 0%, rgba(9, 37, 26, 0.68) 46%, rgba(9, 37, 26, 0.16) 100%);
}

.hero-content {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 70px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 9vw, 5.9rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

h3 {
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 10px 24px rgba(23, 108, 70, 0.22);
}

.button-primary:hover {
  background: var(--forest-dark);
}

.button-light {
  color: var(--ink);
  background: white;
}

.button-ghost-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.full-button {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
  margin-top: 34px;
}

.hero-stats span {
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.82);
}

.hero-stats strong {
  display: block;
  color: white;
  font-size: 1.25rem;
}

.section {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 760px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--forest-dark);
  font-weight: 900;
}

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

.department-card {
  position: relative;
  min-height: 165px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe7e1;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.08);
}

.department-card img {
  height: 100%;
  min-height: 165px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.department-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.58));
}

.department-card span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  color: white;
  font-size: 1.02rem;
  font-weight: 900;
}

.department-card:hover img {
  transform: scale(1.04);
}

.split-section {
  display: grid;
  gap: 24px;
  align-items: center;
}

.feature-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.ai-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f4faf6);
  box-shadow: var(--shadow);
}

.ai-panel-header,
.ai-cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(184, 224, 99, 0.24);
}

.chat-bubble {
  max-width: 88%;
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
}

.chat-bubble.user {
  margin-left: auto;
  color: white;
  background: var(--forest);
}

.chat-bubble.agent {
  color: var(--ink);
  background: var(--mint);
}

.ai-cart-summary {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.ai-cart-summary strong {
  font-size: 1.45rem;
}

.section-tint {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  background: var(--soft);
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card,
.deal-strip article,
.process-grid article,
.rewards-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.feature-card svg,
.deal-strip svg,
.process-grid svg,
.rewards-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--forest);
}

.feature-card p,
.deal-strip p,
.process-grid p,
.rewards-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 32px rgba(23, 33, 28, 0.08);
}

.product-card img {
  height: 210px;
  object-fit: cover;
}

.deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-card-body {
  padding: 16px;
}

.product-dept {
  margin: 0 0 6px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0 14px;
}

.price-row strong {
  font-size: 1.25rem;
}

.price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.feature-band {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  color: white;
  background: var(--ink);
}

.feature-band .eyebrow {
  color: var(--lime);
}

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

.compact-grid span,
.fulfillment-steps span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.dashboard-section {
  display: grid;
  gap: 18px;
}

.portal-card,
.dashboard-card {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.portal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.portal-list span {
  padding: 12px;
  border-radius: 8px;
  color: var(--forest-dark);
  background: var(--mint);
  font-weight: 900;
}

.dashboard-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.live-pill {
  padding: 7px 10px;
  border-radius: 8px;
  color: white;
  background: var(--tomato);
  font-weight: 900;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.dashboard-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.dashboard-grid strong {
  display: block;
  font-size: 1.6rem;
}

.dashboard-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pickup-preview {
  display: grid;
  gap: 20px;
  align-items: center;
}

.pickup-preview p:not(.eyebrow) {
  color: var(--muted);
}

.fulfillment-steps {
  display: grid;
  gap: 10px;
}

.fulfillment-steps span {
  border-color: var(--line);
  color: var(--ink);
  background: white;
  box-shadow: 0 10px 24px rgba(23, 33, 28, 0.07);
}

.site-footer {
  padding: 30px clamp(16px, 4vw, 40px);
  color: rgba(255, 255, 255, 0.82);
  background: #111916;
}

.ceo-note {
  width: min(var(--container), 100%);
  margin: 0 auto 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  width: min(var(--container), 100%);
  margin: 0 auto;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: white;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
}

.site-footer .brand small {
  color: rgba(255, 255, 255, 0.7);
}

.bonzentech-credit {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  width: min(var(--container), 100%);
  margin-left: auto;
  margin-right: auto;
}

.bonzentech-credit a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.bonzentech-credit a:hover {
  color: white;
}

.demo-note {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.page-hero {
  display: grid;
  gap: 24px;
  align-items: center;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 100px) 0;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.shop-hero,
.deals-hero,
.pickup-hero,
.rewards-hero {
  grid-template-columns: 1fr;
}

.search-card,
.schedule-card,
.rewards-card,
.deal-ad,
.contact-form,
.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.search-card label,
.builder-box label,
.schedule-card label,
.contact-form label {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-weight: 900;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-input input,
.contact-form input,
.contact-form select,
.contact-form textarea,
.schedule-card select,
.builder-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.search-input input {
  border: 0;
  outline: 0;
}

.shop-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.filter-panel,
.cart-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.filter-panel h2,
.cart-panel h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.filter-panel a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 800;
}

.ai-builder {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--soft);
}

.builder-box textarea,
.contact-form textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.builder-result {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: white;
}

.builder-result span {
  color: var(--muted);
}

.tight-heading {
  margin-top: 0;
}

.cart-row,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row span {
  color: var(--muted);
}

.cart-total {
  margin-bottom: 16px;
  border-bottom: 0;
}

.cart-total strong {
  font-size: 1.35rem;
}

.deal-ad {
  color: white;
  background: linear-gradient(135deg, var(--forest-dark), var(--blue));
}

.deal-ad span,
.deal-ad p {
  color: rgba(255, 255, 255, 0.82);
}

.deal-ad strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1;
}

.deal-strip,
.process-grid,
.rewards-grid,
.recipe-grid {
  display: grid;
  gap: 16px;
}

.department-showcase {
  display: grid;
  gap: 16px;
}

.department-showcase article {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.08);
}

.department-showcase img {
  height: 230px;
  object-fit: cover;
}

.department-showcase div {
  padding: 20px;
}

.department-showcase span {
  color: var(--forest);
  font-weight: 900;
}

.department-showcase p {
  color: var(--muted);
}

.department-showcase a {
  color: var(--forest-dark);
  font-weight: 900;
}

.schedule-card select,
.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 12px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px;
  border-radius: 8px;
  background: var(--soft);
}

.segmented button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.segmented .is-active {
  color: white;
  background: var(--forest);
}

.rewards-card strong {
  display: block;
  margin: 8px 0;
  font-size: 3rem;
  line-height: 1;
}

.recipe-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.08);
}

.recipe-card img {
  height: 240px;
  object-fit: cover;
}

.recipe-card div {
  padding: 18px;
}

.recipe-card p:not(.product-dept) {
  color: var(--muted);
}

.story-section {
  display: grid;
  gap: 24px;
  align-items: center;
}

.story-section img {
  height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
}

.story-section p:not(.eyebrow) {
  color: var(--muted);
}

.compact-grid-light span {
  border-color: var(--line);
  color: var(--ink);
  background: var(--soft);
}

.contact-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.contact-form textarea {
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--muted);
}

@media (min-width: 700px) {
  .department-grid,
  .product-grid,
  .feature-grid,
  .deal-strip,
  .process-grid,
  .rewards-grid,
  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-section,
  .pickup-preview,
  .story-section,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .split-section,
  .page-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .portal-list,
  .dashboard-grid,
  .compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .site-nav a {
    padding: 9px 10px;
    font-size: 0.86rem;
  }

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

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

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

  .product-grid-shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-layout {
    grid-template-columns: 210px minmax(0, 1fr) 260px;
  }

  .filter-panel,
  .cart-panel {
    position: sticky;
    top: 86px;
  }

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

  .department-showcase article {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .department-showcase img {
    height: 100%;
  }

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

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

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

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cart {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(9, 37, 26, 0.88), rgba(9, 37, 26, 0.62));
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats,
  .compact-grid,
  .portal-list,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
