/* ==========================================================================
   PACT Containers Blog — blog.pactcontainers.com
   Design tokens and components from design_handoff_blog.
   ========================================================================== */

:root {
  /* Navy */
  --navy: #0b2130;
  --navy-deep: #08161f;
  --navy-card: #123240;

  /* Mint */
  --mint: #2fe38f;
  --mint-text: #83e9bd;
  --mint-deep: #0e9d61;
  --mint-deep-hover: #0b7d4d;
  --mint-tint: rgba(47, 227, 143, 0.15);
  --mint-wash: rgba(47, 227, 143, 0.07);
  --mint-border: rgba(47, 227, 143, 0.28);

  /* Ink & text */
  --ink: #0e2433;
  --ink-nav: #15303f;
  --body-white: #3d5665;
  --muted-white: #5f7885;
  --label-white: #66808d;
  --meta-white: #8397a1;
  --muted-navy: #9db2bc;
  --muted-navy-2: #c3d2d9;
  --dim-navy: #7d95a0;
  --dim-navy-2: #89a0ab;
  --footer-dim: #6d8894;

  /* Surfaces */
  --surface-4: rgba(255, 255, 255, 0.04);
  --surface-5: rgba(255, 255, 255, 0.05);
  --surface-6: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.08);
  --grey-field: #f3f7f8;
  --grey-panel: #f7fafb;
  --grey-pill: #eef2f4;
  --border-light: #e2eaed;
  --border-lighter: #eaf0f1;
  --border-table: #eef2f3;
  --placeholder: #eef3f4;
  --red: #df5b60;
  --red-deep: #c8484d;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(9, 26, 38, 0.05), 0 18px 44px -30px rgba(9, 26, 38, 0.6);
  --shadow-card-hover: 0 1px 2px rgba(9, 26, 38, 0.05), 0 26px 54px -26px rgba(9, 26, 38, 0.8);
  --shadow-header: 0 12px 30px -16px rgba(0, 0, 0, 0.5);
  --shadow-figure: 0 24px 60px -30px rgba(0, 0, 0, 0.85);
  --shadow-mint: 0 12px 26px -12px rgba(47, 227, 143, 0.6);

  --display: "Poppins", system-ui, sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
  --shell: 1240px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--navy);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
input, select, button, textarea { font-family: inherit; }
input::placeholder { color: #9aabb3; }

a { color: var(--mint-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--mint-deep-hover); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ic-mint { stroke: var(--mint); }
.ic-mint-deep { stroke: var(--mint-deep); stroke-width: 2.5; }

.dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #3d5764;
  display: inline-block;
  flex: none;
}

/* --------------------------------------------------------------------------
   Cursor spotlight — the signature effect carried over from the checkout
   pages. Content sits at z-index 1 with opaque backgrounds, so the photo only
   shows through the navy gaps.
   -------------------------------------------------------------------------- */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background:
    linear-gradient(rgba(8, 22, 31, 0.28), rgba(8, 22, 31, 0.28)),
    var(--spotlight-image) center / cover;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), #000 0px, #000 120px, transparent 220px);
  mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), #000 0px, #000 120px, transparent 220px);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.spotlight.is-active { opacity: 1; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  padding: 18px 0 0;
}
.header-inner { max-width: var(--shell); margin: 0 auto; padding: 0 22px; }

.header-bar {
  background: #fff;
  border-radius: 38px;
  box-shadow: var(--shadow-header);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 14px 6px 8px;
  min-height: 66px;
}

.brand { flex: none; display: flex; align-items: center; text-decoration: none; }
.brand-logo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  margin: -22px 14px -22px -8px;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-nav);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--mint-deep); }
.nav-link.is-current {
  color: var(--mint-deep);
  border-bottom: 2px solid var(--mint);
  padding-bottom: 2px;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 6px;
}

.pill-group {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--grey-pill);
  border-radius: 999px;
  padding: 5px;
}
.pill {
  font-size: 13.5px;
  font-weight: 500;
  color: #5f7683;
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.15s;
}
.pill:hover { color: var(--ink-nav); }
.pill.is-active {
  font-weight: 600;
  color: var(--ink-nav);
  padding: 8px 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.pill .ic { stroke-width: 2.2; }

.cart-links { display: flex; align-items: center; gap: 16px; }
.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink-nav);
  transition: color 0.15s;
}
.cart-link:hover { color: var(--mint-deep); }
.cart-count { font-family: var(--display); font-weight: 700; font-size: 13px; }
.cart-glyph { display: flex; flex-direction: column; align-items: center; }
.cart-label { font-size: 9px; font-weight: 700; letter-spacing: 0.04em; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-nav);
  padding: 4px;
}

