/* =====================================================
   main.css — Tecnologia & Viagens
   Shared across index.html and _layouts/post.html
   ===================================================== */

/* ─────────────────────────────────────
   RESET & ROOT
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:          #1a1714;
  --ink-muted:    #5a534a;
  --ink-light:    #8a8078;
  --surface:      #faf9f6;
  --surface-warm: #f2ede6;
  --border:       #e2dbd0;
  --accent:       #2d6a4f;
  --accent-warm:  #b85c00;
  --accent-light: #e8f5ee;
  --tag-bg:       #fffbf5;
  --code-bg:      #1e1c18;
  --code-text:    #d4c9a8;
  --green-glow:   #93c97a;
  --paid:         #b85c00;
  --free:         #2d6a4f;
  --hybrid:       #4a5568;
  --sidebar-w:    290px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
  font-weight: 300;
  display: flex;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────
   SIDEBAR
───────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--ink);
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-avatar-wrap {
  position: relative;
  height: 170px;
  flex-shrink: 0;
  /* overflow must stay visible so the avatar circle can bleed below */
}
/* clip only the background layer, not the whole wrap */
.sidebar-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.sidebar-avatar-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .15; display: block;
  clip-path: inset(0);
}
.sidebar-avatar-bg-fallback {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 20px,
    rgba(255,255,255,.03) 20px, rgba(255,255,255,.03) 40px
  );
}
.sidebar-avatar {
  position: absolute;
  bottom: -32px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  overflow: hidden;
  background: var(--ink);
  z-index: 1;
}
.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06);
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.5rem; color: rgba(250,249,246,.4);
}

.sidebar-identity {
  padding: 3rem 1.4rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sidebar-name {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.1rem; color: var(--surface);
  line-height: 1.2; margin-bottom: .45rem;
}
.sidebar-name a { color: inherit; }
.sidebar-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .055em;
  color: rgba(250,249,246,.28); line-height: 1.65;
}

.sidebar-social {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 5px; padding: .9rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sidebar-social a {
  width: 30px; height: 30px; border-radius: 6px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(250,249,246,.38);
  transition: background .2s, color .2s;
}
.sidebar-social a:hover { background: rgba(255,255,255,.12); color: var(--green-glow); }

.sidebar-nav { padding: .85rem 0; flex: 1; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: .5rem 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .075em; text-transform: uppercase;
  color: rgba(250,249,246,.4);
  transition: color .2s, background .2s;
}
.sidebar-nav a i { width: 13px; opacity: .45; flex-shrink: 0; }
.sidebar-nav a:hover  { color: var(--green-glow); background: rgba(255,255,255,.03); }
.sidebar-nav a.active { color: var(--green-glow); }

.sidebar-nav .has-children > a { justify-content: space-between; }
.sidebar-nav .has-children > a .chevron {
  font-size: 11px; opacity: .35;
  transition: transform .25s; margin-left: auto;
}
.sidebar-nav .has-children.open > a .chevron { transform: rotate(90deg); }
.sidebar-nav .submenu {
  display: none;
  background: rgba(0,0,0,.18);
  border-left: 2px solid rgba(255,255,255,.05);
  margin-left: 1.4rem;
}
.sidebar-nav .has-children.open .submenu { display: block; }
.sidebar-nav .submenu a {
  font-size: 9.5px; padding: .38rem 1rem;
  color: rgba(250,249,246,.28);
}
.sidebar-nav .submenu a:hover { color: var(--green-glow); }

.sidebar-widget {
  padding: .9rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.widget-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(250,249,246,.22); margin-bottom: .65rem;
}
.widget-quote-text {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: .9rem; color: rgba(250,249,246,.5);
  line-height: 1.55; margin-bottom: .35rem;
}
.widget-quote-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .07em;
  color: rgba(250,249,246,.22);
}

