/* Solera Guides — editorial static landing pages.
   Brand tokens: Crimson #6B1B2A, Gold #C8902A, Cream #F5F0E8, Ink #2A2118. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #F5F0E8;
  color: #2A2118;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: #6B1B2A; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #C8902A; }

/* Layout */
.site-header {
  background: linear-gradient(180deg, #7a1f30 0%, #6B1B2A 100%);
  color: #F5F0E8;
  padding: 18px 32px;
  border-bottom: 3px solid #C8902A;
  box-shadow: 0 2px 12px rgba(42, 33, 24, 0.12);
}
.site-header .nav {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-header a { color: #F5F0E8; text-decoration: none; }
.site-header .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header .brand::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #C8902A;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header nav a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.site-header nav a:hover {
  color: #C8902A;
  border-bottom-color: #C8902A;
}

main.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px 80px;
  background: #FDFAF3;
  box-shadow: 0 2px 24px rgba(42, 33, 24, 0.06);
  border-left: 1px solid #EFE4CD;
  border-right: 1px solid #EFE4CD;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #6B1B2A;
  line-height: 1.25;
  margin: 1.6em 0 0.5em;
}
h1 {
  font-size: 2.5rem;
  margin-top: 0.1em;
  margin-bottom: 0.4em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h2 { font-size: 1.55rem; border-bottom: 1px solid #C8902A; padding-bottom: 6px; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

hr {
  border: none;
  border-top: 2px solid #C8902A;
  margin: 2em 0;
}

.byline {
  color: #5b4a3a;
  font-size: 0.95rem;
  margin: -0.5em 0 1.5em;
  font-style: italic;
}

/* TL;DR card */
.tldr {
  background: #FBF7EF;
  border-left: 5px solid #C8902A;
  padding: 18px 20px;
  margin: 1.5em 0;
  border-radius: 4px;
  font-size: 1.05rem;
}
.tldr strong { color: #6B1B2A; }

/* Table of Contents */
.toc {
  background: #FBF7EF;
  border: 1px solid #E4D8C1;
  padding: 16px 20px;
  margin: 1.5em 0;
  border-radius: 4px;
}
.toc h2 {
  border: none;
  margin: 0 0 0.5em;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.toc ol, .toc ul { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.5em -20px;
  padding: 0 20px;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  max-width: 960px;
  border-collapse: collapse;
  border: 1px solid #C8902A;
  font-size: 0.97rem;
}
thead th {
  background: #6B1B2A;
  color: #F5F0E8;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #C8902A;
}
tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #E4D8C1;
  vertical-align: top;
}
tbody tr:nth-child(even) td { background: #FBF7EF; }

/* Product note aside */
aside.product-note {
  border: 2px solid #C8902A;
  background: #FFFDF7;
  padding: 18px 20px 16px;
  margin: 1.75em 0;
  border-radius: 6px;
  position: relative;
}
aside.product-note::before {
  content: "Solera note";
  display: inline-block;
  background: #C8902A;
  color: #2A2118;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
aside.product-note p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { margin: 2em 0; }
.faq h3 {
  margin-top: 1.4em;
  font-size: 1.1rem;
}
.faq p { margin-top: 0.25em; }

/* CTA button */
.cta-button {
  display: inline-block;
  background: #6B1B2A;
  color: #F5F0E8;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  border: 2px solid #6B1B2A;
}
.cta-button:hover {
  background: #C8902A;
  border-color: #C8902A;
  color: #2A2118;
}

/* Footer */
.site-footer {
  border-top: 1px solid #E4D8C1;
  background: #EFE7D5;
  padding: 28px 20px;
  color: #5b4a3a;
  font-size: 0.9rem;
}
.site-footer .inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: #6B1B2A; }

/* Disclaimer */
.disclaimer {
  font-size: 0.82rem;
  color: #6b5a48;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px dashed #C8902A;
}

/* Responsive */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  main.content {
    padding: 28px 20px 56px;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
  .site-header { padding: 14px 20px; }
  .table-wrap { margin: 1.25em -16px; padding: 0 16px; }
}

@media (max-width: 380px) {
  .site-header .brand { font-size: 19px; }
  h1 { font-size: 1.6rem; }
}