:root {
  --bg: #f5f7fb;
  --bg-elev: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --brand-a: #22c55e;
  --brand-b: #0ea5e9;
  --brand-c: #6366f1;
  --green: #22c55e;
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --pink: #ec4899;
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --focus: 0 0 0 3px rgba(59, 130, 246, 0.45);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  --ta1: rgba(59, 130, 246, 0.07);
  --tb1: rgba(56, 189, 248, 0.07);
  --tc1: rgba(147, 51, 234, 0.07);
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:focus-visible {
  outline: var(--focus);
  border-radius: 0;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

code {
  font-family: var(--mono);
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo {
  width: 26px;
  height: 26px;
}

.logo path {
  fill: url(#solanaGrad);
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 800;
}

.tag {
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  background: #eef2ff;
  color: #4338ca;
}

.nav {
  display: flex;
  gap: 14px;
}

.nav a {
  font-weight: 600;
  padding: 7px 10px;
  color: #111827;
  background: transparent;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

@media (max-width: 720px) {
  .header-inner {
    gap: 10px;
  }
  .nav {
    gap: 8px;
    font-size: 0.9rem;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 65vh, 560px);
  padding-top: calc(var(--header-h) + 12px);
  display: grid;
  place-items: center;
  background: radial-gradient(120% 80% at 10% -20%, rgba(34, 197, 94, 0.24), transparent 55%), radial-gradient(120% 80% at 90% -20%, rgba(56, 189, 248, 0.26), transparent 55%), linear-gradient(180deg, #ffffff 0%, #f5f7fb 55%, #e0f2fe 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% -30%;
  background: linear-gradient(100deg, rgba(34, 197, 94, 0.16), rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.18));
  filter: blur(28px);
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 60%;
  left: 50%;
  width: 36vmax;
  height: 36vmax;
  transform: translate(-50%, -60%);
  background: radial-gradient(40% 40% at 50% 50%, rgba(148, 163, 184, 0.35), transparent 65%);
  pointer-events: none;
}

.hero-micro {
  position: absolute;
  inset: -12% -12%;
  pointer-events: none;
  opacity: 0.45;
  background: radial-gradient(2px 2px at 15% 20%, rgba(148, 163, 184, 0.45), transparent 60%), radial-gradient(2px 2px at 38% 80%, rgba(148, 163, 184, 0.4), transparent 60%), radial-gradient(2px 2px at 70% 28%, rgba(148, 163, 184, 0.4), transparent 60%), radial-gradient(2px 2px at 85% 72%, rgba(148, 163, 184, 0.35), transparent 60%);
  mask-image: radial-gradient(85% 85% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding-block: clamp(16px, 4vh, 40px);
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -30% -40%;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.35) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.32) 0 1px, transparent 1px 22px), radial-gradient(160% 120% at 0% 0%, rgba(255, 255, 255, 0.65), transparent 70%);
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.hero-logo {
  position: relative;
  width: clamp(110px, 15vw, 170px);
  margin: 0 auto 6px;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-logo::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-52%, -50%);
  width: clamp(110px, 16vw, 180px);
  height: clamp(110px, 16vw, 180px);
  pointer-events: none;
}

.hero-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.8rem);
  color: #020617;
}

.hero-title .ll-sub {
  position: relative;
  display: inline-block;
  padding-inline: 0.04em;
  background-image: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
}

.hero-card {
  position: relative;
  max-width: min(780px, 92vw);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 14px 34px rgba(148, 163, 184, 0.4);
}

.hero-card p {
  margin: 0;
}

.hero-card p + p {
  margin-top: 8px;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 0.4vw + 1rem, 1.12rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.hero-subtitle strong {
  font-weight: 800;
  color: #111827;
}

.hero-subtitle em {
  font-style: normal;
  color: #1f2937;
}

.hero-subtitle a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-subtitle.smallprint {
  font-size: 0.93rem;
  opacity: 0.96;
}

.hero-actions {
  margin-top: 8px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c));
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}

.hero-btn i {
  font-size: 1.02em;
}

.hero-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.55);
}

.hero-btn--ghost {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.3);
}

.hero-btn--ghost:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.4);
}

