:root {
  color-scheme: dark;
  --bg: #0a0f0a;
  --bg-2: #0f1610;
  --bg-3: #131c14;
  --card: rgb(255 255 255 / 3.5%);
  --card-hover: rgb(255 255 255 / 6%);
  --border: rgb(255 255 255 / 8%);
  --border-hover: rgb(63 185 80 / 35%);
  --text: #f1f5ee;
  --text-2: #c3ccbc;
  --muted: #94a08c;
  --accent: #3fb950;
  --accent-strong: #56d364;
  --accent-ink: #04130c;
  --gold: #e3b341;
  --gold-strong: #f0c862;
  --gold-ink: #1c1403;
  --shadow: 0 10px 30px rgb(0 0 0 / 45%);
  --glow: 0 0 26px rgb(63 185 80 / 28%);
  --wide: 1180px;
  --radius: 16px;
  --radius-small: 10px;
  --radius-pill: 30px;
  --font-heading: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef3ea;
  --bg-2: #fff;
  --bg-3: #e4ecdf;
  --card: rgb(255 255 255 / 70%);
  --card-hover: rgb(255 255 255 / 92%);
  --border: rgb(16 40 20 / 12%);
  --border-hover: rgb(47 143 58 / 40%);
  --text: #16210f;
  --text-2: #384534;
  --muted: #5f6b54;
  --accent: #2f8f3a;
  --accent-strong: #267a30;
  --accent-ink: #fff;
  --gold: #9a6a13;
  --gold-strong: #7e560f;
  --gold-ink: #fff;
  --shadow: 0 6px 24px rgb(20 40 20 / 10%);
  --glow: 0 0 26px rgb(47 143 58 / 18%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgb(255 255 255 / 10%) transparent;
  scrollbar-width: thin;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

img {
  max-width: 100%;
  height: auto;
}

code {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--accent-strong);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  padding: 0.12em 0.38em;
}

:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 0.65rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.background-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.13;
}

.glow-one {
  top: -90px;
  left: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: drift 22s infinite alternate ease-in-out;
}

.glow-two {
  top: 38%;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  animation: drift 28s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
  to {
    transform: translate(36px, 28px) scale(1.08);
  }
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--wide), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(var(--wide), calc(100% - 40px));
  margin: 14px auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-2) 78%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  padding: 10px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand-dot {
  color: var(--accent);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-link {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.header-link:hover,
.header-link[aria-current="page"] {
  color: var(--text);
}

.language-switcher {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgb(255 255 255 / 4%);
  padding: 3px;
}

.language-switcher button {
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 9px;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.theme-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.theme-button:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.7rem 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  border-radius: var(--radius-small);
  font-size: 0.78rem;
  padding: 0.48rem 0.9rem;
}

.button-primary {
  background: var(--accent);
  box-shadow: var(--glow);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.button-gold {
  background: var(--gold);
  color: var(--gold-ink);
}

.button-gold:hover {
  background: var(--gold-strong);
  color: var(--gold-ink);
}

.button-ghost {
  border-color: var(--border);
  background: rgb(255 255 255 / 3%);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 2.4rem;
}

.product-id {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-icon {
  width: 68px;
  height: 68px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-2);
  box-shadow: var(--glow);
  padding: 7px;
  animation: icon-in 0.7s cubic-bezier(0.34, 1.2, 0.4, 1) both;
}

@keyframes icon-in {
  from {
    transform: scale(0.75) translateY(5px);
    opacity: 0;
  }
}

.eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
}

.kicker {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1rem;
}

.hero .lead {
  margin-top: 1.15rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.status-card,
.card,
.privacy-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px);
}

.status-card {
  padding: 1.45rem;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  content: "";
}

.status-card h2 {
  margin: 0.55rem 0;
  font-size: 1.55rem;
}

.status-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.status-links {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.status-links .button {
  width: 100%;
}

.section {
  padding: 2.4rem 0;
  scroll-margin-top: 90px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
}

.section-heading::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--border), transparent);
  content: "";
}

.hash {
  color: var(--accent);
}

.section-description {
  max-width: 800px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  padding: 1.55rem;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--card-hover);
}

.card-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.distribution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--card);
  padding: 1rem;
}

.channel-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  background: var(--bg-3);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
}

.channel strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  margin-top: 0.2rem;
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
}

/* Compact facts row under the hero */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.fact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 3%);
  color: var(--text-2);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
}

.fact::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

/* Dense capability cards: heading + tight bullet list */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cap {
  padding: 1.25rem 1.3rem;
}

.cap h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  font-size: 1.02rem;
}

.cap h3 .tag {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 800;
}

.cap ul {
  display: grid;
  gap: 0.4rem;
  list-style: none;
}

.cap li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cap li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "▸";
  font-size: 0.72rem;
}

.cap li b {
  color: var(--text-2);
  font-weight: 600;
}

/* How-to-use steps with inline code */
.steps {
  display: grid;
  gap: 0.8rem;
  counter-reset: step;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.05rem 1.2rem;
}

.step::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--bg-3);
  color: var(--accent);
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
}

.step p {
  color: var(--muted);
  font-size: 0.86rem;
}

.step pre {
  overflow-x: auto;
  margin-top: 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--bg-2);
  padding: 0.65rem 0.85rem;
}

.step pre code {
  border: 0;
  background: none;
  color: var(--accent-strong);
  font-size: 0.82rem;
  padding: 0;
}

.step pre code .tok {
  color: var(--muted);
}

.privacy-main {
  min-height: calc(100vh - 190px);
  padding: clamp(2.8rem, 7vw, 5rem) 0;
}

.privacy-main > .eyebrow {
  color: var(--accent);
}

.privacy-main h1 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
}

.privacy-intro {
  max-width: 760px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.privacy-card {
  max-width: 860px;
  padding: clamp(1.35rem, 4vw, 2.2rem);
}

.privacy-section + .privacy-section {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.privacy-section h2 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.privacy-section p {
  color: var(--text-2);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.8rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--shadow);
  color: var(--accent-ink);
  cursor: pointer;
}

.to-top.show {
  display: grid;
}

@media (max-width: 860px) {
  .header-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .status-card {
    max-width: 560px;
  }

  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .distribution-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container,
  .site-header {
    width: min(100% - 24px, var(--wide));
  }

  .site-header {
    gap: 8px;
    padding-inline: 10px;
  }

  .brand span:not(.brand-dot) {
    display: none;
  }

  .card-grid,
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .step {
    padding: 0.9rem 1rem;
  }

  .product-id {
    align-items: flex-start;
  }

  .product-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .button-group .button {
    flex: 1 1 10rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (pointer: coarse) {
  .button,
  .language-switcher button,
  .theme-button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
