:root {
  --blog-ink: #0f172a;
  --blog-copy: #344054;
  --blog-muted: #667085;
  --blog-line: #dbe4ee;
  --blog-soft: #f6f9ff;
  --blog-blue: #1d4ed8;
  --blog-orange: #c2410c;
  --blog-orange-bright: #f97316;
  --blog-white: #ffffff;
}

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

body {
  background: var(--blog-white);
  color: var(--blog-ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--blog-ink);
  color: var(--blog-white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(219, 228, 238, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #0a0a0a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.logo span {
  color: var(--blog-orange-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: #475467;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link[aria-current='page'] {
  color: var(--blog-blue);
}

.nav .cta {
  padding: 9px 16px;
  border-radius: 9px;
  background: var(--blog-orange);
  color: var(--blog-white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nav-link:focus-visible,
.nav .cta:focus-visible,
.post-card:focus-visible,
.blog-tool-link:focus-visible,
.footer a:focus-visible {
  border-radius: 8px;
  outline: 3px solid #9a3412;
  outline-offset: 4px;
}

.blog-main {
  overflow: hidden;
}

.blog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(44px, 7vw, 100px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 72px;
  align-items: center;
}

.blog-hero::before {
  position: absolute;
  top: 18px;
  right: -260px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.1), rgba(29, 78, 216, 0) 68%);
  content: '';
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blog-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--blog-orange-bright);
  content: '';
}

.blog-hero h1 {
  max-width: 680px;
  color: var(--blog-ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.blog-hero .sub {
  max-width: 650px;
  margin-top: 24px;
  color: var(--blog-copy);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}

.hero-note {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blog-orange-bright);
  content: '';
}

.dispatch-route {
  position: relative;
  z-index: 1;
  border: 1px solid var(--blog-line);
  border-radius: 22px;
  padding: 26px;
  background: var(--blog-white);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

.dispatch-route-header {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dispatch-route-header strong {
  color: var(--blog-orange);
}

.dispatch-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  min-height: 64px;
  border-top: 1px solid var(--blog-line);
  align-items: center;
}

.dispatch-step:first-of-type {
  border-top: 0;
}

.dispatch-step-number {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blog-blue);
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.dispatch-step strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
}

.dispatch-step small {
  color: var(--blog-muted);
  font-size: 12px;
}

.dispatch-status {
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
}

.blog-index-shell {
  border-top: 1px solid var(--blog-line);
  background:
    linear-gradient(180deg, var(--blog-soft), rgba(246, 249, 255, 0.18) 78%, var(--blog-white));
}

.blog-article-index {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.index-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.index-heading h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.index-count {
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 700;
}

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 24px;
}

.post-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 22px;
  background: var(--blog-white);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.post-card:hover {
  border-color: #b8c9dc;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.post-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.post-media {
  display: grid;
  min-height: 270px;
  overflow: hidden;
  padding: clamp(20px, 4vw, 38px);
  background:
    radial-gradient(circle at 88% 14%, rgba(249, 115, 22, 0.14), transparent 28%),
    #edf3fb;
  place-items: center;
}

.post-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.post-illustration {
  width: min(100%, 470px);
  border: 1px solid #d5dfeb;
  border-radius: 17px;
  padding: 18px;
  background: var(--blog-white);
  box-shadow: 6px 8px 0 rgba(148, 163, 184, 0.18);
}

.post-illustration-title {
  display: block;
  margin-bottom: 10px;
  color: var(--blog-ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.post-illustration-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  min-height: 48px;
  border-top: 1px solid var(--blog-line);
  align-items: center;
}

.post-illustration-row > span:last-child {
  min-width: 0;
}

.post-illustration-row strong,
.post-illustration-row small {
  display: block;
}

.post-illustration-row strong {
  overflow: hidden;
  color: var(--blog-ink);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-illustration-row small {
  margin-top: 2px;
  color: var(--blog-muted);
  font-size: 10px;
}

.post-illustration-badge {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  place-items: center;
}

.post-illustration-badge.is-error {
  background: #fee2e2;
  color: #dc2626;
}

.post-illustration-badge.is-ok {
  background: #d1fae5;
  color: #047857;
}

.post-illustration-total {
  display: flex;
  margin-top: 8px;
  border-top: 1px solid var(--blog-line);
  padding-top: 12px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.post-illustration-total span {
  color: var(--blog-muted);
  font-size: 10px;
  font-weight: 700;
}

.post-illustration-total strong {
  color: var(--blog-orange-bright);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  white-space: nowrap;
}

.post-card-compact {
  flex-direction: column;
}

.post-copy {
  display: flex;
  padding: clamp(24px, 3vw, 36px);
  flex-direction: column;
  align-items: flex-start;
}

.post-data {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blog-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-topic {
  color: var(--blog-blue);
}

.post-card h2 {
  color: var(--blog-ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.post-card-compact h2 {
  font-size: clamp(22px, 2.2vw, 28px);
}

.post-card p {
  margin-top: 14px;
  color: var(--blog-copy);
  font-size: 15px;
}

.post-action {
  display: inline-flex;
  margin-top: auto;
  padding-top: 24px;
  align-items: center;
  gap: 9px;
  color: var(--blog-orange);
  font-size: 13px;
  font-weight: 800;
}

.post-action::after {
  content: '→';
  font-size: 18px;
  transition: transform 180ms ease;
}

.post-card:hover .post-action::after {
  transform: translateX(4px);
}

.blog-tool {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  margin-top: 28px;
  border-radius: 20px;
  padding: 28px 32px;
  background: var(--blog-ink);
  color: var(--blog-white);
  align-items: center;
}

.blog-tool h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
}

.blog-tool p {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 14px;
}

.blog-tool-link {
  white-space: nowrap;
  border-radius: 10px;
  padding: 12px 18px;
  background: var(--blog-orange);
  color: var(--blog-white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.footer {
  border-top: 1px solid var(--blog-line);
  padding: 28px 24px;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

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

@media (max-width: 980px) {
  .blog-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 62px;
  }

  .dispatch-route {
    max-width: 680px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-card-featured {
    display: flex;
    grid-column: auto;
    flex-direction: column;
  }

}

@media (max-width: 680px) {
  .nav-inner,
  .blog-hero,
  .blog-article-index {
    width: min(100% - 32px, 1180px);
  }

  .nav-actions {
    gap: 13px;
  }

  .nav-packing-link {
    display: none;
  }

  .blog-hero {
    padding: 48px 0 48px;
  }

  .blog-hero h1 {
    font-size: clamp(48px, 18vw, 68px);
  }

  .hero-note {
    flex-direction: column;
    gap: 7px;
  }

  .dispatch-route {
    padding: 20px;
  }

  .dispatch-step {
    grid-template-columns: 32px 1fr;
  }

  .dispatch-status {
    grid-column: 2;
    margin-top: -14px;
  }

  .blog-article-index {
    padding: 48px 0 72px;
  }

  .index-heading {
    display: block;
  }

  .index-count {
    display: block;
    margin-top: 8px;
  }

  .post-card h2,
  .post-card-compact h2 {
    font-size: 24px;
  }

  .blog-tool {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .blog-tool-link {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card,
  .post-action::after {
    transition: none;
  }
}