@media (max-width: 720px) {
  .hero-inner {
    padding-block: 14px 30px;
  }
  .hero-card {
    padding: 13px 15px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-btn {
    padding: 9px 13px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero[data-reveal="init"] .hero-logo,
  .hero[data-reveal="init"] .hero-title,
  .hero[data-reveal="init"] .hero-card,
  .hero[data-reveal="init"] .hero-actions {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.98);
    filter: blur(4px);
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
    will-change: opacity, transform, filter, clip-path;
  }
  .hero[data-reveal="in"] .hero-logo {
    animation: heroSliceIn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
  }
  .hero[data-reveal="in"] .hero-title {
    animation: heroSliceIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s both;
  }
  .hero[data-reveal="in"] .hero-card {
    animation: heroSliceIn 0.98s cubic-bezier(0.2, 0.8, 0.2, 1) 0.32s both;
  }
  .hero[data-reveal="in"] .hero-actions {
    animation: heroSliceIn 1.02s cubic-bezier(0.2, 0.8, 0.2, 1) 0.48s both, heroLightSweep 0.9s ease-out 0.6s both;
  }
  @keyframes heroSliceIn {
    0% {
      opacity: 0;
      transform: translate3d(0, 18px, 0) scale(0.98);
      filter: blur(4px);
      clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
    }
    55% {
      opacity: 0.98;
      transform: translate3d(0, -2px, 0) scale(1);
      filter: blur(1.2px);
      clip-path: polygon(0 0, 96% 0, 80% 100%, 0 100%);
    }
    100% {
      opacity: 1;
      transform: none;
      filter: none;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
  }
  @keyframes heroLightSweep {
    0% {
      box-shadow: 0 12px 30px rgba(148, 163, 184, 0.35);
    }
    60% {
      box-shadow: 0 18px 40px rgba(129, 140, 248, 0.45);
    }
    100% {
      box-shadow: 0 14px 34px rgba(148, 163, 184, 0.4);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero[data-reveal="init"] .hero-logo,
  .hero[data-reveal="init"] .hero-title,
  .hero[data-reveal="init"] .hero-card,
  .hero[data-reveal="init"] .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

.ecosys-wrap {
  margin: 8px 0 0;
  padding: 0;
}

.ecosys-wrap,
.ecosys-wrap .coin-carousel {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.coin-carousel {
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.65), rgba(248, 250, 252, 0.9));
  overflow: hidden;
}

.coin-carousel::before,
.coin-carousel::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 12vw;
  pointer-events: none;
  z-index: 2;
}

.coin-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f9fafb 0%, rgba(249, 250, 251, 0) 100%);
}

.coin-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f9fafb 0%, rgba(249, 250, 251, 0) 100%);
}

.cc-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 12px;
  will-change: transform;
}

.cc-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 20px rgba(148, 163, 184, 0.4);
  white-space: nowrap;
  user-select: none;
  cursor: default;
  transition: transform 0.08s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.cc-item:hover {
  transform: translateY(-1px);
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 28px rgba(148, 163, 184, 0.45);
}

.cc-logo {
  width: 28px;
  height: 28px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-weight: 800;
  font-size: 0.9rem;
  color: #111827;
}

.cc-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cc-ticker {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: #4b5563;
}

@media (max-width: 640px) {
  .cc-item {
    padding: 7px 10px;
    gap: 8px;
  }
  .cc-logo {
    width: 24px;
    height: 24px;
  }
  .cc-ticker {
    font-size: 0.8rem;
  }
}

.section {
  position: relative;
  padding: 60px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: var(--bg);
}

.section:first-of-type {
  border-top: none;
}

.section:nth-of-type(even) {
  background: #ffffff;
}

.section-head {
  text-align: center;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2.1vw + 0.6rem, 2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #020617;
}

.section-head h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 80px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c));
  opacity: 0.9;
}

.section--downloads {
  padding-top: 32px;
}

.section--downloads .section-head p {
  max-width: 720px;
  margin-inline: auto;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tab {
  appearance: none;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.06s ease;
}

.tab i {
  opacity: 0.95;
}

.tab:hover {
  transform: translateY(-1px);
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.4);
}

.tab:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.tab.active {
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.35);
}

