/* ============================================================
   greplica — landing page
   Design: Entire / opencode inspired (clean, mono accents)
   ============================================================ */

:root {
  --bg: #f6f5f2;          /* opencode warm off-white */
  --bg-soft: #efeee9;     /* footer / subtle surfaces */
  --bg-terminal: #0d0d0f;
  --frame: 540px;         /* half of content column width (1080) */
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b7280;
  --muted-soft: #9ca3af;
  --line: #ececec;
  --line-strong: #e0e0e0;
  --accent: #d97706;
  --accent-soft: #fff7ed;
  --accent-line: #fde6c8;
  --green: #16a34a;
  --code: #111827;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1080px;
  --ticker-gap: 4rem;
  --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--mono);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

body > main {
  flex: 1;
}

/* opencode-style framed column: full-height vertical rules + top bar */
@media (min-width: 1140px) {
  :root {
    --frame-x: calc(50% - var(--frame));
    --frame-w: calc(var(--frame) * 2);
  }

  html::before,
  html::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line-strong);
    z-index: 60;
    pointer-events: none;
  }

  html::before { left: var(--frame-x); }
  html::after { left: calc(var(--frame-x) + var(--frame-w)); }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: var(--frame-x);
    width: var(--frame-w);
    height: 1px;
    background: var(--line-strong);
    z-index: 60;
    pointer-events: none;
  }

  body {
    background-image: none;
  }
}

/* legacy body bg lines removed — replaced by html/body pseudo frame above */

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}

