/* Speedmesser.com – shared stylesheet (multilingual) */
@layer base, layout, components, utilities;

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  :root {
    --brand-1: oklch(0.65 0.20 250);
    --brand-2: oklch(0.75 0.18 160);
    --accent:  oklch(0.78 0.20 145);
    --warn:    oklch(0.75 0.20 70);
    --danger:  oklch(0.65 0.22 28);
    --bg:           oklch(0.13 0.025 250);
    --bg-elev:      oklch(0.17 0.030 250);
    --bg-elev-2:    oklch(0.21 0.035 250);
    --surface:      oklch(0.18 0.025 250 / 0.6);
    --border:       oklch(0.30 0.030 250 / 0.5);
    --text:         oklch(0.96 0.005 250);
    --text-muted:   oklch(0.72 0.015 250);
    --text-dim:     oklch(0.55 0.020 250);
    --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
    --fs-sm: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
    --fs-xl: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
    --fs-2xl: clamp(2rem, 1.6rem + 1.6vw, 3rem);
    --fs-3xl: clamp(2.5rem, 1.8rem + 2.8vw, 4.5rem);
    --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
    --sp-6: 1.5rem; --sp-8: 2rem; --sp-12: 3rem; --sp-16: 4rem; --sp-24: 6rem;
    --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
    --shadow-glow: 0 0 60px -10px oklch(0.65 0.2 250 / 0.4);
    --shadow-soft: 0 8px 30px -8px oklch(0.05 0.02 250 / 0.6);
    --container: min(1180px, 100% - 2rem);
    accent-color: var(--brand-1);
  }
  :root[data-theme="light"] {
    --bg: oklch(0.985 0.005 250); --bg-elev: oklch(0.97 0.008 250);
    --bg-elev-2: oklch(0.94 0.010 250); --surface: oklch(1 0 0 / 0.7);
    --border: oklch(0.85 0.015 250); --text: oklch(0.18 0.025 250);
    --text-muted: oklch(0.40 0.020 250); --text-dim: oklch(0.55 0.015 250);
  }
  body {
    margin: 0; font-family: var(--font-sans);
    font-size: var(--fs-base); line-height: 1.65;
    color: var(--text); background: var(--bg);
    background-image: radial-gradient(ellipse 80% 60% at 50% -10%, oklch(0.65 0.2 250 / 0.18), transparent 70%);
    background-attachment: fixed; min-height: 100dvh;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 var(--sp-4); text-wrap: balance; }
  h1 { font-size: var(--fs-3xl); letter-spacing: -0.04em; }
  h2 { font-size: var(--fs-2xl); margin-top: var(--sp-12); }
  h3 { font-size: var(--fs-xl); margin-top: var(--sp-8); }
  p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
  a { color: var(--brand-1); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
  a:hover { color: var(--brand-2); }
  a:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; border-radius: var(--r-sm); }
  ::selection { background: oklch(0.65 0.2 250 / 0.35); color: var(--text); }
  ul, ol { padding-left: 1.25rem; } li { margin-bottom: var(--sp-2); }
  table { border-collapse: collapse; width: 100%; }
  img, svg { max-width: 100%; height: auto; display: block; }
  hr { border: 0; height: 1px; background: var(--border); margin: var(--sp-12) 0; }
  code { background: var(--bg-elev); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.9em; }
}

@layer layout {
  .container { width: var(--container); margin-inline: auto; }
  main { display: block; padding-block: var(--sp-8); }
  section { padding-block: var(--sp-12); scroll-margin-top: 80px; }
}

