

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("../fonts/archivo-v25-500-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark light;

  --bg: #0d0d0d;
  --ink: #fcfcfc;
  --ink-2: rgba(252, 252, 252, 0.65);
  --ink-3: rgba(252, 252, 252, 0.52);
  --line: rgba(252, 252, 252, 0.072);
  --line-heavy: rgba(252, 252, 252, 0.118);
  --fill: rgba(252, 252, 252, 0.03);
  --primary-bg: #fcfcfc;
  --primary-fg: #111111;
  --primary-hover: rgba(252, 252, 252, 0.88);
  --focus: rgba(112, 186, 255, 0.76);
  
  --shot-bg: #111111;
  
  --plate: #111111;
  --plate-line: rgba(252, 252, 252, 0.118);
  
  --plate-tile-grok: #050505;
  --plate-tile-kimi: #000000;

  --link: var(--cdx-accent-text);
  --progress: var(--cdx-accent-text);
  --decision: var(--cdx-warning);
  --decision-text: var(--cdx-warning);
  --ready: var(--cdx-success);
  --ready-text: var(--cdx-success);
  
  --brand-core: #FFD60A;

  --cdx-fg: #fcfcfc;
  --cdx-accent-text: #70baff;
  --cdx-success: #40c977;
  --cdx-warning: #ff8549;

  --r-window: 14px;
  --r-card: 12px;
  --r-row: 8px;
  --r-pill: 999px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-display: "Archivo", var(--font);
  --fs-display: clamp(38px, 5vw, 72px);
  --fs-statement: clamp(32px, 4.4vw, 48px);
  --fs-h2: clamp(28px, 3vw, 40px);
  --fs-lead: clamp(17px, 1.35vw, 19px);
  --fs-body: 17px;
  --fs-ui: 14px;
  --fs-small: 13px;
  --fs-legal: 12px;

  --page: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f5;
    --ink: #0d0d0d;
    --ink-2: rgba(13, 13, 13, 0.65);
    --ink-3: rgba(13, 13, 13, 0.62);
    --line: rgba(13, 13, 13, 0.06);
    --line-heavy: rgba(13, 13, 13, 0.1);
    --fill: rgba(13, 13, 13, 0.03);
    --primary-bg: #0d0d0d;
    --primary-fg: #ffffff;
    --primary-hover: rgba(13, 13, 13, 0.86);
    --focus: #24639e;
    --shot-bg: #ffffff;
    --plate: #111111;
    --plate-line: rgba(17, 17, 17, 0);
    --plate-tile-grok: #050505;
    --plate-tile-kimi: #000000;
    --decision-text: color-mix(in oklab, var(--cdx-warning) 65%, var(--cdx-fg));
    --ready-text: color-mix(in oklab, var(--cdx-success) 65%, var(--cdx-fg));

    --cdx-fg: #0d0d0d;
    --cdx-accent-text: #24639e;
    --cdx-success: #00a240;
    --cdx-warning: #e25507;
    --brand-core: #F2B200;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body) / 1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
figure,
pre {
  margin: 0;
}

p {
  text-wrap: pretty;
}

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

img,
svg {
  display: block;
}

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

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

h1 {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

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

main:focus {
  outline: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

.mark {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.mark-core {
  fill: var(--brand-core);
}

.lockup {
  height: 18px;
  width: auto;
  aspect-ratio: 1093 / 288;
  flex: none;
  fill: currentColor;
}

.brand--footer .lockup {
  height: 16px;
}

.wrap {
  width: min(var(--page), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--primary-bg);
  color: var(--primary-fg);
  font-size: var(--fs-ui);
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font: 500 var(--fs-ui) / 1 var(--font);
  white-space: nowrap;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease), transform 90ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: var(--fs-small);
}

.btn-primary {
  background: var(--primary-bg);
  color: var(--primary-fg);
}

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

.btn-secondary {
  border: 1px solid var(--line-heavy);
  color: var(--ink);
}

@media (hover: hover) {
  .btn-secondary:hover {
    background: var(--fill);
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--link);
  font-weight: 500;
  transition: color 120ms var(--ease);
}

@media (hover: hover) {
  .text-link:hover {
    color: var(--ink);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  margin-left: auto;
}

.header-nav a {
  color: var(--ink-2);
  font-size: var(--fs-ui);
  font-weight: 500;
  transition: color 120ms var(--ease);
}

@media (hover: hover) {
  .header-nav a:hover {
    color: var(--ink);
  }
}

.hero {
  padding-top: clamp(24px, 4vw, 56px);
}

.hero-inner {
  container: hero-head / inline-size;
}

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.h1-line {
  display: block;
}

.h1-line:first-child {
  color: var(--ink-2);
}

.hero-side {
  margin-top: 20px;
}

.hero-lead {
  max-width: 440px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

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

.hero-actions:not(:has(> :not([hidden]))) {
  display: none;
}

.hero-note {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.hero-note .text-link {
  font-size: var(--fs-small);
}

#hero-contact {
  margin-top: 0;
}

.cta-send,
.hero-send,
.install-for-mac,
.install-send,
.install-on-mac {
  display: none;
}

.install-on-mac {
  margin-top: 32px;
}

.install-for-mac {
  text-wrap: balance;
}

@container hero-head (min-width: 1000px) {
  .hero-text {
    display: grid;
    grid-template-columns: 7fr 5fr;
    column-gap: 24px;
    align-items: end;
  }

  .hero-side {
    margin-top: 0;
  }
}

.hero-after {
  margin-top: 32px;
  container: hero-after / inline-size;
}

@media (max-width: 699px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-inner {
    display: contents;
  }

  .hero-text,
  .works-with {
    width: min(var(--page), 100% - 2 * var(--gutter));
    margin-inline: auto;
  }

  .works-with {
    order: 1;
  }

  .hero-after {
    order: 2;
  }
}

.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.works-with .works-with-label {
  flex: none;
  color: var(--ink-3);
  font-family: var(--font);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.works-with-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.provider {
  display: inline-flex;
  align-items: center;
}

.provider--mark {
  gap: 10px;
  min-height: 36px;
  color: var(--ink);
  font-size: 16px;
}

.mark-plate {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--plate-line);
  border-radius: var(--r-row);
  background: var(--plate);
}

.provider-mark {
  width: 18px;
  height: 18px;
}

.mark-plate > picture {
  display: contents;
}

.mark-plate:has(> .provider-mark[src$="/grok.png"]) {
  background: var(--plate-tile-grok);
}

.mark-plate:has(> .provider-mark[src$="/kimi.png"]) {
  background: var(--plate-tile-kimi);
}

.provider-mark[src$="/grok.png"] {
  width: 23px;
  height: 23px;
}

.provider-mark[src$="/kimi.png"] {
  width: 32px;
  height: 32px;
}

@media (prefers-color-scheme: light) {
  .mark-plate:has(> .provider-mark[src$="/claude.svg"]),
  .mark-plate:has(> .provider-mark[src$="/deepseek.svg"]),
  .mark-plate--twin {
    border-color: var(--line-heavy);
    background: var(--shot-bg);
  }
}

.fine-line {
  flex-basis: 100%;
  color: var(--ink-3);
  font-size: var(--fs-legal);
  line-height: 1.5;
}

.shot {
  margin: 0;
}

.shot.shot--hero {
  width: min(1320px, 100% - 2 * var(--gutter));
  margin: clamp(28px, 3.5vw, 48px) auto 0;
}

.shot figcaption {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.shot.shot--hero figcaption {
  width: min(var(--page), 100%);
  margin-inline: auto;
}

.shot-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-heavy);
  border-radius: var(--r-window);
  background: var(--shot-bg);
}

.shot picture,
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-layer[data-state="end"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 150ms var(--ease);
}

.shot-layer[data-state="end"] img {
  height: 100%;
}

#app[data-moment="end"] .shot-layer[data-state="end"] {
  opacity: 1;
}

#app[data-frame] .shot-layer {
  transition: none;
}

#app [data-sr-after],
#app[data-moment="end"] [data-sr-before] {
  display: none;
}

#app[data-moment="end"] [data-sr-after] {
  display: inline;
}

