@font-face {
  font-family: "SUSE";
  src: url("fonts/SUSE.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kode Mono";
  src: url("fonts/KodeMono.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tektur";
  src: url("fonts/Tektur.ttf") format("truetype");
  font-weight: 400 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --orb-font-sans: "SUSE", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --orb-font-mono: "Kode Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --site-display: "Tektur", "SUSE", -apple-system, "Segoe UI", sans-serif;
  scroll-padding-top: calc(var(--orb-header-h) + 16px);
}

html {
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 520px at 80% -8%, color-mix(in srgb, var(--orb-primary) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 60% 420px at 0% 30%, color-mix(in srgb, var(--orb-primary) 8%, transparent), transparent 70%),
    var(--orb-bg);
  overflow-x: hidden;
}

html:not(.site-js) .orb-reveal {
  opacity: 1;
  transform: none;
}

.site-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--orb-radius-sm);
  background: var(--orb-primary);
  color: var(--orb-primary-ink);
  font-weight: 600;
}

.site-skip:focus {
  top: 12px;
}

.orb-hero-title,
.site-h2,
.site-brand-text,
.site-step-n {
  font-family: var(--site-display);
  letter-spacing: 0;
}

.orb-hero-title {
  font-weight: 800;
  max-width: 900px;
}

.site-h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.site-brand {
  color: var(--orb-text);
}

.site-brand .orb-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-logo {
  fill: var(--orb-primary-ink);
  stroke: none;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.site-brand-text small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orb-primary-text);
  margin-bottom: 3px;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: var(--orb-space-2);
}

.site-langs {
  display: flex;
  padding: 3px;
  border-radius: var(--orb-radius-full);
  background: var(--orb-surface-alt);
  border: 1px solid var(--orb-border);
}

.site-langs a {
  padding: 4px 9px;
  border-radius: var(--orb-radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orb-text-muted);
}

.site-langs a:hover {
  color: var(--orb-text);
}

.site-langs a.is-current {
  background: var(--orb-primary);
  color: var(--orb-primary-ink);
}

.site-hero {
  padding-top: 0;
  padding-bottom: var(--orb-space-8);
}

.site-hero-top {
  --dots-color: rgba(30, 41, 59, 0.26);
  --dots-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0042 0.0055' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11 0 0 0 -5.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dots-clear: radial-gradient(ellipse 34% 58% at 50% 50%, transparent 62%, #000 100%);
  --dots-wave: radial-gradient(closest-side, rgba(0, 0, 0, 0.18), #000);
  --dots-edge: 48px;
  --dots-edge-x: linear-gradient(to right, transparent, #000 var(--dots-edge), #000 calc(100% - var(--dots-edge)), transparent);
  --dots-edge-y: linear-gradient(to bottom, #000, #000 55%, transparent);
  position: relative;
  isolation: isolate;
  padding-top: var(--orb-space-16);
}

.orb-dark .site-hero-top {
  --dots-color: rgba(255, 255, 255, 0.18);
}

.site-hero-top::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--orb-header-h)) 0 calc(-1 * var(--orb-space-16)) 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dots-color) 0.85px, transparent 1.35px);
  background-size: 14px 14px;
  background-position: 7px 7px;
  -webkit-mask-image: var(--dots-noise), var(--dots-clear), var(--dots-edge-x), var(--dots-edge-y), var(--dots-wave);
  -webkit-mask-size: cover, 100% 100%, 100% 100%, 100% 100%, 760px 520px;
  -webkit-mask-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  -webkit-mask-composite: source-in, source-in, source-in, source-in;
  mask-image: var(--dots-noise), var(--dots-clear), var(--dots-edge-x), var(--dots-edge-y), var(--dots-wave);
  mask-size: cover, 100% 100%, 100% 100%, 100% 100%, 760px 520px;
  mask-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  mask-composite: intersect, intersect, intersect, intersect;
  animation: site-dots-wave 26s linear infinite;
}

@keyframes site-dots-wave {
  from { -webkit-mask-position: center, 0 0, 0 0, 0 0, 0 0; mask-position: center, 0 0, 0 0, 0 0, 0 0; }
  to { -webkit-mask-position: center, 0 0, 0 0, 0 0, 760px 520px; mask-position: center, 0 0, 0 0, 0 0, 760px 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-hero-top::before { animation: none; }
}

.site-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--orb-space-2) var(--orb-space-5);
  margin: var(--orb-space-6) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--orb-text-muted);
}

.site-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-hero-meta svg,
.site-checks svg,
.site-security-item svg {
  color: var(--orb-primary-text);
  flex-shrink: 0;
}

.site-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--orb-radius-xl);
  border: 1px solid var(--orb-border);
  background: var(--orb-surface);
  box-shadow: var(--orb-shadow-lg), 0 30px 80px -30px color-mix(in srgb, var(--orb-primary) 45%, transparent);
}

.site-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.site-frame .site-shot-dark,
.orb-dark .site-frame .site-shot-light {
  display: none;
}

.orb-dark .site-frame .site-shot-dark {
  display: block;
}

.site-hero-shot {
  max-width: 1080px;
  margin: var(--orb-space-12) auto 0;
}

.site-frame-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--orb-border);
  background: var(--orb-surface-alt);
}

.site-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orb-border-strong);
}

