:root {
  --bg: #07131a;
  --bg-2: #0c1e27;
  --panel: #102734;
  --text: #ecf7fb;
  --muted: #9cb8c5;
  --accent: #0ea5a6;
  --accent-2: #22d3ee;
  --accent-rgb: 14, 165, 166;
  --accent-2-rgb: 34, 211, 238;
  --line: #1f3b4a;
  --glow: 0 0 30px rgba(var(--accent-2-rgb), 0.28);
  --radius: 16px;
  --a11y-scale: 1;
}

* { box-sizing: border-box; }
html {
  height: 100%;
  font-size: 16px;
}
body { height: 100%; }
body {
  margin: 0;
  font-family: "Space Grotesk", "Satoshi", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(var(--accent-rgb), 0.22), transparent 60%),
              radial-gradient(900px 500px at 10% 10%, rgba(var(--accent-2-rgb), 0.14), transparent 60%),
              linear-gradient(180deg, #061018 0%, #07131a 58%, #050c12 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.2px;
  font-size: calc(1rem * var(--a11y-scale));
}

body.theme-light {
  --bg: #f5fbfd;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --text: #0c1b23;
  --muted: #4d6674;
  --accent: #0f766e;
  --accent-2: #0891b2;
  --accent-rgb: 15, 118, 110;
  --accent-2-rgb: 8, 145, 178;
  --line: #cfe0e8;
  --glow: 0 0 24px rgba(var(--accent-rgb), 0.22);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(var(--accent-rgb), 0.16), transparent 60%),
              radial-gradient(900px 500px at 10% 10%, rgba(var(--accent-2-rgb), 0.1), transparent 60%),
              linear-gradient(180deg, #fbfeff 0%, #f3fafc 60%, #ebf4f8 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
}

body.a11y-font-lg { --a11y-scale: 1.15; }
body.a11y-font-xl { --a11y-scale: 1.3; }

body.a11y-font-lg #mcpmweu-widget,
body.a11y-font-xl #mcpmweu-widget {
  font-size: calc(14px * var(--a11y-scale)) !important;
}

body.a11y-contrast {
  --bg: #000000;
  --bg-2: #050505;
  --panel: #0c0c0c;
  --text: #ffffff;
  --muted: #f2f2f2;
  --accent: #00d4d4;
  --accent-2: #67e8f9;
  --line: #ffffff;
}

body.a11y-invert {
  --bg: #f5f7fb;
  --bg-2: #eef2f8;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #334155;
  --accent: #0f766e;
  --accent-2: #0891b2;
  --line: #cbd5e1;
  --glow: 0 0 20px rgba(15, 118, 110, 0.2);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(15, 118, 110, 0.14), transparent 60%),
              radial-gradient(900px 500px at 10% 10%, rgba(8, 145, 178, 0.08), transparent 60%),
              linear-gradient(180deg, #f8fafc 0%, #f1f5f9 60%, #eef2f7 100%) !important;
  color: #0f172a !important;
}

body.a11y-invert header,
body.a11y-invert .hero-card,
body.a11y-invert .card,
body.a11y-invert .contact-card,
body.a11y-invert .doc-item,
body.a11y-invert .login,
body.a11y-invert .a11y-panel {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body.a11y-invert .nav-links a,
body.a11y-invert .hero p,
body.a11y-invert .doc-item span,
body.a11y-invert .contact-form label,
body.a11y-invert .login span,
body.a11y-invert footer {
  color: #334155 !important;
}

body.a11y-invert .brand,
body.a11y-invert .section-title,
body.a11y-invert h1,
body.a11y-invert h2,
body.a11y-invert h3,
body.a11y-invert h4,
body.a11y-invert h5,
body.a11y-invert h6,
body.a11y-invert p,
body.a11y-invert strong,
body.a11y-invert .btn.outline {
  color: #0f172a !important;
}

body.a11y-invert #mcpmweu-widget,
body.a11y-invert #mcpmweu-widget * {
  color: #0f172a !important;
}

body.a11y-invert #mcpmweu-widget .panel,
body.a11y-invert #mcpmweu-widget .well,
body.a11y-invert #mcpmweu-widget .box__inner,
body.a11y-invert #mcpmweu-widget .login-box__form,
body.a11y-invert #mcpmweu-widget .service-info,
body.a11y-invert #mcpmweu-widget .simService__data,
body.a11y-invert #mcpmweu-widget .simService__content,
body.a11y-invert #mcpmweu-widget .boxes__item__inner {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

