    :root {
      --bg: #070b14;
      --bg-alt: #0d1422;
      --accent: #48cfff;
      --accent-soft: rgba(72, 207, 255, 0.15);
      --accent-2: #54e54a;
      --text-main: #f5f7ff;
      --text-muted: #9ca3c4;
      --border-subtle: rgba(255, 255, 255, 0.06);
      --radius-lg: 18px;
      --radius-xl: 26px;
      --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
      --max-width: 1080px;
    }

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

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
      background: radial-gradient(circle at top, #141b2f 0, #050812 55%, #020308 100%);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

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

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

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .wrapper {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    /* HEADER / NAV */

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(18px);
      background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.9),
        rgba(2, 6, 23, 0.65),
        transparent
      );
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 0;
      gap: 1.25rem;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.03em;
    }

    .nav-logo {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow:
        0 0 12px rgba(72, 207, 255, 0.7),
        0 0 24px rgba(84, 229, 74, 0.6);
    }
    
    .nav-logo img {
      display: block;
      width: 100%;
      height: 100%;
    }

    .nav-meta {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .nav-meta-title {
      font-size: 0.88rem;
    }

    .nav-meta-sub {
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    .nav-group {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.1rem;
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .nav-links a {
      position: relative;
      padding-bottom: 0.2rem;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--accent-2));
      border-radius: 999px;
      transition: width 0.18s ease-out;
    }

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

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-lang {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .nav-lang a {
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
      border: 1px solid transparent;
    }

    .nav-lang a.active {
      border-color: rgba(148, 163, 184, 0.6);
      color: var(--text-main);
      background: rgba(15, 23, 42, 0.8);
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.82rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 0.82rem;
      font-weight: 500;
      cursor: pointer;
      transition:
        background 0.18s ease-out,
        border-color 0.18s ease-out,
        transform 0.12s ease-out,
        box-shadow 0.12s ease-out;
      white-space: nowrap;
      background: transparent;
      color: var(--text-main);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      border-color: transparent;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
    }

    .btn-outline {
      border-color: rgba(255, 255, 255, 0.18);
      background: rgba(15, 23, 42, 0.7);
    }

    .btn-outline:hover {
      border-color: var(--accent);
      background: rgba(15, 23, 42, 0.9);
    }

    .nav-toggle {
      display: none;
      border: none;
      background: transparent;
      color: var(--text-main);
      font-size: 1.35rem;
      cursor: pointer;
    }

    @media (max-width: 900px) {
      .nav-cta {
        display: none;
      }
      .nav-group {
        display: none;
      }
      .nav-toggle {
        display: block;
      }
    }

    /* HERO */

    .hero {
      padding: 3.2rem 0 1.8rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.1fr);
      gap: 2.2rem;
      align-items: center;
    }

    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
    }

    .hero-kicker {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }

    .hero-title {
      font-size: clamp(2.05rem, 3vw + 1.1rem, 2.7rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 0.7rem;
    }

    .hero-title span {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-text {
      color: var(--text-muted);
      font-size: 0.98rem;
      max-width: 34rem;
      margin-bottom: 1rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-bottom: 0.9rem;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    .hero-card {
      border-radius: var(--radius-xl);
      padding: 1.15rem 1.25rem;
      background:
        radial-gradient(circle at top left, rgba(72, 207, 255, 0.14), transparent 55%),
        radial-gradient(circle at bottom right, rgba(84, 229, 74, 0.12), transparent 55%),
        rgba(5, 10, 25, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: -40%;
      background:
        radial-gradient(circle at 20% 0, rgba(72, 207, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(84, 229, 74, 0.09), transparent 40%);
      opacity: 0.7;
      pointer-events: none;
    }

    .hero-card-inner {
      position: relative;
      z-index: 1;
    }

    .hero-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.75rem;
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(148, 163, 184, 0.4);
      margin-bottom: 0.75rem;
    }

    .hero-pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--accent-2);
      box-shadow: 0 0 10px rgba(84, 229, 74, 0.9);
    }

    .hero-card-title {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.35rem;
    }

    .hero-card-text {
      color: var(--text-muted);
      font-size: 0.85rem;
      margin-bottom: 0.65rem;
    }

    .hero-card-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      font-size: 0.8rem;
    }

    .hero-link {
      padding: 0.18rem 0.6rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      background: rgba(15, 23, 42, 0.9);
      color: var(--accent);
    }

    /* MAIN */

    main {
      flex: 1;
      padding-bottom: 3rem;
    }

    .main-grid {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
      gap: 2.1rem;
    }

    @media (max-width: 900px) {
      .main-grid {
        grid-template-columns: 1fr;
      }
    }

    .section-title {
      font-size: 1.08rem;
      font-weight: 600;
      margin-bottom: 0.7rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .section-title small {
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 400;
    }

    /* Search & filters */

    .toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      align-items: center;
      margin-bottom: 0.9rem;
    }

    .search {
      flex: 1;
      min-width: 190px;
      position: relative;
    }

    .search input {
      width: 100%;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      padding: 0.4rem 0.9rem 0.4rem 2.1rem;
      background: rgba(15, 23, 42, 0.9);
      color: var(--text-main);
      font-size: 0.85rem;
    }

    .search input::placeholder {
      color: rgba(148, 163, 184, 0.7);
    }

    .search-icon {
      position: absolute;
      left: 0.7rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 0.9rem;
      color: rgba(148, 163, 184, 0.9);
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
    }

    .tag {
      padding: 0.18rem 0.6rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      font-size: 0.75rem;
      color: var(--text-muted);
      background: rgba(15, 23, 42, 0.8);
      cursor: pointer;
      transition:
        border-color 0.12s ease-out,
        background 0.12s ease-out,
        color 0.12s ease-out;
    }

    .tag.active,
    .tag:hover {
      border-color: var(--accent);
      color: var(--text-main);
      background: rgba(15, 23, 42, 0.98);
    }

    /* POST LIST */

    .post-list {
      display: flex;
      flex-direction: column;
      gap: 1.05rem;
    }

    .post-card {
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
      gap: 1rem;
      border-radius: var(--radius-lg);
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid var(--border-subtle);
      padding: 0.95rem;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
      transition:
        transform 0.12s ease-out,
        box-shadow 0.12s ease-out,
        border-color 0.12s ease-out,
        background 0.12s ease-out;
      cursor: pointer;
    }

    .post-card:hover {
      transform: translateY(-2px);
      border-color: rgba(72, 207, 255, 0.65);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
      background: radial-gradient(circle at top, rgba(72, 207, 255, 0.09), transparent 55%), rgba(15, 23, 42, 0.96);
    }

    .post-body {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .post-title {
      font-size: 1rem;
      font-weight: 600;
    }

    .post-excerpt {
      font-size: 0.86rem;
      color: var(--text-muted);
    }

    .post-footer {
      margin-top: 0.4rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .post-read {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      color: var(--accent);
      font-size: 0.8rem;
    }

    .post-image img {
      width: 100%;
      height: 200px;        /* можно 220 или 240 */
      object-fit: cover;    /* главное! */
      border-radius: 14px;
    }

    .post-tag {
      padding: 0.16rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      font-size: 0.75rem;
    }

    .post-hero img {
      width: 100%;
      max-width: 900px;
      height: auto;
      object-fit: contain;
      border-radius: 18px;
    }


    @media (max-width: 720px) {
      .post-card {
        grid-template-columns: 1fr;
      }
    }

    /* SIDEBAR */

    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 1.15rem;
    }

    .sidebar-block {
      border-radius: var(--radius-lg);
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid var(--border-subtle);
      padding: 0.9rem 1rem;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    }

    .sidebar-title {
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 0.55rem;
    }

    .sidebar-text {
      font-size: 0.83rem;
      color: var(--text-muted);
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      margin-top: 0.55rem;
    }

    .badge {
      font-size: 0.75rem;
      padding: 0.16rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      color: var(--text-muted);
    }

    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: 0.4rem;
    }

    .field {
      width: 100%;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      padding: 0.45rem 0.85rem;
      background: rgba(15, 23, 42, 0.9);
      color: var(--text-main);
      font-size: 0.83rem;
    }

    .field::placeholder {
      color: rgba(148, 163, 184, 0.7);
    }

    .newsletter-note {
      font-size: 0.76rem;
      color: var(--text-muted);
      margin-top: 0.2rem;
    }

    /* FOOTER */

    footer {
      border-top: 1px solid rgba(148, 163, 184, 0.24);
      margin-top: 2.6rem;
      padding: 1.4rem 0 1.8rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
      gap: 1.1rem;
    }

    @media (max-width: 900px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      margin-bottom: 0.5rem;
    }

    .footer-links a {
      text-decoration: underline;
      text-decoration-style: dotted;
      text-decoration-color: rgba(148, 163, 184, 0.7);
    }

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