/* ─── Vault & Value · shared site styles ───────────────────────────── */

:root {
  --gold:        #C9A961;
  --gold-soft:   #E6D29A;
  --gold-bg:     #F4E8C9;
  --gold-cream:  #FBF5E2;
  --vault-blue:       #0F1A2E;
  --vault-blue-soft:  #1B2D4F;
  --text-primary:     #0F1A2E;
  --text-secondary:   #4A5876;
  --text-tertiary:    #7A8499;
  --separator:        rgba(15, 26, 46, 0.10);
  --card-bg:          rgba(255, 255, 255, 0.65);
  --card-border:      rgba(201, 169, 97, 0.35);
  --max-width:        920px;
  --radius:           20px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse at top left, var(--gold-cream) 0%, transparent 60%),
    radial-gradient(ellipse at top right, var(--gold-bg) 0%, transparent 50%),
    linear-gradient(180deg, #FFFEF5 0%, #FBF5E2 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--vault-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: opacity 120ms ease;
}
a:hover { opacity: 0.7; }

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

/* ─── Layout ────────────────────────────────────────────────────────── */

header.site-header,
main,
footer.site-footer {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 245, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--separator);
  /* Override the default centered max-width so the bar spans the page */
  max-width: none;
  margin: 0;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

nav.site-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}
nav.site-nav a { border: none; color: var(--text-secondary); }
nav.site-nav a:hover { color: var(--vault-blue); opacity: 1; }

/* ─── Hero ──────────────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 60px 0 80px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--vault-blue);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold) 0%, #B5934E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.cta-primary {
  display: inline-block;
  background: var(--vault-blue);
  color: #FFFEF5;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 26, 46, 0.25);
}
.cta-primary:hover { opacity: 0.9; }
.cta-secondary {
  display: inline-block;
  border: 1.5px solid var(--vault-blue);
  color: var(--vault-blue);
  padding: 12.5px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  background: transparent;
}
.cta-note {
  display: block;
  width: 100%;
  margin-top: 14px;
  color: var(--text-tertiary);
  font-size: 14px;
}

/* ─── Sections ──────────────────────────────────────────────────────── */

section.section {
  padding: 56px 0;
}
section.section + section.section {
  border-top: 1px solid var(--separator);
}
section h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--vault-blue);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
section .lede {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 640px;
  margin: 0 0 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.grid-2-narrow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .grid-3, .grid-2, .grid-2-narrow { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--vault-blue);
  text-align: center;
}
.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.55;
  text-align: center;
}
.card .icon {
  width: 44px;
  height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--vault-blue);
  margin: 0 auto 16px;
  font-size: 22px;
}

ul.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--separator);
  font-size: 16px;
  color: var(--text-secondary);
}
ul.feature-list li:last-child { border-bottom: none; }
ul.feature-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}

.tier-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}
.tier-card.tier-plus {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.18) 0%, rgba(255, 254, 245, 0.7) 100%);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 169, 97, 0.18);
}
.tier-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--vault-blue);
}
.tier-card .price {
  font-size: 28px;
  font-weight: 800;
  color: var(--vault-blue);
  margin: 8px 0 16px;
}
.tier-card .price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
}

details.faq {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
}
details.faq summary {
  font-weight: 600;
  color: var(--vault-blue);
  list-style: none;
  position: relative;
  padding-right: 24px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 22px;
  color: var(--gold);
  font-weight: 300;
}
details.faq[open] summary::after { content: "−"; }
details.faq p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15.5px;
}

/* ─── Article (Privacy / ToS) ───────────────────────────────────────── */

.article {
  padding: 40px 0 80px;
}
.article h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--vault-blue);
}
.article .meta {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 32px;
}
.article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--vault-blue);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.article h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--vault-blue);
  margin: 24px 0 8px;
}
.article p, .article li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}
.article ul, .article ol {
  padding-left: 24px;
}
.article li { margin-bottom: 6px; }
.article blockquote {
  margin: 0 0 24px;
  padding: 16px 20px;
  background: var(--card-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  color: var(--vault-blue);
  font-style: normal;
}
.article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 14.5px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  table-layout: fixed;
}
.article colgroup col:nth-child(1) { width: 22%; }
.article colgroup col:nth-child(2) { width: 50%; }
.article colgroup col:nth-child(3) { width: 28%; }
.article th, .article td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--separator);
  vertical-align: top;
  line-height: 1.5;
}
.article tr:last-child td { border-bottom: none; }
.article tbody tr:nth-child(even) td {
  background: rgba(201, 169, 97, 0.06);
}
.article th {
  background: rgba(15, 26, 46, 0.04);
  color: var(--vault-blue);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 12px;
  padding-bottom: 12px;
}
.article td {
  color: var(--text-secondary);
  font-size: 14.5px;
}
.article td:first-child {
  color: var(--vault-blue);
  font-weight: 600;
}
.article hr {
  border: none;
  border-top: 1px solid var(--separator);
  margin: 32px 0;
}
.article code {
  background: var(--card-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
}

/* ─── Footer ────────────────────────────────────────────────────────── */

footer.site-footer {
  padding-top: 32px;
  padding-bottom: 40px;
  margin-top: 32px;
  border-top: 1px solid var(--separator);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-tertiary);
  font-size: 14px;
}
footer.site-footer nav {
  display: flex;
  gap: 18px;
}
footer.site-footer a {
  color: var(--text-tertiary);
  border: none;
}
footer.site-footer a:hover { color: var(--vault-blue); opacity: 1; }
