/* ============================================================
   Lansweeper Engineering blog — shared styles
   Single source of truth for the design system.
   Used by the home page and every post under /posts/<slug>/.
   ============================================================ */

:root {
  --bg:           #ffffff;
  --bg-tint:      #f7f9fc;
  --ink:          #222831;   /* text black from lansweeper.com (body color) */
  --ink-soft:     #393e46;   /* lansweeper.com secondary dark */
  --body:         #545b6b;
  --body-strong:  #222831;   /* article text matches the main site's black */
  --body-dim:     #8b93a3;
  --line:         #d3d9e3;
  --line-soft:    #f0f2f6;
  --orange:       #ff8a00;   /* Lansweeper brand orange (Pizazz) */
  --orange-soft:  #fff3e6;
  --orange-line:  #ffdcb0;
  --green:        #0f8f73;
  --green-soft:   #e6f7f1;
  --green-line:   #b8e6d6;
  --blue-glow:    #eaf0ff;
  --shadow-sm:    0 1px 2px rgba(11, 13, 18, 0.04);
  --shadow-md:    0 6px 24px -8px rgba(11, 13, 18, 0.08), 0 2px 6px -2px rgba(11, 13, 18, 0.04);
  --shadow-lg:    0 24px 60px -20px rgba(11, 13, 18, 0.16), 0 8px 24px -8px rgba(11, 13, 18, 0.08);

  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ambient brand glow, same as the home page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, var(--blue-glow) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 100%, var(--orange-soft) 0%, transparent 62%);
  opacity: 1;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px 48px;
}

/* ---------- Nav ---------- */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .lans { color: var(--ink); }
.wordmark .sweeper { color: var(--orange); }
.wordmark .slash { color: var(--line); font-weight: 300; font-size: 24px; margin: 0 2px; }
.wordmark .eng { color: var(--body); font-weight: 500; font-size: 18px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right a {
  color: var(--body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-right a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }

/* ---------- Post layout ---------- */

.post { max-width: 720px; margin: 0 auto; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}
.back:hover { color: var(--ink); }

/* Post header: back link + category tag on one centered row. As inline-flex
   boxes their own bottom margins skewed the synthesised baseline (the small
   uppercase tag floated high), so wrap them in a flex row and neutralise the
   margins here — the wrapper owns the gap to the title. */
.post-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.post-head .back, .post-head .post-tag { margin-bottom: 0; }

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.post-tag::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}
.post-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 18px;
}
.post-title .ghost { color: var(--body-dim); font-weight: 600; }
.post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--body);
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.post-byline .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #ffb066 100%);
  object-fit: cover;
  flex-shrink: 0;
}
.post-byline .sep { color: var(--line); }

/* ---------- Article body ---------- */

.article p { color: var(--body-strong); font-size: 17px; line-height: 1.75; margin: 0 0 20px; }
.article p.lead-note { font-size: 19px; color: var(--ink-soft); }
.article p strong { color: var(--ink-soft); font-weight: 600; }
.article em { color: var(--ink-soft); font-style: italic; }
.article a { color: var(--orange); text-decoration: none; }
.article a:hover { text-decoration: underline; }

.article h2 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 48px 0 16px;
}

.article ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article ul li { position: relative; padding-left: 26px; color: var(--body-strong); line-height: 1.65; }
.article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}

.article hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

/* "Maintenance log" / console-style card */
.log {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 16px;
}
.log .log-code {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  word-break: break-word;
}
.log p { margin: 0 0 6px; font-size: 15px; line-height: 1.55; }
.log p:last-child { margin-bottom: 0; }
.log .k {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--body-dim);
  margin-right: 9px;
}

/* Highlighted callout (green) */
.article blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-left: 3px solid var(--green);
  border-radius: 14px;
  color: var(--green);
  font-size: 17px;
  line-height: 1.6;
}
.article blockquote strong { color: var(--green); }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { padding-top: 4px; }
.faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq .q { font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.faq .a { color: var(--body); margin: 0; line-height: 1.65; }

/* ---------- Footer ---------- */

footer {
  max-width: 720px;
  margin: 80px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--body-dim);
}
footer .right { font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; }
footer { position: relative; }
.sweepy { position: absolute; left: 0; top: 0; transform: translateY(-100%); height: 60px; width: auto; }
footer a { color: var(--body); text-decoration: none; transition: color 0.2s ease; }
footer a:hover { color: var(--ink); }

