/* MAP
 * §1 tokens & base      L10-L72
 * §2 layout & header    L74-L152
 * §3 hero & proof       L154-L218
 * §4 products & cards   L220-L280
 * §5 story, specs, faq  L282-L355
 */

/* §1 tokens & base */
:root {
  color-scheme: light only;
  --bg: #faf9f5;
  --surface: #ffffff;
  --surface-2: #f3efe6;
  --border: #8c8273;
  --border-strong: #5e5548;
  --text: #1f1e1d;
  --text-2: #4a453e;
  --text-3: #6e675d;
  --accent: #a84824;
  --accent-hover: #8c3819;
  --accent-soft: rgba(168, 72, 36, 0.10);
  --on-accent: #faf9f5;
  --ok: #1a7f4e;
  --warn: #b45309;
  --danger: #c03540;
  --band: #24211e;
  --on-band: #faf9f5;
  --band-muted: #d6cfc2;
  --gold-accent: #c89d54;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(31, 30, 29, 0.06);
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

/* §2 layout & header */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.top-bar {
  background-color: var(--band);
  color: var(--on-band);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--border-strong);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-header {
  background-color: var(--surface);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.brand-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* §3 hero & proof */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--surface-2);
}

.hero {
  padding: 56px 0;
  border-bottom: 1.5px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background-color: var(--accent-soft);
  border: 1.5px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.h1 {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 16px;
}

.lead {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 24px;
  max-width: 64ch;
}

.trust-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.micro-note {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 10px;
}

.hero-visual {
  background-color: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 8px 4px;
  font-size: 13px;
  color: var(--text-2);
}

/* §4 products & cards */
.section {
  padding: 64px 0;
  border-bottom: 1.5px solid var(--border);
}

.section-alt {
  background-color: var(--surface-2);
}

.section-band {
  background-color: var(--band);
  color: var(--on-band);
  padding: 56px 0;
  border-bottom: 1.5px solid var(--border-strong);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.25;
}

.section-sub {
  color: var(--text-2);
  max-width: 65ch;
  font-size: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.card-img-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background-color: var(--surface-2);
}

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

.badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
}

.price-mono {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

/* §5 story, specs, faq */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kpi-box {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background-color: #2e2a26;
}

.kpi-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1.5px solid var(--border);
  text-align: left;
  font-size: 15px;
}

.data-table th {
  background-color: var(--surface-2);
  font-weight: 600;
}

.data-table td.num {
  font-family: var(--font-mono);
  text-align: right;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select {
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text);
  font-size: 15px;
}

.site-footer {
  background-color: var(--band);
  color: var(--on-band);
  padding: 48px 0 32px;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .hero-grid, .grid-4, .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .kpi-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    padding: 16px 0;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .h1 {
    font-size: 30px;
  }
}
