:root {
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-dim: #059669;
  --navy: #061018;
  --navy-elevated: #0c1a2e;
  --navy-border: rgba(255, 255, 255, 0.08);
  --ink: #e8eef4;
  --ink-muted: #94a3b8;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --header-h: 72px;
  --measure: 38rem;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
strong { color: var(--ink); font-weight: 650; }

/* ─── Header (jak landing) ─── */
.blog-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 16, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
}

.blog-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.blog-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.blog-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  justify-content: flex-end;
}

.blog-nav a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.blog-nav a:hover { color: var(--emerald-bright); }

.blog-lang {
  display: inline-flex;
  border: 1px solid var(--navy-border);
  border-radius: 999px;
  overflow: hidden;
}

.blog-lang a {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-lang a[aria-current="page"] {
  background: var(--emerald);
  color: #fff;
}

/* ─── Page shell ─── */
.blog-main {
  position: relative;
  overflow: clip;
}

.blog-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(72vh, 640px);
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0a1520 0%, var(--navy) 100%);
  z-index: 0;
}

.blog-article {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* ─── Hero: copy + phone ─── */
.blog-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  min-height: min(70vh, 560px);
}

.blog-kicker {
  color: var(--emerald-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.blog-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  max-width: 16ch;
}

.blog-lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  line-height: 1.55;
}

.blog-lead em {
  color: var(--emerald-bright);
  font-style: normal;
  font-weight: 600;
}

.blog-cta-row { margin: 0 0 0.5rem; }

.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dim) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  transition: box-shadow var(--transition), filter var(--transition);
}

.blog-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
}

.blog-figure {
  margin: 0;
  justify-self: center;
  width: min(100%, 300px);
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55));
}

.blog-figure img {
  width: 100%;
  border-radius: 1.35rem;
}

/* ─── Body measure ─── */
.blog-body {
  max-width: var(--measure);
}

.blog-article h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  margin: 2.75rem 0 0.85rem;
  letter-spacing: -0.015em;
}

.blog-body > h2:first-child { margin-top: 0; }

.blog-article h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.45rem;
  color: var(--emerald-bright);
}

.blog-article p,
.blog-article li {
  margin-bottom: 1rem;
  color: #c8d4e0;
  font-size: 1.05rem;
}

.blog-article ul {
  padding-left: 1.15rem;
  margin: 0.5rem 0 1.25rem;
  list-style: disc;
}

.blog-article li::marker { color: var(--emerald); }

.blog-faq {
  margin-top: 3rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--navy-border);
}

.blog-cta-row-end {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--navy-border);
}

.blog-link-secondary {
  color: var(--ink-muted);
  transition: color var(--transition);
}

.blog-link-secondary:hover { color: var(--emerald-bright); }

.blog-footer {
  border-top: 1px solid var(--navy-border);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  background: #050d14;
}

.blog-footer a {
  color: var(--ink-muted);
  transition: color var(--transition);
}

.blog-footer a:hover { color: var(--emerald); }

@media (min-width: 900px) {
  .blog-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 340px);
    gap: 3.5rem;
    padding: 1rem 0 1.5rem;
  }

  .blog-figure {
    width: 100%;
    max-width: 340px;
    justify-self: end;
  }

  .blog-article h1 { max-width: 14ch; }
}

@media (max-width: 899px) {
  .blog-hero {
    min-height: 0;
    text-align: left;
  }

  .blog-article h1 { max-width: none; }

  .blog-figure {
    order: -1;
    width: min(100%, 240px);
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