.widget-search { display: flex; gap: 5px; }
.widget-search input {
  flex: 1; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08); border-radius: 6px;
  padding: .4rem .65rem;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: rgba(250,249,246,.65); outline: none;
  transition: border-color .2s;
}
.widget-search input::placeholder { color: rgba(250,249,246,.18); }
.widget-search input:focus { border-color: rgba(255,255,255,.18); }
.widget-search button {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08); border-radius: 6px;
  padding: .4rem .65rem; color: rgba(250,249,246,.38);
  font-size: 11px; cursor: pointer;
  transition: background .2s, color .2s;
}
.widget-search button:hover { background: rgba(255,255,255,.13); color: var(--green-glow); }

/* ─────────────────────────────────────
   MOBILE SIDEBAR TOGGLE
───────────────────────────────────── */
.sidebar-toggle {
  display: none;
  position: fixed; top: .9rem; left: .9rem; z-index: 200;
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--ink); border: none;
  color: rgba(250,249,246,.55); font-size: 15px;
  cursor: pointer; align-items: center; justify-content: center;
}

/* ─────────────────────────────────────
   MAIN COLUMN
───────────────────────────────────── */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ─────────────────────────────────────
   HERO — index.html variant
   (uses .hero-title, .hero-desc, .hero-stats)
───────────────────────────────────── */
.hero {
  background: var(--ink);
  padding: 3rem 2.25rem 2.75rem;
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 40px,
    rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 80px
  );
  pointer-events: none;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: .9rem;
  opacity: .8; position: relative;
}

/* Index hero */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700; color: var(--surface);
  line-height: 1.15; letter-spacing: -.02em;
  max-width: 480px; margin-bottom: .85rem; position: relative;
}
.hero-title em { font-style: italic; color: var(--green-glow); }
.hero-desc {
  font-size: .9rem; color: rgba(250,249,246,.42);
  max-width: 400px; font-weight: 300; line-height: 1.7;
  position: relative; margin-bottom: 1.75rem;
}
.hero-stats { display: flex; align-items: center; gap: 1.25rem; position: relative; }
.hero-stat { text-align: left; }
.hero-stat-num {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.6rem; color: var(--surface); line-height: 1;
}
.hero-stat-label {
  font-family: 'JetBrains Mono', monospace; font-size: 8.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(250,249,246,.25); margin-top: 3px;
}
.hero-stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,.1); }

/* ─────────────────────────────────────
   HERO — post.html variant
   (uses .hero--with-image, .hero h1, .hero-sub, .hero-back)
───────────────────────────────────── */
/* Centers the post hero content to match .article-inner width */
.hero-inner {
  width: 100%;
  position: relative;
}
.hero--with-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2.25rem 4.5rem;
}
.hero--with-image::before {
  background: linear-gradient(
    to bottom,
    rgba(15,12,10,.55) 0%,
    rgba(15,12,10,.75) 100%
  );
}

.hero-post-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-glow); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 10px;
  opacity: .85; position: relative;
}
.hero-post-eyebrow span { opacity: .4; }

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--surface);
  max-width: 700px; margin-bottom: 1.1rem;
  letter-spacing: -.01em; position: relative;
}
.hero-sub {
  font-size: 1rem; color: rgba(250,249,246,.6);
  max-width: 540px; margin-bottom: 2rem;
  font-weight: 300; line-height: 1.65; position: relative;
}
.hero-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: rgba(250,249,246,.4);
  position: relative;
}
.hero-meta .dot { opacity: .3; }
.hero-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(250,249,246,.35); margin-bottom: 2rem;
  transition: color .2s; position: relative;
}
.hero-back:hover { color: var(--green-glow); }

/* ─────────────────────────────────────
   INDEX — content area
───────────────────────────────────── */
.content-wrap { padding: 2.25rem 2.25rem 5rem; flex: 1; }

.section-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.4rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
}

/* Featured card */
.featured-card {
  display: grid; grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; background: white; margin-bottom: 2.5rem;
  transition: box-shadow .25s;
}
.featured-card:hover { box-shadow: 0 6px 28px rgba(26,23,20,.08); }

