@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800;900&display=swap');

@layer reset, tokens, base, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  img, video { max-width: 100%; display: block; }
  input, button, textarea, select { font: inherit; }
  ul, ol { list-style: none; }
  a { text-decoration: none; color: inherit; }
  button { cursor: pointer; border: none; background: none; }
  h1,h2,h3,h4,h5,h6 { font-weight: 700; }
}

@layer tokens {
  :root {
    --color-bg: #0d0d0d;
    --color-surface: #13151a;
    --color-surface-2: #1a1c23;
    --color-surface-3: #222530;
    --color-border: #2a2d38;
    --color-gold: #fdcc00;
    --color-gold-light: #ffe14d;
    --color-gold-dim: #b38e00;
    --color-text: #e8e9f0;
    --color-text-muted: #8a8fa8;
    --color-text-dim: #5c6070;
    --color-danger: #e05252;
    --color-success: #4caf82;
    --font-main: 'Onest', system-ui, sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 22px;
    --shadow-glow: 0 0 24px rgba(245,196,0,0.18);
    --shadow-card: 0 4px 32px rgba(0,0,0,0.45);
    --transition: 0.22s ease;
    --max-w: 1200px;
    --gap: clamp(1rem, 3vw, 2rem);
  }
}

@layer base {
  html { font-size: 16px; }
  body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
  }
  h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; }
  h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); line-height: 1.2; }
  h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); line-height: 1.3; }
  h4 { font-size: clamp(1rem, 2vw, 1.2rem); }
  p { line-height: 1.7; color: var(--color-text-muted); }
  a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
  }
  ::selection { background: var(--color-gold); color: #000; }
}

