:root {
  --bg-main: #FBF9F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F4F1EA;
  --text-primary: #2D312E;
  --text-muted: #5F6860;
  --accent-soft: #D8E2DC;
  --accent-terra: #E08A7C;
  --border-light: #EBE7DF;
  --radius-card: 16px;
  --radius-btn: 8px;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--text-primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }

/* Accessibility */
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--text-primary); color: #fff;
  padding: 10px 20px; border-radius: 8px; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Announcement */
.announcement-bar {
  background-color: var(--accent-soft);
  color: var(--text-primary);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Header */
header {
  position: sticky; top: 0;
  background: rgba(251, 249, 245, 0.95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-logo { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.25rem; font-family: var(--font-heading); }
.brand-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
nav.main-nav { display: flex; gap: 28px; }
nav.main-nav a { font-size: 0.95rem; color: var(--text-muted); transition: color 0.2s ease; }
nav.main-nav a:hover { color: var(--text-primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-pill {
  background-color: var(--accent-soft); color: var(--text-primary);
  padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 500;
  border: none; cursor: pointer; transition: background 0.2s ease; font-family: var(--font-body);
}
.btn-pill:hover { background-color: #c9d7ce; }

/* Hero */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 80px 24px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 12px; font-weight: 600;
}
.hero h1 { font-size: 3rem; line-height: 1.15; margin-bottom: 20px; font-weight: 600; }
.hero p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background-color: var(--text-primary); color: #FFFFFF;
  padding: 14px 28px; border-radius: var(--radius-btn);
  font-size: 0.95rem; font-weight: 500; border: none; cursor: pointer;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
  font-family: var(--font-body); display: inline-block; text-align: center;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-secondary {
  background-color: transparent; color: var(--text-primary);
  padding: 14px 28px; border-radius: var(--radius-btn);
  font-size: 0.95rem; font-weight: 500; border: 1px solid var(--border-light);
  cursor: pointer; transition: border-color 0.2s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
  font-family: var(--font-body); display: inline-block; text-align: center;
}
.btn-secondary:hover { border-color: var(--text-primary); transform: translateY(-2px); }
.btn-disabled { opacity: 0.6; cursor: default; }
.btn-disabled:hover { transform: none; opacity: 0.6; }
.hero-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.03);
}
.value-props-bar {
  max-width: 1200px; margin: 0 auto 60px; padding: 20px 24px;
  display: flex; justify-content: space-around;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted); font-size: 0.9rem; flex-wrap: wrap; gap: 12px;
}

/* Products */
.section-container { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 2rem; margin-bottom: 8px; }
.section-header p { color: var(--text-muted); }
.section-header .eyebrow { margin-bottom: 8px; }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px;
}
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 20px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s cubic-bezier(0.16,1,0.3,1);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(45, 49, 46, 0.05); }
.product-badge {
  position: absolute; top: 32px; left: 32px;
  background-color: var(--accent-soft); color: var(--text-primary);
  font-size: 0.75rem; padding: 4px 12px; border-radius: 12px; font-weight: 500; z-index: 2;
}
.product-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: calc(var(--radius-card) - 4px);
  background-color: var(--bg-subtle); margin-bottom: 16px;
}
.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; flex-grow: 1; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-weight: 600; font-size: 1rem; }
.safety-note {
  margin-top: 36px; text-align: center; color: var(--text-muted); font-size: 0.85rem;
  max-width: 44rem; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* B2B */
.b2b-banner {
  background-color: var(--accent-soft);
  border-radius: var(--radius-card);
  padding: 48px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: center;
}
.b2b-banner h2 { font-size: 1.8rem; margin-bottom: 12px; }
.b2b-banner p { color: var(--text-primary); opacity: 0.85; }
.matrix-container {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-card); padding: 32px; margin-top: 32px;
}
.matrix-table { width: 100%; border-collapse: collapse; text-align: left; }
.matrix-table th, .matrix-table td { padding: 16px; border-bottom: 1px solid var(--border-light); }
.matrix-table th {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
}
.qty-input {
  width: 70px; padding: 8px; border: 1px solid var(--border-light);
  border-radius: 6px; text-align: center; font-size: 0.95rem; font-family: var(--font-body);
}
.matrix-footer {
  margin-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.matrix-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-light); padding: 20px 0; }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  font-size: 1.05rem; font-weight: 500; color: var(--text-primary); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); padding: 4px 0;
}
.faq-question span { font-size: 1.3rem; color: var(--text-muted); transition: transform 0.3s ease; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.16,1,0.3,1); }
.faq-answer p { color: var(--text-muted); padding-top: 12px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* Footer */
footer { border-top: 1px solid var(--border-light); padding: 40px 24px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-nav a { cursor: pointer; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--text-primary); }

/* Modal */
dialog.modal {
  border: none; border-radius: var(--radius-card); padding: 36px;
  max-width: 520px; width: calc(100vw - 48px); margin: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); background: var(--bg-card);
  color: var(--text-primary); font-family: var(--font-body);
}
dialog.modal h3 { margin-bottom: 16px; font-size: 1.3rem; }
dialog.modal p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.94rem; line-height: 1.65; }
dialog.modal .btn-secondary { margin-top: 12px; }
dialog::backdrop { background: rgba(45, 49, 46, 0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 56px 20px 40px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-image img { height: 320px; }
  .b2b-banner { grid-template-columns: 1fr; padding: 32px 24px; }
  nav.main-nav { display: none; }
  .value-props-bar { flex-direction: column; align-items: center; text-align: center; }
  .matrix-table { font-size: 0.85rem; }
  .matrix-table th, .matrix-table td { padding: 10px 8px; }
}
