@keyframes ask32-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ask32-wordmark {
  display: inline-block;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #6366f1 0%, #8b5cf6 30%, #a855f7 60%, #7c3aed 80%, #6366f1 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ask32-shimmer 5s ease infinite;
}

/* Category page sidebar & 404 — smaller logo */
body > main.consult-page aside .ask32-wordmark,
body > main.max-w-2xl .ask32-wordmark {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #f5f5f7;
}

body {
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  font-size: 16px;
}

h1,
h2,
h3,
p,
a,
button,
input,
textarea,
select {
  letter-spacing: 0 !important;
}

a {
  color: #0066cc;
}

main {
  color: #1d1d1f;
}

body.aux-page {
  min-height: 100vh;
}

.aux-shell {
  position: relative;
  max-width: 720px !important;
  padding-top: 1.25rem !important;
  padding-bottom: 3rem !important;
}

.aux-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.9rem;
}

.aux-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(210, 210, 215, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #6e6e73;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.aux-service-label {
  margin-bottom: 0.45rem;
  color: #0066cc !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.aux-title {
  margin-top: 0 !important;
  margin-bottom: 1.2rem !important;
  font-size: clamp(1.9rem, 3vw, 2.4rem) !important;
  line-height: 1.12 !important;
}

.aux-card {
  border: 1px solid rgba(210, 210, 215, 0.72);
  border-radius: 28px;
  background: #ffffff;
  padding: 1.3rem 1.15rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.045);
}

.aux-return-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 3rem !important;
  margin-top: 1.1rem !important;
  border: 1px solid rgba(210, 210, 215, 0.88);
  border-radius: 999px !important;
  background: #ffffff !important;
  padding: 0 1rem !important;
  color: #1d1d1f !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  text-decoration: none !important;
}

body > main.max-w-5xl {
  max-width: 1180px !important;
}

body > main.max-w-5xl > header {
  padding-top: 0;
}

body > main.max-w-5xl > header + section {
  margin-top: clamp(1.4rem, 2.5vw, 2.2rem) !important;
}

header {
  text-align: center;
}

header h1 {
  color: #1d1d1f;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
}

header p {
  color: #6e6e73 !important;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

header img[alt="Ask32"] {
  height: clamp(1.85rem, 2.6vw, 2.25rem) !important;
}

.group {
  border-color: transparent !important;
  box-shadow: none !important;
}

a.group {
  min-height: 224px;
  border: 1px solid rgba(210, 210, 215, 0.72) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  padding: clamp(1.25rem, 2vw, 1.85rem) !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

a.group:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-1px);
}

a.group h2 {
  color: #1d1d1f;
  font-size: clamp(1.32rem, 1.9vw, 1.78rem) !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
}

a.group p:not(.text-xs) {
  color: #6e6e73 !important;
  font-size: clamp(0.9rem, 1.05vw, 1rem) !important;
  line-height: 1.55 !important;
}

a.group .text-xs {
  color: #0066cc !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

a.group span.rounded-full {
  background: #f5f5f7 !important;
  color: #6e6e73 !important;
  font-weight: 600 !important;
}

a.group span[aria-hidden],
a.group span.grid {
  background: #f5f5f7 !important;
  color: #0066cc !important;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(210, 210, 215, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 12px;
  color: #6e6e73;
}

aside,
main > div.flex,
section.rounded-3xl,
.rounded-2xl,
.rounded-\[2rem\] {
  box-shadow: none !important;
}

aside {
  border-color: transparent !important;
  background: #fff !important;
}

main > div.flex {
  border-color: transparent !important;
}

#serviceList a,
.category-card,
section.rounded-3xl {
  border-color: rgba(210, 210, 215, 0.72) !important;
  background: #fff !important;
  border-radius: 22px !important;
}

#serviceList .service-card {
  display: block;
  padding: 1.15rem 1.2rem !important;
}

#serviceList .service-card__head {
  align-items: flex-start;
}

#serviceList .service-card__label {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

#serviceList .service-card__title {
  max-width: 18ch;
  font-size: clamp(1.22rem, 1.7vw, 1.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-wrap: balance;
}

#serviceList .service-card__description {
  margin-top: 0.65rem !important;
  font-size: 0.92rem !important;
  line-height: 1.62 !important;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#serviceList .service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