@layer components {

  .skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top var(--transition);
  }
  .skip-link:focus { top: 1rem; }

  .h-4k {
    position: sticky;
    top: 0;
    width: 100%;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(13,13,13,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(253,204,0,0.2);
  }
  .l-z2 {
    width: 83px;
    display: block;
    flex-shrink: 0;
  }
  .l-z2 img { width: 100%; }
  .n-x7 {
    display: flex;
    gap: 40px;
  }
  .n-x7 a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.25s, color 0.25s;
  }
  .n-x7 a:hover,
  .n-x7 a.is-current,
  .n-x7 a[aria-current="page"] {
    color: var(--color-gold);
    background: rgba(253,204,0,0.12);
  }
  .m-b1 {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
  }
  .m-b1 span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
  }
  .m-b1.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .m-b1.active span:nth-child(2) { opacity: 0; }
  .m-b1.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .f-v9 {
    margin-top: 4rem;
    padding: 3rem var(--gap) 1.5rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
  }
  .f-main {
    max-width: var(--max-w);
    margin: 0 auto 2rem;
  }
  .f-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  .f-links-l, .f-links-r {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
  }
  .f-links-l a, .f-links-r a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
  }
  .f-links-l a:hover, .f-links-r a:hover {
    color: var(--color-gold);
    background: rgba(245,196,0,0.08);
  }
  .f-logo { width: 110px; }
  .f-logo a, .f-logo img { display: block; width: 100%; }
  .f-disclaimer h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 0.75rem;
    color: var(--color-text);
    text-transform: uppercase;
  }
  .f-disclaimer p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-text-muted);
  }
  .f-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
  }
  .f-bottom p {
    font-size: 0.82rem;
    color: var(--color-text-dim);
  }
  .f-bottom a { color: var(--color-text-dim); }
  .f-bottom a:hover { color: var(--color-gold); }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(11,12,14,0.97);
    border-block-end: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
  }
  .header-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gap);
    padding-block: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
  }
  .site-logo span { color: var(--color-gold); }
  .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #000;
    flex-shrink: 0;
  }
  .site-nav { display: flex; align-items: center; gap: 0.25rem; }
  .site-nav a {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] {
    color: var(--color-gold);
    background: rgba(245,196,0,0.08);
  }
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-drawer {
    display: none;
    flex-direction: column;
    padding: 1rem var(--gap) 1.5rem;
    border-top: 1px solid var(--color-border);
    gap: 0.25rem;
  }
  .nav-drawer.open { display: flex; }
  .nav-drawer a {
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition), background var(--transition);
  }
  .nav-drawer a:hover, .nav-drawer a[aria-current="page"] {
    color: var(--color-gold);
    background: rgba(245,196,0,0.08);
  }

  .site-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
    margin-top: 5rem;
  }
  .footer-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: 3rem var(--gap) 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  .footer-brand p { margin-top: 0.75rem; font-size: 0.88rem; max-width: 260px; }
  .footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 0.9rem;
  }
  .footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-col ul a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color var(--transition);
  }
  .footer-col ul a:hover { color: var(--color-gold); }
  .footer-bottom {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: 1.25rem var(--gap);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
  .footer-bottom p { font-size: 0.82rem; color: var(--color-text-dim); }
  .footer-bottom a { color: var(--color-text-dim); transition: color var(--transition); }
  .footer-bottom a:hover { color: var(--color-gold); }

  .container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gap);
  }
  .section { padding-block: clamp(3rem, 7vw, 5.5rem); }
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
  }
  .section-title { color: var(--color-text); margin-bottom: 0.75rem; }
  .section-desc { color: var(--color-text-muted); max-width: 640px; font-size: 1.05rem; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
  }
  .btn:active { transform: scale(0.97); }
  .btn-primary {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
  }
  .btn-primary:hover { background: var(--color-gold-light); box-shadow: var(--shadow-glow); }
  .btn-outline {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
  }
  .btn-outline:hover { background: rgba(245,196,0,0.1); }
  .btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border-color: var(--color-border);
  }
  .btn-ghost:hover { color: var(--color-text); border-color: var(--color-text-muted); }
  .btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

  .card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  }
  .card:hover {
    border-color: rgba(245,196,0,0.35);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
  }
  .card-body { padding: 1.25rem 1.5rem; }
  .card-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

  .badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .badge-gold { background: var(--color-gold); color: #000; }
  .badge-dark { background: var(--color-surface-3); color: var(--color-text-muted); }
  .badge-outline { border: 1px solid var(--color-border); color: var(--color-text-muted); }

  .tag-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-block: 0.75rem;
  }
  .tag {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--color-surface-3);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
  }

  .hero {
    position: relative;
    padding-block: clamp(4rem, 10vw, 8rem);
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(245,196,0,0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(245,196,0,0.04) 0%, transparent 50%);
    pointer-events: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  .hero-eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
  }
  .hero-title { margin-bottom: 1.25rem; }
  .hero-title em { font-style: normal; color: var(--color-gold); }
  .hero-desc { font-size: 1.1rem; margin-bottom: 2rem; max-width: 560px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
  }
  .hero-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
  }
  .hero-stat-lbl { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.3rem; }
  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
  }
  .hero-orbit {
    width: clamp(220px, 40vw, 380px);
    height: clamp(220px, 40vw, 380px);
    border: 1px solid rgba(245,196,0,0.15);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-slow 20s linear infinite;
  }
  .hero-orbit::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border: 1px solid rgba(245,196,0,0.1);
    border-radius: 50%;
  }
  .orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(245,196,0,0.6);
  }
  .orbit-dot:nth-child(1) { top: -6px; left: 50%; transform: translateX(-50%); }
  .orbit-dot:nth-child(2) { bottom: -6px; left: 50%; transform: translateX(-50%); }
  .orbit-dot:nth-child(3) { left: -6px; top: 50%; transform: translateY(-50%); }
  .hero-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-slow-reverse 20s linear infinite;
    pointer-events: none;
  }
  .hero-center-box {
    background: var(--color-surface);
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-glow);
  }
  .hero-center-num { font-size: 2rem; font-weight: 900; color: var(--color-gold); display: block; }
  .hero-center-lbl { font-size: 0.75rem; color: var(--color-text-muted); }
  @keyframes spin-slow { to { transform: rotate(360deg); } }
  @keyframes spin-slow-reverse { to { transform: rotate(-360deg); } }

  .ranking-list { display: flex; flex-direction: column; gap: 1rem; }
  .ranking-item {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .ranking-item:hover { border-color: rgba(245,196,0,0.35); box-shadow: var(--shadow-card); }
  .ranking-item.top-1 { border-color: var(--color-gold); background: linear-gradient(90deg, rgba(245,196,0,0.06) 0%, var(--color-surface) 100%); }
  .ranking-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-text-dim);
    text-align: center;
  }
  .ranking-item.top-1 .ranking-num { color: var(--color-gold); }
  .ranking-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
  .ranking-meta { font-size: 0.82rem; color: var(--color-text-muted); }
  .ranking-score { text-align: right; }
  .ranking-score-num { font-size: 1.1rem; font-weight: 800; color: var(--color-gold); display: block; }
  .ranking-score-lbl { font-size: 0.72rem; color: var(--color-text-dim); }

  .platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  .platform-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  }
  .platform-card:hover { border-color: rgba(245,196,0,0.4); transform: translateY(-3px); box-shadow: var(--shadow-card); }
  .platform-card-header {
    background: var(--color-surface-2);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
  }
  .platform-card-title { font-weight: 700; font-size: 1rem; }
  .platform-card-body { padding: 1.25rem; }
  .platform-card-body p { font-size: 0.88rem; margin-bottom: 1rem; }
  .score-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
  .score-label { font-size: 0.8rem; color: var(--color-text-muted); }
  .score-bar-wrap { flex: 1; margin-inline: 0.75rem; height: 4px; background: var(--color-surface-3); border-radius: 2px; overflow: hidden; }
  .score-bar { height: 100%; background: var(--color-gold); border-radius: 2px; }
  .score-val { font-size: 0.8rem; font-weight: 700; color: var(--color-gold); min-width: 28px; text-align: right; }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
  .feature-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .feature-item:hover { border-color: rgba(245,196,0,0.3); box-shadow: var(--shadow-card); }
  .feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(245,196,0,0.12);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
  }
  .feature-title { font-weight: 700; margin-bottom: 0.5rem; }
  .feature-desc { font-size: 0.88rem; color: var(--color-text-muted); }

  .comparison-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
  .comparison-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
  }
  .comparison-table th, .comparison-table td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
  }
  .comparison-table th {
    background: var(--color-surface-2);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-text-muted);
  }
  .comparison-table tr:last-child td { border-bottom: none; }
  .comparison-table tbody tr:hover td { background: rgba(245,196,0,0.03); }
  .comparison-table .highlight-row td { background: rgba(245,196,0,0.06); }
  .comparison-table .check { color: var(--color-success); font-weight: 700; }
  .comparison-table .cross { color: var(--color-danger); }
  .comparison-table .partial { color: var(--color-gold); }

  .accordion { display: flex; flex-direction: column; gap: 0.5rem; }
  .accordion-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    gap: 1rem;
    transition: color var(--transition);
  }
  .accordion-trigger:hover { color: var(--color-gold); }
  .accordion-trigger[aria-expanded="true"] { color: var(--color-gold); }
  .accordion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
    transition: transform var(--transition);
  }
  .accordion-icon::before, .accordion-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
  }
  .accordion-icon::before { width: 8px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .accordion-icon::after { width: 2px; height: 8px; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform var(--transition), opacity var(--transition); }
  .accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
  .accordion-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding var(--transition);
  }
  .accordion-panel.open { max-height: 600px; }
  .accordion-panel-inner { padding: 0 1.25rem 1.25rem; color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.7; }

  .form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
  .form-label { font-size: 0.88rem; font-weight: 600; color: var(--color-text); }
  .form-input, .form-textarea, .form-select {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
  }
  .form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-dim); }
  .form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(245,196,0,0.12);
  }
  .form-input.error, .form-textarea.error { border-color: var(--color-danger); }
  .form-textarea { min-height: 140px; resize: vertical; }
  .form-select { appearance: none; }
  .form-error { font-size: 0.8rem; color: var(--color-danger); }
  .form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .form-checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--color-gold);
    cursor: pointer;
  }
  .form-checkbox-label { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.5; }
  .form-checkbox-label a { color: var(--color-gold); text-decoration: underline; }
  .form-msg { padding: 0.85rem 1rem; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 500; margin-bottom: 1rem; display: none; }
  .form-msg.visible { display: block; }
  .form-msg.error { background: rgba(224,82,82,0.12); color: var(--color-danger); border: 1px solid rgba(224,82,82,0.25); }

  .criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .criteria-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
  }
  .criteria-num { font-size: 2.5rem; font-weight: 900; color: var(--color-gold); display: block; line-height: 1; margin-bottom: 0.5rem; }
  .criteria-title { font-weight: 700; margin-bottom: 0.35rem; }
  .criteria-desc { font-size: 0.82rem; color: var(--color-text-muted); }

  .timeline { position: relative; padding-left: 2rem; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
  }
  .timeline-item { position: relative; margin-bottom: 2rem; }
  .timeline-dot {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--color-gold);
    border-radius: 50%;
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 8px rgba(245,196,0,0.5);
  }
  .timeline-date { font-size: 0.78rem; font-weight: 700; color: var(--color-gold); letter-spacing: 0.05em; margin-bottom: 0.35rem; text-transform: uppercase; }
  .timeline-title { font-weight: 700; margin-bottom: 0.4rem; }
  .timeline-desc { font-size: 0.88rem; color: var(--color-text-muted); }

  .info-bar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-block: 1.5rem;
  }

  .split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }
  .split-visual {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
  }
  .visual-placeholder {
    width: 100%;
    background: var(--color-surface-2);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    font-size: 0.88rem;
    color: var(--color-text-dim);
  }

  .cta-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(245,196,0,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-section h2 { margin-bottom: 1rem; }
  .cta-section p { margin-bottom: 2rem; max-width: 520px; margin-inline: auto; }

  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 1.25rem var(--gap);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
    transform: translateY(100%);
    transition: transform 0.35s ease;
  }
  .cookie-banner.visible { transform: translateY(0); }
  .cookie-banner-main {
    max-width: var(--max-w);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .cookie-text { flex: 1; min-width: 200px; font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.6; }
  .cookie-text a { color: var(--color-gold); text-decoration: underline; }
  .cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
  .cookie-settings-toggle {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
  }
  .cookie-categories {
    max-width: var(--max-w);
    margin: 1rem auto 0;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
  }
  .cookie-categories.open { display: grid; }
  .cookie-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
  }
  .cookie-cat-info { display: flex; flex-direction: column; gap: 0.2rem; }
  .cookie-cat-name { font-size: 0.88rem; font-weight: 600; }
  .cookie-cat-desc { font-size: 0.75rem; color: var(--color-text-dim); }
  .cookie-toggle { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
  .cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
  .cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--color-surface-3);
    border-radius: 999px;
    transition: background var(--transition);
    cursor: pointer;
  }
  .cookie-toggle-slider::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform var(--transition);
  }
  .cookie-toggle input:checked + .cookie-toggle-slider { background: var(--color-gold); }
  .cookie-toggle input:checked + .cookie-toggle-slider::after { transform: translateX(16px); }
  .cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.5; cursor: not-allowed; }

  .page-hero {
    padding-block: clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    background: radial-gradient(ellipse at 30% 50%, rgba(245,196,0,0.05) 0%, transparent 60%);
  }
  .page-hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .page-hero-eyebrow::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
  }

  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .breadcrumb a, .breadcrumb span {
    font-size: 0.8rem;
    color: var(--color-text-dim);
  }
  .breadcrumb a:hover { color: var(--color-gold); }
  .breadcrumb .sep { color: var(--color-text-dim); }

  .legal-content h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--color-text); }
  .legal-content h3 { font-size: 1.05rem; margin-top: 1.75rem; margin-bottom: 0.5rem; color: var(--color-text); }
  .legal-content p { margin-bottom: 1rem; font-size: 0.93rem; }
  .legal-content ul { padding-left: 1.25rem; list-style: disc; margin-bottom: 1rem; }
  .legal-content ul li { font-size: 0.93rem; color: var(--color-text-muted); margin-bottom: 0.4rem; }

  .success-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
  .success-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4rem);
    max-width: 520px;
  }
  .success-icon {
    width: 72px;
    height: 72px;
    background: rgba(76,175,130,0.15);
    border: 2px solid var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
  }

  .divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin-block: 2rem;
  }

  .pill-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
  .pill-tab {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
  }
  .pill-tab.active, .pill-tab:hover { background: var(--color-gold); color: #000; border-color: var(--color-gold); }

  .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
  .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
  .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

  .text-gold { color: var(--color-gold); }
  .text-muted { color: var(--color-text-muted); }
  .text-center { text-align: center; }
  .mb-sm { margin-bottom: 0.75rem; }
  .mb-md { margin-bottom: 1.5rem; }
  .mb-lg { margin-bottom: 2.5rem; }
}

