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


@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { min-height: 100vh; }
  img, video { max-width: 100%; display: block; }
  input, button, textarea, select { font: inherit; }
  ul[role="list"], ol[role="list"] { list-style: none; }
  a { color: inherit; }
  h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
  p { text-wrap: pretty; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
  }
}

@layer tokens {
  :root {
    --clr-teal-900: #00030f;
    --clr-teal-700: #111a2d;
    --clr-teal-500: #1e2f58;
    --clr-teal-400: #32457a;
    --clr-teal-200: #d6dceb;
    --clr-teal-100: #e9edf7;
    --clr-teal-50:  #fff6e1;

    --clr-amber-500: #111a2d;
    --clr-amber-400: #1e2f58;
    --clr-amber-100: #e9edf7;

    --clr-neutral-900: #00030f;
    --clr-neutral-700: #2e3447;
    --clr-neutral-500: #61687a;
    --clr-neutral-300: #d7d1c6;
    --clr-neutral-100: #f5ecd9;
    --clr-neutral-50:  #fffbf1;
    --clr-white:       #ffffff;

    --clr-success: #16a34a;
    --clr-error:   #dc2626;

    --color-bg:          var(--clr-teal-50);
    --color-bg-alt:      var(--clr-white);
    --color-bg-muted:    var(--clr-neutral-100);
    --color-surface:     var(--clr-white);
    --color-border:      var(--clr-neutral-300);
    --color-text:        var(--clr-neutral-900);
    --color-text-muted:  var(--clr-neutral-500);
    --color-text-inv:    var(--clr-white);
    --color-brand:       var(--clr-teal-900);
    --color-brand-dark:  var(--clr-teal-900);
    --color-brand-light: var(--clr-teal-500);
    --color-accent:      var(--clr-teal-700);
    --color-accent-lt:   var(--clr-teal-100);

    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.25rem;
    --sp-6:  1.5rem;
    --sp-8:  2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    --rad-sm: 0.375rem;
    --rad-md: 0.75rem;
    --rad-lg: 1.25rem;
    --rad-xl: 2rem;
    --rad-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.07);

    --font-base: 'Nunito', system-ui, sans-serif;
    --text-sm:   clamp(0.8rem,  1.5vw, 0.875rem);
    --text-md:   clamp(0.9rem,  2vw,   1rem);
    --text-lg:   clamp(1rem,    2.5vw, 1.125rem);
    --text-xl:   clamp(1.125rem,3vw,   1.375rem);
    --text-2xl:  clamp(1.25rem, 3.5vw, 1.75rem);
    --text-3xl:  clamp(1.5rem,  4vw,   2.25rem);
    --text-4xl:  clamp(1.875rem,5vw,   3rem);
    --text-hero: clamp(2.25rem, 6vw,   4rem);

    --transition: 200ms ease;
    --transition-slow: 350ms ease;

    --header-h: 4.5rem;
  }
}

@layer base {
  body {
    font-family: var(--font-base);
    font-size: var(--text-md);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
  }
  body.has-cookie-banner { padding-bottom: 7rem; }

  h1 { font-size: var(--text-hero); font-weight: 900; line-height: 1.1; }
  h2 { font-size: var(--text-3xl); font-weight: 800; line-height: 1.2; }
  h3 { font-size: var(--text-2xl); font-weight: 700; line-height: 1.3; }
  h4 { font-size: var(--text-xl);  font-weight: 700; }
  h5 { font-size: var(--text-lg);  font-weight: 600; }
  h6 { font-size: var(--text-md);  font-weight: 600; }

  p { max-width: 70ch; }
  p + p { margin-top: var(--sp-4); }

  a:focus-visible {
    outline: 2px solid var(--color-brand-light);
    outline-offset: 3px;
    border-radius: var(--rad-sm);
  }

  section { padding-block: var(--sp-16); }

  hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin-block: var(--sp-8);
  }
}

