:root {
  --primary: #e67e22;
  --primary-soft: #ffb975;
  --bg: #fcfbf9;
  --surface: #ffffff;
  --surface-tint: #fff7ec;
  --on-surface: #4e342e;
  --on-surface-muted: #7a635c;
  --secondary: #8d6e63;
  --cream: #f4e3c1;
  --border: #efe5d6;
  --hero-start: #fff4dc;
  --hero-mid: #ffdfa2;
  --hero-end: #ffc97a;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(78, 52, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(230, 126, 34, 0.18);
  --maxw: 760px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--on-surface);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: #c5651a;
}

/* Hero */
.hero {
  background: linear-gradient(
    180deg,
    var(--hero-start) 0%,
    var(--hero-mid) 55%,
    var(--hero-end) 100%
  );
  padding: 24px 24px 56px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-surface);
  font-weight: 600;
  font-size: 16px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(58, 39, 24, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  letter-spacing: 0.2px;
}

.hero-nav a {
  color: var(--on-surface);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(78, 52, 46, 0.08);
}

.hero-nav a:hover {
  background: #fff;
  text-decoration: none;
}

.hero-title {
  max-width: var(--maxw);
  margin: 56px auto 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--secondary);
  font-weight: 600;
  margin: 0 0 8px;
}

.hero-title h1 {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  color: var(--on-surface);
}

.updated {
  color: var(--on-surface-muted);
  font-size: 14px;
  margin: 0;
}

/* Content */
.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

section h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--on-surface);
  letter-spacing: -0.2px;
}

section h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--on-surface);
}

section h3:first-of-type {
  margin-top: 8px;
}

section p {
  margin: 0 0 14px;
  color: var(--on-surface);
}

section p:last-child {
  margin-bottom: 0;
}

section ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

section ul li {
  margin: 6px 0;
}

section ul li::marker {
  color: var(--primary);
}

strong {
  color: var(--on-surface);
  font-weight: 600;
}

/* Tables */
.table-wrap {
  margin: 8px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-tint);
}

@media (max-width: 600px) {
  .table-wrap {
    overflow-x: auto;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--surface);
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--surface-tint);
  font-weight: 600;
  color: var(--on-surface);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: #fffdf8;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 24px 40px;
  color: var(--on-surface-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: var(--surface-tint);
}

footer p {
  margin: 0;
}

/* Mobile tweaks */
@media (max-width: 560px) {
  section {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .hero {
    padding: 20px 20px 48px;
  }

  .content {
    padding: 24px 16px 48px;
  }

  th,
  td {
    padding: 10px 12px;
  }
}