#serviceList .service-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(210, 210, 215, 0.9);
  border-radius: 999px;
  background: #f5f5f7;
  padding: 0 0.7rem;
  color: #6e6e73;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

#serviceList .service-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f5f5f7;
  color: #0071e3 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

#serviceList h3,
#resultTitle,
section h2 {
  color: #1d1d1f !important;
  font-weight: 600 !important;
}

#serviceList p,
#sectionLabel,
#resultCount,
.category-card p {
  color: #6e6e73 !important;
}

.category-card-toggle {
  border: 0;
  background: transparent;
}

.category-card__service {
  text-decoration: none;
}

.category-card__service p {
  margin: 0;
}

.category-card__popular {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  padding: 0 0.45rem;
  color: #0071e3;
  font-size: 0.66rem;
  font-weight: 700;
}

.quick-topic-chip {
  white-space: nowrap;
}

.quick-access-block,
.category-chip-block {
  box-shadow: none !important;
}

.quick-access-block::-webkit-scrollbar,
.category-chip-block::-webkit-scrollbar {
  display: none;
}

#sectionLabel,
#resultCount,
.category-card span,
.category-heading p {
  color: #0066cc !important;
}

input,
textarea,
select {
  background: #fff !important;
  border-color: #d2d2d7 !important;
  border-radius: 16px !important;
}

button {
  border-radius: 999px !important;
}

button,
.chip,
.example,
select,
input,
textarea {
  font-size: 1rem !important;
}

.chip,
.example {
  border-color: #d2d2d7 !important;
  background: #fff !important;
  color: #1d1d1f !important;
  font-weight: 600 !important;
}

.chip.bg-indigo-600,
.chip.text-white {
  background: #1d1d1f !important;
  border-color: #1d1d1f !important;
  color: #fff !important;
}

#submitButton {
  min-height: 52px !important;
  border-radius: 999px !important;
  background: #0071e3 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

footer {
  color: #86868b !important;
}

body > main.max-w-md:not(.consult-page) {
  max-width: 430px !important;
  padding-top: 0.85rem !important;
}

body > main.max-w-md:not(.consult-page) > header {
  text-align: left !important;
  padding: 0.25rem 1rem 1.1rem !important;
}

body > main.max-w-md:not(.consult-page) > header h1 {
  max-width: none !important;
  margin: 0.55rem 0 0 !important;
  font-size: clamp(1.9rem, 8vw, 2.55rem) !important;
  font-weight: 700 !important;
  line-height: 1.06 !important;
}

body > main.max-w-md:not(.consult-page) > header p {
  max-width: none !important;
  margin: 0.7rem 0 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.58 !important;
}

body > main.max-w-md:not(.consult-page) > header > div.rounded-\[2rem\] {
  border: 1px solid rgba(210, 210, 215, 0.72) !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  padding: 1.15rem 1.1rem 1rem !important;
}

body > main.max-w-md:not(.consult-page) > header > div.rounded-\[2rem\] > img {
  width: 2.2rem !important;
  height: 2.2rem !important;
  margin-bottom: 0.65rem !important;
  border-radius: 0.9rem !important;
  padding: 0.38rem !important;
}

body > main.max-w-md:not(.consult-page) > header > div.rounded-\[2rem\] > p.text-xs {
  margin: 0 !important;
  color: #6e6e73 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}

body > main.max-w-md:not(.consult-page) > header > div.mt-4.grid {
  margin-top: 0.75rem !important;
  gap: 0.5rem !important;
}

body > main.max-w-md:not(.consult-page) > header > div.mt-4.grid > div {
  border: 1px solid rgba(210, 210, 215, 0.72) !important;
  background: #ffffff !important;
  padding: 0.7rem 0.45rem !important;
}

body > main.max-w-md:not(.consult-page) > header > div.mt-4.grid > div p:first-child {
  color: #1d1d1f !important;
}

body > main.max-w-md:not(.consult-page) > header > div.mt-4.grid > div p:last-child {
  color: #6e6e73 !important;
}

body > main.max-w-md:not(.consult-page) > form {
  margin-top: 0.1rem !important;
}

body > main.max-w-md:not(.consult-page) > form section > div.bg-slate-100:first-child {
  border-radius: 16px !important;
  background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f7 100%) !important;
  border: 1px solid rgba(210, 210, 215, 0.88) !important;
  padding: 0.82rem 0.95rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  position: relative;
}

