:root {
  color-scheme: light;
  --bg: #f6f4f0;
  --surface: #ffffff;
  --text: #141414;
  --muted: #5c5c5c;
  --accent: #b8860b;
  --accent-dark: #8a6a12;
  --border: #e5e2dc;
  --shadow: 0 18px 40px rgba(15, 15, 15, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
  background: #faf9f6;
  border: 1px solid var(--border);
}

.price-bar {
  background: #fffaf0;
  border-bottom: 1px solid var(--border);
  padding: 12px 0 10px;
  font-size: 0.95rem;
}

.price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.price-notice {
  margin-top: 8px;
  color: #8a3e1e;
  font-weight: 600;
}

.page-hero {
  padding: 42px 0 20px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-dark);
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  max-width: 680px;
}


.summary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 30px;
}

.quick-links {
  margin-bottom: 30px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quick-links a {
  text-decoration: none;
  color: var(--accent-dark);
  font-weight: 600;
}

.seo-section {
  margin-bottom: 32px;
}

.seo-section p {
  color: var(--muted);
  margin-top: 12px;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card.highlight {
  background: #fdf6e4;
  border-color: #f2e0b9;
}

.tool-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 40px;
}

.tool-card {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
}

.split {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 40px;
}

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d7c99c;
  color: var(--muted);
  min-height: 160px;
}

.faq-preview {
  margin-bottom: 50px;
}

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

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

.calculator {
  padding: 12px 0 40px;
}

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

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.result-block {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 20px;
  background: #faf8f3;
  border: 1px dashed #e4d9c0;
  padding: 16px;
  border-radius: 14px;
}

.result-block strong {
  display: block;
  font-size: 1.2rem;
}

.action-row {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: var(--accent-dark);
}

.note {
  color: var(--muted);
  margin-top: 12px;
}

.spot-unavailable .result-block {
  opacity: 0.75;
}

.preset-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.batch-sheet {
  margin-top: 18px;
  background: #f4f1ea;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.batch-sheet pre {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.hidden {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

table th,
 table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 40px;
  background: #faf9f6;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  color: var(--muted);
}

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

@media (max-width: 720px) {
  .main-nav {
    justify-content: center;
  }

  .price-meta {
    justify-content: center;
  }
}
