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

:root {
  --bg: #fffef9;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #626975;
  --border: #f0efe9;
  --amber: #f59e0b;
  --amber-dark: #92400e;
  --amber-light: #fef3c7;
  --shadow: 0 10px 36px rgba(0,0,0,0.08);
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber-dark); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 40px;
  background: rgba(255,254,249,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand span { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, opacity 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active {
  color: var(--amber-dark);
  background: var(--amber-light);
}
.nav-links .cta {
  color: #fff;
  background: var(--text);
  padding: 7px 16px;
}
.nav-links .cta:hover { color: #fff; opacity: 0.82; }

main { max-width: 980px; margin: 0 auto; padding: 72px 24px 96px; }
.page-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.page-kicker .eyebrow { margin-bottom: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover {
  border-color: #fbbf24;
  background: var(--amber-light);
  text-decoration: none;
}
.eyebrow {
  color: var(--amber-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.summary {
  max-width: 740px;
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 30px;
}

.answer {
  max-width: 780px;
  padding: 24px 26px;
  margin: 34px 0;
  background: var(--amber-light);
  border: 1px solid #fbbf24;
  border-radius: 12px;
  color: #633306;
}

.answer strong { color: #4a2603; }

section { margin-top: 56px; }
h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.18; letter-spacing: -0.6px; margin-bottom: 14px; }
h3 { font-size: 19px; line-height: 1.3; margin: 26px 0 8px; }
p, main li { color: var(--muted); font-size: 16px; }
ul, ol { padding-left: 22px; }
main li { margin: 8px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  color: var(--text);
  text-decoration: none;
}

.card h3 { margin-top: 0; }
.card p { font-weight: 400; }

.table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption {
  caption-side: top;
  padding: 14px 16px;
  background: #faf9f4;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}
th, td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #faf9f4; font-size: 14px; color: var(--text); }
tbody th[scope="row"] {
  width: 24%;
  background: #fff;
  color: var(--text);
  font-size: 15px;
}
td { color: var(--muted); font-size: 15px; }
tr:last-child td { border-bottom: 0; }
tr:last-child th { border-bottom: 0; }

.cta-panel {
  margin-top: 60px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
}

.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.related a {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
}

footer {
  padding: 34px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .site-nav { padding: 0 20px; }
  .nav-links { gap: 12px; }
  .nav-links li:not(.mobile-keep) { display: none; }
  main { padding-top: 48px; }
  .grid { grid-template-columns: 1fr; }
  .answer, .cta-panel { padding: 22px; }
}
