@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
  src: url('/fonts/BigShouldersDisplay-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
  src: url('/fonts/IBMPlexSans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
  src: url('/fonts/IBMPlexMono-400-latin.woff2') format('woff2');
}

:root {
  --ink: #0a0908;
  --ink-2: #14120f;
  --violet: #9b7bff;
  --violet-bright: #b79dff;
  --cyan: #4fe0d4;
  --cream: #f3ecdd;
  --cream-dim: rgba(243, 236, 221, 0.68);
  --cream-faint: rgba(243, 236, 221, 0.4);
  --line: rgba(155, 123, 255, 0.28);
  --line-soft: rgba(243, 236, 221, 0.14);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
  margin: 0;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2rem); }

/* ---- header ---- */
.site-header {
  border-bottom: 1px solid var(--line-soft);
  padding: 1.4rem 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; max-width: 980px; }
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--cream);
}
.brand span { color: var(--violet-bright); }
.header-nav { display: flex; gap: 1.6rem; font-family: var(--mono); font-size: 0.85rem; }
.header-nav a { color: var(--cream-dim); }
.header-nav a:hover { color: var(--violet-bright); text-decoration: none; }

/* ---- breadcrumb ---- */
.crumb {
  padding-top: 2rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cream-faint);
}
.crumb a { color: var(--cream-faint); }
.crumb a:hover { color: var(--violet-bright); }

/* ---- article header ---- */
.post-header { padding: 1.4rem 0 2.4rem; border-bottom: 1px solid var(--line-soft); }
.post-eyebrow {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--violet-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-header h1 {
  margin-top: 0.8rem;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.08;
}
.post-meta {
  margin-top: 1.1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cream-faint);
}
.post-dek {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 60ch;
}

/* ---- article body ---- */
.post-body { padding: 2.6rem 0 1rem; }
.post-body h2 {
  margin-top: 2.6rem;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  text-transform: none;
}
.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  text-transform: none;
  color: var(--violet-bright);
}
.post-body p { margin: 0 0 1.1rem; color: var(--cream); }
.post-body p.lead { font-size: 1.08rem; color: var(--cream-dim); }
.post-body ul, .post-body ol { margin: 0 0 1.3rem; padding-left: 1.3rem; color: var(--cream); }
.post-body li { margin-bottom: 0.5rem; }
.post-body strong { color: var(--cream); }
.post-body a { border-bottom: 1px solid var(--line); }
.post-body blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.4rem;
  border-left: 2px solid var(--violet);
  background: rgba(155, 123, 255, 0.06);
  color: var(--cream-dim);
  font-style: italic;
}
.post-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(243, 236, 221, 0.08);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.post-table-wrap { overflow-x: auto; margin: 0 0 1.6rem; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.post-body th, .post-body td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line-soft); }
.post-body th { font-family: var(--mono); color: var(--violet-bright); font-weight: 500; }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.4rem 0 2rem; }
.faq-item { border: 1px solid var(--line-soft); padding: 0.95rem 1.2rem; }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--cream);
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--violet-bright); font-family: var(--mono); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 0.8rem; color: var(--cream-dim); }

/* ---- CTA box ---- */
.post-cta {
  margin: 2.6rem 0;
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: rgba(155, 123, 255, 0.05);
}
.post-cta h3 { text-transform: none; font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--cream); }
.post-cta p { color: var(--cream-dim); margin-bottom: 1.1rem; }
.post-cta-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  font-family: var(--mono); font-size: 0.85rem;
  border: 1px solid var(--violet);
  color: var(--cream) !important;
  text-decoration: none !important;
}
.btn:hover { background: rgba(155, 123, 255, 0.12); }
.btn-whatsapp { border-color: var(--cyan); }
.btn-whatsapp:hover { background: rgba(79, 224, 212, 0.1); }

/* ---- related ---- */
.post-related { padding: 2rem 0 3rem; border-top: 1px solid var(--line-soft); margin-top: 2rem; }
.post-related h3 { font-size: 1rem; text-transform: none; color: var(--cream-faint); margin-bottom: 1rem; }
.post-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.post-related a { color: var(--cream); border-bottom: none; }
.post-related a:hover { color: var(--violet-bright); }

/* ---- blog index ---- */
.blog-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--line-soft); }
.blog-hero .eyebrow { font-family: var(--mono); font-size: 0.85rem; color: var(--violet-bright); text-transform: uppercase; }
.blog-hero h1 { margin-top: 0.7rem; font-size: clamp(2.1rem, 6vw, 3.4rem); }
.blog-hero p { margin-top: 1rem; color: var(--cream-dim); max-width: 56ch; }
.blog-list { padding: 2.6rem 0 4rem; display: flex; flex-direction: column; gap: 1.6rem; }
.blog-card {
  display: block;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line-soft);
  transition: border-color 0.2s ease;
}
.blog-card:hover { border-color: var(--line); text-decoration: none; }
.blog-card .post-eyebrow { display: block; margin-bottom: 0.6rem; }
.blog-card h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); text-transform: none; color: var(--cream); }
.blog-card p { margin-top: 0.6rem; color: var(--cream-dim); font-size: 0.95rem; }
.blog-card:hover h2 { color: var(--violet-bright); }

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2rem 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cream-faint);
}
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: 980px; }
.site-footer a { color: var(--cream-faint); }
.site-footer a:hover { color: var(--violet-bright); }

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .header-nav { gap: 1.1rem; }
}