body.a11y-reduce-motion { scroll-behavior: auto !important; }

body.a11y-reduce-motion .fade-up {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

body.a11y-reduce-motion [class*="fade-"],
body.a11y-reduce-motion .btn,
body.a11y-reduce-motion .filter-btn,
body.a11y-reduce-motion .card,
body.a11y-reduce-motion .login .btn {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body { scroll-behavior: auto !important; }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  [class*="fade-"] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.9);
  outline-offset: 2px;
}

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

.container-fluid {
  width: 100%;
  margin: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.95), rgba(12, 15, 20, 0.75));
  border-bottom: 1px solid var(--line);
}

body.theme-light header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.85));
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus-visible {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
}

.skip-link:focus:not(:focus-visible) {
  top: 10px;
  left: -9999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--text);
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent));
  color: white;
  font-weight: 800;
  box-shadow: var(--glow);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.login {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(21, 27, 43, 0.8);
}

body.theme-light .login {
  background: rgba(255, 255, 255, 0.88);
}

.login span {
  font-size: 0.85rem;
  color: var(--muted);
}

.login button,
.login .btn {
  border: none;
  background: var(--accent);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--glow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.login button:hover,
.login .btn:hover { transform: translateY(-1px); background: var(--accent-2); }

.login.compact {
  padding: 6px 10px;
}

.desktop-only { display: inline; }
.mobile-only { display: none; }

.icon-login {
  padding: 0;
  border: 0;
  background: transparent;
}

.icon-action {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(21, 27, 43, 0.85);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.icon-action:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: var(--glow);
}

.icon-action .icon,
.a11y-tools summary .icon {
  width: 18px;
  height: 18px;
}

body.theme-light .icon-action {
  background: rgba(255, 255, 255, 0.92);
  border-color: #d3dbe8;
  color: #1f2937;
}

.a11y-tools {
  position: relative;
}

.theme-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(21, 27, 43, 0.85);
  color: var(--text);
  cursor: pointer;
  font-size: 0.88rem;
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
}

body.theme-light .theme-toggle {
  background: rgba(255, 255, 255, 0.88);
}

.a11y-tools summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(21, 27, 43, 0.85);
}

body.theme-light .a11y-tools summary {
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
  border-color: #d3dbe8;
}

.a11y-tools summary::-webkit-details-marker { display: none; }

.a11y-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(340px, 92vw);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 16, 26, 0.98);
  display: grid;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

body.theme-light .a11y-panel {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(20, 26, 40, 0.16);
}

.a11y-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.a11y-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.a11y-btn {
  border: 1px solid var(--line);
  background: rgba(21, 27, 43, 0.9);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  cursor: pointer;
}

.a11y-btn.is-active {
  border-color: rgba(var(--accent-rgb), 0.8);
  background: rgba(var(--accent-rgb), 0.22);
}

body.theme-light .a11y-btn {
  background: #ffffff;
  color: #1f2937;
  border-color: #cfd8e6;
}

body.theme-light .a11y-btn:hover {
  background: #f7f9fd;
}

body.theme-light .a11y-btn.is-active {
  color: #0b5f5b;
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.12);
}

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

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1.5rem, 3.6rem);
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero p { color: var(--muted); margin: 0 0 22px; }

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }

.hero-card {
  background: linear-gradient(145deg, rgba(21, 27, 43, 0.9), rgba(13, 17, 27, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

body.theme-light .hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94));
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -40% 40% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), transparent 60%);
  filter: blur(10px);
}

section {
  padding: 60px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.section-title::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
}

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

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(21, 27, 43, 0.8);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.filter-btn:hover { transform: translateY(-1px); }

.filter-btn.active {
  border-color: rgba(var(--accent-rgb), 0.6);
  background: rgba(var(--accent-rgb), 0.2);
  color: #fff;
  box-shadow: var(--glow);
}

body.theme-light .filter-btn {
  background: #ffffff;
  color: #1f2937;
  border-color: #d3dbe8;
}

body.theme-light .filter-btn:hover {
  background: #f7f9fd;
}

