@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #08080d;
  --bg-soft: #101018;
  --card: #111119;
  --text: #f6f3ec;
  --muted: #a9a9b8;
  --faint: #6f6f80;
  --amber: #ffc46e;
  --amber-deep: #f09a2c;
  --rim: #ffe7b8;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --focus: #ffe7b8;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --page: 82rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: #201503;
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

a {
  color: var(--amber);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* The header, on every page. */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 13, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  max-width: var(--page);
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  min-height: 3.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 7px;
  display: block;
  width: 26px;
  height: 26px;
}

.nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  margin-left: auto;
  font-size: 0.9375rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-weight: 550;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--amber);
  color: #1d1305;
}

.btn-primary:hover { background: var(--rim); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--amber); }

.btn-small {
  padding: 0.42rem 0.9rem;
  font-size: 0.9rem;
}

/* The inner pages: support, legal, downloads, pricing. */
main { padding-bottom: 4rem; }

main > .wrap > section:first-child { padding-top: clamp(2.5rem, 7vw, 5rem); }

.hero { padding-top: 3rem; padding-bottom: 1rem; }

.eyebrow {
  font-family: var(--mono);
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.04;
  margin: 0 0 1.1rem;
  font-weight: 550;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 3rem 0 0.7rem;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.6rem 0 0.4rem;
}

p, li { color: var(--text); }

li { margin: 0.45rem 0; }

.lede {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 38em;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  margin: 1.25rem 0;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.badge {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.cards .card { margin: 0; }

.cards h2,
.cards h3 { margin-top: 0; }

ul.tick {
  list-style: none;
  padding: 0;
}

ul.tick li {
  padding-left: 1.5rem;
  position: relative;
  margin: 0.5rem 0;
}

ul.tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.75rem;
  height: 1px;
  background: var(--amber);
}

.steps { padding-left: 1.4rem; }

.steps li { margin: 0.7rem 0; }

code, .sha {
  font-family: var(--mono);
  font-size: 0.88em;
  word-break: break-all;
}

.sha {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  display: block;
  overflow-x: auto;
}

.faq dt {
  font-weight: 600;
  margin-top: 1.3rem;
}

.faq dd {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

table.facts {
  border-collapse: collapse;
  width: 100%;
  margin: 0.25rem 0 1rem;
}

table.facts th,
table.facts td {
  text-align: left;
  padding: 0.65rem 0.7rem 0.65rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.facts th {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 450;
  width: 8.5rem;
}

/* The footer, on every page. */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-foot .wrap { max-width: var(--page); }

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}

.foot-grid .brand { margin-bottom: 0.7rem; }

.foot-grid p {
  color: var(--muted);
  margin: 0;
  max-width: 22em;
}

.foot-col h2 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin: 0 0 0.8rem;
}

.foot-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
}

.foot-col a:hover { color: var(--text); }

.foot-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--faint);
}

.foot-legal p { color: inherit; margin: 0.35rem 0 0; }

@media (max-width: 46rem) {
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 34rem) {
  body { font-size: 1rem; }
  .brand span { display: none; }
  .foot-brand .brand span { display: inline; }
  .nav { font-size: 0.875rem; }
  .site-head .btn-small { padding: 0.36rem 0.72rem; font-size: 0.8125rem; white-space: nowrap; }
  .nav .nav-wide { display: none; }
  table.facts th { width: 6rem; }
}

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