@layer components {
  .skip-link {
    position: absolute; left: 0; top: 0;
    padding: var(--sp-3) var(--sp-4);
    background: var(--brand-1); color: white;
    text-decoration: none;
    border-radius: 0 0 var(--r-md) 0;
    font-weight: 600;
    transform: translateY(-110%); transition: transform 0.2s;
    z-index: 1000;
  }
  .skip-link:focus { transform: translateY(0); }

  .header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: color-mix(in oklab, var(--bg) 70%, transparent);
    border-bottom: 1px solid var(--border);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: var(--container); margin-inline: auto;
    padding-block: var(--sp-3); gap: var(--sp-4);
  }
  .logo {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-weight: 800; font-size: var(--fs-lg); letter-spacing: -0.03em;
    color: var(--text); text-decoration: none;
  }
  .logo-mark {
    width: 32px; height: 32px; border-radius: 9px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    display: grid; place-items: center;
    box-shadow: var(--shadow-glow);
  }
  .logo-mark svg { width: 18px; height: 18px; }
  .logo-text {
    background: linear-gradient(135deg, var(--text) 30%, var(--brand-1));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .header nav { display: flex; gap: var(--sp-4); align-items: center; }
  .header nav a:not(.lang-link) {
    color: var(--text-muted); text-decoration: none;
    font-weight: 500; font-size: var(--fs-sm);
  }
  .header nav a:hover { color: var(--text); }
  @media (max-width: 820px) {
    .header nav a:not(.lang-link):not(.theme-toggle) { display: none; }
  }

  .lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .lang-current {
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text); padding: 0.45rem 0.7rem;
    border-radius: var(--r-md); cursor: pointer; font-weight: 600;
    font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 6px;
  }
  .lang-current::after { content: "▾"; font-size: 0.8em; color: var(--text-muted); }
  .lang-menu {
    position: absolute; right: 0; top: calc(100% + 6px);
    background: var(--bg-elev-2); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 6px; z-index: 10;
    min-width: 180px; max-height: 70vh; overflow-y: auto;
    box-shadow: var(--shadow-soft);
    display: none;
    backdrop-filter: blur(20px);
    scrollbar-width: thin;
  }
  .lang-menu.open { display: block; }
  .lang-menu a {
    display: block; padding: 0.5rem 0.75rem;
    color: var(--text); text-decoration: none;
    border-radius: var(--r-sm); font-size: var(--fs-sm);
  }
  .lang-menu a:hover, .lang-menu a[aria-current="true"] {
    background: color-mix(in oklab, var(--brand-1) 18%, transparent);
    color: var(--brand-1);
  }

  .theme-toggle {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--text); cursor: pointer;
    display: grid; place-items: center;
  }
  .theme-toggle svg { width: 18px; height: 18px; }

  .hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); text-align: center; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    border-radius: 99px;
    background: color-mix(in oklab, var(--brand-1) 12%, transparent);
    border: 1px solid color-mix(in oklab, var(--brand-1) 30%, transparent);
    color: var(--brand-1); font-size: var(--fs-xs);
    font-weight: 600; letter-spacing: 0.05em;
    margin-bottom: var(--sp-6);
  }
  .hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 12px var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
  }
  @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
  .hero h1 { font-size: var(--fs-3xl); max-width: 22ch; margin-inline: auto; }
  .hero .grad { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-sub { font-size: var(--fs-lg); color: var(--text-muted); max-width: 60ch; margin: var(--sp-6) auto var(--sp-8); }
  .hero-meta { display: flex; flex-wrap: wrap; gap: var(--sp-6); justify-content: center; font-size: var(--fs-sm); color: var(--text-dim); }
  .hero-meta span { display: inline-flex; align-items: center; gap: var(--sp-2); }
  .hero-meta span::before { content: "✓"; color: var(--accent); font-weight: 700; }

  .test-card {
    background: var(--surface);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 3vw, 3rem);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    position: relative; overflow: hidden;
    container-type: inline-size;
  }
  .gauge-wrap { display: grid; place-items: center; margin-block: var(--sp-6); position: relative; }
  .gauge { width: 100%; max-width: 320px; aspect-ratio: 1; position: relative; }
  .gauge svg { width: 100%; height: 100%; transform: rotate(135deg); }
  .gauge-bg { fill: none; stroke: var(--border); stroke-width: 10; stroke-linecap: round; }
  .gauge-fg { fill: none; stroke: url(#gauge-grad); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 0 1000; transition: stroke-dasharray 0.4s ease-out; filter: drop-shadow(0 0 12px oklch(0.65 0.2 250 / 0.5)); }
  .gauge-value { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
  .gauge-value .value {
    font-family: var(--font-mono); font-size: clamp(2.5rem, 8cqi, 4.5rem);
    font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .gauge-value .unit { color: var(--text-muted); font-size: var(--fs-sm); font-weight: 500; margin-top: var(--sp-2); }
  .gauge-value .label { color: var(--brand-1); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: var(--sp-2); }

  .test-btn {
    display: block; width: 100%; max-width: 320px;
    margin: var(--sp-6) auto 0;
    padding: var(--sp-4) var(--sp-8);
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: white; border: none; border-radius: var(--r-lg);
    font-size: var(--fs-lg); font-weight: 700;
    cursor: pointer; transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 24px -8px oklch(0.65 0.2 250 / 0.6);
  }
  .test-btn:hover:not(:disabled) { transform: translateY(-2px); }
  .test-btn:disabled { opacity: 0.6; cursor: progress; }

  .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--sp-4); margin-top: var(--sp-8);
  }
  .stat {
    background: color-mix(in oklab, var(--bg-elev) 70%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--sp-4); text-align: center;
    transition: border-color 0.2s;
  }
  .stat.active {
    border-color: var(--brand-1);
    background: color-mix(in oklab, var(--brand-1) 8%, var(--bg-elev));
  }
  .stat-label { font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--sp-2); }
  .stat-value { font-family: var(--font-mono); font-size: var(--fs-xl); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
  .stat-unit { font-size: var(--fs-xs); color: var(--text-dim); margin-left: 2px; }

  .status-row {
    display: flex; justify-content: center; align-items: center;
    gap: var(--sp-2); margin-top: var(--sp-6);
    font-size: var(--fs-sm); color: var(--text-muted);
    min-height: 1.5em;
  }
  .progress-bar { height: 3px; background: var(--border); border-radius: 999px; overflow: hidden; margin-top: var(--sp-4); }
  .progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); transition: width 0.3s; }

  /* Result card */
  .result-card {
    margin-top: var(--sp-8);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: clamp(1.25rem, 3vw, 2.5rem);
    backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.8,.2,1);
  }
  .result-card.show { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) { .result-card { transition: opacity 0.2s; transform: none; } }
  .result-overall { text-align: center; margin-bottom: var(--sp-8); }
  .result-label { display: block; font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-3); font-weight: 600; }
  .result-badge {
    display: inline-block; padding: var(--sp-3) var(--sp-8);
    font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800;
    border-radius: 999px; border: 2px solid currentColor;
    background: color-mix(in oklab, currentColor 12%, transparent);
  }
  .result-badge.level-bad   { color: var(--danger); }
  .result-badge.level-ok    { color: var(--warn); }
  .result-badge.level-good  { color: var(--accent); }
  .result-badge.level-great { color: var(--brand-1); }
  .result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4); margin-bottom: var(--sp-6); }
  .result-item {
    background: color-mix(in oklab, var(--bg-elev) 70%, transparent);
    border: 1px solid var(--border); border-radius: var(--r-md);
    padding: var(--sp-4); display: flex; align-items: flex-start; gap: var(--sp-3);
  }
  .result-item.level-bad   { border-color: color-mix(in oklab, var(--danger) 50%, var(--border)); }
  .result-item.level-ok    { border-color: color-mix(in oklab, var(--warn) 50%, var(--border)); }
  .result-item.level-good  { border-color: color-mix(in oklab, var(--accent) 50%, var(--border)); }
  .result-item.level-great { border-color: color-mix(in oklab, var(--brand-1) 60%, var(--border)); }
  .result-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
  .result-info { min-width: 0; }
  .result-info strong { display: block; font-size: var(--fs-sm); margin-bottom: 2px; }
  .result-info .result-value { font-family: var(--font-mono); font-size: var(--fs-base); font-weight: 700; margin-right: var(--sp-2); }
  .result-info .result-text { display: block; font-size: var(--fs-sm); color: var(--text-muted); margin-top: 2px; line-height: 1.45; }
  .result-tip {
    display: flex; align-items: flex-start; gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6);
    background: color-mix(in oklab, var(--brand-1) 8%, transparent);
    border-left: 3px solid var(--brand-1);
    border-radius: 0 var(--r-md) var(--r-md) 0;
  }
  .result-tip-icon { font-size: 1.4rem; flex-shrink: 0; }
  .result-tip p { margin: 0; font-size: var(--fs-sm); line-height: 1.55; }

  .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-6); }
  .info-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: var(--sp-6);
    backdrop-filter: blur(10px); transition: border-color 0.2s, transform 0.2s;
  }
  .info-card:hover { border-color: color-mix(in oklab, var(--brand-1) 50%, var(--border)); transform: translateY(-2px); }
  .info-card .icon {
    width: 44px; height: 44px; border-radius: var(--r-md);
    background: linear-gradient(135deg, color-mix(in oklab, var(--brand-1) 30%, transparent), color-mix(in oklab, var(--brand-2) 20%, transparent));
    border: 1px solid color-mix(in oklab, var(--brand-1) 40%, transparent);
    display: grid; place-items: center; margin-bottom: var(--sp-4);
    color: var(--brand-1);
  }
  .info-card .icon svg { width: 24px; height: 24px; }
  .info-card h3 { font-size: var(--fs-lg); margin: 0 0 var(--sp-2); }
  .info-card p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

  .table-wrap {
    overflow-x: auto;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); margin: var(--sp-6) 0;
  }
  .table-wrap table { min-width: 100%; font-size: var(--fs-sm); }
  .table-wrap th, .table-wrap td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--border); }
  .table-wrap th { font-weight: 600; background: var(--bg-elev); font-size: var(--fs-xs); letter-spacing: 0.05em; text-transform: uppercase; }
  .table-wrap tr:last-child td { border-bottom: 0; }

  .badge { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; }
  .badge.good { background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--accent); }
  .badge.ok   { background: color-mix(in oklab, var(--warn) 18%, transparent);   color: var(--warn); }
  .badge.bad  { background: color-mix(in oklab, var(--danger) 18%, transparent); color: var(--danger); }

  .faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-md); margin-bottom: var(--sp-3); overflow: hidden;
  }
  .faq-item[open] { border-color: color-mix(in oklab, var(--brand-1) 60%, var(--border)); }
  .faq-item summary {
    padding: var(--sp-4) var(--sp-6);
    font-weight: 600; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; font-size: 1.5em; color: var(--brand-1); transition: transform 0.2s; flex-shrink: 0; }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item .faq-body { padding: 0 var(--sp-6) var(--sp-6); color: var(--text-muted); }

  .footer {
    background: var(--bg-elev); border-top: 1px solid var(--border);
    padding-block: var(--sp-12) var(--sp-8); margin-top: var(--sp-16);
  }
  .footer-grid {
    display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--sp-8); width: var(--container); margin-inline: auto;
  }
  @media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  .footer h4 { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--sp-4); }
  .footer ul { list-style: none; padding: 0; margin: 0; }
  .footer li { margin-bottom: var(--sp-2); }
  .footer a { color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); }
  .footer a:hover { color: var(--text); }
  .footer-bottom {
    border-top: 1px solid var(--border); padding-top: var(--sp-6); margin-top: var(--sp-8);
    width: var(--container); margin-inline: auto;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
    font-size: var(--fs-sm); color: var(--text-dim);
  }

  .cookie {
    position: fixed; bottom: var(--sp-4); left: var(--sp-4); right: var(--sp-4);
    max-width: 540px; background: var(--bg-elev-2); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: var(--sp-6);
    box-shadow: var(--shadow-soft); z-index: 200;
    backdrop-filter: blur(20px);
    transform: translateY(150%); transition: transform 0.3s ease-out;
  }
  .cookie.show { transform: translateY(0); }
  .cookie h3 { font-size: var(--fs-lg); margin: 0 0 var(--sp-3); }
  .cookie p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0 0 var(--sp-4); }
  .cookie-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
  .cookie button {
    padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
    border: 1px solid var(--border); background: var(--bg-elev);
    color: var(--text); font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
  }
  .cookie button.primary {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: white; border: none; flex: 1; min-width: 140px;
  }

  .ad-slot {
    margin-block: var(--sp-8); padding: var(--sp-3);
    background: var(--surface); border: 1px dashed var(--border);
    border-radius: var(--r-md); text-align: center; min-height: 90px;
    display: grid; place-items: center;
  }
  .ad-slot::before {
    content: attr(data-label);
    display: block; font-size: 10px; color: var(--text-dim);
    letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: var(--sp-2);
  }
  .sticky-ad {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: color-mix(in oklab, var(--bg-elev-2) 95%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--border);
    padding: var(--sp-2) var(--sp-3); z-index: 90;
    min-height: 60px; max-height: 100px;
    display: flex; align-items: center; justify-content: center;
  }
  .sticky-ad ins.adsbygoogle { max-width: 728px; width: 100%; margin: 0 auto; }
  .sticky-ad-close {
    position: absolute; top: 4px; right: 6px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--bg-elev); border: 1px solid var(--border);
    color: var(--text); cursor: pointer;
    font-size: 16px; line-height: 1;
    display: grid; place-items: center; padding: 0;
  }
  @media (min-width: 1024px) { .sticky-ad { display: none; } }
  body.has-sticky-ad { padding-bottom: 100px; }
  @media (min-width: 1024px) { body.has-sticky-ad { padding-bottom: 0; } }

  .btn {
    display: inline-block; padding: var(--sp-3) var(--sp-6);
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: white; border: none; border-radius: var(--r-md);
    font-size: var(--fs-base); font-weight: 700;
    cursor: pointer; text-decoration: none;
    transition: transform 0.15s;
    box-shadow: 0 8px 24px -8px oklch(0.65 0.2 250 / 0.6);
  }
  .btn:hover { transform: translateY(-2px); color: white; }

  .breadcrumb { font-size: var(--fs-sm); color: var(--text-muted); margin: var(--sp-6) 0 var(--sp-4); }
  .breadcrumb a { color: var(--text-muted); }

  .eyebrow {
    display: inline-block; font-size: var(--fs-xs); font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-1);
    margin-bottom: var(--sp-3);
  }

  .section-head { max-width: 60ch; margin-bottom: var(--sp-12); }
  .section-head p { color: var(--text-muted); font-size: var(--fs-lg); margin-top: var(--sp-4); }
}

@layer utilities {
  .text-grad { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