body.theme-light .filter-btn.active {
  color: #0b5f5b;
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.hidden { display: none !important; }

.category-separator {
  grid-column: 1 / -1;
  display: block;
  margin: 8px 0 4px;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(var(--accent-rgb), 0.65);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-2-rgb), 0.24));
  box-shadow: 0 0 20px rgba(var(--accent-2-rgb), 0.25);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.45); }

.addon-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.tariff-meta {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cenik-meta-note {
  margin-bottom: 16px;
}

.tariff-note {
  margin: 3px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  opacity: 0.9;
}

.addon-list {
  margin: 6px 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.addon-list li {
  margin: 2px 0;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 12px 0 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  color: #fff;
  stroke: currentColor;
  fill: none;
}

.icon-muted {
  color: rgba(255, 255, 255, 0.7);
}

.icon-badge {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.docs-list {
  display: grid;
  gap: 12px;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 24, 38, 0.6);
}

body.theme-light .doc-item {
  background: #ffffff;
  border-color: #d8deea;
}

.doc-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-item span { color: var(--muted); }

body.theme-light .doc-item strong {
  color: #111827;
}

body.theme-light .doc-item span {
  color: #4b5563;
}

body.theme-light .doc-item .btn.outline {
  color: #111827;
  border-color: #cfd8e6;
  background: #ffffff;
}

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

.contact-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(21, 27, 43, 0.95), rgba(14, 18, 28, 0.9));
}

body.theme-light .contact-card {
  background: #ffffff;
  border-color: #d8deea;
}

body.theme-light .contact-card h3,
body.theme-light .contact-card p,
body.theme-light .contact-card strong {
  color: #111827;
}

.contact-form {
  display: grid;
  gap: 12px;
}

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

.contact-form label {
  font-size: 0.9rem;
  color: var(--muted);
}

body.theme-light .contact-form label {
  color: #374151;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 16, 26, 0.9);
  color: var(--text);
  font: inherit;
}

body.theme-light .contact-form input,
body.theme-light .contact-form textarea {
  background: #ffffff;
  color: #111827;
  border-color: #cfd8e6;
}

body.theme-light .contact-form input::placeholder,
body.theme-light .contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form button {
  justify-self: start;
  border: none;
}

.form-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.form-message.success {
  background: rgba(46, 204, 113, 0.18);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #c5f3d7;
}

.form-message.error {
  background: rgba(var(--accent-rgb), 0.18);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  color: #cbf8ff;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.phone-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.16);
  box-shadow: var(--glow);
}

body.theme-light .phone-callout {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.32);
}

.phone-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  flex: 0 0 36px;
}

.phone-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.6px;
}

body.theme-light .phone-number {
  color: #0b5f5b;
}

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

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

footer a:hover {
  color: var(--text);
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

main {
  min-height: calc(100vh - 140px);
}

.placeholder {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  text-align: center;
}

.mcpmweu-host {
  width: 100%;
}

.legal-page {
  padding: 50px 0 70px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(21, 27, 43, 0.95), rgba(14, 18, 28, 0.9));
  padding: 24px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem);
}

.legal-card h2 {
  margin: 20px 0 8px;
  font-size: 1.2rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 8px 0 14px;
  padding-left: 18px;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.consent-check input {
  margin-top: 3px;
  width: auto;
}

.consent-check a {
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  bottom: 16px;
  z-index: 1200;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 14, 22, 0.98);
  padding: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.cookie-banner p {
  margin: 0 0 10px;
  color: var(--muted);
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 9px 14px;
}

@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-grid !important; }
  .nav {
    flex-wrap: wrap;
    height: auto;
    row-gap: 10px;
  }
  .nav-links {
    display: flex;
    width: 100%;
    order: 10;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .login {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .theme-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    display: inline-grid;
    place-items: center;
  }
  .a11y-tools {
    width: auto;
  }
  .a11y-tools summary {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    color: transparent;
    gap: 0;
  }
  .hero { padding-top: 60px; }
}

@media (max-width: 600px) {
  .nav-links {
    justify-content: flex-start;
    font-size: 0.9rem;
  }
  .doc-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .doc-item .btn {
    width: 100%;
    justify-content: center;
  }
  .a11y-tools { width: auto; }
  .a11y-tools summary { text-align: center; }
  .a11y-panel { left: 0; right: 0; width: 100%; }
  .hero-card::after { display: none; }
}