.tab[data-tab="windows"].active {
  background: linear-gradient(90deg, #22c55e, #a3e635);
}

.tab[data-tab="mac"].active {
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
}

.tab[data-tab="linux"].active {
  background: linear-gradient(90deg, #6366f1, #ec4899);
}

.tabpanel {
  display: none;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 18px;
  opacity: 0;
  transform: translateY(4px);
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.25);
  min-width: 0;
}

.tabpanel.active {
  display: block;
  opacity: 1;
  transform: none;
}

.dl-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  padding-bottom: 8px;
}

.dl-head h3 {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-head h3::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  font-size: 1.05rem;
  color: #2563eb;
  content: "\f17a";
}

.tabpanel[data-panel="mac"] .dl-head h3::before {
  content: "\f179";
}

.tabpanel[data-panel="linux"] .dl-head h3::before {
  content: "\f17c";
}

.dl-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  min-width: 0;
}

.dl-col {
  display: contents;
}

.dl-card {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  column-gap: 16px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  min-width: 0;
}

.dl-card:nth-child(odd) {
  background: #f9fafb;
}

.dl-card h4 {
  margin: 0;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 6px;
  grid-column: 1;
}

.dl-card h4::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: #4b5563;
  content: "\f0ce";
}

.dl-card:nth-of-type(1) h4::before {
  content: "\f56d";
}

.dl-card:nth-of-type(2) h4::before {
  content: "\f00c";
}

.dl-card:nth-of-type(3) h4::before {
  content: "\f2db";
}

.dl-card:nth-of-type(4) h4::before {
  content: "\f05a";
}

.dl-card:nth-of-type(5) h4::before {
  content: "\f071";
}

.dl-card ul,
.dl-card ol,
.dl-card p,
.dl-card pre,
.dl-card .btn,
.dl-card .linklike {
  grid-column: 2;
}

.dl-card ul,
.dl-card ol {
  margin: 0;
  padding-left: 18px;
}

.dl-card .btn-soft {
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.06s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.5);
}

.btn-primary {
  border: none;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c));
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c));
  color: #f9fafb;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.5);
}

.btn-soft {
  background: #f3f4f6;
  border-color: rgba(148, 163, 184, 0.5);
}

.linklike {
  background: none;
  border: none;
  padding: 0 3px;
  font-size: 0.9rem;
  color: #1d4ed8;
  text-decoration: underline;
  cursor: pointer;
}

.copy-all {
  margin-left: 8px;
  border: 1px solid #cbd5e1;
  background: #e0edff;
  color: #1e3a8a;
  padding: 5px 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
}

.copy-all i {
  margin-right: 4px;
}

.copy-all:hover {
  background: #c7ddff;
}

.terminal .copy-all {
  border-color: rgba(15, 23, 42, 0.4);
  background: rgba(15, 23, 42, 0.1);
  color: #f9fafb;
}

.terminal .copy-all:hover {
  background: rgba(15, 23, 42, 0.2);
}

.sticky {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(234, 179, 8, 0.6);
  background: linear-gradient(180deg, #fef9c3, #fffbeb);
  color: #78350f;
}

.sticky-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.fcard {
  border: 1px solid var(--line);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.ficonbar {
  height: 76px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.ficonbar i {
  font-size: 26px;
  color: #1e293b;
}

.fcard--green .ficonbar {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.18), rgba(187, 247, 208, 0.9));
}

.fcard--cyan .ficonbar {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.18), rgba(224, 242, 254, 0.9));
}

.fcard--violet .ficonbar {
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.18), rgba(224, 231, 255, 0.9));
}

.fcard--blue .ficonbar {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(219, 234, 254, 0.9));
}

.fcard--amber .ficonbar {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.18), rgba(254, 243, 199, 0.9));
}

.fcard--pink .ficonbar {
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.18), rgba(252, 231, 243, 0.9));
}

.fbody {
  padding: 14px 16px 16px;
}

.fbody .lede {
  margin: 0 0 6px;
  color: #1f2937;
  font-weight: 600;
}

.fbody p {
  margin: 0;
}

.fbody p + p {
  margin-top: 6px;
}

.prereq {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.prereq h3 {
  margin-top: 0;
}

.terminal {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0f172a;
  color: #e5e7eb;
}

.t-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.7);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.4), rgba(56, 189, 248, 0.4));
  color: #e5e7eb;
}

.tl {
  width: 10px;
  height: 10px;
}

