/* Botir's AI Hardware Co. — light theme, NVIDIA green accent. */

:root {
  --accent: #76b900;
  --accent-dark: #5a8f00;
  --accent-soft: #f2f9e6;
  --ink: #16210c;
  --ink-soft: #5b6653;
  --bg: #fafbf7;
  --card: #ffffff;
  --line: #e4e9dd;
  --shadow: 0 2px 6px rgba(22, 33, 12, 0.06), 0 12px 32px rgba(22, 33, 12, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5rem; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; margin-top: 0; }
h3 { font-size: 1.15rem; }

.muted { color: var(--ink-soft); }
.small { font-size: 0.85rem; }
.accent { color: var(--accent-dark); }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none;
}
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; font-size: 0.95rem;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 40px; max-width: 760px; }
.hero-small { padding: 44px 0 24px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: none; cursor: pointer;
  font-size: 1rem; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; margin: 24px 0;
}
.mini-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.mini-card h3 { color: var(--accent-dark); }
.mini-card p { margin: 6px 0 0; font-size: 0.95rem; color: var(--ink-soft); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

section { margin: 40px 0; }

/* Product cards */
.product-list { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.product-head {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.product-art { width: 150px; min-width: 120px; flex-shrink: 0; }
.product-title { flex: 1; min-width: 220px; }
.product-title .tagline { margin: 4px 0 0; color: var(--ink-soft); }
.product-price { text-align: right; }

.chip {
  display: inline-block; background: var(--accent-soft); color: var(--accent-dark);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px;
}

/* Big numbers with captions */
.big-number {
  display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.caption {
  display: block; font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px;
}
.stat-row {
  display: flex; gap: 36px; flex-wrap: wrap;
  padding: 18px 0; margin: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* Progressive disclosure */
details {
  margin: 14px 0;
}
details > summary {
  cursor: pointer; font-weight: 700; color: var(--accent-dark);
  list-style: none; display: inline-block;
}
details > summary::before { content: "▸ "; }
details[open] > summary::before { content: "▾ "; }
details > summary.btn { color: #fff; }
details > summary.btn::before, details[open] > summary.btn::before { content: ""; }

.spec-list { margin: 12px 0; padding: 0; }
.spec { padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; margin: 10px 0; }
.spec dt { font-weight: 500; }
.spec dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

.power-line {
  background: #fdf7e8; border-left: 3px solid #e2b93b;
  padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: 0.95rem;
}

/* Callouts */
.callout { background: var(--accent-soft); border-color: #d8e8bd; box-shadow: none; }
.rule { font-size: 1.1rem; }
.math-box {
  background: var(--accent-soft); border: 1px dashed var(--accent);
  border-radius: 12px; padding: 14px 18px; margin: 16px 0;
}
.math-box .rule { margin: 4px 0 0; }

/* Model advisor */
.model-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; flex-wrap: wrap; }
.build-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 8px; }
.build {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px;
}
.build .stat-row { gap: 20px; padding: 12px 0; margin: 10px 0; }
.build-recommended { border: 2px solid var(--accent); background: var(--accent-soft); }
.build-comparison { border-style: dashed; background: #f7f7f4; }
.badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.badge-muted { background: var(--ink-soft); }

/* Paths */
.path-card { display: block; text-decoration: none; color: var(--ink); }
.path-card:hover { border-color: var(--accent); }
.path-card .btn { margin-top: 8px; }
.build-parts { display: flex; flex-direction: column; gap: 14px; margin: 14px 0; }
.build-part {
  display: flex; gap: 18px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
}
.build-part .product-art { width: 110px; min-width: 90px; }
.build-part p { margin: 2px 0; }

/* Quote form */
.quote-form {
  margin-top: 14px; padding: 20px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card);
  display: flex; flex-direction: column; gap: 12px; max-width: 480px;
}
.quote-form label { font-weight: 600; font-size: 0.92rem; display: flex; flex-direction: column; gap: 4px; }
.quote-form input {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit;
}
.quote-form input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.quote-form p { margin: 0; }

/* Confirm */
.confirm-card { text-align: center; max-width: 560px; margin: 24px auto; }
.confirm-card .big-number { font-size: 3rem; }
.confirm-card .btn { margin-top: 14px; }

/* Requests table */
.table-card { padding: 8px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: none; }

/* Footer */
.site-footer {
  margin-top: 64px; padding: 32px 0; border-top: 1px solid var(--line);
  background: var(--card); color: var(--ink-soft); font-size: 0.92rem;
}

@media (max-width: 640px) {
  .product-head { flex-direction: column; align-items: flex-start; }
  .product-price { text-align: left; }
  .stat-row { gap: 20px; }
}