@layer components {

  .wrap {
    width: min(100% - var(--sp-8), 72rem);
    margin-inline: auto;
  }
  .wrap--narrow { width: min(100% - var(--sp-8), 48rem); margin: 0 auto; }
  .wrap--wide   { width: min(100% - var(--sp-8), 88rem); }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--rad-full);
    border: 2px solid transparent;
    font-weight: 700;
    font-size: var(--text-md);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    line-height: 1;
  }
  .btn:active { transform: translateY(1px); }
  .btn--primary {
    background: var(--color-brand);
    color: var(--color-text-inv);
    border-color: var(--color-brand);
  }
  .btn--primary:hover {
    background: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
    box-shadow: var(--shadow-md);
  }
  .btn--outline {
    background: transparent;
    color: var(--color-brand);
    border-color: var(--color-brand);
  }
  .btn--outline:hover {
    background: var(--color-brand);
    color: var(--color-text-inv);
  }
  .btn--accent {
    background: var(--color-accent);
    color: var(--color-text-inv);
    border-color: var(--color-accent);
  }
  .btn--accent:hover {
    background: var(--clr-amber-400);
    border-color: var(--clr-amber-400);
    box-shadow: var(--shadow-md);
  }
  .btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
  }
  .btn--ghost:hover {
    background: var(--color-bg-muted);
  }
  .btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--text-sm); }
  .btn--lg { padding: var(--sp-4) var(--sp-8); font-size: var(--text-lg); }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--color-brand-dark);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
  }
  .site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    text-decoration: none;
    color: var(--color-text-inv);
    font-weight: 900;
    font-size: var(--text-xl);
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }
  .brand-logo {
    width: 2.1rem;
    height: 2.1rem;
    object-fit: contain;
    flex-shrink: 0;
  }
  .brand-dot {
    width: 0.6em;
    height: 0.6em;
    border-radius: var(--rad-full);
    background: var(--color-accent);
    display: inline-block;
    flex-shrink: 0;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    list-style: none;
  }
  .nav-list a {
    display: block;
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--rad-sm);
    color: var(--clr-teal-200);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: color var(--transition), background var(--transition);
  }
  .nav-list a:hover,
  .nav-list a[aria-current="page"] {
    color: var(--color-text-inv);
    background: rgba(255,255,255,.12);
  }

  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-2);
    border-radius: var(--rad-sm);
    color: var(--color-text-inv);
    transition: background var(--transition);
  }
  .nav-toggle:hover { background: rgba(255,255,255,.1); }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    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); }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--color-brand-dark);
    z-index: 99;
    padding: var(--sp-8) var(--sp-6);
    flex-direction: column;
    gap: var(--sp-2);
    overflow-y: auto;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--rad-md);
    color: var(--clr-teal-200);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--text-lg);
    transition: background var(--transition), color var(--transition);
  }
  .mobile-nav a:hover { background: rgba(255,255,255,.1); color: var(--color-text-inv); }
  .mobile-nav .btn { margin-top: var(--sp-4); align-self: flex-start; }

  .hero {
    background: linear-gradient(135deg, var(--clr-teal-900) 0%, var(--clr-teal-700) 60%, var(--clr-teal-500) 100%);
    color: var(--color-text-inv);
    padding-block: var(--sp-24) var(--sp-20);
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(240,187,58,.12) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--rad-full);
    padding: var(--sp-1) var(--sp-3);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--sp-5);
    color: var(--clr-amber-400);
  }
  .hero h1 { margin-bottom: var(--sp-5); color: inherit; }
  .hero p { font-size: var(--text-lg); color: rgba(255,255,255,.85); margin-bottom: var(--sp-8); max-width: 52ch; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    margin-top: var(--sp-10);
  }
  .hero-stat {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--rad-lg);
    padding: var(--sp-5);
    backdrop-filter: blur(4px);
  }
  .hero-stat strong {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--clr-amber-400);
    line-height: 1;
    margin-bottom: var(--sp-1);
  }
  .hero-stat span { font-size: var(--text-sm); color: rgba(255,255,255,.7); }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
  }
  .hero-card-demo {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--rad-lg);
    padding: var(--sp-5);
    backdrop-filter: blur(4px);
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
  }
  .hero-card-demo .rank {
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--clr-amber-400);
    min-width: 2rem;
    line-height: 1;
  }
  .hero-card-demo h4 { color: var(--color-text-inv); font-size: var(--text-lg); margin-bottom: var(--sp-1); }
  .hero-card-demo p { font-size: var(--text-sm); color: rgba(255,255,255,.7); max-width: none; margin: 0; }
  .stars { color: var(--clr-amber-400); letter-spacing: -1px; font-size: 0.9em; }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--color-accent-lt);
    color: var(--clr-amber-500);
    border-radius: var(--rad-full);
    padding: var(--sp-1) var(--sp-3);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: var(--sp-4);
  }
  .section-label--brand {
    background: var(--clr-teal-100);
    color: var(--color-brand);
  }
  .section-header { margin-bottom: var(--sp-10); }
  .section-header p { font-size: var(--text-lg); color: var(--color-text-muted); margin-top: var(--sp-3); }

  .card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--rad-lg);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .card:hover { box-shadow: var(--shadow-md); }
  .card--accent-top { border-top: 4px solid var(--color-brand); }
  .card--highlight {
    background: var(--color-brand);
    color: var(--color-text-inv);
    border-color: var(--color-brand-dark);
  }
  .card--highlight h3, .card--highlight h4, .card--highlight p { color: inherit; }

  .platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-6);
  }
  .platform-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--rad-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
  }
  .platform-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
  .platform-card.is-top { border-top: 4px solid var(--color-accent); }
  .platform-card.is-top.rank-1 { border-top-color: #ffd700; }
  .platform-card.is-top.rank-2 { border-top-color: #c0c0c0; }
  .platform-card.is-top.rank-3 { border-top-color: #cd7f32; }
  .platform-header {
    padding: var(--sp-5) var(--sp-5) var(--sp-3);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
  }
  .platform-logo {
    width: 3rem;
    height: 3rem;
    border-radius: var(--rad-md);
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
  }
  .platform-rank {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-text-muted);
    margin-bottom: var(--sp-1);
  }
  .platform-name { font-size: var(--text-lg); font-weight: 800; margin-bottom: 0; }
  .platform-body { padding: 0 var(--sp-5) var(--sp-5); flex: 1; display: flex; flex-direction: column; gap: var(--sp-3); }
  .platform-score {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
  }
  .score-num {
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--color-brand);
    line-height: 1;
  }
  .score-bar {
    flex: 1;
    height: 6px;
    background: var(--color-bg-muted);
    border-radius: var(--rad-full);
    overflow: hidden;
  }
  .score-fill {
    height: 100%;
    background: var(--color-brand);
    border-radius: var(--rad-full);
  }
  .platform-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
  .tag {
    display: inline-block;
    padding: 2px var(--sp-2);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--rad-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .tag--brand { background: var(--clr-teal-100); color: var(--color-brand); border-color: var(--clr-teal-200); }
  .tag--accent { background: var(--color-accent-lt); color: var(--clr-amber-500); border-color: var(--clr-amber-400); }
  .platform-desc { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
  .platform-cta { padding: 0 var(--sp-5) var(--sp-5); }

  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-8);
    align-items: center;
  }
  .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--rad-full);
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
  }
  .filter-chip:hover, .filter-chip.is-active {
    border-color: var(--color-brand);
    background: var(--clr-teal-100);
    color: var(--color-brand);
  }
  .filter-chip.is-active { background: var(--color-brand); color: var(--color-text-inv); border-color: var(--color-brand); }

  .sort-select {
    margin-left: auto;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--rad-full);
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition);
  }
  .sort-select:focus { outline: none; border-color: var(--color-brand); }

  .faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
  .faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--rad-md);
    overflow: hidden;
    background: var(--color-surface);
  }
  .faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-6);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    font-size: var(--text-md);
    color: var(--color-text);
    transition: background var(--transition);
  }
  .faq-trigger:hover { background: var(--color-bg-muted); }
  .faq-trigger[aria-expanded="true"] { color: var(--color-brand); }
  .faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--rad-full);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
  }
  .faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-text-inv);
  }
  .faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-slow);
  }
  .faq-panel.is-open { grid-template-rows: 1fr; }
  .faq-panel-inner {
    overflow: hidden;
    padding: 0 var(--sp-6) 0;
    transition: padding var(--transition-slow);
  }
  .faq-panel.is-open .faq-panel-inner {
    padding: 0 var(--sp-6) var(--sp-5);
  }
  .faq-panel-inner p {
    color: var(--color-text-muted);
    font-size: var(--text-md);
    max-width: none;
  }

  .form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
  .form-label {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--color-text);
  }
  .form-control {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    border: 2px solid var(--color-border);
    border-radius: var(--rad-md);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: var(--text-md);
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .form-control:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--clr-teal-100);
  }
  .form-control.has-error { border-color: var(--clr-error); }
  .form-error {
    font-size: var(--text-sm);
    color: var(--clr-error);
    font-weight: 600;
    display: none;
  }
  .form-error.is-visible { display: block; }
  textarea.form-control { resize: vertical; min-height: 7rem; }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-6);
  }
  .step {
    text-align: center;
    padding: var(--sp-8) var(--sp-5);
  }
  .step-num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--rad-full);
    background: var(--color-brand);
    color: var(--color-text-inv);
    font-size: var(--text-xl);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-5);
    box-shadow: var(--shadow-md);
  }

  .criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-5);
  }
  .criteria-item {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--rad-lg);
  }
  .criteria-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--rad-md);
    background: var(--clr-teal-100);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .criteria-item h5 { margin-bottom: var(--sp-1); }
  .criteria-item p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: none; margin: 0; }

  .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-5);
  }
  .review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--rad-lg);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    box-shadow: var(--shadow-sm);
  }
  .review-meta { display: flex; align-items: center; gap: var(--sp-3); }
  .review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--rad-full);
    background: var(--color-brand);
    color: var(--color-text-inv);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-md);
    flex-shrink: 0;
  }
  .review-author strong { display: block; font-size: var(--text-sm); font-weight: 700; }
  .review-author span { font-size: 0.75rem; color: var(--color-text-muted); }
  .review-text { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }

  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-5);
  }
  .tip-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--clr-teal-200);
    border-radius: var(--rad-lg);
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }
  .tip-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--clr-teal-200);
    line-height: 1;
  }
  .tip-card h5 { color: var(--color-brand-dark); }
  .tip-card p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: none; margin: 0; }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--sp-12);
    align-items: start;
  }
  .contact-info { display: flex; flex-direction: column; gap: var(--sp-6); }
  .contact-detail {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
  }
  .contact-detail-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--rad-md);
    background: var(--clr-teal-100);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .contact-detail strong { display: block; font-weight: 700; margin-bottom: var(--sp-1); }
  .contact-detail p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: none; margin: 0; }

  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
    padding-block: var(--sp-5);
    font-size: var(--text-sm);
  }
  .breadcrumb a {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 600;
  }
  .breadcrumb a:hover { text-decoration: underline; }
  .breadcrumb span { color: var(--color-text-muted); }
  .breadcrumb-sep { color: var(--color-border); font-size: 0.8rem; }

  .page-hero {
    background: var(--color-brand-dark);
    color: var(--color-text-inv);
    padding-block: var(--sp-16) var(--sp-12);
  }
  .page-hero h1 { font-size: var(--text-4xl); margin-bottom: var(--sp-4); }
  .page-hero p { color: var(--clr-teal-200); font-size: var(--text-lg); max-width: 60ch; }

  .alert-box {
    border-radius: var(--rad-md);
    padding: var(--sp-4) var(--sp-5);
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
    font-size: var(--text-sm);
    font-weight: 600;
  }
  .alert-box--info {
    background: var(--clr-teal-100);
    border: 1px solid var(--clr-teal-200);
    color: var(--color-brand-dark);
  }
  .alert-box--warn {
    background: var(--color-accent-lt);
    border: 1px solid var(--clr-amber-400);
    color: #7a5400;
  }

  .score-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--rad-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: var(--text-sm);
  }
  .score-table thead { background: var(--color-brand); color: var(--color-text-inv); }
  .score-table th {
    padding: var(--sp-4) var(--sp-5);
    text-align: left;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .score-table td { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--color-border); }
  .score-table tbody tr:last-child td { border-bottom: none; }
  .score-table tbody tr:hover { background: var(--color-bg-alt); }
  .score-bar-sm {
    width: 6rem;
    height: 6px;
    background: var(--color-bg-muted);
    border-radius: var(--rad-full);
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-left: var(--sp-2);
  }
  .score-bar-fill {
    height: 100%;
    background: var(--color-brand);
    border-radius: var(--rad-full);
  }

  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-brand-dark);
    color: var(--color-text-inv);
    padding: var(--sp-5) var(--sp-6);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
    display: none;
  }
  .cookie-banner.is-visible { display: block; }
  .cookie-inner {
    max-width: 72rem;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    align-items: center;
    justify-content: space-between;
  }
  .cookie-text { font-size: var(--text-sm); color: var(--clr-teal-200); flex: 1; min-width: 200px; }
  .cookie-text a { color: var(--clr-amber-400); font-weight: 600; }
  .cookie-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

  /* lite123 header/footer system */
  .u-cnt-b2 {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5vw;
  }
  .u-hdr-a1 {
    background-color: #00030f;
    height: clamp(60px, 8vh, 87px);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
  }
  .u-hdr-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--sp-4);
  }
  .u-lgo-c3 img {
    height: clamp(30px, 4vh, 40px);
    width: auto;
    display: block;
  }
  .u-nav-d4 {
    display: none;
  }
  .u-nav-d4 li {
    list-style: none;
  }
  .u-actions-k1 {
    display: none;
  }
  .u-brg-e5 {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
  }
  .u-brg-e5 span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: 0.3s;
  }
  .u-brg-e5 span:nth-child(1) { top: 0; }
  .u-brg-e5 span:nth-child(2) { top: 9px; }
  .u-brg-e5 span:nth-child(3) { top: 18px; }
  .u-brg-e5.is-active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
  .u-brg-e5.is-active span:nth-child(2) { opacity: 0; }
  .u-brg-e5.is-active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }
  .u-mob-m7 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #00030f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: 0.4s ease;
    z-index: 999;
  }
  .u-mob-m7.is-open {
    transform: translateX(0);
  }
  .u-mob-nav {
    list-style: none;
    text-align: center;
  }
  .u-mob-nav li {
    margin-bottom: 4vh;
  }
  .u-mob-nav a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 600;
  }
  .u-btn-i9 {
    display: inline-block;
    background-color: #fff;
    color: #00030f;
    padding: clamp(14px, 2vh, 18px) clamp(24px, 4vw, 32px);
    border-radius: 8px;
    text-decoration: none;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    text-align: center;
  }
  .u-btn-s1 {
    padding: 0.8vh 1.5vw;
    border-radius: 6px;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
  }
  .u-btn-login {
    background-color: #fff;
    color: #00030f;
  }
  .u-btn-reg {
    border: 1px solid #fff;
    color: #fff;
  }
  .u-ftr-b9 {
    background-color: #00030f;
    padding: clamp(60px, 10vh, 100px) 0 40px;
    color: #ffffff;
  }
  .u-ftr-cnt {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 5vw;
  }
  .u-ftr-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-bottom: clamp(40px, 8vh, 80px);
  }
  .u-ftr-logo {
    height: clamp(100px, 15vw, 185px);
    display: block;
    margin: 0 auto;
  }
  .u-ftr-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
  }
  .u-ftr-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
  }
  .u-ftr-nav a:hover {
    opacity: 0.7;
  }
  .u-ftr-disc {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    opacity: 0.8;
    max-width: 1520px;
    margin: 0 auto 60px;
    white-space: pre-line;
  }
  .u-ftr-cpy {
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
  }

  .stat-band {
    background: var(--color-brand);
    color: var(--color-text-inv);
    padding-block: var(--sp-12);
  }
  .stat-band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--sp-6);
    text-align: center;
  }
  .stat-band-item strong {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--clr-amber-400);
    line-height: 1;
    margin-bottom: var(--sp-2);
  }
  .stat-band-item span { font-size: var(--text-sm); color: rgba(255,255,255,.8); }

  .prose h2 { margin-bottom: var(--sp-5); margin-top: var(--sp-10); }
  .prose h3 { margin-bottom: var(--sp-3); margin-top: var(--sp-8); }
  .prose h2:first-child, .prose h3:first-child { margin-top: 0; }
  .prose p { color: var(--color-text-muted); margin-bottom: var(--sp-4); max-width: 75ch; }
  .prose ul, .prose ol {
    margin-bottom: var(--sp-4);
    padding-left: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
  }
  .prose ul li, .prose ol li { color: var(--color-text-muted); font-size: var(--text-md); }

  .cta-strip {
    background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand));
    color: var(--color-text-inv);
    padding-block: var(--sp-16);
    text-align: center;
  }
  .cta-strip h2 { margin-bottom: var(--sp-4); }
  .cta-strip p { color: rgba(255,255,255,.8); margin: 0 auto var(--sp-8); font-size: var(--text-lg); }
  .cta-strip .btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--sp-6);
  }
  .news-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--rad-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .news-card-img {
    height: 9rem;
    background: var(--clr-teal-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
  }
  .news-card-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); }
  .news-card-date { font-size: 0.72rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
  .news-card-title { font-weight: 800; font-size: var(--text-lg); line-height: 1.3; }
  .news-card-excerpt { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
  .news-card-link { font-size: var(--text-sm); font-weight: 700; color: var(--color-brand); text-decoration: none; margin-top: auto; }
  .news-card-link:hover { text-decoration: underline; }

  .success-box {
    text-align: center;
    padding: var(--sp-24) var(--sp-6);
    max-width: 40rem;
    margin-inline: auto;
  }
  .success-icon {
    width: 6rem;
    height: 6rem;
    border-radius: var(--rad-full);
    background: var(--clr-teal-100);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto var(--sp-6);
  }
}

@layer utilities {
  .text-center { text-align: center; }
  .text-muted { color: var(--color-text-muted); }
  .text-brand { color: var(--color-brand); }
  .text-accent { color: var(--color-accent); }
  .text-inv { color: var(--color-text-inv); }
  .bg-alt { background: var(--color-bg-alt); }
  .bg-muted { background: var(--color-bg-muted); }
  .bg-brand { background: var(--color-brand); }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
  .mt-4  { margin-top: var(--sp-4); }
  .mt-6  { margin-top: var(--sp-6); }
  .mt-8  { margin-top: var(--sp-8); }
  .mt-10 { margin-top: var(--sp-10); }
  .mt-12 { margin-top: var(--sp-12); }
  .mb-4  { margin-bottom: var(--sp-4); }
  .mb-6  { margin-bottom: var(--sp-6); }
  .mb-8  { margin-bottom: var(--sp-8); }
  .gap-3 { gap: var(--sp-3); }
  .gap-4 { gap: var(--sp-4); }
  .gap-6 { gap: var(--sp-6); }
  .flex  { display: flex; }
  .flex-wrap { flex-wrap: wrap; }
  .items-center { align-items: center; }
  .justify-center { justify-content: center; }
  .justify-between { justify-content: space-between; }
  .grid { display: grid; }
  .col-2 { grid-template-columns: 1fr 1fr; }
  .col-3 { grid-template-columns: repeat(3, 1fr); }
  .font-bold { font-weight: 700; }
  .font-black { font-weight: 900; }
  .rounded { border-radius: var(--rad-md); }
  .w-full { width: 100%; }
  .hidden { display: none !important; }
  .visually-hidden { @apply sr-only; }
}

@media (min-width: 1024px) {
  .u-brg-e5 { display: none; }
  .u-nav-d4 {
    display: flex;
    list-style: none;
  }
  .u-nav-d4 li { margin: 0 1.5vw; }
  .u-nav-d4 a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 600;
  }
  .u-actions-k1 {
    display: flex;
    gap: 1vw;
  }
  .u-ftr-top {
    flex-direction: row;
    justify-content: space-between;
  }
  .u-ftr-logo-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .nav-list, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding-block: var(--sp-16) var(--sp-12); }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .platform-grid { grid-template-columns: 1fr; }
  .criteria-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; }
  .score-table { font-size: 0.72rem; }
  .score-table th, .score-table td { padding: var(--sp-3); }
}
