/* Styling for the standalone marketing blog (served at /blog/*). Shares the
   Wares glass aesthetic with the legal pages but adds hero, post-list, CTA,
   and comparison-table treatments. Not part of the app bundle. */
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/Nunito-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('/fonts/Cinzel-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #fcfcfd;
  --surface: #f4f5f7;
  --border: #e3e6eb;
  --text: #1a1d24;
  --muted: #868d99;
  --accent: #14706b;
  --accent-soft: #e4f0ee;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: linear-gradient(160deg, #eaf0f1 0%, #f4ede2 50%, #e9f1ee 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}
header.site {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
header.site img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
header.site a.brand {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
header.site nav {
  margin-left: auto;
  font-size: 15px;
}
header.site nav a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-left: 16px;
}

/* Hero on the blog index */
.hero {
  text-align: center;
  margin: 8px 0 40px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 10px;
}
.hero h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.hero p {
  font-size: 18px;
  color: #45505f;
  max-width: 560px;
  margin: 0 auto;
}

h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 6px;
}
h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}
h3 {
  font-size: 18px;
  margin: 24px 0 6px;
}
p,
li {
  font-size: 17px;
}
a {
  color: var(--accent);
  font-weight: 700;
}
.lead {
  font-size: 19px;
  color: #45505f;
}
strong {
  font-weight: 800;
}
.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 26px;
}
.note {
  background: var(--accent-soft);
  border: 1px solid #cfe4e0;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 6px 0 22px;
  font-size: 15px;
  color: #38424f;
}
.note strong {
  color: var(--accent);
}

/* Post list (index) */
.posts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
a.post {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(28, 40, 60, 0.08);
  padding: 22px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(28, 40, 60, 0.12);
}
a.post .tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
a.post h2 {
  margin: 6px 0 6px;
  font-size: 22px;
  color: var(--text);
}
a.post p {
  margin: 0;
  color: #45505f;
  font-size: 16px;
}
a.post .more {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}

/* Article body */
article.card {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(28, 40, 60, 0.08);
  padding: 10px 28px 28px;
}
blockquote {
  margin: 22px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  color: #38424f;
  font-size: 18px;
  font-style: italic;
}

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 6px;
  font-size: 16px;
}
.compare th,
.compare td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare thead th {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.compare thead th.ours {
  color: var(--accent);
}
.compare td.ours {
  font-weight: 700;
  background: var(--accent-soft);
}
.compare tr td:first-child {
  font-weight: 700;
  color: #38424f;
}

/* CTA block */
.cta {
  margin: 34px 0 6px;
  text-align: center;
  background: var(--accent);
  border-radius: 18px;
  padding: 30px 24px;
  color: #fff;
}
.cta h2 {
  color: #fff;
  margin: 0 0 6px;
  font-family: 'Cinzel', Georgia, serif;
}
.cta p {
  color: #d7ebe8;
  margin: 0 0 18px;
}
.cta a.button {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 12px;
}
.cta .fine {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #b9ddd8;
}

footer.site-footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
footer.site-footer nav {
  margin-bottom: 8px;
}
footer.site-footer a {
  margin: 0 8px;
}
