﻿:root {
      --bg: #0c1117;
      --surface: #141b24;
      --border: #243042;
      --text: #e8eef5;
      --muted: #8b9cb3;
      --accent: #3d9cf5;
      --warm: #f59e0b;
      --max: 1120px;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
      font-size: 1.05rem;
    }
    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }
    .wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
    .site-header {
      position: sticky; top: 0; z-index: 20;
      background: rgba(12, 17, 23, 0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav {
      display: flex; align-items: center; justify-content: space-between;
      padding: 0.85rem 0; gap: 1rem; flex-wrap: wrap;
    }
    .logo { flex: 0 0 auto; color: var(--text); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1; text-decoration: none; }
    .logo span { color: var(--accent); }
    .nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; flex: 1 1 auto; flex-wrap: wrap; }
    .nav-links > a,
    .feature-menu > summary { min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; color: var(--muted); font-size: 0.95rem; text-decoration: none; }
    .nav-links > a:hover,
    .feature-menu > summary:hover { color: var(--text); text-decoration: none; }
    .nav-links a.btn-primary { color: #061018; padding-inline: 1.2rem; }
    .nav-links a.btn-primary:hover { color: #061018; }
    .feature-menu { position: relative; }
    .feature-menu > summary { gap: 0.4rem; list-style: none; cursor: pointer; }
    .feature-menu > summary::-webkit-details-marker { display: none; }
    .feature-menu > summary::after { width: 0.42rem; height: 0.42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; transform: rotate(45deg) translateY(-1px); transition: transform 0.15s ease; }
    .feature-menu[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
    .feature-menu-panel { position: absolute; top: calc(100% + 0.6rem); right: 0; width: min(21rem, calc(100vw - 2.5rem)); padding: 0.7rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
    .feature-menu-panel a { display: block; padding: 0.7rem 0.8rem; border-radius: 8px; color: var(--text); font-size: 0.92rem; line-height: 1.25; text-decoration: none; }
    .feature-menu-panel a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); text-decoration: none; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 0.65rem 1.2rem; border-radius: 8px; font-weight: 600;
      font-size: 0.95rem; border: none; cursor: pointer; transition: 0.15s;
    }
    .btn-primary { background: var(--accent); color: #061018; }
    .btn-primary:hover { background: #5eb0ff; text-decoration: none; }
    .hero {
      padding: 4rem 0 3rem;
      background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(61, 156, 245, 0.18), transparent);
      border-bottom: 1px solid var(--border);
    }
    .eyebrow {
      display: inline-block; font-size: 0.8rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.08em; color: var(--warm);
      margin-bottom: 0.75rem;
    }
    h1 {
      font-family: Georgia, "Times New Roman", Times, serif;
      font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.15rem);
      line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.02em;
      max-width: 22ch;
    }
    .lead { color: var(--muted); font-size: 1.1rem; max-width: 42rem; margin: 0; }
    main section { padding: 3.5rem 0; }
    .post-grid {
      display: grid;
      gap: 1.5rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 720px) {
      .post-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 1000px) {
      .post-grid { grid-template-columns: repeat(3, 1fr); }
    }
    .post-card {
      display: flex;
      flex-direction: column;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.6rem;
      transition: 0.15s;
      text-decoration: none;
      color: inherit;
    }
    .post-card:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
      text-decoration: none;
    }
    .post-meta {
      font-size: 0.82rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 0.75rem;
    }
    .post-card h2 {
      font-family: Georgia, "Times New Roman", Times, serif;
      font-weight: 400;
      font-size: 1.6rem;
      line-height: 1.2;
      margin: 0 0 0.85rem;
      letter-spacing: -0.01em;
      color: var(--text);
    }
    .post-card p {
      color: var(--muted);
      margin: 0 0 1.25rem;
      flex-grow: 1;
    }
    .post-card .read-more {
      color: var(--accent);
      font-weight: 600;
      font-size: 0.95rem;
    }
    .empty-note {
      color: var(--muted);
      font-style: italic;
    }
    .cta-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 2rem;
      margin-top: 3rem;
      text-align: center;
    }
    .cta-card h2 {
      margin: 0 0 0.9rem;
      font-size: 1.4rem;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      font-weight: 700;
    }
    .cta-card p {
      margin: 0 auto 1.5rem;
      color: var(--muted);
      max-width: 38rem;
    }
    .site-footer {
      margin-top: 3rem;
      background: var(--bg);
      border-top: 1px solid var(--border);
      color: var(--muted);
    }
    .footer-inner {
      padding-top: 3.5rem;
      padding-bottom: 3.25rem;
      font-size: 0.95rem;
    }
    .footer-columns {
      display: grid;
      gap: 2rem;
    }
    .footer-column {
      display: grid;
      gap: 0.62rem;
      align-content: start;
    }
    .footer-column h2 {
      margin: 0 0 0.25rem;
      color: var(--text);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
    }
    .footer-column a {
      color: var(--muted);
      font-size: 0.94rem;
      line-height: 1.35;
    }
    .footer-column a:hover {
      color: var(--text);
      text-decoration: none;
    }
    .footer-bottom {
      margin: 1.5rem 0 0;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--muted);
      font-size: 0.92rem;
    }
    @media (min-width: 760px) {
      .footer-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    @media (max-width: 640px) {
      body { font-size: 1.15rem; line-height: 1.7; }
      .nav { align-items: flex-start; }
      .nav-links { width: 100%; justify-content: flex-start; gap: 0.8rem 1rem; }
      .nav-demo-link { display: none; }
      .feature-menu-panel { left: 0; right: auto; }
      .lead { font-size: 1.08rem; }
      .post-card p,
      .cta-card p,
      .footer-inner { font-size: 1.05rem; }
    }

.text-center {
  text-align: center;
}