.site-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--orb-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--orb-space-4);
  border-radius: var(--orb-radius-sm);
  background: var(--orb-primary);
  color: var(--orb-primary-ink);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 6px 18px -8px var(--orb-primary);
}

.site-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--orb-space-12);
  align-items: center;
}

.site-split-top {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

.site-split-text .orb-lead {
  margin-top: var(--orb-space-3);
}

.site-checks {
  display: grid;
  gap: var(--orb-space-3);
  margin: var(--orb-space-6) 0 0;
  padding: 0;
  list-style: none;
}

.site-checks li {
  display: flex;
  gap: var(--orb-space-3);
  line-height: 1.5;
}

.site-checks svg {
  margin-top: 3px;
}

.site-features .orb-feature-icon {
  --orb-tone: var(--orb-primary);
}

.site-security-card {
  position: relative;
  overflow: hidden;
  padding: var(--orb-space-12) var(--orb-space-10);
  border-radius: var(--orb-radius-xl);
  border: 1px solid color-mix(in srgb, var(--orb-primary) 30%, var(--orb-border));
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--orb-primary) 16%, transparent), transparent 70%),
    var(--orb-surface);
}

.site-security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--orb-space-4);
  border-radius: var(--orb-radius-md);
  background: var(--orb-primary-dim);
  color: var(--orb-primary-text);
}

.site-security-item h3 {
  display: flex;
  align-items: center;
  gap: var(--orb-space-2);
  margin-bottom: var(--orb-space-2);
  font-size: 1rem;
  font-weight: 700;
}

.site-security-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--orb-text-muted);
}

.site-install {
  display: grid;
  gap: var(--orb-space-4);
  margin: var(--orb-space-6) 0 var(--orb-space-8);
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.site-install li {
  position: relative;
  padding-left: 48px;
  line-height: 1.55;
  counter-increment: step;
}

.site-install li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orb-primary-dim);
  color: var(--orb-primary-text);
  font-family: var(--site-display);
  font-weight: 800;
}

.site-reqs h3 {
  display: flex;
  align-items: center;
  gap: var(--orb-space-2);
}

.site-reqs .site-checks {
  margin-top: var(--orb-space-4);
}

.site-faq {
  display: grid;
  gap: var(--orb-space-3);
}

.site-faq details {
  border-radius: var(--orb-radius-md);
  border: 1px solid var(--orb-border);
  background: var(--orb-surface);
  transition: border-color var(--orb-dur-fast) var(--orb-ease);
}

.site-faq details[open] {
  border-color: color-mix(in srgb, var(--orb-primary) 40%, var(--orb-border));
}

.site-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--orb-space-4);
  padding: var(--orb-space-4) var(--orb-space-5);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.site-faq summary svg {
  flex-shrink: 0;
  color: var(--orb-text-muted);
  transition: transform var(--orb-dur) var(--orb-ease);
}

.site-faq details[open] summary svg {
  transform: rotate(45deg);
  color: var(--orb-primary-text);
}

.site-faq details p {
  padding: 0 var(--orb-space-5) var(--orb-space-5);
  color: var(--orb-text-muted);
  line-height: 1.6;
}

.site-cta-card {
  padding: var(--orb-space-12) var(--orb-space-8);
  border-radius: var(--orb-radius-xl);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, #e14bf2, #9d1aa8);
  box-shadow: 0 30px 70px -30px #9d1aa8;
}

.site-cta-card .site-h2 {
  margin: 0 auto var(--orb-space-3);
  max-width: 760px;
}

.site-cta-card p {
  max-width: 560px;
  margin: 0 auto var(--orb-space-8);
  line-height: 1.6;
  opacity: 0.92;
}

.site-cta-primary {
  background: #fff;
  color: #86198f;
  border: 0;
}

.site-cta-primary:hover {
  background: #fdf4ff;
  color: #701a75;
}

.site-cta-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.site-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.orb-footer-col .site-brand {
  display: flex;
  padding: 0;
  color: var(--orb-text);
}

.site-license-link,
.site-footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}

.site-license-link:hover,
.site-footer-bottom a:hover {
  color: var(--orb-primary-text);
}

.site-footer-desc {
  margin-top: var(--orb-space-3);
  max-width: 280px;
}

.site-footer-bottom {
  margin-top: var(--orb-space-8);
  padding-top: var(--orb-space-6);
  border-top: 1px solid var(--orb-border);
}

@media (max-width: 960px) {
  .site-split,
  .site-split-top {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--orb-space-8);
  }

  .site-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-security-card {
    padding: var(--orb-space-10) var(--orb-space-6);
  }
}

@media (max-width: 768px) {
  .site-header-cta {
    display: none;
  }

  .site-hero-top {
    --dots-clear: radial-gradient(ellipse 80% 40% at 50% 46%, transparent 55%, #000 100%);
    --dots-edge: 20px;
    padding-top: var(--orb-space-10);
  }

  .site-hero-top::before {
    background-size: 12px 12px;
    background-position: 6px 6px;
  }

  .site-hero-shot {
    margin-top: var(--orb-space-8);
    border-radius: var(--orb-radius-lg);
  }

  .site-frame {
    border-radius: var(--orb-radius-lg);
  }

  .site-cta-card {
    padding: var(--orb-space-10) var(--orb-space-5);
  }
}

@media (max-width: 420px) {
  .site-langs a {
    padding: 4px 7px;
  }

  .site-brand-text small {
    display: none;
  }
}
