/* ── Reset & base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --blue:       #006089;
  --blue-dark:  #004060;
  --blue-light: #e6f4fa;
  --green:      #1a7a3a;
  --text:       #1e2a35;
  --muted:      #5a6a78;
  --border:     #d4dde4;
  --bg:         #f4f7f9;
  --white:      #ffffff;
  --radius:     8px;
  --max-w:      1140px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); transition: color .2s; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: 'IBM Plex Mono', monospace; line-height: 1.3; color: var(--text); margin-top: 0; }
h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .6rem; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); margin-bottom: .5rem; border-left: 4px solid var(--blue); padding-left: .75rem; }
h3 { font-size: 1.15rem; margin-bottom: .4rem; }
h4 { font-size: 1rem; color: var(--blue-dark); margin-bottom: .25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.4rem; }
ul li { margin-bottom: .35rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── Layout ──────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }

/* ── Header ──────────────────────────────────────── */
.site-header {
  background: var(--blue-dark);
  padding: 0;
}
.site-header .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fffab2;
  text-decoration: none;
  letter-spacing: .05em;
}
.header-dl-btn {
  background: var(--blue);
  color: #fff !important;
  text-decoration: none !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s;
}
.header-dl-btn:hover { background: #004f73; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #005070 60%, var(--blue) 100%);
  padding: 48px 16px 40px;
  color: #fff;
  text-align: center;
}
.hero h1 { color: #fff; max-width: 760px; margin: 0 auto .75rem; }
.hero .sub {
  color: #c5dff0;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 1.6rem;
}
.dl-btn {
  display: inline-block;
  background: #fff;
  color: var(--blue-dark) !important;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  padding: 14px 40px;
  border-radius: 8px;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.dl-btn:hover { background: #e6f4fa; transform: translateY(-2px); }
.hero-meta {
  margin-top: 1rem;
  font-size: .82rem;
  color: #a0c8e0;
}

/* ── Main two-col ─────────────────────────────────── */
.page-body {
  max-width: var(--max-w);
  margin: 28px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-body { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.card:last-child { margin-bottom: 0; }

/* ── Screenshot images ───────────────────────────── */
.screenshot {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 16px 0;
}

/* ── Ad block ────────────────────────────────────── */
.ad-block {
  min-height: 280px;
  margin: 24px 0;
  background: #eef2f5;
  border-radius: 6px;
  overflow: hidden;
}
.ad-block ins { display: block !important; min-height: 280px; }

/* ── Download CTA mid-page ───────────────────────── */
.cta-box {
  text-align: center;
  padding: 28px 20px;
  background: var(--blue-light);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  margin: 24px 0;
}
.cta-box p { margin-bottom: .75rem; color: var(--muted); font-size: .95rem; }

/* ── Step list ───────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0 0 1rem; }
.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-body strong { display: block; margin-bottom: 2px; }

/* ── Status indicators ───────────────────────────── */
.status-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.status-list li { display: flex; align-items: center; gap: 10px; margin-bottom: .5rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.dot-green  { background: #1a7a3a; }
.dot-yellow { background: #c8920a; }
.dot-red    { background: #b52020; }

/* ── Features grid ───────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 1rem;
}
.feat-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
}
.feat-item h4 { margin-bottom: .3rem; font-size: .9rem; }
.feat-item p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ── Pros / Cons ─────────────────────────────────── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1rem;
}
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons { border-radius: 6px; padding: 14px 16px; }
.pros { background: #edfbf1; border: 1px solid #9eddb6; }
.cons { background: #fff5f5; border: 1px solid #f0b0b0; }
.pros h3 { color: #1a5c30; margin-bottom: .5rem; font-size: .95rem; }
.cons h3 { color: #8b1c1c; margin-bottom: .5rem; font-size: .95rem; }
.pros ul, .cons ul { margin: 0; padding-left: 1.2rem; }
.pros li, .cons li { font-size: .88rem; margin-bottom: .3rem; }

/* ── Erase methods ───────────────────────────────── */
.erase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 1rem;
}
.erase-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
}
.erase-card h4 { color: var(--blue-dark); margin-bottom: .4rem; font-size: .92rem; }
.erase-card p { margin: 0; font-size: .875rem; color: var(--muted); }
.erase-badge {
  display: inline-block;
  font-size: .72rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 4px;
  padding: 1px 7px;
  margin-bottom: 6px;
}

/* ── Case studies ────────────────────────────────── */
.cases { display: grid; gap: 12px; margin-bottom: 1rem; }
.case-item {
  border-left: 3px solid var(--blue);
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 0 6px 6px 0;
}
.case-item h4 { margin-bottom: .2rem; font-size: .9rem; color: var(--blue-dark); }
.case-item p { margin: 0; font-size: .875rem; color: var(--muted); }

/* ── Sidebar ─────────────────────────────────────── */
.sidebar .card { position: sticky; top: 20px; }
.dl-sidebar {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 14px;
  transition: background .2s;
}
.dl-sidebar:hover { background: var(--blue-dark); }

.meta-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.meta-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.meta-list li:last-child { border-bottom: 0; }
.meta-label { color: var(--muted); }
.meta-val { font-weight: 600; font-family: 'IBM Plex Mono', monospace; font-size: .8rem; }

.tip-box {
  background: #fffbe6;
  border: 1px solid #f0d060;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: .875rem;
  margin-top: 14px;
}
.tip-box strong { display: block; margin-bottom: 4px; color: #7a5900; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { margin-bottom: 1rem; }
details {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--white);
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .925rem;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: " ＋"; color: var(--blue); float: right; }
details[open] summary::after { content: " －"; }
details p { margin-top: .75rem; margin-bottom: 0; font-size: .9rem; color: var(--muted); }

/* ── Updates list ────────────────────────────────── */
.updates-list { list-style: none; padding: 0; margin: 0; }
.updates-list li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.updates-list li:last-child { border-bottom: 0; }
.updates-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: #1e2a35;
  color: #8ba0b0;
  text-align: center;
  padding: 20px 16px;
  font-size: .82rem;
  margin-top: 20px;
}
.site-footer a { color: #8ba0b0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-langs { margin-top: 8px; line-height: 2; }
.footer-langs a { margin: 0 3px; }