/* ---------- Motion ---------- */

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

/* ---------- Responsive ---------- */

@media (max-width: 840px) {
  .page { padding: 20px 22px 32px; }
  nav { margin-bottom: 40px; }
  .nav-right a:not(.nav-cta) { display: none; }
  footer { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 520px) {
  .wordmark .eng, .wordmark .slash { display: none; }
}

/* ============================================================
   Components shared by the home, blog list and category pages
   ============================================================ */

/* Logo (nav) */
.wordmark .logo { height: 36px; width: auto; display: block; }

/* Clickable category tags */
.post-tag a, .post-card-tag a { color: inherit; text-decoration: none; }
.post-tag a:hover, .post-card-tag a:hover { text-decoration: underline; }

/* Post cards (blog list + home latest row) */
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 360px;
  max-width: 520px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--orange-line); }

/* Thumbnail: a small fixed-size square (explicit width AND height, so it can
   never balloon). Omitted entirely by the build when a post has no image. */
.post-card-thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-tint);
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }

/* "Coming soon" slot in the latest row — a quiet tinted placeholder, not a blank card */
.post-card.placeholder {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 0;
  padding: 18px 20px;
  background: var(--bg-tint);
  border: 1px dashed var(--line);
  box-shadow: none;
  cursor: default;
  color: var(--body-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.post-card.placeholder:hover { transform: none; box-shadow: none; }
.ph-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); opacity: .55; flex: 0 0 auto; }
.post-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}
.post-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.post-card-title a { color: inherit; text-decoration: none; }
/* Stretched link: the title's anchor covers the whole card, so the entire card
   is clickable without wrapping it in an <a> (which would nest anchors). */
.post-card-title a::after { content: ""; position: absolute; inset: 0; }
/* Category links sit above the overlay so they stay independently clickable. */
.post-card-tag a { position: relative; z-index: 1; }
.post-card-excerpt { color: var(--body); font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1; }
.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--body-dim);
  margin-top: 4px;
}
.post-card-meta .avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #ffb066 100%);
  object-fit: cover;
  flex-shrink: 0;
}
.post-card-meta .sep { color: var(--line); }

