/* Page-specific styles extracted from de/comparison.html */
:root {
      color-scheme: light;
      --ink: #0d1416;
      --ink-soft: #1f2a2f;
      --sage: #dce3dc;
      --fog: #f3f4f2;
      --moss: #0f6b5f;
      --moss-dark: #0c534a;
      --ember: #e06a3b;
      --ember-dark: #c55327;
      --sky: #a9c7d0;
      --gold: #f0c75e;
      --paper: #fbfaf7;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-feature-settings: "cv02", "cv03", "cv04", "cv11";
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      color: var(--ink);
      background: var(--paper);
      min-height: 100vh;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background:
        radial-gradient(circle at 8% 10%, rgba(15, 107, 95, 0.16), transparent 45%),
        radial-gradient(circle at 85% 5%, rgba(224, 106, 59, 0.2), transparent 40%),
        radial-gradient(circle at 60% 90%, rgba(169, 199, 208, 0.3), transparent 50%),
        linear-gradient(180deg, rgba(251, 250, 247, 0.8), rgba(243, 244, 242, 0.9));
      z-index: -2;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      background-image: radial-gradient(rgba(13, 20, 22, 0.08) 0.6px, transparent 0.6px);
      background-size: 28px 28px;
      opacity: 0.2;
      z-index: -1;
      pointer-events: none;
    }

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

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

    .surveyjs-link {
      text-decoration: underline;
      text-decoration-color: rgba(13, 20, 22, 0.25);
      text-underline-offset: 3px;
      transition: text-decoration-color 0.2s ease;
    }

    .surveyjs-link:hover {
      text-decoration-color: rgba(13, 20, 22, 0.5);
    }

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

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(15, 107, 95, 0.12);
      color: var(--moss-dark);
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .pill span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--moss);
      box-shadow: 0 0 0 6px rgba(15, 107, 95, 0.15);
      animation: pulse 2.6s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(0.9); opacity: 0.8; }
      50% { transform: scale(1.1); opacity: 1; }
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(12px);
      background: rgba(251, 250, 247, 0.9);
      border-bottom: 1px solid rgba(13, 20, 22, 0.08);
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav.is-hidden {
      transform: translateY(-110%);
      opacity: 0;
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 28px 0 20px;
      gap: 18px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .brand a {
      display: flex;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.2s ease;
    }

    .brand a:hover {
      opacity: 0.85;
    }

    .brand img {
      width: 200px;
      height: auto;
      display: block;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .brand-title {
      font-family: "Plus Jakarta Sans", "Inter", sans-serif;
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--ink);
      letter-spacing: -0.02em;
      line-height: 1.2;
    }

    .brand-sub {
      font-size: 0.8rem;
      color: rgba(13, 20, 22, 0.6);
      line-height: 1.3;
      max-width: 280px;
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      font-size: 0.95rem;
      color: rgba(13, 20, 22, 0.7);
    }

    .nav-links a {
      transition: color 0.2s ease;
    }

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

    .nav-links a.active {
      color: var(--moss-dark);
      font-weight: 600;
      border-bottom: 2px solid var(--moss);
      padding-bottom: 2px;
    }

    .nav-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
    }

    .nav-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: calc(1em + 8px);
    }

    .nav-badge {
      position: relative;
      padding: 10px 18px;
      border-radius: 999px;
      background: var(--ink);
      color: white;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-badge:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 20px -15px rgba(13, 20, 22, 0.6);
    }

    .nav-badge.yt-badge {
      background: #ff2d2d;
    }

    .yt-icon {
      display: inline-block;
      width: 16px;
      height: 11px;
      border-radius: 3px;
      background: white;
      position: relative;
    }

    .yt-icon::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-38%, -50%);
      width: 0;
      height: 0;
      border-top: 4px solid transparent;
      border-bottom: 4px solid transparent;
      border-left: 6px solid #ff2d2d;
    }

    .hero {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 48px;
      padding: 64px 0 40px;
      align-items: center;
    }

    .hero h1 {
      font-family: "Plus Jakarta Sans", "Inter", sans-serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-size: clamp(2.4rem, 4vw, 3.4rem);
      margin: 12px 0;
    }

    .hero p {
      font-size: 1.05rem;
      color: rgba(13, 20, 22, 0.75);
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .card {
      padding: 22px;
      border-radius: 20px;
      background: white;
      border: 1px solid rgba(13, 20, 22, 0.08);
      box-shadow: 0 18px 36px -30px rgba(13, 20, 22, 0.35);
    }

    .card span {
      display: inline-flex;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(15, 107, 95, 0.1);
      color: var(--moss-dark);
      font-size: 0.75rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      font-weight: 600;
    }

    .card h3 {
      margin: 12px 0 8px;
      font-size: 1.1rem;
    }

    .card p {
      margin: 0;
      color: rgba(13, 20, 22, 0.7);
    }

    .section {
      padding: 52px 0 20px;
    }

    .section-title {
      display: grid;
      gap: 12px;
      margin-bottom: 30px;
    }

    .section-title h2 {
      font-family: "Plus Jakarta Sans", "Inter", sans-serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-size: clamp(2rem, 3vw, 2.7rem);
      margin: 0;
    }

    .section-title p {
      margin: 0;
      font-size: 1rem;
      color: rgba(13, 20, 22, 0.7);
    }

    .matrix {
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 720px;
      background: white;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(13, 20, 22, 0.08);
    }

    th,
    td {
      padding: 16px;
      text-align: left;
      border-bottom: 1px solid rgba(13, 20, 22, 0.08);
    }

    th {
      background: rgba(15, 107, 95, 0.12);
      font-size: 0.95rem;
    }

    td {
      font-size: 0.95rem;
      color: rgba(13, 20, 22, 0.75);
    }

    .badge-yes,
    .badge-mid,
    .badge-no {
      display: inline-flex;
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .badge-yes {
      background: rgba(15, 107, 95, 0.12);
      color: var(--moss-dark);
    }

    .badge-mid {
      background: rgba(224, 106, 59, 0.12);
      color: var(--ember-dark);
    }

    .badge-no {
      background: rgba(13, 20, 22, 0.1);
      color: rgba(13, 20, 22, 0.7);
    }

    .note {
      padding: 20px 22px;
      border-radius: 18px;
      border: 1px solid rgba(13, 20, 22, 0.1);
      background: rgba(15, 107, 95, 0.06);
      color: rgba(13, 20, 22, 0.75);
    }

    .contact {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
    }

    .contact-card {
      padding: 24px;
      border-radius: 20px;
      background: white;
      border: 1px solid rgba(13, 20, 22, 0.08);
      box-shadow: 0 18px 40px -30px rgba(13, 20, 22, 0.3);
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .badge {
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(15, 107, 95, 0.12);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--moss-dark);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 20px;
      border-radius: 999px;
      font-weight: 600;
      gap: 8px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 20px -18px rgba(13, 20, 22, 0.45);
    }

    .btn-primary {
      background: var(--ink);
      color: white;
    }

    .btn-accent {
      background: #b84f25;
      color: white;
    }

    .btn-ghost {
      border: 1px solid rgba(13, 20, 22, 0.2);
    }

    footer {
      margin-top: 60px;
      padding: 40px 0 24px;
      background: var(--ink);
      color: white;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 24px;
    }

    .footer-grid h5 {
      margin: 0 0 12px;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.7);
    }

    .footer-grid p {
      margin: 6px 0;
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.7);
    }

    .yt-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .yt-link .yt-icon {
      background: white;
    }

    .yt-link .yt-icon::after {
      border-left-color: #ff2d2d;
    }

    .reveal {
      opacity: 0;
      transform: translateY(18px);
      animation: fadeIn 0.8s ease forwards;
      animation-delay: var(--delay, 0s);
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 900px) {
      .nav-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .nav-actions {
        width: 100%;
        align-items: flex-start;
      }

      .nav-ctas {
        margin-top: 12px;
      }

      .brand img {
        width: 160px;
      }

      .brand-sub {
        display: none;
      }
    }