body > main.max-w-md:not(.consult-page) > form section > div.bg-slate-100:first-child p {
  margin: 0 !important;
  color: #1d1d1f !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

body > main.max-w-md:not(.consult-page) > form section > div.bg-slate-100:first-child::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: #0071e3;
  transform: translateY(-50%);
}

body > main.max-w-md:not(.consult-page) > form section > div.bg-slate-100:first-child p {
  padding-left: 12px !important;
}

body > main.consult-page {
  max-width: 1280px !important;
}

body > main.consult-page aside > header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body > main.consult-page aside > header > a:first-child {
  min-height: 36px;
}

body > main.consult-page aside > header > a:nth-child(2) {
  margin-top: 0.75rem;
}

body > main.consult-page #serviceList {
  grid-template-columns: 1fr;
}

body > main.consult-page #mobileGuide {
  box-shadow: none !important;
}

body > main.consult-page #categoryOverview {
  grid-template-columns: 1fr !important;
}

body > main.consult-page .category-card {
  padding: 0.85rem !important;
  border-radius: 20px !important;
}

body > main.consult-page .category-card__panel {
  border-top: 1px solid rgba(210, 210, 215, 0.72);
  padding-top: 0.75rem;
}

body > main.consult-page .category-card__service {
  min-height: 68px;
}

.language-switcher {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 50;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(210, 210, 215, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.language-switcher button {
  min-width: 44px;
  height: 32px;
  border: 0;
  border-radius: 999px !important;
  background: transparent;
  color: #6e6e73;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switcher button[aria-pressed="true"] {
  background: #1d1d1f;
  color: #fff;
}

@media (max-width: 640px) {
  .aux-shell {
    padding-top: 0.9rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .aux-close-button {
    min-height: 2.1rem;
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }

  .aux-card {
    border-radius: 22px;
    padding: 1.05rem 0.95rem;
  }

  .aux-title {
    font-size: clamp(1.65rem, 8vw, 2rem) !important;
    line-height: 1.12 !important;
  }

  .aux-return-link {
    width: 100%;
    min-height: 2.85rem !important;
  }

  header h1 {
    max-width: 19rem;
    font-size: 1.62rem !important;
    line-height: 1.18 !important;
  }

  header p {
    max-width: 20rem;
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }

  header img[alt="Ask32"] {
    height: 1.35rem !important;
  }

  body > main.max-w-5xl > header .inline-flex {
    padding: 0.35rem 0.7rem !important;
  }

  a.group {
    min-height: 0;
    border-radius: 18px !important;
  }

  a.group h2 {
    font-size: 1.18rem !important;
    line-height: 1.22 !important;
  }

  a.group p:not(.text-xs) {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  a.group > div.mt-5 {
    display: none !important;
  }

  a.group span.grid {
    width: 2.4rem !important;
    height: 2.4rem !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
  }

  a.group span.rounded-full {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.66rem !important;
  }

  #serviceList .service-card {
    padding: 1rem !important;
    border-radius: 18px !important;
  }

  #serviceList .service-card__title {
    max-width: none;
    font-size: 1.05rem !important;
    line-height: 1.18 !important;
  }

  #serviceList .service-card__description {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  #serviceList .service-card__tag {
    min-height: 24px;
    padding: 0 0.55rem;
    font-size: 0.68rem;
  }

  #serviceList .service-card__arrow {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.92rem !important;
  }

  .trust-row {
    gap: 0.35rem !important;
  }

  .trust-row span {
    min-height: 26px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  body > main.max-w-5xl {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body > main.max-w-5xl > header,
  body > main.max-w-5xl > section,
  body > main.max-w-5xl > footer,
  body > main.max-w-5xl > form {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body > main.max-w-md:not(.consult-page) > header h1 {
    max-width: none !important;
    font-size: clamp(1.75rem, 8vw, 2.2rem) !important;
    line-height: 1.08 !important;
  }

  body > main.max-w-md:not(.consult-page) > header p {
    max-width: none !important;
    font-size: 0.93rem !important;
  }

  .language-switcher {
    top: auto;
    right: 12px;
    bottom: 82px;
  }
}