.shot--part {
  width: 100%;
}

.shot--part[data-shot="approval"] {
  max-width: 776px;
}

.shot--part[data-shot="diff"] {
  max-width: 640px;
}

.shot--part[data-shot="models"] {
  max-width: 484px;
}

.shot--part[data-shot="agents"] {
  max-width: 768px;
}

.shot--part[data-shot="dashboard"] {
  max-width: 400px;
}

@media (max-width: 699px) {
  .shot--part[data-shot="approval"] {
    max-width: 442px;
  }

  .shot--part[data-shot="diff"] {
    max-width: 440px;
  }

  .shot--part[data-shot="agents"] {
    max-width: 492px;
  }

  .shot--part[data-shot="models"] {
    max-width: 439px;
  }

  .shot--part[data-shot="dashboard"] {
    max-width: 368px;
  }
}

@media (min-width: 700px) {
  .shot--part[data-shot="models"] {
    max-width: none;
  }

  .shot--part[data-shot="dashboard"] {
    max-width: none;
  }
}

.section {
  padding-top: var(--section);
  container: section / inline-size;
}

.section--last {
  padding-bottom: var(--section);
}

.screen-text p {
  max-width: 480px;
  margin-top: 12px;
  color: var(--ink-2);
}

.states {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.state {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.state-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.state-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
}

.state-dot--working {
  background: var(--progress);
}

.state-dot--needs {
  background: var(--decision);
}

.state-dot--finished {
  background: var(--ready);
}

.state-line {
  margin-top: 6px;
  color: var(--ink-2);
}

@container hero-after (min-width: 1000px) {
  .states {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    border-bottom: 0;
  }

  .state {
    padding: 20px 0 0;
  }
}

.screen-text p {
  margin-top: 16px;
}

.screen-text .screen-note {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.screen .shot {
  margin-top: 32px;
}

.statement-title {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: var(--fs-statement);
  line-height: 1.1;
  letter-spacing: 0;
}

.statement-body {
  max-width: 620px;
  margin-top: 24px;
  color: var(--ink-2);
}

.statement-link {
  margin-top: 16px;
}

.statement-link .text-link {
  font-size: 15px;
}

.price-title {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: var(--fs-statement);
  line-height: 1.1;
  letter-spacing: 0;
}

.packages {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.package {
  padding: 20px;
  border: 1px solid var(--line-heavy);
  border-radius: var(--r-card);
  background: var(--fill);
}

.package-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.package-price {
  margin-top: 4px;
  color: var(--ink-2);
}

.package-lines {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.price-note {
  max-width: 680px;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.packages + .price-note {
  margin-top: 24px;
}

@container section (min-width: 760px) {
  .packages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  text-align: center;
}

.cta-mark {
  width: 40px;
  height: 40px;
}

.cta h2 {
  margin-top: 24px;
}

.cta-message {
  margin-top: 16px;
  color: var(--ink-2);
}

.cta-actions {
  margin-top: 32px;
}

.cta-actions:not(:has(> :not([hidden]))) {
  display: none;
}

.cta-note,
.cta-reqs {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.cta-note .text-link,
.cta-reqs .text-link {
  font-size: var(--fs-small);
}

.cta-reqs {
  margin-top: 24px;
  text-wrap: balance;
}

.install-block {
  width: 100%;
}

.install-head {
  width: 100%;
}

.install-head:not([hidden]) + .cta-reqs {
  margin-top: 8px;
}

#install-needs {
  margin-top: 4px;
}

.install-line {
  display: block;
  color: var(--ink);
  font: 400 var(--fs-small) / 20px var(--mono);
  text-align: left;
  user-select: all;
}

.line-box {
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid var(--line-heavy);
  border-radius: var(--r-card);
  background: var(--fill);
}

.line-box:has(:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.line-scroll {
  overflow-x: auto;
  white-space: pre;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to left, transparent, var(--ink) 32px);
  mask-image: linear-gradient(to left, transparent, var(--ink) 32px);
}

.line-scroll::-webkit-scrollbar {
  display: none;
}

.line-scroll:focus-visible {
  outline: none;
}

.line-scroll code::after {
  content: "";
  display: inline-block;
  width: 32px;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.install-does {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.5;
  text-align: start;
  text-wrap: pretty;
}

#install-contact {
  margin-top: 16px;
}

#release-note {
  margin-top: 4px;
}

#release-note:empty {
  display: none;
}

.checksum {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-align: left;
}

.checksum summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 16px;
  font-size: var(--fs-ui);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.checksum-body {
  padding: 0 16px 16px;
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.checksum-body code {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: var(--r-row);
  background: var(--fill);
  color: var(--ink);
  font: 400 var(--fs-legal) / 18px var(--mono);
  overflow-wrap: anywhere;
}

.checksum-body .line-box {
  margin-top: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--r-row);
}

.checksum-body .line-scroll code {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}

.checksum-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.copy-status {
  color: var(--ink-3);
}

.install-actions .btn[data-copied] {
  position: relative;
  color: transparent;
  transition: none;
}

.install-actions .btn[data-copied]::after {
  content: 'Copied';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-fg);
}

.install-actions .btn[data-copied] + .copy-status {
  width: 1px;
  height: 1px;
  margin: 0 0 -1px -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.checksum-team {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checksum-team p + code,
.checksum-team code + p {
  margin-top: 8px;
}

.checksum-team strong {
  color: var(--ink);
  font-weight: 500;
}

@container section (min-width: 1000px) {
  .split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }

  .screen-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    column-gap: 56px;
    align-items: center;
  }

  .screen-text {
    margin-top: 0;
  }

  .screen .shot {
    justify-self: end;
    margin-top: 0;
  }

  .shot--part[data-shot="models"] {
    max-width: 484px;
  }

  .shot--part[data-shot="dashboard"] {
    max-width: 400px;
  }

  .screen--mirror .screen-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  }

  .screen--mirror .shot {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
  }

  .screen--mirror .screen-text {
    grid-row: 1;
    grid-column: 2;
  }

  .faq .split-text {
    grid-column: 1 / span 4;
  }

  .faq-list {
    grid-column: 5 / span 8;
    margin-top: 0;
  }
}

.faq-list {
  max-width: 760px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 0;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.chev {
  color: var(--ink-3);
  transition: transform 150ms var(--ease);
}

details[open] > summary .chev {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 40px 20px 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.doc-actions {
  margin-top: 24px;
}

.doc a.btn.btn-primary {
  color: var(--primary-fg);
}

.doc-note {
  margin-top: 16px;
  color: var(--ink-2);
  line-height: 1.65;
}

.withdraw-step {
  margin-top: 24px;
}

.withdraw-step > summary {
  width: fit-content;
  list-style: none;
  cursor: pointer;
}

.withdraw-step[open] > summary {
  border: 1px solid var(--line-heavy);
  background: var(--fill);
  color: var(--ink);
}

.withdraw-form {
  display: grid;
  gap: 4px;
  max-width: 480px;
  margin-top: 12px;
}

.withdraw-form label {
  display: block;
  color: var(--ink);
  font-size: var(--fs-ui);
  font-weight: 500;
  line-height: 1.4;
}

.withdraw-form input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid var(--line-heavy);
  border-radius: var(--r-row);
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.doc-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.doc-nav a {
  color: var(--ink-2);
  font-size: var(--fs-ui);
  font-weight: 500;
  transition: color 120ms var(--ease);
}

@media (hover: hover) {
  .doc-nav a:hover {
    color: var(--ink);
  }
}

.doc-nav + .header-install {
  margin-left: 0;
}

.doc {
  max-width: 720px;
  padding-block: 72px var(--section);
}

.doc--short {
  min-height: 50vh;
}

.doc {
  overflow-wrap: break-word;
}

.doc h1 {
  font-size: var(--fs-h2);
  line-height: 1.14;
  letter-spacing: 0;
}

.doc-lead {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.doc-lang {
  margin-top: 12px;
  font-size: var(--fs-ui);
  font-weight: 500;
}

.doc-section {
  margin-top: 48px;
  scroll-margin-top: 24px;
}

.doc-section h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.doc-section p,
.doc-list li {
  margin-top: 12px;
  color: var(--ink-2);
  line-height: 1.65;
}

.doc-list {
  padding-left: 20px;
  list-style: disc;
}

.doc-list li::marker {
  color: var(--ink-3);
}

.doc strong {
  color: var(--ink);
  font-weight: 500;
}

.doc a {
  color: var(--link);
}

@media (hover: hover) {
  .doc a:hover {
    color: var(--ink);
  }
}

.doc-toc .doc-list li {
  margin-top: 4px;
}

ol.doc-list {
  list-style: decimal;
}

.doc code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 24px;
  padding-block: 40px 56px;
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.footer-inner > p {
  grid-column: 1 / -1;
}

.brand--footer {
  grid-row: 1;
  grid-column: 1;
  gap: 8px;
  color: var(--ink-2);
  font-size: var(--fs-ui);
  letter-spacing: 0;
}

.brand--footer .mark {
  width: 16px;
  height: 16px;
}

.footer-nav {
  grid-row: 1;
  grid-column: 2;
  margin-bottom: -4px;
  font-size: 0;
  word-spacing: 24px;
  text-align: end;
  text-wrap: balance;
}

.footer-nav a {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--ink-2);
  font-size: var(--fs-ui);
  word-spacing: normal;
  vertical-align: top;
  transition: color 120ms var(--ease);
}

@media (hover: hover) {
  .footer-nav a:hover {
    color: var(--ink);
  }
}

.footer-legal {
  max-width: 760px;
  font-size: var(--fs-legal);
}

@media (max-width: 699px) {
  .header-inner {
    height: 56px;
  }

  .header-nav {
    display: none;
  }

  .brand {
    min-height: 44px;
  }

  .header-notify,
  .header-install {
    height: 44px;
    margin-left: auto;
  }

  .hero-side {
    margin-top: 16px;
  }

  .hero-actions .btn,
  .cta-actions,
  .cta-actions .btn,
  .install-actions .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .install-actions .btn {
    height: 48px;
  }

  .shot.shot--hero {
    margin-top: 40px;
  }

  .works-with-list {
    gap: 8px 12px;
  }

  .provider--mark {
    gap: 8px;
  }

  .works-with {
    margin-top: 32px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  .footer-nav {
    grid-row: 2;
    grid-column: 1;
    text-align: start;
  }

  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 359px) {
  .header-inner:has(> .header-notify:not([hidden])) .brand,
  .header-inner:has(> .doc-nav + .header-install) .brand {
    width: 44px;
    margin-right: -19px;
    overflow: hidden;
  }

  .header-inner:has(> .header-notify:not([hidden])) .lockup,
  .header-inner:has(> .doc-nav + .header-install) .lockup {
    clip-path: inset(0 calc(100% - 25px) 0 0);
  }
}

@media (max-width: 299px) {
  .header-inner .brand {
    width: 44px;
    margin-right: -19px;
    overflow: hidden;
  }

  .header-inner .lockup {
    clip-path: inset(0 calc(100% - 25px) 0 0);
  }
}

@media (max-width: 249px) {
  .header-inner:has(> .header-install) .doc-nav {
    display: none;
  }

  .doc-nav + .header-install {
    margin-left: auto;
  }
}

@media (max-width: 219px) {
  .header-notify {
    width: 44px;
    padding: 0;
  }

  .header-notify > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 179px) {
  .header-install {
    width: 44px;
    padding: 0;
  }

  .header-install > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (pointer: coarse) {
  .btn,
  .btn-sm {
    min-height: 44px;
  }

  .brand,
  .header-nav a,
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .cta-reqs .text-link,
  #install-renewing .text-link,
  #hero-renewing .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .statement-link .text-link {
    min-height: 44px;
    margin-block: calc((1.6em - 44px) / 2);
  }

  #hero-contact .text-link,
  #notify-note [data-contact] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-block: calc((1.5em - 44px) / 2);
  }

  .doc-toc .doc-list li {
    margin-top: 0;
  }

  .doc-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .doc-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .doc-lang a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-block: calc((1.6em - 44px) / 2);
  }

  .hero-actions [data-install-cta]:not([data-send-link]) {
    display: none;
  }

  .cta-send {
    display: inline-flex;
  }

  .hero-send,
  .install-for-mac {
    display: block;
  }

  .install-send,
  .install-on-mac {
    display: block;
  }

  #install-howto {
    display: none;
  }

  #copy-line {
    border: 1px solid var(--line-heavy);
    background: none;
    color: var(--ink);
  }

  #copy-line[data-copied] {
    color: transparent;
  }

  #copy-line[data-copied]::after {
    color: var(--ink);
  }

  .hero-install {
    display: none;
  }

  #install-needs .text-link {
    margin-block: -12px;
  }
}

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

  .btn,
  .text-link,
  .chev,
  .header-nav a,
  .footer-nav a,
  .doc-nav a {
    transition: none;
  }

  .btn:active {
    transform: none;
  }

  .shot-layer {
    transition: none;
  }
}

@media (pointer: coarse) {
  .footer-nav a[href^="https://x.com/"] {
    position: relative;
  }

  .footer-nav a[href^="https://x.com/"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }
}
