:root {
  --orange: #ffa300;
  --dark: #333333;
  --light: #fff8eb;
  --border: #f0e0b8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-logo {
  width: 44px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
}

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

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  color: var(--dark);
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.hero-copy {
  font-size: 1.05rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--orange);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

.hero-card,
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(51, 51, 51, 0.05);
}

.content-section {
  padding: 2rem 0 3rem;
}

.muted-section {
  background: #fffdf7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.card a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.page {
  padding: 2.5rem 0 4rem;
}

.page h1 {
  margin-bottom: 0.25rem;
}

.page h2 {
  margin-top: 2rem;
}

.page code {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
  font-size: 0.92em;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: #fffdf7;
  font-weight: 700;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(51, 51, 51, 0.05);
}

.product-card h3 {
  margin: 0 0 0.4rem;
}

.product-card .product-links {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.product-card .product-links a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-grid,
  .cards,
  .two-column {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
