:root {
  --paper: #f7f1e6;
  --surface: #fffdfa;
  --ink: #25272a;
  --muted: #686b70;
  --line: #ded5c8;
  --blue: #2e62ad;
  --pink: #ec3d68;
  --yellow: #ffcb1d;
  --orange: #f68a25;
  --green: #168a52;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(255,203,29,.17), transparent 27rem),
    radial-gradient(circle at 0 48rem, rgba(46,98,173,.05), transparent 30rem),
    var(--paper);
  font-family: Roboto, Cairo, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body, button, input { font-family: Roboto, Cairo, Arial, sans-serif; }
:lang(en) { font-family: Roboto, Arial, sans-serif; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(37,39,42,.15);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-logo { display: grid; place-items: center; width: 39px; height: 45px; overflow: hidden; }
.brand img { width: 36px; height: 45px; object-fit: contain; mix-blend-mode: multiply; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font: 800 .87rem Roboto, Arial, sans-serif; letter-spacing: .04em; }
.brand-text small { color: var(--muted); font-size: .68rem; font-weight: 700; }
.back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .78rem;
  border: 1px solid #c9bba9;
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255,253,250,.65);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.back:hover { background: #fffdfa; border-color: var(--blue); transform: translateY(-1px); }
.back svg { width: 16px; height: 16px; }
html[lang="en"] .back svg { transform: rotate(180deg); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, .7fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  min-height: 410px;
  margin-top: 1.15rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: 28px;
  background: #25272a;
  color: #fffdfa;
  box-shadow: 10px 12px 0 rgba(37,39,42,.1), 0 16px 36px rgba(37,39,42,.1);
}
.hero::before {
  position: absolute;
  inset: auto auto -160px -140px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018);
  content: "";
  pointer-events: none;
}
.hero::after {
  position: absolute;
  inset: 0 0 auto auto;
  width: 160px;
  height: 9px;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--pink) 25% 50%, var(--yellow) 50% 75%, #9fcc3e 75%);
  content: "";
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; color: #ffd74b; font-size: .77rem; font-weight: 800; }
.eyebrow::before { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px rgba(236,61,104,.2); content: ""; }
h1 { max-width: 660px; margin: 0; font-family: Cairo, Arial, sans-serif; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.35; letter-spacing: -.055em; }
h1 span { color: #ffcb1d; }
.hero-lede { max-width: 600px; margin: 1rem 0 1.7rem; color: #d9d8d5; font-size: clamp(.9rem, 1.5vw, 1.06rem); line-height: 1.9; }
.search-box { position: relative; max-width: 625px; }
.search-box svg { position: absolute; inset-inline-start: 1rem; top: 50%; width: 22px; height: 22px; color: var(--blue); transform: translateY(-50%); pointer-events: none; }
.search-box input {
  width: 100%;
  min-height: 62px;
  padding: .8rem 3.3rem .8rem 3.3rem;
  border: 2px solid transparent;
  border-radius: 15px;
  outline: 0;
  background: #fffdfa;
  color: var(--ink);
  font-size: .93rem;
  box-shadow: 0 8px 0 rgba(0,0,0,.16);
}
.search-box input::placeholder { color: #848484; opacity: 1; }
.search-box input:focus { border-color: var(--yellow); }
.search-clear { position: absolute; inset-inline-end: .65rem; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 8px; background: #eee8df; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.search-clear:hover { background: #e3d8c9; }
.search-status { min-height: 1.5rem; margin: 1rem 0 0; color: #c9c6c0; font-size: .79rem; }
.hero-art { position: relative; z-index: 1; display: grid; place-items: center; min-height: 280px; }
.hero-art::before { position: absolute; width: 260px; height: 260px; border: 1px dashed rgba(255,255,255,.25); border-radius: 50%; content: ""; }
.hero-art::after { position: absolute; width: 200px; height: 200px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.question-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 158px; height: 158px; border: 3px solid #25272a; border-radius: 38px; background: var(--yellow); color: #25272a; box-shadow: 12px 12px 0 var(--pink); font: 800 6.8rem/1 Roboto, Arial, sans-serif; transform: rotate(-8deg); }
.hero-tag { position: absolute; z-index: 2; display: grid; min-width: 112px; padding: .5rem .7rem; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: #fffdfa; color: var(--ink); box-shadow: 5px 6px 0 rgba(0,0,0,.16); text-align: center; transform: rotate(7deg); }
.hero-tag strong { font: 800 1rem Roboto, Cairo, Arial, sans-serif; }
.hero-tag span { color: #6f6b65; font-size: .63rem; font-weight: 700; }
.hero-tag--top { inset: 8px auto auto 0; }
.hero-tag--bottom { inset: auto 0 10px auto; transform: rotate(-5deg); }

.content-grid { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-top: clamp(2.5rem, 5vw, 4rem); }
.sidebar { position: sticky; top: 1.25rem; }
.sidebar-card { padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,250,.75); box-shadow: 0 8px 22px rgba(37,39,42,.04); }
.sidebar-label { margin: 0 0 .75rem; color: #8b8074; font-size: .72rem; font-weight: 800; }
.jump-links { display: grid; gap: .3rem; }
.jump-links a { display: flex; align-items: center; gap: .7rem; min-height: 45px; padding: .48rem .58rem; border-radius: 10px; color: #575957; font-size: .8rem; font-weight: 800; text-decoration: none; transition: background .18s ease, color .18s ease; }
.jump-links a:hover, .jump-links a[aria-current="location"] { background: #eaf1fc; color: #214d8c; }
.jump-links a[aria-current="location"] { box-shadow: inset 3px 0 0 var(--blue); }
html[dir="rtl"] .jump-links a[aria-current="location"] { box-shadow: inset -3px 0 0 var(--blue); }
.nav-num { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 7px; background: #f0e9df; color: #7e766e; font: 800 .67rem Roboto, Arial, sans-serif; }
.jump-links a[aria-current="location"] .nav-num { background: var(--blue); color: #fff; }
.sidebar-help { margin-top: 1rem; padding: 1rem; border-radius: 16px; background: #e7d9c8; }
.sidebar-help strong { display: block; margin-bottom: .3rem; font-size: .86rem; }
.sidebar-help p { margin: 0 0 .7rem; color: #655e55; font-size: .72rem; line-height: 1.65; }
.sidebar-help a { color: #214d8c; font-size: .77rem; font-weight: 800; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.faq-main { min-width: 0; }
.group { margin: 0 0 2.8rem; scroll-margin-top: 1.25rem; }
.group-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.group-index { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid #d6e1f3; border-radius: 12px; background: #eaf1fc; color: #214d8c; font: 800 .8rem Roboto, Arial, sans-serif; }
.group:nth-of-type(2) .group-index { border-color: #f4d6dd; background: #fff0f4; color: #b0244a; }
.group:nth-of-type(3) .group-index { border-color: #f6dfae; background: #fff5de; color: #a05b12; }
.group-heading h2 { flex: 1; margin: 0; font-family: Cairo, Arial, sans-serif; font-size: clamp(1.13rem, 2vw, 1.36rem); line-height: 1.5; }
.group-count { padding: .2rem .55rem; border: 1px solid var(--line); border-radius: 999px; color: #77716b; font: 800 .7rem Roboto, Arial, sans-serif; }
.faq-list { display: grid; gap: .7rem; }
details { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 5px 14px rgba(37,39,42,.035); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
details:hover { border-color: #adc0db; transform: translateY(-1px); }
details[open] { border-color: #8baad3; box-shadow: 5px 6px 0 rgba(46,98,173,.1); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding: .95rem 1.15rem; cursor: pointer; list-style: none; font-size: .91rem; font-weight: 800; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary::after { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #c7d5e8; border-radius: 9px; background: #eff4fb; color: var(--blue); content: "+"; font: 500 1.3rem/1 Roboto, Arial, sans-serif; transition: transform .2s ease, background .2s ease, color .2s ease; }
details[open] summary::after { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.answer { margin: 0 1.15rem; padding: 1rem 0 1.2rem; border-top: 1px solid #e7e1d7; color: #575957; font-size: .88rem; line-height: 1.95; }
.answer p { margin: 0; }
.answer strong { color: var(--ink); }
.targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-top: 1rem; }
.target { padding: .75rem; border: 1px solid #e0d6c8; border-radius: 11px; background: #faf6ef; }
.target b { display: block; color: var(--blue); font: 800 1rem Roboto, Cairo, Arial, sans-serif; }
.target span { display: block; color: #6c6860; font-size: .72rem; }
.empty-state { padding: 2.5rem 1.5rem; border: 1px dashed #c9bba9; border-radius: 18px; background: var(--surface); text-align: center; }
.empty-state strong { display: block; margin-bottom: .3rem; font-size: 1rem; }
.empty-state p { margin: 0; color: var(--muted); font-size: .84rem; }

.support { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 3rem 0 4rem; padding: clamp(1.4rem, 3vw, 2rem); overflow: hidden; border-radius: 20px; background: var(--ink); color: #fffdfa; box-shadow: 8px 9px 0 rgba(37,39,42,.13); }
.support::before { position: absolute; inset: auto -40px -75px auto; width: 175px; height: 175px; border: 24px solid rgba(255,203,29,.13); border-radius: 50%; content: ""; pointer-events: none; }
.support-copy, .support-actions { position: relative; z-index: 1; }
.support h2 { margin: 0 0 .35rem; font-family: Cairo, Arial, sans-serif; font-size: clamp(1.1rem, 2.5vw, 1.45rem); }
.support p { max-width: 420px; margin: 0; color: #d9d5cd; font-size: .82rem; }
.support-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.support-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; min-width: 95px; padding: .5rem .8rem; border: 1px solid rgba(255,253,250,.46); border-radius: 10px; color: #fff; font-size: .8rem; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.support-actions a:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.support-actions a:last-child { border-color: var(--green); background: var(--green); }
footer { padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); color: #77716b; font-size: .72rem; text-align: center; }
footer p { margin: .1rem; }

html[lang="en"] h1,
html[lang="en"] .group-heading h2,
html[lang="en"] .support h2 { font-family: Roboto, Arial, sans-serif; letter-spacing: -.025em; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr 190px; gap: 1rem; }
  .hero-art { min-height: 210px; }
  .hero-art::before { width: 200px; height: 200px; }
  .hero-art::after { width: 155px; height: 155px; }
  .question-mark { width: 124px; height: 124px; border-radius: 28px; font-size: 5rem; }
  .hero-tag { min-width: 90px; }
  .content-grid { grid-template-columns: 195px minmax(0,1fr); gap: 1.4rem; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 1.2rem); }
  .topbar { min-height: 66px; }
  .brand-logo { width: 31px; height: 39px; }
  .brand img { width: 30px; height: 39px; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: .7rem; padding: 2rem 1.2rem 1.5rem; border-radius: 20px; box-shadow: 5px 6px 0 rgba(37,39,42,.1); }
  .hero-art { display: none; }
  .hero-lede { margin-bottom: 1.35rem; }
  .search-box input { min-height: 56px; font-size: .87rem; }
  .content-grid { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 2rem; }
  .sidebar { position: static; }
  .sidebar-card { padding: .7rem; }
  .sidebar-label, .sidebar-help { display: none; }
  .jump-links { display: flex; overflow-x: auto; gap: .35rem; scrollbar-width: none; }
  .jump-links::-webkit-scrollbar { display: none; }
  .jump-links a { flex: 0 0 auto; min-height: 40px; padding: .4rem .55rem; white-space: nowrap; }
  .jump-links a[aria-current="location"], html[dir="rtl"] .jump-links a[aria-current="location"] { box-shadow: none; }
  .group { margin-bottom: 2.25rem; }
  .targets { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .support { align-items: stretch; flex-direction: column; gap: 1.1rem; margin-bottom: 3rem; }
}
@media (max-width: 390px) {
  .brand-text small { display: none; }
  .back { padding-inline: .5rem; font-size: .72rem; }
  h1 { font-size: 2.05rem; }
  .hero { padding-inline: 1rem; }
  summary { padding-inline: .85rem; font-size: .85rem; }
  .answer { margin-inline: .85rem; }
  .targets { gap: .4rem; }
  .target { padding: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
