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

:root {
  --bg: #f6f1e7;
  --text: #181512;
  --muted: #4a4036;
  --muted-2: #6a5e51;
  --surface: #e7dfd1;
  --surface-hover: #ebe4d8;
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.06);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 0 18px 72px;
}

.container {
  max-width: 860px;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

header {
  padding: 56px 0 28px;
}

header h1 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

header p {
  margin-top: 12px;
  font-size: 1.02rem;
  color: var(--muted);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 28px;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.logo {
  width: 84px;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.tagline {
  font-size: 1.05rem;
  color: var(--muted);
}

.section-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 26px 26px;
  width: 320px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  background: var(--surface-hover);
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 1rem;
  color: #2c241d;
}

.card-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #1b1713;
  text-decoration: none;
}

/* Legal pages */

.effective {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 28px;
}

h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 34px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}

p, li {
  font-size: 1rem;
  color: #2c241d;
}

ul {
  padding-left: 20px;
  margin: 10px 0;
}

li { margin-bottom: 6px; }

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.96rem;
}

table th {
  background: rgba(0, 0, 0, 0.03);
  text-align: left;
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid var(--border);
}

table td {
  padding: 9px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}

tr:nth-child(even) td { background: rgba(255, 255, 255, 0.35); }

.badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.12);
  color: #1b1713;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

footer {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-top: 56px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

@media (max-width: 820px) {
  header { padding: 44px 0 22px; }
  header h1 { font-size: 2.5rem; }
  .card { width: 100%; }
}
