/* DMARCS Trust Center — shared stylesheet.

   Palette and type pulled directly from the live www.dmarcs.com (checked
   2026-09-11), not the admin app's own theme — this folder is hosted on the
   marketing site, not the app, and the two currently use different brand
   systems. Verified values:
     --color-primary   #1565C0   (CTA buttons, links, "Get Started")
     --color-secondary #6AACFE   (secondary CTA, light accents)
     --color-heading    #0F1926   (headings on light sections, also the
                                    pricing-card background colour)
     --bg-hero          #0D3B6F   (dark hero/section background)
     --bg-light         #EAF3FF   (light section background)
     --color-body        #403A56   (body copy)
   Fonts: Plus Jakarta Sans (headings, 700 weight; hero uses 500), Inter
   (body copy and most buttons). Buttons are fully pill-shaped (100px
   radius). Cards on the live site (pricing) are solid dark-navy
   (--color-heading) with a 10px radius, no border, no shadow.
*/

:root {
  --color-primary: #1565C0;
  --color-secondary: #6AACFE;
  --color-heading: #0F1926;
  --bg-hero: #0D3B6F;
  --bg-light: #EAF3FF;
  --color-body: #403A56;
  --color-muted: #6b7280;
  --white: #ffffff;
  --border: #dbe6f5;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --up: #22c55e;
  --warn: #f59e0b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--color-body);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0 0 12px;
  line-height: 1.2;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.site-header .brand { display: flex; align-items: center; gap: 10px; }
.site-header img.logo { height: 28px; width: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-header nav a {
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-heading);
}
.site-header nav a:hover { color: var(--color-primary); text-decoration: none; }
.site-header nav a.external::after {
  content: "↗";
  margin-left: 4px;
  font-size: 12px;
  color: var(--color-muted);
}
.site-header nav a.back {
  color: var(--color-muted);
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-hero);
  padding: 64px 0 56px;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero p {
  color: #cfe0f7;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}
.hero .eyebrow {
  display: inline-block;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 56px 0; }
.section.light { background: var(--bg-light); }
.section.white { background: var(--white); }
.section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
/* A small, muted section heading for pages where a full 28px h2 would
   compete with the hero right above it (index, security, disclosure) -
   keeps a real heading in the DOM for structure/SEO without changing how
   the page reads visually. */
.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.section .lede {
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 640px;
}

/* ---------- Hub cards (dark, per the site's own card treatment) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.hub-card {
  background: var(--color-heading);
  border-radius: 10px;
  padding: 28px 26px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease;
}
.hub-card:hover { transform: translateY(-3px); text-decoration: none; }
.hub-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(106, 172, 254, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 4px;
}
.hub-card h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 2px;
}
.hub-card p {
  color: #b9c3d4;
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.hub-card .go {
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-top: 6px;
}
.hub-card.soon { opacity: .72; }
.hub-card .tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(245, 158, 11, .18);
  color: var(--warn);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}

/* ---------- Light content cards (prose pages) ---------- */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 30px;
  margin-bottom: 20px;
}
.panel h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.panel p, .panel li { color: var(--color-body); font-size: 15px; }
.panel ul { margin: 0; padding-left: 20px; }
.panel li { margin-bottom: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: var(--white); }
.btn-primary:hover { background: #114f96; text-decoration: none; }
.btn-secondary { background: var(--color-secondary); color: var(--white); }
.btn-secondary:hover { background: #4f92e8; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* ---------- Changelog ---------- */
.changelog-day { margin-bottom: 40px; }
.changelog-day .date {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
  display: block;
}
.entry {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.entry:last-child { border-bottom: none; }
.pill {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  height: fit-content;
  margin-top: 2px;
}
.pill.added { background: rgba(21,101,192,.12); color: var(--color-primary); }
.pill.fixed { background: rgba(34,197,94,.13); color: #16a34a; }
.pill.improved { background: rgba(106,172,254,.2); color: #1e6fd9; }
.entry .body h4 { font-size: 15.5px; margin-bottom: 3px; color: var(--color-heading); }
.entry .body p { margin: 0; font-size: 14px; color: var(--color-muted); }

/* ---------- Roadmap ---------- */
.roadmap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.roadmap-col {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 22px;
}
.roadmap-col h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.roadmap-empty {
  text-align: center;
  padding: 30px 14px;
  color: var(--color-muted);
  font-size: 14px;
  border: 1px dashed var(--border);
  border-radius: 8px;
}

/* ---------- Coming soon ---------- */
.coming-soon {
  text-align: center;
  padding: 90px 24px;
}
.coming-soon .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.coming-soon h1 { font-size: 26px; margin-bottom: 10px; }
.coming-soon p { color: var(--color-muted); max-width: 440px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-heading);
  padding: 34px 0;
  text-align: center;
}
.site-footer p { color: #8a93a6; font-size: 13px; margin: 0 0 8px; }
.site-footer a { color: #b9c3d4; font-size: 13px; margin: 0 10px; }
.site-footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .section h2 { font-size: 23px; }
  .site-header nav { gap: 14px; }
}