.tl.red {
  background: #f97373;
}

.tl.yellow {
  background: #facc15;
}

.tl.green {
  background: #4ade80;
}

.tt {
  margin-left: auto;
  font-size: 0.88rem;
}

.t-body {
  margin: 0;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 0.94rem;
  line-height: 1.6;
  background: #020617;
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.rcard {
  position: relative;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #ffffff;
  display: grid;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
}

.rcard::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-a), var(--brand-b), var(--brand-c));
  opacity: 0.8;
}

.rcard:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.4);
}

.rcard-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f3f4f6;
}

.pill-warn {
  background: #fef3c7;
  border-color: rgba(234, 179, 8, 0.8);
  color: #92400e;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  background: #f3f4f6;
}

.badge-warn {
  background: #fef3c7;
  border-color: rgba(234, 179, 8, 0.9);
  color: #92400e;
}

.rcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #1e3a8a;
}

.domain {
  font-family: var(--mono);
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 10px 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: #9ca3af;
}

.faq[open] summary::after {
  content: "−";
}

.faq p {
  margin: 6px 0 0;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: #f9fafb;
  padding: 28px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.logo.small {
  width: 22px;
  height: 22px;
}

.company-info {
  font-style: normal;
  margin-top: 8px;
  line-height: 1.6;
  font-size: 0.92rem;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #1f2937;
}

.footer-links a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.footer-meta p {
  margin: 0;
  font-size: 0.9rem;
}

.hash-widget {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 14px 0 18px;
}

.hash-widget input {
  width: min(680px, 100%);
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  background: #f9fafb;
  color: #111827;
  font-family: var(--mono);
}

.indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.indicator .dot {
  width: 10px;
  height: 10px;
  background: #d1d5db;
}

.indicator .text {
  font-size: 0.9rem;
}

.indicator[data-state="match"] {
  border-color: rgba(34, 197, 94, 0.5);
  background: #ecfdf5;
  color: #166534;
}

.indicator[data-state="match"] .dot {
  background: #22c55e;
}

.indicator[data-state="mismatch"] {
  border-color: rgba(239, 68, 68, 0.5);
  background: #fef2f2;
  color: #b91c1c;
}

.indicator[data-state="mismatch"] .dot {
  background: #ef4444;
}

.code-mini,
.code-inline,
.code-block {
  font-family: var(--mono);
  font-size: 0.9rem;
  background: #f3f4f6;
  color: #111827;
  border: 1px solid var(--line);
  padding: 8px 10px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

html:not(.ready) body {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html.ready body {
    animation: pageFade 0.35s ease-out both;
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.re-h2 {
  opacity: 0;
  transform: translateY(8px);
}

.re-h2.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .re-h2,
  .re-h2.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .rgrid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .dl-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 46px 0;
  }
  .tabs {
    gap: 8px;
  }
  .tab {
    padding-inline: 12px;
    font-size: 0.9rem;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 65vh, 560px);
  padding-top: calc(var(--header-h) + 12px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(130% 90% at 0% 0%, rgba(56, 189, 248, 0.32), transparent 55%),
    radial-gradient(130% 90% at 100% 0%, rgba(129, 140, 248, 0.34), transparent 55%),
    linear-gradient(180deg, #eff6ff 0%, #e0f2fe 55%, #edf2ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% -75%;
  background: linear-gradient(
    120deg,
    rgba(66, 30, 131, 0.25),
    rgba(107, 11, 170, 0.274),
    rgba(88, 10, 179, 0.521)
  );
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 58%;
  left: 50%;
  width: 38vmax;
  height: 38vmax;
  transform: translate(-50%, -58%);
  background: radial-gradient(
    55% 55% at 50% 50%,
    rgba(148, 163, 184, 0.3),
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -30% -40%;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(148, 163, 184, 0.4) 1px, transparent 1px),
    linear-gradient(to right, rgba(148, 163, 184, 0.3) 1px, transparent 1px),
    radial-gradient(160% 120% at 0% 0%, rgba(255, 255, 255, 0.8), transparent 70%);
  background-size: 24px 24px, 24px 24px, auto;
  background-position: -10px -16px, -16px -10px, 0 0;
  opacity: 0.6;
  mix-blend-mode: soft-light;
}
