:root {
  --bg: #06140c;
  --bg-alt: #0d2817;
  --card: rgba(16, 37, 24, 0.8);
  --text: #f1fff2;
  --muted: #b2c9b0;
  --accent: #8df08c;
  --accent-2: #63c486;
  --shadow: 0 20px 45px rgba(4, 12, 7, 0.5);
  --radius: 20px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #13341f, #031208);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.text-link:hover {
  color: var(--accent-2);
}

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

.site-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 3rem) 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
  position: sticky;
  top: 0;
  background: rgba(6, 20, 12, 0.92);
  backdrop-filter: blur(12px);
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-kicker {
  font-size: 0.85rem;
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-name {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo {
  font-size: 2rem;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--accent);
}

.cta-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #244b2f;
  color: var(--accent);
  font-weight: 600;
  border: 1px solid rgba(141, 240, 140, 0.4);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 3rem 0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 1rem 0;
}

.hero h1 span {
  color: var(--accent);
}

.hero-body {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #042308;
  box-shadow: var(--shadow);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: transparent;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.page-hero {
  background: rgba(10, 31, 20, 0.85);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-top: 1rem;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  margin: 0.5rem 0 1rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 720px;
}

.page-hero .hero-actions {
  margin-top: 1.5rem;
}

.hero-visual figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.hero-visual figcaption {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.9rem;
}

.stat-card {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--muted);
}

.stat-value {
  font-size: 2rem;
  margin: 0.3rem 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.5rem 0 3rem;
}

.metrics article {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.metric {
  font-size: 2rem;
  margin: 0;
}

.metric-label {
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.section {
  padding: 3rem 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0.5rem 0 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.info-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h3 {
  margin-top: 0;
}

.info-card ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

.info-card li {
  margin-bottom: 0.4rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.use-case-grid article {
  background: rgba(12, 32, 20, 0.7);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.market-tabs {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-module {
  background: rgba(7, 20, 12, 0.65);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tab-controls .tab {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tab-controls .tab.active {
  background: rgba(141, 240, 140, 0.2);
  border-color: rgba(141, 240, 140, 0.8);
  color: var(--accent);
}

.tab-panels {
  margin-top: 1.5rem;
}

.tab-panel {
  display: none;
  background: rgba(15, 35, 24, 0.75);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.tab-panel.active {
  display: block;
}

.tab-panel ul {
  padding-left: 1.5rem;
  margin: 1rem 0 0;
}

.tab-panel li {
  margin-bottom: 0.6rem;
}

.store {
  background: linear-gradient(180deg, rgba(11, 29, 18, 0.8), rgba(4, 10, 6, 0.9));
  border-radius: var(--radius);
  padding: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: rgba(20, 45, 29, 0.75);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-card .price {
  font-size: 1.3rem;
  font-weight: 600;
}

.tag {
  align-self: flex-start;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(141, 240, 140, 0.18);
  color: var(--accent);
}

.cart {
  padding: 3rem 0;
}

.cart-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  background: rgba(5, 15, 9, 0.65);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(20, 45, 29, 0.75);
  padding: 1rem;
  border-radius: var(--radius);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.cart-item .remove {
  margin-top: 0.5rem;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
}

.cart-summary {
  background: rgba(35, 65, 45, 0.65);
  padding: 1.2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.cart-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.research-grid article {
  background: rgba(9, 28, 19, 0.85);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.research-grid a {
  color: var(--accent);
  font-weight: 600;
}

.resources {
  padding: 3rem 0;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.resource-list a {
  padding: 0.8rem 1rem;
  background: rgba(10, 30, 19, 0.7);
  border-radius: var(--radius);
  display: inline-block;
}

.contact {
  padding-bottom: 4rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
}

.contact-info .info-card {
  height: 100%;
}

input,
textarea,
select {
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 18, 11, 0.8);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.form-feedback {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}

.provenance {
  background: linear-gradient(180deg, rgba(9, 25, 15, 0.8), rgba(4, 10, 6, 0.9));
  border-radius: var(--radius);
  padding-bottom: 3rem;
}

.cta-panel {
  background: rgba(8, 24, 15, 0.85);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin: 2rem 0;
}

.cta-panel-content h2 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
}

.cta-panel-content p {
  color: var(--muted);
  max-width: 640px;
}

.data-table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.data-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(10, 24, 16, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row:last-child {
  border-bottom: none;
}

.data-row.header {
  background: rgba(12, 35, 22, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .store {
    padding: 2rem 1.2rem;
  }
}