@layer utilities {
  @media (max-width: 1024px) {
    .m-b1 { display: flex; }
    .n-x7 {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: var(--color-bg);
      padding: 0;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      transition: 0.4s;
      z-index: 1000;
    }
    .n-x7.active { right: 0; }
    .n-x7 a { font-size: 16px; }
    .h-4k { background: rgba(13,13,13,0.94); backdrop-filter: blur(10px); }
  }

  @media (min-width: 768px) {
    .nav-toggle { display: none !important; }
    .site-nav { display: flex !important; }
    .nav-drawer { display: none !important; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .split-section { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 767px) {
    .nav-toggle { display: flex; }
    .site-nav { display: none; }
    .ranking-item { grid-template-columns: 2rem 1fr; }
    .ranking-score { display: none; }
    .f-top { flex-direction: column; align-items: flex-start; }
    .f-links-l, .f-links-r { width: 100%; }
    .f-logo { width: 84px; }
  }

  @media (max-width: 640px) {
    html { font-size: 14px; }
    h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
    h2 { font-size: clamp(1.3rem, 7vw, 1.9rem); }
    h3 { font-size: clamp(1.05rem, 6vw, 1.25rem); }
    p,
    .section-desc,
    .feature-desc,
    .legal-content p,
    .legal-content ul li,
    .timeline-desc,
    .accordion-panel-inner { font-size: 0.88rem; }
    .page-hero p { font-size: 0.9rem !important; }
    .hero-visual { min-height: 220px; }
    .hero-orbit { width: 210px; height: 210px; }
    .hero-center-box { padding: 1rem 1.2rem; }
    .feature-icon { width: 38px; height: 38px; font-size: 1rem; }
    .card-body { padding: 1rem; }
    .form-input,
    .form-textarea,
    .form-select { font-size: 0.9rem; }
    .f-disclaimer p { font-size: 0.82rem; }
    .f-bottom p { font-size: 0.76rem; }
  }

  @media (max-width: 420px) {
    .section { padding-block: 2.25rem; }
    .container { padding-inline: 0.85rem; }
    .h-4k { height: 76px; padding: 0 4%; }
    .l-z2 { width: 60px; }
    .btn { width: 100%; justify-content: center; }
    .pill-tab { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
    .comparison-table { min-width: 520px; }
  }
}
