:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f4f4f5;
  --text: #111111;
  --muted: #111111;
  --line: #d4d4d8;
  --accent: #e11d48;
  --inverse: #ffffff;
  --header-h: 72px;
  --site-max-width: 1190px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  line-height: 1.55;
}

body,
body p,
body a,
body span,
body strong,
body li,
body th,
body td,
.title,
.subtitle,
.navbar-item,
.card,
.box,
.tag,
.has-text-grey {
  color: var(--text) !important;
}

a {
  text-underline-offset: 3px;
}

button,
a {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 48px), var(--site-max-width)) !important;
  max-width: var(--site-max-width) !important;
}

.button,
.input,
.card,
.box,
.notification,
.tag {
  border-radius: 0;
}

main {
  padding-top: var(--header-h);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(100%, var(--site-max-width));
  min-height: var(--header-h);
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  min-height: var(--header-h);
}

.navbar-menu {
  box-shadow: none;
}

.navbar-item {
  color: var(--muted);
}

.navbar-item:hover,
.navbar-item:focus {
  color: var(--accent);
  background: transparent;
}

.brand {
  display: inline-flex;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--text);
  color: var(--inverse);
}

.brand-name {
  white-space: nowrap;
}

.nav-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.hero {
  min-height: calc(92vh - var(--header-h));
  background: linear-gradient(90deg, var(--surface) 0 60%, var(--bg) 60% 100%);
  border-bottom: 1px solid var(--line);
}

.title {
  color: var(--text);
  letter-spacing: 0;
}

.hero .title,
.page-head .title,
.product-hero .title {
  line-height: 0.98;
}

.subtitle,
.hero p,
.page-head p,
.product-hero p,
.card p,
.box p,
dd {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.60rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.search-bar {
  max-width: 720px;
  align-items: flex-end;
}

.search-submit .button {
  height: 40px;
}

.band {
  background: var(--text);
  color: var(--inverse);
}

.band .title,
.band .card .title {
  color: var(--text);
}

.product-card,
.taxonomy-card {
  display: block;
  height: 100%;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: none;
}

.product-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card .image {
  background: var(--surface);
}

.product-card img,
.product-image img {
  object-fit: contain;
}

.product-image img {
  border-radius: 10px;
}

.product-hero .title {
  padding-bottom: 10px;
}

.content-section {
  padding-top: 48px;
}

.meta-row {
  margin-top: 20px;
}

.meta-row .tag {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  text-decoration: none;
}

.table th {
  background: var(--surface);
}

.impact-columns .box,
.ingredient-card {
  height: 100%;
  box-shadow: none;
}

.impact-columns .box {
  border: 1px solid var(--line);
}

.ingredient-card {
  border: 0;
  border-radius: 10px;
}

.ingredient-card h3 {
  margin-bottom: 10px;
}

.impact-columns .box {
  background: #F4F4F6;
  border: 0;
  border-radius: 10px;
}

.sac-box {
  box-shadow: none;
}

.impact-columns ul {
  list-style-type: disc;
  margin-left: 18px;
}

.ingredient-name-list {
  list-style-type: disc;
  margin-left: 18px;
}

.info-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  margin-bottom: 3px;
}

.info-list span,
.info-list a {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.prose {
  max-width: 900px;
}

.empty {
  border: 1px solid var(--line);
  background: var(--surface);
}

.site-footer {
  width: min(100%, var(--site-max-width));
  margin-inline: auto;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  :root {
    --header-h: 112px;
  }

  .container {
    width: min(calc(100% - 32px), var(--site-max-width)) !important;
  }

  .site-header {
    padding-top: 8px;
  }

  .navbar-brand {
    min-height: 48px;
  }

  .navbar-menu {
    display: block;
    overflow-x: auto;
    padding-inline: 12px;
  }

  .navbar-start {
    display: flex;
  }

  .brand-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: calc(86vh - var(--header-h));
    background: var(--surface);
  }

  .search-bar {
    display: block;
  }

  .search-submit {
    margin-top: 10px;
  }

  .search-submit .button {
    width: 100%;
  }

}
