/* ===== CSS Custom Properties ===== */
:root {
  --bg: #0e0e0e;
  --bg-card: #161616;
  --bg-raised: #1f1f1f;
  --accent: #F5C94D;
  --accent-dim: #c49c2e;
  --text: #f0ede6;
  --text-muted: #888;
  --border: #2a2a2a;
  --radius: 10px;
  --radius-lg: 16px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-dim);
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-brand:hover {
  color: var(--text);
}

.nav-logo {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-github {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  transition: border-color 0.2s, background 0.2s !important;
}

.nav-github:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: var(--bg-card) !important;
}

.nav-github svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
  margin-left: auto;
}

.nav-toggle svg {
  display: block;
}

/* ===== Hero ===== */
.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s,
    opacity 0.2s,
    transform 0.2s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0e0e0e;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: #0e0e0e;
}

.btn-secondary {
  background: var(--bg-raised);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-card);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-source {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-sourceforge {
  display: inline-block;
  margin: 0.1rem auto 1rem;
}

.hero-sourceforge img {
  display: block;
  width: min(276px, 100%);
  height: auto;
}

.hero-source a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
}

.hero-source a:hover {
  color: var(--text);
}

.hero-version {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 1.25rem;
}

.hero-version span {
  color: var(--accent);
  font-weight: 700;
}

/* ===== Demo ===== */
.demo {
  padding: 0 0 clamp(3rem, 8vw, 6rem);
}

.demo-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  max-width: 900px;
  margin: 0 auto;
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dot-close { background: #ff5f57; }
.demo-dot-min   { background: #febc2e; }
.demo-dot-max   { background: #28c840; }

.demo-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.demo-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #111;
}

/* ===== Section Headings ===== */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 600px;
}

/* ===== Story ===== */
.story {
  border-top: 1px solid var(--border);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.story-col p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.story-col p:last-child {
  margin-bottom: 0;
}

/* ===== Blog Preview ===== */
.blog-preview {
  border-top: 1px solid var(--border);
}

.blog-preview-header,
.blog-index-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.blog-preview-header .section-body,
.blog-index-header .section-body {
  max-width: none;
}

.blog-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 100%;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    transform 0.2s;
}

.article-card:hover {
  border-color: var(--accent);
  background: #181818;
  transform: translateY(-2px);
}

.article-card-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-card h2 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.article-card h2 a {
  color: var(--text);
}

.article-card h2 a:hover {
  color: var(--accent);
}

.article-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.tag-list li {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(245, 201, 77, 0.08);
  color: var(--text);
  font-size: 0.75rem;
}

/* ===== Features ===== */
.features {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.features-header .section-body {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(245, 201, 77, 0.1);
  border-radius: 10px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Security Callout ===== */
.security {
  border-top: 1px solid var(--border);
}

.security-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.security-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(245, 201, 77, 0.1);
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.security-icon svg {
  width: 26px;
  height: 26px;
}

.security-content .section-title {
  margin-bottom: 0.75rem;
}

.security-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.security-content p:last-child {
  margin-bottom: 0;
}

/* ===== Facts + FAQ ===== */
.facts {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.facts-header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.facts-header .section-body {
  margin: 0 auto;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.fact-label {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.fact-value {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 0.7rem;
}

/* ===== Release Status ===== */
.release-status {
  border-top: 1px solid var(--border);
}

.release-status-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.release-status .section-body {
  margin: 0 auto 0.9rem;
}

.release-status .section-body:last-child {
  margin-bottom: 0;
}

.release-status strong {
  color: var(--accent);
}

.release-status time {
  color: var(--text);
}

/* ===== Platforms ===== */
.platforms {
  border-top: 1px solid var(--border);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.platform-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.platform-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.platform-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.platform-card code {
  display: inline-block;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05em 0.4em;
  font-size: 0.8em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  color: var(--accent);
  word-break: break-all;
}

/* ===== Social ===== */
.social {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.social .section-title,
.social .section-label {
  text-align: center;
}

.social .section-body {
  margin: 0 auto 2rem;
  text-align: center;
}

.social-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s,
    opacity 0.2s,
    transform 0.2s;
}

.badge-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg);
}

.badge-btn-disabled {
  cursor: default;
  opacity: 0.7;
}

.badge-btn-disabled:hover {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg-raised);
}

.badge-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.badge-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Contact / About ===== */
.about {
  border-top: 1px solid var(--border);
}

.author-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 560px;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.author-avatar svg {
  width: 32px;
  height: 32px;
}

.author-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s,
    opacity 0.2s,
    transform 0.2s;
}

.author-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.author-link svg {
  width: 13px;
  height: 13px;
}

/* ===== Blog Pages ===== */
.blog-shell {
  min-height: calc(100vh - 60px);
}

.blog-hero,
.blog-post-hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2rem, 7vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.blog-index {
  padding-top: clamp(3rem, 8vw, 5rem);
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.post-header {
  max-width: 760px;
}

.post-header h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.blog-post-body {
  padding-top: clamp(2.5rem, 7vw, 4rem);
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 2rem;
  align-items: start;
}

.blog-post,
.blog-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.blog-post {
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
}

.prose {
  color: var(--text-muted);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--text);
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.prose h2 {
  font-size: 1.55rem;
}

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

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin: 1rem 0;
  line-height: 1.8;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

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

.prose a {
  text-decoration: underline;
  text-decoration-color: var(--border);
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--text);
}

.prose code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.92em;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.08rem 0.35rem;
  color: var(--text);
}

.prose pre {
  overflow-x: auto;
  background: #111;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.prose pre code {
  border: 0;
  background: transparent;
  padding: 0;
}

.blog-sidebar {
  display: grid;
  gap: 1rem;
}

.blog-sidebar-card {
  padding: 1.25rem;
}

.blog-sidebar-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.blog-sidebar-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.related-list {
  display: grid;
  gap: 0.75rem;
}

.related-link {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}

.related-link:hover {
  border-color: var(--accent);
  color: var(--text);
}

.related-link span {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-logo {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.footer-sep {
  color: var(--border);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

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

.footer-right a:hover {
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: sticky;
  }

  .story-grid,
  .blog-preview-header,
  .blog-index-header {
    grid-template-columns: 1fr;
  }

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

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

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

  .security-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .author-card {
    flex-direction: column;
  }

  .post-meta,
  .blog-preview-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
