:root {
      --bg: #f8f7f4;
      --text: #151515;
      --muted: #5f6368;
      --line: #dedbd4;
      --accent: #4f46e5;
      --accent-soft: #eef0ff;
      --card: #ffffff;
      --dark: #111827;
      --green-soft: #e8f7ef;
      --orange-soft: #fff2df;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
    }

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

    a:hover {
      text-decoration: underline;
    }

    .container {
      width: min(1040px, 92%);
      margin: 0 auto;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(248, 247, 244, 0.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }

    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px 0;
      font-size: clamp(0.78rem, 0.88vw, 0.91rem);
    }

    .logo {
      font-weight: 850;
      letter-spacing: -0.035em;
      color: var(--text);
      white-space: nowrap;
      flex-shrink: 0;
      font-size: clamp(1rem, 1.35vw, 1.18rem);
    }

    .nav-links {
      display: flex;
      gap: clamp(8px, 0.95vw, 15px);
      flex-wrap: nowrap;
      align-items: center;
      margin-left: 20px;
    }

    .nav-links a {
      color: var(--muted);
      font-weight: 650;
      white-space: nowrap;
    }

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

    .hero {
      padding: 76px 0 58px;
      border-bottom: 1px solid var(--line);
      position: relative;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      right: -120px;
      top: 20px;
      width: 460px;
      height: 460px;
      background: radial-gradient(circle, rgba(79, 70, 229, 0.16), transparent 66%);
      z-index: -1;
    }

    .eyebrow {
      display: inline-block;
      padding: 7px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--muted);
      font-size: 0.9rem;
      margin-bottom: 24px;
      font-weight: 700;
    }

    h1 {
      font-size: clamp(2.7rem, 5.5vw, 5.2rem);
      line-height: 1;
      letter-spacing: -0.07em;
      margin: 0 0 24px;
      max-width: 980px;
      text-wrap: balance;
    }

    .subtitle {
      font-size: clamp(1.13rem, 1.8vw, 1.42rem);
      color: var(--muted);
      max-width: 860px;
      margin-bottom: 30px;
    }

    .buttons {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
      margin-top: 22px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 18px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid var(--dark);
      color: var(--dark);
      background: transparent;
      transition: 0.18s ease;
    }

    .button.primary {
      background: var(--dark);
      color: white;
    }

    .button:hover {
      text-decoration: none;
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    }

    main {
      padding: 60px 0;
    }

    .article-layout {
      display: grid;
      grid-template-columns: 0.78fr 1.22fr;
      gap: 42px;
      align-items: start;
    }

    .metadata-card,
    .content-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: 28px;
      box-shadow: 0 16px 36px rgba(0,0,0,0.04);
    }

    .metadata-card {
      position: sticky;
      top: 92px;
    }

    .metadata-card h2,
    .content-card h2 {
      margin: 0 0 14px;
      font-size: clamp(1.5rem, 2.6vw, 2.25rem);
      line-height: 1.08;
      letter-spacing: -0.045em;
    }

    .metadata-list {
      display: grid;
      gap: 14px;
      margin-top: 18px;
    }

    .metadata-list div {
      border-top: 1px solid var(--line);
      padding-top: 14px;
    }

    .metadata-list strong {
      display: block;
      color: var(--text);
      margin-bottom: 4px;
    }

    .metadata-list span {
      color: var(--muted);
    }

    .content-card p {
      color: #2b2b2b;
      margin-top: 0;
    }

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

    .tag {
      display: inline-block;
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #166534;
      background: var(--green-soft);
      padding: 5px 9px;
      border-radius: 999px;
      margin-bottom: 14px;
      font-weight: 900;
    }

    .citation-box {
      background: var(--dark);
      color: white;
      border-radius: 24px;
      padding: 24px;
      margin-top: 22px;
    }

    .citation-box h2 {
      color: white;
      margin: 0 0 10px;
      font-size: 1.35rem;
      letter-spacing: -0.04em;
    }

    .citation-box p {
      color: #cbd5e1;
      margin: 0;
    }

    footer {
      padding: 42px 0;
      color: var(--muted);
      border-top: 1px solid var(--line);
    }

    .footer-grid {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    @media (max-width: 1080px) {
      .nav-links {
        display: none;
      }
    }

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

      .metadata-card {
        position: static;
      }

      .hero {
        padding-top: 62px;
      }
    }