.featured-image { background: var(--ink); min-height: 260px; position: relative; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; opacity: .85; display: block; }
.featured-placeholder {
  width: 100%; height: 100%; min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); position: relative; overflow: hidden;
}
.featured-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 26px,
    rgba(255,255,255,.025) 26px, rgba(255,255,255,.025) 52px
  );
}
.featured-placeholder span {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 5rem; color: rgba(255,255,255,.06);
  position: relative; user-select: none;
}

.featured-body {
  padding: 1.6rem 1.6rem 1.85rem;
  display: flex; flex-direction: column; justify-content: center;
}
.cat-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: .8rem; }
.cat-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 20px;
  background: var(--accent-light); color: var(--accent); border: 1px solid #b7dfc8;
}
.featured-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700; line-height: 1.25; color: var(--ink);
  margin-bottom: .8rem; letter-spacing: -.01em;
}
.featured-body h2 a:hover { color: var(--accent); }
.featured-excerpt {
  font-size: .865rem; color: var(--ink-muted); line-height: 1.7;
  margin-bottom: 1.1rem; font-weight: 300; flex: 1;
}
.featured-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  color: var(--ink-light); margin-bottom: 1.1rem;
}
.featured-meta .sep { opacity: .35; }
.read-more {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--accent);
  padding-bottom: 1px; transition: gap .2s;
}
.read-more:hover { gap: 11px; }

/* Posts grid */
.posts-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-bottom: 2.5rem;
}
.post-card {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: 0 4px 18px rgba(26,23,20,.07); transform: translateY(-2px); }

.post-card-image { height: 130px; background: var(--ink); position: relative; overflow: hidden; flex-shrink: 0; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; opacity: .8; display: block; }
.post-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); position: relative; overflow: hidden;
}
.post-card-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 16px,
    rgba(255,255,255,.025) 16px, rgba(255,255,255,.025) 32px
  );
}
.post-card-placeholder span {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 2.25rem; color: rgba(255,255,255,.07);
  position: relative; user-select: none;
}
.post-card-body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card-cats { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: .55rem; }
.post-card h3 {
  font-family: 'Playfair Display', serif; font-size: .94rem; font-weight: 700;
  line-height: 1.3; color: var(--ink); margin-bottom: .45rem; letter-spacing: -.01em;
}
.post-card h3 a:hover { color: var(--accent); }
.post-card-excerpt {
  font-size: 12px; color: var(--ink-muted); line-height: 1.6;
  flex: 1; margin-bottom: .75rem; font-weight: 300;
}
.post-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: var(--ink-light);
  padding-top: .6rem; border-top: 1px solid var(--border); margin-top: auto;
}

/* Tags cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2.5rem; }
.tag-item {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .055em;
  padding: 4px 11px; border-radius: 20px;
  background: var(--tag-bg); border: 1px solid var(--border); color: var(--ink-muted);
  transition: border-color .2s, color .2s;
}
.tag-item:hover { border-color: var(--ink-muted); color: var(--ink); }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--ink-light); }
.empty-glyph {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 2.25rem; color: var(--border); margin-bottom: .75rem;
}
.empty-state p {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .08em;
}

/* ─────────────────────────────────────
   POST — article body
───────────────────────────────────── */
.article-wrap { padding: 3rem 2.25rem 5rem; flex: 1; }
.article-inner { width: 100%; }

.article-inner p  { margin-bottom: 1.25rem; }
.article-inner ul,
.article-inner ol { margin-bottom: 1.25rem; }
.article-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 2rem 0 .75rem;
}

/* Lead paragraph */
.lead {
  font-size: 1.1rem; line-height: 1.7; color: var(--ink-muted);
  border-left: 3px solid var(--accent); padding-left: 1.4rem;
  margin-bottom: 2.75rem; font-style: italic; font-weight: 300;
}

/* Section headers */
.section-header { display: flex; align-items: flex-start; gap: 1.1rem; margin: 3.5rem 0 1.5rem; }
.section-num {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 3rem; line-height: 1; color: var(--border);
  flex-shrink: 0; margin-top: -.2rem;
}
.section-title-wrap h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem; font-weight: 700; color: var(--ink);
  line-height: 1.25; margin-bottom: .3rem;
}

