.developer .wrap {
  width: min(90%, 77rem);
}
.developer-brand,
.developer nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.developer-brand {
  color: white;
  text-decoration: none;
  gap: 0.8rem;
}
.developer-brand img {
  width: clamp(7rem, 13vw, 11rem);
  height: auto;
}
.developer-brand span {
  padding-left: 0.8rem;
  border-left: 1px solid #617168;
}
.developer .mast nav > a:not(.button) {
  color: #e0e9e1;
}
.developer .button {
  white-space: normal;
  text-align: center;
}
@font-face {
  font-family: Mulish;
  src: url("fonts/mulish-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dmmono-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
.welcome {
  --dark: #0d1311;
  --ink: #283732;
  --muted: #485953;
  --teal: #277b6b;
  --primary: #2e8c77;
  --lime: #84cca0;
  --line: #d8e1db;
  --wash: #f7f9f6;
  background: white;
  color: var(--ink);
  font-family: Mulish, system-ui, sans-serif;
}
.welcome .wrap {
  width: min(calc(100% - 2 * clamp(20px, 4vw, 64px)), 1320px);
}
.welcome .eyebrow {
  font: 500 0.75rem/1.5 "DM Mono", monospace;
  letter-spacing: 0.14em;
}
.welcome h2 {
  font-size: clamp(2.25rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.018em;
}
.welcome h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
}
.welcome .button, .welcome .viewer-bar button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--dark);
  background: var(--primary);
  font-weight: 700;
}
.welcome .button:hover, .welcome .viewer-bar button:hover {
  filter: none;
  color: white;
  background: var(--teal);
}
.welcome .button:active, .welcome .viewer-bar button:active {
  color: white;
  background: #21675a;
}
.welcome .developer-brand img {
  width: clamp(120px, 13vw, 176px);
}
.welcome .developer-brand { gap: clamp(1.25rem, 2vw, 2rem); }
.welcome footer {
  background: var(--dark);
  color: white;
  font: 600 0.9375rem/1.55 Mulish, system-ui, sans-serif;
  text-transform: none;
  letter-spacing: normal;
}
.welcome footer a { color: var(--lime); }
.showcase {
  background: radial-gradient(ellipse at 78% 50%, rgb(46 140 119 / 16%), transparent 48%) #121c19;
  color: white;
  padding: clamp(64px, 9vw, 128px) 0;
}
.spread {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.showcase h1 {
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.showcase .eyebrow {
  color: var(--lime);
}
.showcase .intro {
  color: #dde8e2;
}
.intro {
  font-size: 1.15rem;
  max-width: 52ch;
}
.showcase .button,
.sign-in .button {
  margin: 1.6rem 0;
}
.showcase figure {
  margin: 0;
  min-width: 0;
  border: 1px solid #50655a;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1311;
}
.showcase img {
  width: 100%;
  display: block;
}
.showcase figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: #f7f9f6;
}
.developer-body {
  padding: clamp(2rem, 5vw, 5rem) 0;
}
.welcome-body {
  padding-block: clamp(64px, 9vw, 128px);
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin: 1.5rem 0 3rem;
}
.tool-grid article {
  border: 1px solid var(--line);
  padding: clamp(1.3rem, 3vw, 2.5rem);
  background: white;
  box-shadow: 0 3px 12px rgb(13 19 17 / 5%);
  border-radius: 16px;
}
.tool-grid h3 {
  font-size: 1.65rem;
  margin: 0.6rem 0;
}
.tool-grid a,
.access-note a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 650;
}
.access-note {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.access-note p {
  max-width: 68ch;
}
.developer footer nav {
  flex-wrap: wrap;
}
.sign-in,
.guide {
  min-height: 56vh;
}
.guide section {
  max-width: 72ch;
  margin-top: 2.5rem;
}
.guide nav {
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.guide pre {
  overflow: auto;
  max-width: 100%;
  padding: 1rem;
  background: #192a23;
  color: #f1f5ed;
  border-radius: 7px;
}
@media (max-width: 800px) {
  .spread {
    grid-template-columns: 1fr;
  }
  .developer .guide-nav {
    display: none;
  }
  .showcase figure {
    max-width: 40rem;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .welcome .developer-brand { gap: .25rem; }
  .developer-brand {
    display: grid;
    gap: 0.1rem;
  }
  .developer-brand span {
    padding: 0;
    border: none;
    font-size: 0.72rem;
  }
  .developer .mast-row {
    gap: 0.5rem;
  }
  .developer .mast .button {
    font-size: 0.8rem;
    padding: 0.7rem;
  }
  .developer footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .developer nav {
    gap: 0.8rem;
  }
}
.developer main {
  padding-block: 0;
}
.showcase .button {
  gap: 0.45rem;
}
.simulator-preview {
  min-width: 0;
  border-radius: 16px;
  cursor: zoom-in;
  text-decoration: none;
}
.simulator-viewer {
  width: min(94vw, 82rem);
  max-width: none;
  max-height: 92dvh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #0d1311;
  color: white;
}
.simulator-viewer[open] {
  display: flex;
  flex-direction: column;
}
.simulator-viewer::backdrop {
  background: rgb(10 21 16 / 85%);
}
html:has(.simulator-viewer[open]) {
  overflow: hidden;
}
.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
}
.welcome .viewer-bar h2 {
  font-size: 1rem;
}
.viewer-bar button {
  min-height: 44px;
}
.viewer-image {
  overflow: auto;
  overscroll-behavior: contain;
}
.viewer-image img {
  display: block;
  width: 100%;
  min-width: 48rem;
}