@media (min-width: 1140px) {
  .nav::after {
    content: "";
    position: absolute;
    left: var(--frame-x);
    width: var(--frame-w);
    bottom: 0;
    height: 1px;
    background: var(--line-strong);
    pointer-events: none;
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding-left: 5rem;
  padding-right: 5rem;
  position: relative;
}

.nav-bar {
  display: contents;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: 2.4rem;
  /* PNG ships with a white background; multiply blends it into the
     site's --bg (#f6f5f2) so the box disappears and only the black
     letterforms remain. */
  mix-blend-mode: multiply;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle-bar {
  display: block;
  width: 14px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: opacity 0.15s ease;
}

.nav-menu a:hover { opacity: 0.65; }
.nav-menu a svg { height: 16px; width: auto; opacity: 0.85; }

.nav-menu-github {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 9px;
  opacity: 1 !important;
}

.nav-menu-github:hover {
  background: #222;
  opacity: 1 !important;
}

.nav-menu-github svg { opacity: 1; }

/* legacy alias */
.nav-links { display: contents; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); }

/* ---------------- Hero ---------------- */
.hero {
  text-align: center;
  /* vertical only — keep .wrap's horizontal padding so content isn't flush
     against the screen edges on mobile */
  padding-block: 5.5rem 3rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: #92400e;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.pill .chev { color: var(--accent); opacity: 0.7; }

.hero h1 {
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

/* Keep "All your engineering <rotating word>" together on the first line.
   Only on wider screens — below this the line is allowed to wrap so it
   never overflows narrow viewports. */
@media (min-width: 620px) {
  .hero-line { white-space: nowrap; }
}

.hero-rotate {
  display: inline-block;
  min-width: 11ch;
  color: #f25533;
  text-align: left;
}

@media (max-width: 619px) {
  .hero-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    margin-bottom: 0.28rem;
  }

  .hero-rotate {
    display: block;
    min-width: 0;
    text-align: center;
    margin: 0;
  }

  .hero h1 br {
    display: none;
  }
}

.hero .sub {
  margin: 1.5rem auto 0;
  max-width: 62ch;
  color: var(--muted);
  font-family: "Inter", var(--sans);
  font-size: 1.02rem;
  text-wrap: balance;
}

/* ---------------- Copy button ---------------- */
.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover { background: var(--bg-soft); color: var(--ink); }
.copy-btn.copied { color: var(--green); border-color: #bbf7d0; background: #f0fdf4; }
.copy-btn.copy-failed { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.copy-btn svg { width: 16px; height: 16px; }

/* ---------------- Quick Start terminal box ---------------- */
.quickstart {
  max-width: 700px;
  margin: 2.25rem auto 0;
  text-align: left;
}

.qs-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.qs-chev { color: var(--accent); }

.termbox {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 12px 28px -16px rgba(0,0,0,0.12);
  overflow: hidden;
}

.termbox-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.termbox-bar .tdot { width: 11px; height: 11px; border-radius: 50%; }

.termbox-tabs {
  display: flex;
  gap: 0.3rem;
  margin-left: 0.85rem;
}
.qs-tab {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  background: none;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.qs-tab:hover { color: var(--ink); }
.qs-tab.active {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}

.termbox-body {
  position: relative;
  padding: 1.1rem 1.2rem 1.3rem;
}
.termbox-body.is-expandable { cursor: pointer; }

.qs-copy {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
}

.qs-comment {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
  opacity: 0.65;
  margin-bottom: 0.85rem;
  padding-right: 2.5rem;
}

.qs-panel {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--code);
  white-space: pre-wrap;
  word-break: break-word;
}
.qs-panel[data-panel="oneshot"] { position: relative; }
.qs-panel[hidden] { display: none; }

.qs-text {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--code);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 5.4em;          /* collapsed: through "First install the CLI:" */
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.qs-panel.expanded .qs-text {
  max-height: 360px;
  overflow: auto;
  padding-right: 0.5rem;
}

.qs-toggle {
  display: inline-block;
  margin-top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.qs-caption {
  margin: 1rem auto 0;
  max-width: 66ch;
  text-align: center;
  font-family: "Inter", var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------------- Trusted-by ticker ---------------- */

.trusted-by {
  max-width: 700px;
  margin: 4rem auto 0;
  text-align: left;
}

.trusted-ticker {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.trusted-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerSlide 48s linear infinite;
  will-change: transform;
}

.trusted-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: var(--ticker-gap);
  /* Match internal gap so translateX(-50%) loops seamlessly */
  margin-right: var(--ticker-gap);
  padding: 0.75rem 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 24px;
}

.logo-item img {
  display: block;
  height: 20px;
  width: auto;
  max-width: none;
  opacity: 0.68;
  object-fit: contain;
}

@keyframes tickerSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trusted-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: var(--ticker-gap);
    padding: 0.75rem 0;
  }

  .trusted-set {
    margin-right: 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: var(--ticker-gap);
  }

  .trusted-set[aria-hidden="true"] {
    display: none;
  }
}

/* ---------------- Terminal showcase wrapper ---------------- */
.showcase {
  margin: 5.5rem auto 0;
  max-width: 940px;
  min-height: 28rem;
  perspective: 1600px;
}

/* .tdot* are still used by the Quick Start install boxes */
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot.r { background: #ff5f57; }
.tdot.y { background: #febc2e; }
.tdot.g { background: #28c840; }

/* ---------------- Features ---------------- */
.features {
  padding-block: 5rem 2rem;
  border-top: 1px solid var(--line);
  font-family: "Inter", var(--sans);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
  padding-inline: 0.65rem;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature .ic {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.feature .ic svg {
  width: 18px;
  height: 18px;
  display: block;
}
.feature h3 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature p {
  font-family: inherit;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.feature p code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--code);
}

/* ---------------- CTA + Footer (Entire style) ---------------- */
.cta {
  text-align: center;
  padding-block: 5rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cta p {
  margin: 0.85rem auto 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.98rem;
  text-wrap: balance;
}
.cta .quickstart { margin-top: 2rem; }

.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-meta { font-size: 0.82rem; color: var(--muted); }
.footer-meta p { margin: 0.15rem 0; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.status .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
  padding: 0.28rem 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #f25533; }

/* ---------------- Blog ---------------- */
.blog-page {
  max-width: min(720px, 100%);
  width: 100%;
  padding: 3.5rem 1.5rem 4.5rem;
  font-family: var(--sans);
  min-width: 0;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.blog-post {
  max-width: 100%;
  min-width: 0;
}

.blog-header {
  margin-bottom: 2.5rem;
}

.blog-header h1 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-entry {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-entry:first-child {
  border-top: 1px solid var(--line);
}

.blog-entry-date {
  display: block;
  font-size: 0.82rem;
  color: var(--muted-soft);
  margin-bottom: 0.55rem;
}

.blog-entry-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.blog-entry-title a {
  color: var(--ink);
  transition: color 0.15s ease;
}

.blog-entry-title a:hover { color: #f25533; }

.blog-entry-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  max-width: 62ch;
}

.blog-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.blog-back {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  transition: color 0.15s ease;
}

.blog-back:hover { color: var(--ink); }

.blog-post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.blog-post-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  overflow-wrap: break-word;
}

.blog-post-meta {
  font-size: 0.88rem;
  color: var(--muted-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.blog-post-meta .blog-tag {
  margin-left: 0.15rem;
}

.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  min-width: 0;
  overflow-wrap: break-word;
}

.prose > * + * { margin-top: 1.15rem; }

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 2rem;
  overflow-wrap: break-word;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.5rem;
  overflow-wrap: break-word;
}

.prose p { max-width: 68ch; }

.prose p,
.prose li {
  overflow-wrap: break-word;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover { opacity: 0.8; }

.prose ul,
.prose ol {
  padding-left: 1.35rem;
  max-width: 68ch;
}

.prose li + li { margin-top: 0.35rem; }

.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.12rem 0.35rem;
  overflow-wrap: anywhere;
}

.prose pre {
  background: var(--bg-terminal);
  color: #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.55;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  white-space: pre;
  overflow-wrap: normal;
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
}

.prose img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.prose blockquote {
  border-left: 3px solid var(--accent-line);
  padding-left: 1rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-brand { grid-column: 1 / -1; }

  .nav {
    border-top: 1px solid var(--line-strong);
  }

  .nav-inner {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 76px;
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--line-strong);
    box-sizing: border-box;
  }

  .brand-wordmark { height: 2.15rem; }

  .nav-toggle { display: inline-flex; margin-left: 0; }

  .nav-menu {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1.25rem 1rem;
    background: var(--bg);
    border-bottom: none;
    box-sizing: border-box;
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    opacity: 1;
  }

  .nav-menu a:last-child { border-bottom: none; }

  .nav-menu-github {
    background: transparent !important;
    color: var(--ink) !important;
    padding: 0.9rem 0;
    border-radius: 0;
  }

  .nav-menu-github:hover {
    background: transparent !important;
    opacity: 0.65 !important;
  }

  body.nav-open { overflow: hidden; }

  .blog-page {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .blog-entry-title {
    font-size: 1.2rem;
    overflow-wrap: break-word;
  }

  .prose p,
  .prose ul,
  .prose ol {
    max-width: 100%;
  }

  .prose pre {
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .prose pre code {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 560px) {
  .hero { padding-block: 3.5rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-bar { padding: 0 1rem; }
  .nav-menu { padding-left: 1rem; padding-right: 1rem; }

  .blog-page {
    padding: 2rem 1rem 3rem;
  }

  .blog-header h1 {
    font-size: 1.75rem;
  }

  .blog-post-header h1 {
    font-size: 1.5rem;
  }

  .prose h2 { font-size: 1.2rem; }
  .prose h3 { font-size: 1.05rem; }
}
