:root {
  --bg: #0c0c0f;
  --bg-raised: #121216;
  --bg-soft: #16161b;
  --text: rgba(255, 255, 255, 0.95);
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.11);
  --border-soft: rgba(255, 255, 255, 0.065);
  --cyan: #52c9e8;
  --cyan-soft: rgba(82, 201, 232, 0.16);
  --blue-1: #73c6e5;
  --blue-2: #52b5dc;
  --blue-3: #3a9fc8;
  --blue-4: #2b82ae;
  --blue-5: #1a6490;
  --amber: #e8c952;
  --green: #6fcf97;
  --red: #e36d75;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --content: 1180px;
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--cyan);
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  background:
    radial-gradient(circle at 78% -12%, rgba(43, 130, 174, 0.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 15.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:is(a, button):focus-visible {
  border-radius: var(--radius-sm);
  box-shadow: var(--focus);
  outline: none;
}

code,
pre,
.eyebrow,
.platform,
.manifest-grid,
.artifact-list {
  font-family: var(--mono);
}

code {
  overflow-wrap: anywhere;
}

.shell {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 34px;
}

.site-mark {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  padding: 8px 12px;
  color: var(--text-soft);
  font-size: 14px;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--border);
}

main {
  padding-block: 66px 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: end;
}

.hero.single {
  grid-template-columns: minmax(0, 760px);
}

.eyebrow,
.platform {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.platform.alpha {
  color: var(--amber);
  border-color: rgba(232, 201, 82, 0.34);
  background: rgba(232, 201, 82, 0.07);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

figure {
  margin: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(45px, 7vw, 86px);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.product-hero h1 {
  font-size: clamp(50px, 7vw, 80px);
}

.lede {
  max-width: 61ch;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.hero-aside {
  padding: 24px 0 4px 28px;
  border-left: 1px solid var(--border);
  color: var(--text-soft);
}

.hero-aside p:last-child {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 76px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 22, 0.88);
}

.product-shot {
  position: relative;
  height: clamp(220px, 29vw, 340px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #09090c;
}

.product-shot::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 68%, rgba(12, 12, 15, 0.46));
  content: "";
  pointer-events: none;
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-shot.kin img {
  object-position: 48% 18%;
  transform: scale(1.05);
}

.product-shot.paddock img {
  object-position: 20% 12%;
  transform: scale(1.03);
}

.card-body {
  padding: clamp(24px, 4vw, 38px);
}

.card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.card-heading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.card-body > p {
  min-height: 4.9em;
  color: var(--text-soft);
}

.command {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  margin-block: 20px 16px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-3);
  border-radius: var(--radius);
  background: #0d0d11;
}

.command pre {
  min-width: 0;
  flex: 1;
  margin: 0;
  color: var(--text);
  font: 13px/1.55 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.command.compact {
  margin-block: 12px;
}

.copy {
  flex: none;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font: 12px/1.4 var(--sans);
  cursor: pointer;
}

.copy:hover,
.copy[data-state="done"] {
  color: var(--cyan);
  border-color: rgba(82, 201, 232, 0.44);
}

.deep-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.deep-link::after {
  content: "→";
}

.integration {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 36px;
  margin-top: 28px;
  padding: 30px 34px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 22, 0.55);
}

.integration h2 {
  margin: 0;
  color: var(--text-muted);
  font: 12px/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.integration p {
  margin: 0;
  color: var(--text-soft);
}

.integration code {
  color: var(--text);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(40px, 7vw, 86px);
  align-items: center;
}

.full-shot {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #09090c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.full-shot img {
  width: 100%;
  height: auto;
}

.section {
  padding-top: 78px;
}

.section + .section {
  margin-top: 78px;
  border-top: 1px solid var(--border-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 66ch;
  margin: 2px 0 0;
  color: var(--text-soft);
}

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

.columns.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.columns + .columns {
  margin-top: 28px;
}

.panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(18, 18, 22, 0.52);
}

.panel h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

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

.panel p:last-child {
  margin-bottom: 0;
}

.steps,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps {
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 34px;
  margin-bottom: 20px;
  padding-left: 48px;
  color: var(--text-soft);
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--cyan);
  content: counter(step);
  font: 12px/1 var(--mono);
}

.plain-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.plain-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--blue-3);
  content: "";
}

.callout {
  padding: 24px 26px;
  border: 1px solid rgba(232, 201, 82, 0.24);
  border-radius: var(--radius);
  background: rgba(232, 201, 82, 0.055);
  color: var(--text-soft);
}

.callout strong {
  color: var(--amber);
}

.callout.security {
  border-color: rgba(111, 207, 151, 0.23);
  background: rgba(111, 207, 151, 0.045);
}

.callout.security strong {
  color: var(--green);
}

.tabs {
  margin-top: 24px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tab-list button {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 14px/1.4 var(--sans);
  cursor: pointer;
}

.tab-list button[aria-selected="true"] {
  color: var(--cyan);
  border-color: rgba(82, 201, 232, 0.38);
  background: var(--cyan-soft);
}

.tab-panel {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--text-soft);
}

.js .tab-panel[hidden] {
  display: none;
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.manifest-item {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #0d0d11;
}

.manifest-item dt {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifest-item dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12.5px;
}

.manifest-status {
  min-height: 1.7em;
  color: var(--text-muted);
  font-size: 13px;
}

.artifact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 12.5px;
}

.artifact-list a {
  overflow-wrap: anywhere;
}

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 28px 42px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .site-mark {
    animation: mark-land 480ms var(--ease) both;
  }

  .hero-copy,
  .product-hero {
    animation: rise 520ms var(--ease) 100ms both;
  }

  @keyframes mark-land {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
}

@media (max-width: 860px) {
  .hero,
  .page-intro,
  .section-heading,
  .integration {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .product-grid,
  .columns,
  .columns.three {
    grid-template-columns: 1fr;
  }

  .card-body > p {
    min-height: 0;
  }

  .full-shot {
    order: -1;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 30px, var(--content));
  }

  .site-header {
    align-items: flex-start;
    padding-block: 24px;
  }

  .site-mark {
    width: 130px;
    margin-top: 6px;
  }

  .site-nav {
    max-width: 190px;
  }

  .site-nav a {
    padding: 6px 8px;
    font-size: 13px;
  }

  main {
    padding-block: 46px 72px;
  }

  h1 {
    font-size: 46px;
  }

  .product-grid {
    margin-top: 52px;
  }

  .product-shot {
    height: 220px;
  }

  .card-heading {
    display: block;
  }

  .card-heading .platform {
    margin-top: 10px;
  }

  .command {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy {
    align-self: flex-end;
  }

  .section,
  .section + .section {
    padding-top: 56px;
    margin-top: 56px;
  }

  .section-heading {
    gap: 16px;
  }

  .manifest-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }
}
