:root {
  color-scheme: dark;
  --background: #0d0d15;
  --surface: #151520;
  --surface-strong: #1c1b2a;
  --text: #f3f1fa;
  --muted: #aaa5ba;
  --subtle: #777287;
  --border: rgba(255, 255, 255, 0.09);
  --accent: #a992f3;
  --accent-strong: #8b6fe8;
  --accent-soft: rgba(169, 146, 243, 0.12);
  --max-width: 72rem;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at 85% -10%,
      rgba(139, 111, 232, 0.2),
      transparent 34rem
    ),
    var(--background);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 0.15rem solid var(--accent);
  outline-offset: 0.25rem;
  border-radius: 0.2rem;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 21, 0.88);
  backdrop-filter: blur(1rem);
}

.header-inner,
.footer-inner,
.page {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.65rem;
  background: linear-gradient(145deg, var(--accent), #6366f1);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 0.6rem 1.8rem rgba(99, 102, 241, 0.2);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.navigation a {
  text-decoration: none;
}

.language-link {
  padding-left: 1rem;
  border-left: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
}

.page {
  padding-block: 4.5rem 6rem;
}

.hero {
  display: grid;
  min-height: 63vh;
  align-items: center;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  letter-spacing: -0.06em;
}

.legal-page h1 {
  max-width: 18ch;
  font-size: clamp(2.45rem, 7vw, 4.8rem);
}

h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1rem;
}

.lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-strong), #6366f1);
  box-shadow: 0 0.8rem 2rem rgba(99, 102, 241, 0.2);
}

.product-card,
.content-card,
.callout {
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: linear-gradient(
    145deg,
    rgba(28, 27, 42, 0.96),
    rgba(21, 21, 32, 0.9)
  );
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.18);
}

.product-card {
  padding: 1.5rem;
  transform: rotate(1.5deg);
}

.product-icon {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  margin-bottom: 2rem;
  place-items: center;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, #8b6fe8, #6366f1);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}

.product-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
}

.legal-page {
  max-width: 49rem;
}

.updated {
  margin-top: 0.8rem;
  color: var(--subtle);
  font-size: 0.86rem;
}

.content-card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.content-card > :first-child,
.callout > :first-child {
  margin-top: 0;
}

.content-card > :last-child,
.callout > :last-child {
  margin-bottom: 0;
}

.content-card p,
.content-card li,
.legal-page > p,
.legal-page > ol,
.legal-page > ul {
  color: var(--muted);
}

.content-card strong,
.legal-page strong {
  color: var(--text);
}

.content-card a,
.legal-page > p a,
.legal-page li a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.callout {
  margin-block: 2rem;
  padding: 1.25rem 1.35rem;
  border-color: rgba(169, 146, 243, 0.28);
  background: var(--accent-soft);
}

.callout p {
  color: #d8d1ec;
}

address {
  color: var(--muted);
  font-style: normal;
}

ol,
ul {
  padding-left: 1.3rem;
}

li + li {
  margin-top: 0.45rem;
}

.details-grid {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
}

.details-grid > div {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--border);
  grid-template-columns: minmax(8rem, 0.33fr) minmax(0, 1fr);
}

.details-grid > div:last-child {
  border-bottom: 0;
}

.details-grid dt {
  color: var(--text);
  font-weight: 700;
}

.details-grid dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--subtle);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 48rem) {
  .navigation a:not(.language-link) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .product-card {
    max-width: 27rem;
    transform: none;
  }

  .details-grid > div {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