.mobile-menu {
  background: #fff;
  border-radius: 20px;
  margin-top: 8px;
  padding: 8px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-header);
}
.mobile-menu[hidden] { display: none; }
.mobile-link {
  display: block;
  padding: 12px 4px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-nav);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-pill);
}
.mobile-link:last-child { border-bottom: 0; }
.mobile-link:hover { color: var(--mint-deep); }
.mobile-link.is-current { color: var(--mint-deep); }

.header-rule { height: 2px; background: var(--mint); margin-top: 14px; }

/* --------------------------------------------------------------------------
   Sub bar (index) and breadcrumb (post)
   -------------------------------------------------------------------------- */
.subbar,
.breadcrumb {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}
.subbar-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  flex-wrap: wrap;
}
.subbar-brand { display: flex; align-items: center; gap: 12px; }
.subbar-title { font-family: var(--display); font-weight: 600; font-size: 19px; color: #fff; }
.domain-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint-text);
  background: rgba(47, 227, 143, 0.12);
  border: 1px solid var(--mint-border);
  padding: 4px 10px;
  border-radius: 999px;
}
.trust-items { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dim-navy);
  font-size: 12.5px;
  font-weight: 500;
}

.breadcrumb-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 13px 30px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--dim-navy);
}
.breadcrumb a { color: var(--dim-navy); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint); }
.crumb-sep { stroke: #4a6270; stroke-width: 2.4; }
.crumb-current { color: #a9bcc4; }

/* Reading progress */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--mint);
  z-index: 60;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: filter 0.15s, border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-primary {
  background: var(--mint);
  color: var(--navy-deep);
  box-shadow: var(--shadow-mint);
}
.btn-primary:hover { filter: brightness(1.05); color: var(--navy-deep); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 14px 22px;
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-outline {
  border: 1px solid var(--mint);
  color: var(--mint);
  padding: 10px 20px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14px;
  background: none;
}
.btn-outline:hover { background: rgba(47, 227, 143, 0.12); color: var(--mint); }
.btn-block {
  width: 100%;
  justify-content: center;
  padding: 13px;
  border-radius: 11px;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Main shell
   -------------------------------------------------------------------------- */
.site-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px 18px 56px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 227, 143, 0.12);
  border: 1px solid rgba(47, 227, 143, 0.3);
  color: var(--mint-text);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); display: inline-block; }
.hero-title {
  margin: 16px 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: pretty;
}
.hero-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-navy);
  max-width: 560px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dim-navy-2);
  font-size: 13px;
  font-weight: 500;
}
.hero-media {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
  box-shadow: var(--shadow-figure);
  border: 1px solid var(--hairline);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 46px;
}
.stat {
  background: var(--surface-4);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 18px 20px;
}
.stat-value { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--mint); }
.stat-label { font-size: 13px; color: var(--muted-navy); margin-top: 3px; }

