:root {
  color-scheme: dark;
  --canvas: #060614;
  --surface: #12122e;
  --raised: #191938;
  --line: #33334f;
  --text: #f7f5ff;
  --body: #ded9f0;
  --muted: #b8b2ce;
  --violet: #b49bff;
  --violet-light: #d6c8ff;
  font: 100%/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--canvas) radial-gradient(ellipse 55rem 28rem at top, #161841, transparent);
  color: var(--body);
  overflow-wrap: anywhere;
}

a { color: var(--violet-light); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }

.wrap {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.skip {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 2;
  transform: translateY(-200%);
  padding: .6rem .85rem;
  border-radius: .5rem;
  background: var(--surface);
}

.skip:focus { transform: translateY(0); }
.site-header, .site-footer { background-color: rgb(6 6 20 / 70%); }
.site-header { border-bottom: 1px solid var(--line); }

.bar, .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
}

.bar { min-height: 4.5rem; padding-block: .75rem; }

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.125rem;
  white-space: nowrap;
}

.brand img { margin-right: .125rem; }
.brand span { color: var(--muted); font-size: .875rem; }

.lang {
  display: inline-flex;
  padding: .1875rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--canvas);
}

.lang a {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  padding-inline: .75rem;
  border-radius: .5625rem;
  color: var(--muted);
  font-size: .875rem;
  text-decoration: none;
}

.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--raised); color: var(--text); }
main { width: 100%; flex: 1; }
main:focus { outline: none; }
.catalogue { padding-block: clamp(1.5rem, 5vw, 3.5rem) 4rem; }

.hero {
  padding: clamp(1.375rem, 5vw, 3.25rem);
  border: 1px solid #41366b;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at 90% 0%, #332657, transparent 70%), var(--surface);
}

h1, h2, h3 { color: var(--text); line-height: 1.2; }

h1 {
  margin: 0;
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  font-weight: 720;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero p { margin: .75rem 0 0; max-width: 56ch; color: var(--muted); }
.hero .error-code { margin: 0 0 .5rem; color: var(--violet); font-weight: 650; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.button, .button-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem 1.1rem;
  border-radius: .75rem;
  font-weight: 650;
  text-decoration: none;
}

.button {
  background: var(--violet);
  color: var(--canvas);
}

.button:hover { background: var(--violet-light); }

.button-secondary {
  border: 1px solid #4b4372;
  background: var(--raised);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--violet);
  background: #232048;
}

.hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: .875rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  height: 100%;
  min-height: 6.375rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background-color: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.card:hover { border-color: var(--violet); background-color: var(--raised); }
.card-description { display: block; margin-top: .25rem; color: var(--muted); font-size: .9rem; }

.card-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .625rem;
  background: #302449;
}

.support-sections {
  max-width: 53rem;
  margin-top: 2.5rem;
}

.support-sections section {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.support-sections section:target h2 { color: var(--violet-light); }
.support-sections h2 { margin: 0 0 .85rem; font-size: clamp(1.375rem, 3vw, 1.625rem); }
.support-sections h3 { margin: 1.35rem 0 .5rem; font-size: 1.125rem; }
.support-sections p, .support-sections ul, .support-sections ol { margin: .75rem 0; }
.support-sections ul, .support-sections ol { padding-inline-start: 1.375rem; }
.support-sections li + li { margin-top: .4rem; }

.ui-path {
  display: inline-block;
  padding: .08rem .42rem;
  border: 1px solid #3f3864;
  border-radius: .4rem;
  background: var(--raised);
  color: var(--text);
  font-size: .92em;
  font-weight: 550;
}

.callout {
  margin: 1.25rem 0;
  padding: .9rem 1.1rem;
  border: 1px solid #3d3464;
  border-left: 3px solid var(--violet);
  border-radius: .875rem;
  background: var(--surface);
}

.callout p { margin: 0; }
.callout p + p { margin-top: .6rem; }

.faq-list {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: .875rem;
  background: var(--surface);
}

.faq-item:hover { border-color: #4d4575; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.125rem;
  padding: .85rem 1.1rem;
  color: var(--text);
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--violet);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-answer {
  padding: 0 1.1rem 1rem;
  border-top: 1px solid rgb(51 51 79 / 60%);
}

.faq-answer > :first-child { margin-top: .85rem; }
.faq-answer > :last-child { margin-bottom: 0; }

.legal-panel {
  max-width: 53rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.legal-panel h2 {
  margin: 0;
  font-size: 1.125rem;
}

.legal-panel p {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .925rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 550;
}

.site-footer {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.footer-inner p, .footer-inner ul { margin: 0; }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; padding: 0; list-style: none; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none; }
}

@media print {
  :root { color-scheme: light; --text: #000; --body: #000; --muted: #222; --line: #aaa; }
  body, .hero, .card, .callout, .faq-item, .legal-panel, .ui-path { background: #fff; }
  a { color: #000; }
  .site-header, .site-footer, .skip, .hero-actions { display: none; }
  .wrap { width: 100%; max-width: none; padding: 0; }
  .support-sections h2, .support-sections h3 { break-after: avoid; }
}
