:root {
  --bg: #faf7f0;
  --bg-card: #ffffff;
  --bg-soft: #f3eee2;
  --text: #1f2a36;
  --text-soft: #4a5663;
  --text-mute: #7a8290;
  --accent: #8b6f3a;
  --accent-dark: #6b5429;
  --border: #e6dfd1;
  --border-strong: #c9bea7;
  --success: #2f6b4f;
  --danger: #8a3a2a;
  --shadow-sm: 0 1px 2px rgba(31, 42, 54, 0.04);
  --shadow-md: 0 4px 14px rgba(31, 42, 54, 0.06);
  --shadow-lg: 0 12px 40px rgba(31, 42, 54, 0.10);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --content: 1100px;
  --narrow: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 111, 58, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}
a:hover { color: var(--text); border-bottom-color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}
h1 { font-size: 2.6rem; line-height: 1.15; }
h2 { font-size: 2.0rem; line-height: 1.2; }
h3 { font-size: 1.4rem; line-height: 1.3; }
h4 { font-size: 1.1rem; line-height: 1.35; font-family: var(--sans); font-weight: 600; }

p { margin: 0 0 1.1em; color: var(--text-soft); }
strong { color: var(--text); font-weight: 600; }
ul, ol { color: var(--text-soft); padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
small { font-size: 0.85em; color: var(--text-mute); }
code { font-family: "SF Mono", Menlo, Consolas, monospace; background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; }

/* ---------- Layout ---------- */
.container { max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background-color: rgba(250, 247, 240, 0.85);
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  color: var(--text); border: 0;
  letter-spacing: 0.005em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: #faf7f0; font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-soft); font-size: 0.95rem;
  border: 0; padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--text); border-bottom-color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 64px;
  text-align: left;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  margin-bottom: 16px;
  font-weight: 600;
}
.hero h1 { font-size: 3.2rem; margin-bottom: 18px; max-width: 760px; }
.hero .lede { font-size: 1.2rem; max-width: 660px; color: var(--text-soft); line-height: 1.55; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.tight { padding: 36px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  margin-bottom: 36px;
  max-width: 720px;
}
.section-head .eyebrow {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-dark); font-weight: 600; margin-bottom: 8px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 1.08rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 40px 0; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 0.98rem; margin-bottom: 0; }

.card-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  color: var(--accent-dark);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
}

/* ---------- Trust strip (cards, security, etc) ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px 40px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.trust-strip span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}
.trust-strip strong { color: var(--text-soft); font-weight: 600; }

/* ---------- Definition / table ---------- */
dl.def {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px 28px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 0;
}
dl.def dt {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
dl.def dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  dl.def { grid-template-columns: 1fr; gap: 4px 0; }
  dl.def dd { margin-bottom: 14px; }
}

/* ---------- Callout boxes ---------- */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 24px 0;
}
.callout.warn { border-left-color: var(--danger); }
.callout.ok   { border-left-color: var(--success); }
.callout h4 { margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }
.callout code { background: var(--bg-soft); }

/* ---------- Article (policy / legal pages) ---------- */
.article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 48px 56px;
  margin: 40px auto 80px;
  box-shadow: var(--shadow-sm);
}
.article .meta {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.article h1 { font-size: 2.2rem; margin-bottom: 6px; }
.article h2 { font-size: 1.45rem; margin-top: 38px; margin-bottom: 12px; padding-top: 8px; }
.article h3 { font-size: 1.15rem; margin-top: 26px; margin-bottom: 8px; font-family: var(--sans); font-weight: 600; }
.article p, .article li { font-size: 1.0rem; line-height: 1.7; }
.article ul, .article ol { padding-left: 1.3em; }
.article a { color: var(--accent-dark); }
@media (max-width: 700px) {
  .article { padding: 28px 22px; margin: 24px 16px 48px; border-radius: var(--radius-md); }
  .article h1 { font-size: 1.7rem; }
}

/* ---------- Tier pricing table ---------- */
.tier-table {
  width: 100%; border-collapse: collapse; margin: 14px 0 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tier-table th, .tier-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.tier-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tier-table tr:last-child td { border-bottom: 0; }

/* ---------- Buttons (informational only on institutional site) ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--text);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-card); border-color: var(--text); color: var(--text); }

/* ---------- Footer ---------- */
footer.site {
  background: #14202b;
  color: #c2cad4;
  padding: 56px 0 28px;
  margin-top: 64px;
  font-size: 0.92rem;
}
footer.site a { color: #e9d6ad; border-bottom-color: rgba(233, 214, 173, 0.3); }
footer.site a:hover { color: #faf7f0; border-bottom-color: #faf7f0; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-grid h4 {
  color: #faf7f0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-family: var(--sans);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; color: #a9b1bb; font-size: 0.9rem; line-height: 1.5; }
.foot-grid li a { font-size: 0.9rem; }
.foot-brand p { color: #a9b1bb; font-size: 0.9rem; margin: 8px 0 0; max-width: 320px; line-height: 1.55; }
.foot-brand .brand { color: #faf7f0; }
.foot-brand .brand-mark { background: linear-gradient(135deg, #e9d6ad 0%, #b8924d 100%); color: #14202b; }
.legal-bar {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px;
  font-size: 0.82rem; color: #7c8693;
}
.legal-bar code { background: rgba(255, 255, 255, 0.05); color: #c2cad4; }
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}
