:root {
  color-scheme: dark;
  --ink: #111418;
  --panel: #171c22;
  --text: #f6f7f8;
  --body: #e7eaed;
  --muted: #a3acb5;
  --muted-bright: #c2c8ce;
  --accent: #42cdbd;
  --accent-bright: #a9ece5;
  --blue: #7db9f8;
  --red: #ff8f8f;
  --line: rgba(184, 231, 225, 0.14);
  --line-strong: rgba(184, 231, 225, 0.3);
  --font: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono NL", "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --shell: min(1280px, calc(100vw - 48px));
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--body);
  font-family: var(--font);
  font-synthesis: none;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The same field as the homepage */

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 138, 75, 0.2), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(40, 179, 154, 0.22), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(40, 179, 154, 0.15), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(240, 138, 75, 0.15), transparent 42%),
    linear-gradient(180deg, #0a0e13 0%, var(--ink) 45%, #10161c 100%);
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--text);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
}

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

main {
  display: grid;
  align-content: start;
  padding: 28px 0 96px;
}

/* The one brand mark: a way home */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Type */

h1,
h2 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
}

h2 {
  max-width: 14ch;
  margin: 0 0 22px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.accent {
  background: linear-gradient(100deg, var(--accent-bright), var(--accent) 48%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

strong {
  color: var(--text);
  font-weight: 600;
}

p {
  margin: 0;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--accent-bright);
  overflow-wrap: anywhere;
}

.page-hero {
  padding: clamp(40px, 6vh, 64px) 0 clamp(32px, 4vh, 48px);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.lede {
  max-width: 36rem;
  margin: 26px 0 0;
  color: var(--muted-bright);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.4;
}

.note {
  max-width: 36rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.note a,
.copy a,
.summary a,
.text-link {
  color: var(--accent-bright);
  text-underline-offset: 0.2em;
}

.effective {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buttons */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 42%, var(--blue));
  color: #07211d;
  box-shadow: 0 14px 40px rgba(66, 205, 189, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 18px 48px rgba(66, 205, 189, 0.32);
}

.button.secondary {
  background:
    linear-gradient(rgba(24, 29, 35, 0.78), rgba(17, 20, 24, 0.72)) padding-box,
    linear-gradient(135deg, rgba(125, 185, 248, 0.88), rgba(66, 205, 189, 0.8)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 32px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background:
    linear-gradient(rgba(66, 205, 189, 0.15), rgba(17, 20, 24, 0.72)) padding-box,
    linear-gradient(135deg, var(--blue), var(--accent)) border-box;
}

.button:disabled {
  opacity: 0.6;
  transform: none;
  cursor: progress;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Sections and lists */

.section {
  padding: clamp(40px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-heading p,
.stack-copy p,
.copy p,
.copy li,
.summary p,
.summary li,
.faq-list p,
.card p {
  color: var(--body);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}

.split-tight {
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
}

.copy > h2 {
  margin-top: 44px;
}

.copy > h2:first-child {
  margin-top: 0;
}

.copy > h3 {
  margin-top: 26px;
}

.copy > p + p {
  margin-top: 14px;
}

.copy ul,
.summary ul,
.summary-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.copy li,
.summary li,
.summary-list li {
  position: relative;
  padding-left: 26px;
}

.copy li::before,
.summary li::before,
.summary-list li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.summary {
  display: grid;
  gap: 16px;
  align-content: start;
}

.summary img {
  width: 88px;
  height: 88px;
  border-radius: 22%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.summary .tagline {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
}

.summary-list {
  margin-top: 0;
}

.summary-list li {
  color: var(--body);
  font-size: 1.05rem;
}

.summary-list strong,
.rows strong,
.promises strong,
.principles strong {
  display: block;
  color: var(--text);
}

.summary-list small,
.promises small,
.rows small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.column {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.column::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.column .label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.column p {
  color: var(--muted-bright);
  font-size: 1.05rem;
}

.rows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows > li,
.rows > article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.rows > li:last-child,
.rows > article:last-child {
  border-bottom: 1px solid var(--line);
}

.rows p {
  color: var(--muted-bright);
}

.promises {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.promises li {
  position: relative;
  padding-left: 26px;
}

.promises li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps p {
  color: var(--muted-bright);
  max-width: 44rem;
}

.steps em {
  color: var(--text);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.source-links a {
  color: var(--accent-bright);
  text-underline-offset: 0.2em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.faq-list {
  display: grid;
}

.faq-list details {
  padding: 4px 0;
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 16px 0;
  color: var(--text);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  float: right;
  color: var(--accent);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  padding: 0 0 18px;
  color: var(--muted-bright);
}

.faq-list strong {
  color: var(--accent-bright);
}

/* Cards: only where content needs a boundary */

.card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(#141920, #10141a) padding-box,
    linear-gradient(135deg, rgba(125, 185, 248, 0.55), rgba(66, 205, 189, 0.55)) border-box;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.card::before {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, rgba(66, 205, 189, 0.14), transparent 62%);
  filter: blur(20px);
  content: "";
  pointer-events: none;
}

.card > * {
  position: relative;
}

.card img.mark {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 22%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.card h2 {
  margin-bottom: 14px;
}

.card .button {
  margin-top: 22px;
  width: 100%;
}

.file-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.file-note a {
  color: var(--accent-bright);
  text-underline-offset: 0.2em;
}

.divider {
  height: 1px;
  margin: 26px 0;
  background: var(--line);
}

.release-state {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.release-state strong {
  display: block;
  color: var(--accent-bright);
}

/* Forms */

.interest-form {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.interest-form label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.input-row,
.download-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.interest-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.7);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.interest-form input::placeholder {
  color: var(--muted);
}

.interest-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(66, 205, 189, 0.16);
}

.interest-form button {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid rgba(66, 205, 189, 0.4);
  border-radius: 12px;
  background: rgba(66, 205, 189, 0.1);
  color: var(--accent-bright);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.interest-form button:hover,
.interest-form button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #07211d;
}

.interest-form button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-note.ok {
  color: var(--accent-bright);
}

.form-note.bad {
  color: var(--red);
}

/* Release facts */

.facts {
  display: grid;
  margin: 22px 0 0;
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.facts > div:last-child {
  border-bottom: 1px solid var(--line);
}

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

.facts dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* QR */

.qr {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(340px, 100%);
  margin-inline: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(23, 28, 34, 0.6);
  text-align: center;
}

.qr img {
  width: 100%;
  border-radius: 16px;
  background: #fff;
}

.qr p {
  color: var(--muted);
  font-size: 0.95rem;
}

.qr strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

/* Closing card */

.closing-card {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 28px;
}

.closing-card img {
  width: clamp(120px, 14vw, 180px);
  border-radius: 28%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.closing-card .button {
  width: auto;
}

/* 404 */

.error-main {
  min-height: 100svh;
  padding: 28px 0 96px;
}

.error-card {
  display: grid;
  gap: 18px;
  max-width: 40rem;
  margin-top: clamp(48px, 12vh, 120px);
}

.error-card img {
  width: 110px;
  border-radius: 28%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.error-card p {
  color: var(--muted-bright);
  font-size: 1.15rem;
}

/* Footer */

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-layout p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-layout p a {
  color: var(--muted-bright);
  text-underline-offset: 0.18em;
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
}

.footer-layout nav a {
  color: var(--muted-bright);
  text-decoration: none;
}

.footer-layout nav a:hover,
.footer-layout nav a:focus-visible {
  color: var(--text);
}

/* Responsive */

@media (max-width: 1000px) {
  .page-hero-layout,
  .split,
  .split-tight,
  .closing-card {
    grid-template-columns: 1fr;
  }

  .columns,
  .columns-4,
  .principles {
    grid-template-columns: 1fr 1fr;
  }

  .closing-card img {
    order: -1;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  h1 {
    font-size: clamp(2.5rem, 11.5vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.4rem);
  }

  .button {
    width: 100%;
  }

  .columns,
  .columns-4,
  .principles {
    grid-template-columns: 1fr;
  }

  .input-row,
  .download-input {
    grid-template-columns: 1fr;
  }

  .facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .card,
  .closing-card {
    border-radius: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