/* List head: title, search, chips */
.list-head { margin-bottom: 26px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; color: #fff; }

.search { position: relative; flex: none; }
.search input {
  width: 264px;
  max-width: 100%;
  background: var(--surface-6);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  padding: 11px 14px 11px 40px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.search input:focus { border-color: var(--mint); background: rgba(255, 255, 255, 0.1); }
.search-icon {
  stroke: var(--dim-navy);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface-5);
  color: var(--muted-navy-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.chip.is-active {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--navy-deep);
  font-family: var(--display);
  font-weight: 600;
}

/* Post grid */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.post-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card[hidden] { display: none; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.post-card-media {
  display: block;
  height: 186px;
  background: var(--placeholder);
  position: relative;
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-cat {
  position: absolute;
  left: 14px; top: 14px;
  background: rgba(8, 22, 31, 0.82);
  color: var(--mint-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
}
.post-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-title {
  margin: 0 0 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: pretty;
}
.post-card-excerpt {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-white);
  text-wrap: pretty;
}
.post-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--meta-white);
  font-weight: 500;
  white-space: nowrap;
}
.post-card-meta .dot { background: #cbd5d9; }
.read-more { margin-left: auto; color: var(--mint-deep); font-weight: 700; font-family: var(--display); }

/* Empty state */
.empty-state {
  background: var(--surface-4);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-bottom: 20px;
}
.empty-state[hidden] { display: none; }
.empty-title { font-family: var(--display); font-weight: 600; font-size: 17px; color: #fff; }
.empty-sub { font-size: 13.5px; color: var(--dim-navy-2); margin-top: 6px; }
.empty-state .btn-outline { margin-top: 16px; }

/* Two column block */
.two-col {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
.start-here {
  background: var(--navy-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px 32px;
}
.card-title { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 23px; color: #fff; }
.card-sub { margin: 0 0 22px; font-size: 14px; line-height: 1.6; color: var(--muted-navy); }
.start-rows { display: flex; flex-direction: column; gap: 12px; }
.start-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-5);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 15px 17px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.start-row:hover { border-color: rgba(47, 227, 143, 0.5); background: var(--mint-wash); }
.start-number { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--mint); flex: none; }
.start-label { font-size: 14.5px; font-weight: 500; color: #fff; flex: 1; }
.start-row .ic { stroke: var(--dim-navy); }

.side-stack { display: flex; flex-direction: column; gap: 20px; }

.newsletter {
  background: #fff;
  border-radius: 18px;
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-card);
}
.newsletter-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--mint-tint);
  color: var(--mint-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.newsletter-title { margin: 0 0 7px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); }
.newsletter-sub { margin: 0 0 18px; font-size: 13.5px; line-height: 1.6; color: var(--muted-white); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form[hidden] { display: none; }
.newsletter-form input {
  width: 100%;
  background: var(--grey-field);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.newsletter-form input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(47, 227, 143, 0.18);
  background: #fff;
}
.form-error { font-size: 12.5px; color: var(--red); }
.form-error[hidden] { display: none; }
.newsletter-done {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(47, 227, 143, 0.1);
  border: 1px solid rgba(47, 227, 143, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.newsletter-done[hidden] { display: none; }

.topics {
  background: var(--surface-4);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 24px 26px;
}
.topics-title { margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: 16px; color: #fff; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic {
  font-size: 12.5px;
  color: var(--muted-navy-2);
  background: var(--surface-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s;
}
.topic:hover { color: var(--navy-deep); background: var(--mint); border-color: var(--mint); }

/* CTA band */
.cta-band {
  margin-top: 46px;
  background: var(--navy-card);
  border: 1px solid rgba(47, 227, 143, 0.22);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
}
.cta-copy { max-width: 560px; }
.cta-title { margin: 0 0 9px; font-family: var(--display); font-weight: 700; font-size: 25px; color: #fff; text-wrap: pretty; }
.cta-sub { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted-navy); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Post page
   -------------------------------------------------------------------------- */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  padding: 24px 18px 56px;
}
.post-article { min-width: 0; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.post-cat-chip {
  background: rgba(47, 227, 143, 0.12);
  border: 1px solid rgba(47, 227, 143, 0.3);
  color: var(--mint-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.post-meta-item { font-size: 13px; color: var(--dim-navy-2); font-weight: 500; }

.post-title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: pretty;
}
.post-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted-navy);
  text-wrap: pretty;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.author-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.author-copy { flex: 1; min-width: 140px; }
.author-name { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: #fff; }
.author-role { font-size: 12.5px; color: var(--dim-navy-2); margin-top: 1px; }
.share-wrap { display: flex; align-items: center; gap: 9px; }
.share-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface-5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-navy-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.share-btn:hover { border-color: var(--mint); color: var(--mint); }
.share-done { font-size: 12.5px; color: var(--mint); font-weight: 600; }
.share-done[hidden] { display: none; }

.post-figure {
  margin: 0 0 12px;
  border-radius: 18px;
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-figure);
}
.post-figure img { width: 100%; height: 100%; object-fit: cover; }
.figure-caption { font-size: 12.5px; color: var(--dim-navy); margin-bottom: 34px; }

/* Article body (white card) */
.post-body {
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.post-body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-white);
  text-wrap: pretty;
}
.post-body h2 {
  margin: 32px 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
  scroll-margin-top: 120px;
}

.toc-box {
  background: var(--grey-panel);
  border: 1px solid var(--border-lighter);
  border-left: 3px solid var(--mint);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
}
.toc-box-title { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 9px; }
.toc-box-links { display: flex; flex-direction: column; gap: 7px; }
.toc-box-links a { font-size: 13.5px; color: var(--mint-deep); text-decoration: none; }
.toc-box-links a:hover { text-decoration: underline; }

.table-scroll { overflow-x: auto; margin: 24px 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 440px; }
.post-body thead tr { background: var(--grey-field); }
.post-body th {
  text-align: left;
  padding: 12px 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--label-white);
  border-bottom: 1px solid var(--border-light);
}
.post-body td { padding: 13px 14px; border-bottom: 1px solid var(--border-table); color: var(--muted-white); }
.post-body tbody tr:last-child td { border-bottom: 0; }
.post-body .cell-strong { color: var(--ink); font-weight: 600; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-row { display: flex; gap: 13px; }
.check-badge {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--mint-tint);
  color: var(--mint-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
}
.check-badge .ic { stroke-width: 3; }
.check-row.is-negative .check-badge { background: rgba(223, 91, 96, 0.12); color: var(--red-deep); }
.check-row.is-negative .check-badge .ic { stroke-width: 2.6; }
.check-text { font-size: 14.5px; line-height: 1.65; color: var(--body-white); }
.check-text b { color: var(--ink); }

.callout {
  background: var(--mint-wash);
  border: 1px solid var(--mint-border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 26px 0;
  display: flex;
  gap: 12px;
}
.callout-icon { color: var(--mint-deep); display: flex; flex: none; margin-top: 2px; }
.callout-title { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 5px; }
.callout-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body-white); }

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 26px;
}
.price-card {
  background: var(--grey-panel);
  border: 1px solid var(--border-lighter);
  border-radius: 12px;
  padding: 17px 19px;
}
.price-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--label-white);
}
.price-value { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); margin-top: 5px; }

.post-cta {
  margin-top: 26px;
  background: var(--navy-card);
  border: 1px solid rgba(47, 227, 143, 0.22);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}
.post-cta .cta-copy { max-width: 520px; }
.post-cta-title { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 21px; color: #fff; text-wrap: pretty; }
.post-cta .cta-sub { font-size: 14px; }
.post-cta .btn { flex: none; }

/* Related */
.related { margin-top: 46px; }
.related-heading { margin: 0 0 20px; font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease;
}
.related-card:hover { transform: translateY(-4px); }
.related-media { display: block; height: 150px; background: var(--placeholder); }
.related-media img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 18px 20px 20px; display: block; }
.related-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 8px;
}
.related-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
}
.related-read { font-size: 12.5px; color: var(--meta-white); font-weight: 500; }

/* Sidebar */
.post-sidebar { display: none; }
.side-card {
  background: var(--surface-4);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px 24px;
}
.side-card-solid { background: var(--navy-card); }
.side-title { font-family: var(--display); font-weight: 600; font-size: 14px; color: #fff; margin-bottom: 14px; }
.side-card-solid .side-title { font-size: 15px; margin-bottom: 7px; }
.side-sub { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--muted-navy); }
.toc-list { display: flex; flex-direction: column; gap: 11px; }
.toc-list a {
  font-size: 13.5px;
  color: var(--muted-navy);
  text-decoration: none;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  padding-left: 12px;
  transition: color 0.15s, border-color 0.15s;
}
.toc-list a:hover,
.toc-list a.is-active { color: var(--mint); border-color: var(--mint); }
.side-card .btn-block { font-size: 14px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.footer-inner { max-width: var(--shell); margin: 0 auto; padding: 44px 30px 26px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 34px 60px; }
.footer-brand { flex: none; }
.footer-brand img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.footer-col { min-width: 180px; }
.footer-title { font-family: var(--display); font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a {
  font-size: 13.5px;
  color: var(--muted-navy);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--mint); }
.footer-contact {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 2px;
}
.footer-contact a { display: flex; align-items: center; gap: 11px; }
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--muted-navy);
  line-height: 1.5;
}
.footer-address .ic { margin-top: 1px; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { font-size: 12.5px; color: var(--dim-navy); text-decoration: none; }
.footer-legal a:hover { color: var(--mint); }
.footer-copy { font-size: 12.5px; color: var(--footer-dim); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--mint); display: flex; }
.footer-social a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound {
  text-align: center;
  padding: 70px 20px 90px;
}
.notfound-code { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--mint); }
.notfound-title {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  color: #fff;
}
.notfound-sub { margin: 0 auto 26px; max-width: 480px; font-size: 15px; line-height: 1.65; color: var(--muted-navy); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* >= 620px — two-up grids */
@media (min-width: 620px) {
  .hero-title { font-size: 34px; }
  .post-title { font-size: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .post-figure { height: 320px; }
}

/* >= 900px — home switches to the wide layout */
@media (min-width: 900px) {
  .site-main { padding: 46px 30px 70px; }
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .hero-title { font-size: 42px; }
  .hero-lead { font-size: 16.5px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1.15fr 0.85fr; }
  .cta-band { padding: 34px 38px; }
}

/* >= 980px — post gains its sticky sidebar */
@media (min-width: 980px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
    padding: 40px 30px 70px;
  }
  .post-sidebar {
    position: sticky;
    top: 110px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .post-title { font-size: 40px; }
  .post-lead { font-size: 17px; }
  .post-figure { height: 420px; }
  .post-body { padding: 38px 42px; }
  .post-body p { font-size: 15.5px; }
  .post-body h2 { font-size: 24px; }
  .post-cta { padding: 38px 42px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* < 1040px — header collapses to the hamburger */
@media (max-width: 1039px) {
  .main-nav,
  .pill-group,
  .cart-links { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 1040px) {
  .mobile-menu { display: none !important; }
}

/* Respect reduced-motion: kill the spotlight and the lift transitions. */
@media (prefers-reduced-motion: reduce) {
  .spotlight { display: none; }
  * { transition: none !important; }
  .post-card:hover,
  .related-card:hover { transform: none; }
}

/* The spotlight is a pointer affordance — pointless (and costly) on touch. */
@media (hover: none) {
  .spotlight { display: none; }
}