/* Badges */
.badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; font-weight: 500;
}
.badge-paid   { background: #fff4e8; color: var(--paid);   border: 1px solid #f5d9b0; }
.badge-free   { background: var(--accent-light); color: var(--accent); border: 1px solid #b7dfc8; }
.badge-hybrid { background: #eef0f3; color: var(--hybrid); border: 1px solid #cdd3db; }

/* Providers grid */
.providers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 11px; margin: 1.5rem 0;
}
.provider-card {
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: .9rem 1rem;
}
.provider-name {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  font-weight: 500; color: var(--ink); margin-bottom: .3rem;
}
.provider-detail { font-size: 12.5px; color: var(--ink-light); line-height: 1.5; }
.provider-price {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--accent-warm); margin-top: .45rem; font-weight: 500;
}

/* Code blocks */
.code-block { background: var(--code-bg); border-radius: 10px; overflow: hidden; margin: 1.5rem 0; }
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.code-lang {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: rgba(212,201,168,.5); letter-spacing: .08em;
}
.code-dots { display: flex; gap: 5px; }
.code-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); }
.code-block pre {
  padding: 1.1rem 1.3rem; overflow-x: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  line-height: 1.65; color: var(--code-text); margin: 0;
}
/* Syntax tokens */
.kw { color: #c792ea; }
.fn { color: #82aaff; }
.st { color: #c3e88d; }
.cm { color: #546e7a; font-style: italic; }
.nu { color: #f78c6c; }
.va { color: #eeffff; }

/* AT commands table */
.at-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 13.5px; }
.at-table th {
  background: var(--surface-warm);
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted);
  text-align: left; padding: .7rem .9rem; border-bottom: 2px solid var(--border);
}
.at-table td {
  padding: .7rem .9rem; border-bottom: 1px solid var(--border);
  color: var(--ink); vertical-align: top;
}
.at-table td:first-child {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  font-weight: 500; color: var(--accent-warm); white-space: nowrap;
}
.at-table tr:hover td { background: var(--surface-warm); }

/* Gateway diagram */
.gateway-diagram {
  background: var(--surface-warm); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem 1.4rem; margin: 1.5rem 0; text-align: center;
}
.gw-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.gw-node {
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: .65rem 1rem; font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace; color: var(--ink);
  text-align: center; min-width: 90px;
}
.gw-node small {
  display: block; font-size: 9.5px; color: var(--ink-light); margin-top: 3px;
  font-family: 'Source Serif 4', serif; font-style: italic;
}
.gw-node.accent { background: var(--ink); color: var(--surface-warm); border-color: var(--ink); }
.gw-node.accent small { color: rgba(250,242,230,.5); }
.gw-arrow { font-size: 16px; color: var(--border); padding: 0 6px; flex-shrink: 0; }
.gw-caption { font-size: 12.5px; color: var(--ink-light); font-style: italic; margin-top: 1rem; }

/* App list */
.app-list { list-style: none; margin: 1.1rem 0; }
.app-list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: .8rem 0; border-bottom: 1px solid var(--border); font-size: 14.5px;
}
.app-list li:last-child { border-bottom: none; }
.app-icon {
  width: 34px; height: 34px; border-radius: 7px; background: var(--ink);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  font-weight: 500; color: var(--green-glow); letter-spacing: -.02em;
}
.app-info strong {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; font-weight: 500; margin-bottom: 2px; color: var(--ink);
}
.app-info span { color: var(--ink-muted); font-size: 13.5px; }

/* SIM Box card */
.simbox-card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin: 1.5rem 0;
}
.simbox-header {
  background: var(--ink); color: var(--surface);
  padding: .9rem 1.3rem; display: flex; align-items: center; gap: .9rem;
}
.simbox-icon {
  width: 36px; height: 36px; border-radius: 7px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  color: var(--green-glow); text-align: center; line-height: 1.3;
}
.simbox-header-text h4 {
  font-family: 'Playfair Display', serif; font-size: .95rem;
  font-weight: 700; color: var(--surface); margin-bottom: 2px;
}
.simbox-header-text span {
  font-size: 11.5px; color: rgba(250,249,246,.4);
  font-family: 'JetBrains Mono', monospace;
}
.simbox-body { padding: 1.3rem; }
.simbox-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 9px; margin-bottom: 1.1rem;
}
.spec-item { background: var(--surface-warm); border-radius: 7px; padding: .65rem .85rem; }
.spec-label {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-light); margin-bottom: 3px;
}
.spec-value {
  font-size: 13px; font-weight: 600; color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
}