/* Blog list / category page chrome */
.blog-main { max-width: 1040px; margin: 0 auto; }
.blog-header { margin-bottom: 28px; }
.blog-header .back { margin-bottom: 20px; }
.blog-header h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
}
.blog-intro { color: var(--body); font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.cat-link {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.cat-link:hover { border-color: var(--orange); color: var(--orange); }
.cat-link.active { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }
.empty-state { color: var(--body-dim); font-size: 15px; padding: 8px 0 24px; }

/* The blog page footer spans the wider content column */
.blog-main footer { max-width: none; margin-top: 72px; }

/* ---------- Hiring note (quiet outro above the footer) ---------- */

.hiring-note {
  max-width: 720px;
  margin: 72px auto 0;
  text-align: center;
}
.hiring-note a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s ease;
}
.hiring-note .hl { color: var(--ink); font-weight: 600; white-space: nowrap; }
.hiring-note a:hover .hl { color: var(--orange); }
/* The note absorbs most of the footer's usual top gap */
.hiring-note + footer { margin-top: 28px; }

/* ============================================================
   Home page (engineering.lansweeper.com/)
   Bespoke hero, featured "browser preview" card and latest row,
   merged in from the home template's former inline <style>.
   Values that diverge from the post/blog defaults above are
   scoped under `body.home` / `.preview` so they never leak onto
   the post and blog pages, which share this same stylesheet.
   ============================================================ */

/* Home chrome — roomier than the narrow post column */
body.home nav { margin-bottom: 64px; }
body.home .wordmark .logo { height: 46px; }
body.home footer { max-width: none; margin-top: 96px; }
body.home .hiring-note { max-width: none; margin-top: 88px; }

/* ---------- Hero ---------- */
.hero { text-align: center; max-width: 880px; margin: 0 auto; padding-top: 16px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.05s forwards;
}
.pill .pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 12px;
}
.pill .pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-left: 2px; }
.pill .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.35;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 28px;
}
.hero h1 .line { display: block; opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero h1 .line:nth-child(1) { animation-delay: 0.15s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.28s; }
.hero h1 .accent { color: var(--orange); }
.lede {
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--body);
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}
.cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; opacity: 0; animation: fadeUp 0.9s ease 0.6s forwards; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--sans);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-soft); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Preview card (the "what a post looks like" mockup) ---------- */
.preview-wrap { margin: 96px auto 0; max-width: 1040px; opacity: 0; animation: fadeUp 1s ease 0.85s forwards; }
.preview { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fcfdff 0%, #ffffff 100%);
}
.preview-bar .dots { display: inline-flex; gap: 6px; }
.preview-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.preview:not(.preview-sm) .dots span:nth-child(1) { background: #5fd38a; }
.preview:not(.preview-sm) .dots span:nth-child(2) { background: #34c759; }
.preview:not(.preview-sm) .dots span:nth-child(3) { background: #1f9d57; }
.preview-sm .dots span:nth-child(1) { background: #d6dbe4; }
.preview-sm .dots span:nth-child(2) { background: #c2c9d6; }
.preview-sm .dots span:nth-child(3) { background: #aab2c0; }
.preview-bar .url {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--body-dim);
  background: var(--bg-tint);
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  /* Long post URLs must not overflow the card on narrow screens */
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-bar .meta { font-family: var(--mono); font-size: 11px; color: var(--body-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.preview-body { padding: 48px 56px 56px; text-align: left; position: relative; }

/* The preview's article is more compact than a full post page */
.preview .post-title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 18px; }
.preview .post-byline { margin-bottom: 36px; padding-bottom: 0; border-bottom: 0; }
.preview .article p { color: var(--body); font-size: 16px; line-height: 1.72; margin: 0 0 18px; }
.preview .article p.lead-note { font-size: 17px; color: var(--ink-soft); }
.preview .article ul li { color: var(--body); }
.preview .article blockquote { font-size: 16px; }
.read-row { margin-top: 26px; }

/* Skeleton shimmer lines */
.skeleton { display: flex; flex-direction: column; gap: 14px; }
.skel-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--line-soft) 0%, #f6f8fb 50%, var(--line-soft) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.4s ease-in-out infinite;
}
.skel-line.w-90 { width: 90%; }
.skel-line.w-75 { width: 75%; }
.skel-line.w-60 { width: 60%; }
.skel-line.w-40 { width: 40%; }
.skel-line.gap-after { margin-bottom: 18px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Topic chips ---------- */
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; opacity: 0; animation: fadeUp 0.9s ease 1.05s forwards; }
.topics .label {
  width: 100%;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-dim);
  margin-bottom: 16px;
}
.topics .all-link { width: 100%; text-align: center; margin-top: 18px; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Section sub-heading inside the preview article (uses <h3>) */
.article h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; letter-spacing: -0.022em; color: var(--ink); margin: 42px 0 14px; }

/* ---------- Latest posts row ---------- */
.latest { max-width: 1040px; margin: 80px auto 0; }
.latest-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.latest-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.all-link { color: var(--body); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.all-link:hover { color: var(--ink); }
.latest-list { display: flex; flex-wrap: wrap; gap: 24px; }
.preview-sm { flex: 1 1 440px; max-width: 560px; box-shadow: var(--shadow-md); }
.preview-sm .preview-body { padding: 24px 28px 26px; }
.preview-sm .post-title { font-size: 18px; margin-bottom: 12px; }
.preview-sm .post-byline { margin-bottom: 16px; }
.preview-sm .article p.lead-note { font-size: 15px; line-height: 1.6; }
.preview-sm .read-row { margin-top: 18px; }
.preview-sm .btn { padding: 10px 18px; font-size: 14px; }
.preview-soon .preview-body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; min-height: 150px; }
.preview-soon .soon-icon { width: 150px; height: auto; }
.preview-soon .soon-text { margin: 0; color: var(--body-strong); font-weight: 600; font-size: 15px; }

/* ---------- Motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .pill, .hero h1 .line, .lede, .cta-row, .preview-wrap, .topics { opacity: 1; }
}

/* ---------- Home responsive ---------- */
@media (max-width: 840px) {
  body.home nav { margin-bottom: 56px; }
  .preview-body { padding: 32px 28px 36px; }
  .preview-bar .meta { display: none; }
  .preview-wrap { margin-top: 64px; }
}
@media (max-width: 520px) {
  .hero h1 { letter-spacing: -0.03em; }
  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { justify-content: center; width: 100%; }
}