/* Compare table */
.compare-table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: 13.5px; }
.compare-table th {
  background: var(--ink); color: var(--surface); padding: .8rem .9rem;
  text-align: left; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
}
.compare-table th:first-child { border-radius: 7px 0 0 0; }
.compare-table th:last-child  { border-radius: 0 7px 0 0; }
.compare-table td {
  padding: .8rem .9rem; border-bottom: 1px solid var(--border);
  color: var(--ink); vertical-align: middle;
}
.compare-table tr:hover td { background: var(--surface-warm); }
.compare-table td:first-child { font-weight: 600; }
.check   { color: var(--accent); font-size: 15px; }
.cross   { color: #c0392b; font-size: 15px; }
.partial { color: var(--accent-warm); font-size: 14px; }

/* Callouts */
.callout {
  border-left: 3px solid; padding: .9rem 1.2rem;
  border-radius: 0 8px 8px 0; margin: 1.5rem 0; font-size: 14.5px;
}
.callout-tip  { border-color: var(--accent);      background: var(--accent-light); }
.callout-warn { border-color: var(--accent-warm); background: #fff4e8; }
.callout-label {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .45rem; font-weight: 500;
}
.callout-tip  .callout-label { color: var(--accent); }
.callout-warn .callout-label { color: var(--accent-warm); }

/* Conclusion */
.conclusion {
  background: var(--ink); color: var(--surface);
  border-radius: 12px; padding: 2.25rem; margin-top: 3.5rem;
}
.conclusion h2 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: white; margin-bottom: .9rem;
}
.conclusion p {
  color: rgba(250,249,246,.7); font-size: 14.5px; line-height: 1.7; margin-bottom: .9rem;
}
.conclusion p:last-child { margin-bottom: 0; }

/* Divider */
.divider {
  text-align: center; margin: 2.75rem 0;
  color: var(--border); font-size: 18px; letter-spacing: .5em;
}

/* Post tags */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border);
}
.post-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 20px;
  background: var(--tag-bg); border: 1px solid var(--border); color: var(--ink-muted);
}
.post-tag:hover { border-color: var(--ink-muted); color: var(--ink); }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.site-footer {
  background: var(--ink);
  padding: 1.35rem 2.25rem;
  border-top: 1px solid rgba(255,255,255,.04);
}
.site-footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: .95rem; color: rgba(250,249,246,.35);
}
.footer-links { display: flex; gap: 1.2rem; list-style: none; }
.footer-links a {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(250,249,246,.22); transition: color .2s;
}
.footer-links a:hover { color: var(--green-glow); }
.footer-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  color: rgba(250,249,246,.16); letter-spacing: .06em;
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1060px) {
  .posts-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-placeholder { min-height: 180px; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 270px; }

  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 100;
    transform: translateX(-100%); transition: transform .3s ease;
  }
  .sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,.3); }
  .sidebar-toggle { display: flex; }
  .sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 99;
  }
  .sidebar-overlay.open { display: block; }

  /* index */
  .content-wrap { padding: 1.4rem 1.25rem 4rem; }

  /* post */
  .article-wrap { padding: 2rem 1.25rem 4rem; }

  /* shared */
  .hero { padding: 2.25rem 1.25rem 1.75rem; }
  .site-footer { padding: 1.25rem; }
  .gw-flow { flex-direction: column; }
  .gw-arrow { transform: rotate(90deg); }
}

@media (max-width: 520px) {
  .providers-grid { grid-template-columns: 1fr; }
  .simbox-specs { grid-template-columns: 1fr 1fr; }
}