:root {
  color-scheme: dark;
  --ink: #111418;
  --ink-deep: #0d1117;
  --panel: #181d23;
  --panel-2: #20262e;
  --panel-3: #20262e;
  --line: rgba(160, 172, 184, 0.22);
  --line-subtle: rgba(160, 172, 184, 0.11);
  --line-strong: rgba(160, 172, 184, 0.42);
  --text: #e7eaed;
  --heading: #f6f7f8;
  --muted: #a3acb5;
  --muted-bright: #c2c8ce;
  --teal: #42cdbd;
  --teal-bright: #b8e7e1;
  --blue: #7db9f8;
  --orange: #f0a15b;
  --red: #ff7272;
  --display: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono NL", "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --shell: min(1200px, calc(100vw - 48px));
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

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

.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: 200;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--text);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid var(--line-subtle);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.72), rgba(13, 17, 23, 0));
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.86rem;
  font-weight: 680;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.nav-links .nav-cta {
  padding: 9px 16px;
  border: 1px solid rgba(66, 205, 189, 0.42);
  border-radius: 999px;
  background: rgba(66, 205, 189, 0.09);
  color: var(--teal-bright);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  border-color: rgba(184, 231, 225, 0.7);
  background: rgba(66, 205, 189, 0.16);
}

.hero {
  position: relative;
  min-height: 890px;
  overflow: hidden;
  padding: 172px 0 116px;
  background:
    linear-gradient(180deg, rgba(13, 17, 23, 0.72), rgba(17, 20, 24, 0.5) 65%, var(--ink)),
    var(--ink-deep);
}

.hero-grid,
.beta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160, 172, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 172, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 91%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 91%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-teal {
  top: 95px;
  right: 2vw;
  width: 610px;
  height: 610px;
  background: radial-gradient(circle, var(--teal), transparent 68%);
}

.glow-blue {
  top: 520px;
  left: 28vw;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  opacity: 0.09;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.kicker,
.card-number {
  margin: 0 0 18px;
  color: var(--teal-bright);
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(66, 205, 189, 0.27);
  border-radius: 999px;
  background: rgba(66, 205, 189, 0.06);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px rgba(184, 231, 225, 0.07), 0 0 17px rgba(184, 231, 225, 0.72);
}

.hero h1,
.section-heading h2,
.product-copy h2,
.ai-statement h2,
.beta-copy h2,
.private-page h1,
.error-card h1 {
  margin: 0;
  color: var(--heading);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.01;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(4rem, 7.1vw, 6.8rem);
}

.hero h1 span {
  background: linear-gradient(100deg, var(--teal-bright), var(--teal) 45%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 690px;
  margin: 29px 0 0;
  color: var(--muted-bright);
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

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

.button,
.beta-form button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary,
.beta-form button {
  background: var(--teal);
  color: var(--ink-deep);
  box-shadow: 0 12px 32px rgba(66, 205, 189, 0.16);
}

.button.primary:hover,
.button.primary:focus-visible,
.beta-form button:hover,
.beta-form button:focus-visible {
  background: var(--teal-bright);
  box-shadow: 0 16px 40px rgba(66, 205, 189, 0.25);
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(24, 29, 35, 0.58);
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(160, 172, 184, 0.62);
  background: rgba(32, 38, 46, 0.76);
}

.release-note {
  max-width: 640px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.release-note strong {
  color: var(--muted-bright);
}

.hero-demo {
  position: relative;
  width: min(100%, 620px);
  justify-self: end;
  padding: 22px 0 40px;
}

.hero-demo::before {
  position: absolute;
  inset: -22px -36px 10px 28px;
  border: 1px solid rgba(125, 185, 248, 0.11);
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(125, 185, 248, 0.05), rgba(66, 205, 189, 0.025));
  content: "";
  transform: rotate(2.5deg);
}

.demo-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(160, 172, 184, 0.24);
  border-radius: 20px;
  background: rgba(24, 29, 35, 0.96);
  box-shadow: 0 44px 95px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.018) inset;
}

.demo-titlebar,
.demo-toolbar,
.demo-footer {
  display: flex;
  align-items: center;
}

.demo-titlebar {
  min-height: 47px;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.traffic-lights {
  display: inline-flex;
  gap: 7px;
}

.traffic-lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.traffic-lights i:nth-child(2) {
  background: #febc2e;
}

.traffic-lights i:nth-child(3) {
  background: #28c840;
}

.demo-badge {
  padding: 3px 7px;
  border: 1px solid rgba(240, 161, 91, 0.3);
  border-radius: 999px;
  background: rgba(240, 161, 91, 0.07);
  color: var(--orange);
  letter-spacing: 0.08em;
}

.demo-toolbar {
  min-height: 48px;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(160, 172, 184, 0.11);
  color: var(--muted);
  font-size: 0.73rem;
}

.demo-toolbar strong {
  color: var(--teal-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 650;
}

.demo-code {
  min-height: 330px;
  margin: 0;
  padding: 30px 31px;
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(0.77rem, 1.08vw, 0.91rem);
  line-height: 1.74;
  white-space: pre-wrap;
}

.demo-code code {
  font: inherit;
}

.demo-caret {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: var(--teal-bright);
  animation: caret-blink 900ms steps(1, end) infinite;
}

.demo-window.is-large-file .demo-code {
  background: linear-gradient(180deg, rgba(66, 205, 189, 0.045), transparent);
}

.demo-window.is-large-file .demo-badge {
  border-color: rgba(66, 205, 189, 0.33);
  background: rgba(66, 205, 189, 0.08);
  color: var(--teal-bright);
}

.demo-footer {
  min-height: 45px;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.demo-footer span:last-child {
  color: var(--teal-bright);
  text-align: right;
}

.demo-caption {
  position: relative;
  z-index: 3;
  width: min(390px, calc(100% - 34px));
  margin: -13px 22px 0 auto;
  padding: 17px 20px;
  border: 1px solid rgba(240, 161, 91, 0.26);
  border-radius: 13px;
  background: var(--panel-2);
  box-shadow: 0 19px 45px rgba(0, 0, 0, 0.3);
  transform: rotate(-1.6deg);
}

.demo-caption span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.demo-caption p {
  margin: 5px 0 0;
  color: var(--muted-bright);
  font-size: 0.78rem;
  line-height: 1.5;
}

@keyframes caret-blink {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

.proof-strip {
  border-top: 1px solid rgba(160, 172, 184, 0.12);
  border-bottom: 1px solid rgba(160, 172, 184, 0.12);
  background: var(--panel);
}

.proof-list {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.proof-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.proof-list i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(66, 205, 189, 0.8);
}

.section {
  padding: 126px 0;
}

.contract-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(66, 205, 189, 0.06), transparent 31rem),
    var(--ink);
}

.section-heading {
  margin-bottom: 58px;
}

.split-heading,
.markdown-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.62fr);
  align-items: end;
  gap: 80px;
}

.section-heading h2,
.product-copy h2,
.ai-statement h2,
.beta-copy h2 {
  font-size: clamp(3rem, 5.4vw, 5rem);
}

.product-copy h2 {
  max-width: 590px;
  font-size: clamp(2.9rem, 4.5vw, 4.25rem);
}

.section-heading > p,
.markdown-heading > p {
  margin: 0 0 5px;
  color: var(--muted-bright);
  font-size: 1rem;
  line-height: 1.72;
}

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

.contract-card {
  position: relative;
  grid-column: span 4;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 46%),
    var(--panel);
}

.contract-card::after {
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(160, 172, 184, 0.08);
  border-radius: 50%;
  content: "";
}

.contract-card.featured-card,
.contract-card.bytes-card {
  grid-column: span 8;
}

.contract-card h3,
.language-grid h3,
.private-card h2 {
  margin: 0;
  color: var(--heading);
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.45vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.contract-card > p {
  max-width: 600px;
  margin: 19px 0 0;
  color: var(--muted-bright);
  font-size: 0.94rem;
}

.contract-card small {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  line-height: 1.55;
}

.featured-card {
  background:
    radial-gradient(circle at 78% 22%, rgba(66, 205, 189, 0.12), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 46%),
    var(--panel);
}

.card-proof {
  display: flex;
  max-width: 480px;
  align-items: baseline;
  gap: 17px;
  margin-top: 39px;
  padding-top: 25px;
  border-top: 1px solid rgba(160, 172, 184, 0.17);
}

.card-proof strong {
  color: var(--teal-bright);
  font-family: var(--mono);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.card-proof span {
  max-width: 160px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.versus-line {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 37px;
  font-family: var(--mono);
}

.versus-line span {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--orange);
}

.versus-line i {
  color: var(--orange);
  font-style: normal;
}

.versus-line strong {
  color: var(--teal-bright);
}

.versus-line b {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.commonmark-card .card-proof {
  gap: 14px;
  margin-top: 30px;
  padding-top: 19px;
}

.commonmark-card .card-proof strong {
  color: var(--blue);
  font-size: 2.8rem;
}

.bytes-card {
  background:
    linear-gradient(105deg, rgba(125, 185, 248, 0.055), transparent 48%),
    var(--panel);
}

.bytes-card pre {
  max-width: 590px;
  margin: 29px 0 54px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(125, 185, 248, 0.18);
  border-radius: 13px;
  background: var(--ink-deep);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.flow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.flow-line span,
.flow-line strong {
  padding: 7px 9px;
  border: 1px solid rgba(160, 172, 184, 0.16);
  border-radius: 8px;
  font-weight: 600;
}

.flow-line i {
  color: var(--orange);
  font-style: normal;
}

.flow-line strong {
  border-color: rgba(66, 205, 189, 0.27);
  color: var(--teal-bright);
}

.pdf-pages {
  position: relative;
  height: 90px;
  margin-top: 28px;
}

.pdf-pages i {
  position: absolute;
  width: 64px;
  height: 84px;
  border: 1px solid rgba(160, 172, 184, 0.25);
  border-radius: 5px;
  background:
    linear-gradient(var(--muted) 0 0) 12px 14px / 34px 3px no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 10px, rgba(160, 172, 184, 0.13) 10px 12px) 12px 29px / 40px 38px no-repeat,
    var(--panel);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.26);
}

.pdf-pages i:nth-child(1) { left: 0; transform: rotate(-6deg); }
.pdf-pages i:nth-child(2) { left: 47px; z-index: 2; border-color: rgba(66, 205, 189, 0.34); }
.pdf-pages i:nth-child(3) { left: 95px; transform: rotate(6deg); }

.product-section {
  overflow: hidden;
  border-top: 1px solid rgba(160, 172, 184, 0.11);
  border-bottom: 1px solid rgba(160, 172, 184, 0.11);
  background: var(--ink-deep);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.73fr) minmax(600px, 1.27fr);
  align-items: center;
  gap: 76px;
}

.product-copy > p:not(.kicker) {
  margin: 27px 0 0;
  color: var(--muted-bright);
  font-size: 1rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 9px;
  color: var(--muted-bright);
  font-size: 0.87rem;
}

.check-list span {
  color: var(--teal-bright);
  font-family: var(--mono);
  font-weight: 800;
}

.app-figure {
  position: relative;
  width: min(810px, 68vw);
  margin: 0;
}

.app-glow {
  position: absolute;
  inset: 10% 6%;
  border-radius: 50%;
  background: rgba(66, 205, 189, 0.18);
  filter: blur(90px);
}

.app-figure img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 2000 / 1196;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 46px 100px rgba(0, 0, 0, 0.52);
}

.app-figure figcaption {
  position: relative;
  z-index: 3;
  width: min(440px, calc(100% - 50px));
  margin: -18px 25px 0 auto;
  padding: 15px 18px;
  border: 1px solid rgba(125, 185, 248, 0.22);
  border-radius: 12px;
  background: var(--panel-2);
  box-shadow: 0 17px 44px rgba(0, 0, 0, 0.34);
}

.app-figure figcaption span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.app-figure figcaption p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.markdown-section {
  background:
    radial-gradient(circle at 92% 18%, rgba(125, 185, 248, 0.07), transparent 29rem),
    var(--ink);
}

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

.language-grid article {
  min-height: 295px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(24, 29, 35, 0.8);
}

.language-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid rgba(66, 205, 189, 0.24);
  border-radius: 11px;
  background: rgba(66, 205, 189, 0.06);
  color: var(--teal-bright);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
}

.language-grid h3 {
  font-size: 1.42rem;
}

.language-grid p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.ai-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  gap: 80px;
  margin-top: 92px;
  padding: 56px;
  border: 1px solid rgba(240, 161, 91, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(118deg, rgba(240, 161, 91, 0.055), transparent 48%),
    var(--panel);
}

.ai-copy > p {
  margin: 0;
  color: var(--muted-bright);
  font-size: 0.96rem;
}

.local-receipt {
  display: grid;
  gap: 5px;
  margin-top: 27px;
  padding: 17px 18px;
  border: 1px solid rgba(160, 172, 184, 0.17);
  border-radius: 11px;
  background: var(--ink-deep);
  font-family: var(--mono);
}

.local-receipt span {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.11em;
}

.local-receipt code {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.76rem;
}

.local-receipt strong {
  color: var(--teal-bright);
  font-size: 0.65rem;
  font-weight: 600;
}

.beta-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(160, 172, 184, 0.11);
  background:
    radial-gradient(circle at 73% 55%, rgba(66, 205, 189, 0.11), transparent 28rem),
    var(--ink-deep);
}

.beta-grid {
  opacity: 0.6;
}

.beta-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 0.78fr);
  align-items: center;
  gap: 90px;
}

.beta-copy p:not(.kicker) {
  max-width: 600px;
  margin: 25px 0 0;
  color: var(--muted-bright);
  font-size: 1rem;
}

.signup-card {
  padding: 31px;
  border: 1px solid rgba(66, 205, 189, 0.25);
  border-radius: 22px;
  background: rgba(24, 29, 35, 0.96);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.signup-state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--teal-bright);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.signup-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(240, 161, 91, 0.8);
}

.beta-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-bright);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.beta-form input[type="email"] {
  min-width: 0;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid rgba(160, 172, 184, 0.25);
  border-radius: 11px;
  outline: 0;
  background: var(--ink-deep);
  color: var(--text);
}

.beta-form input[type="email"]::placeholder {
  color: var(--muted);
}

.beta-form input[type="email"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(125, 185, 248, 0.12);
}

.beta-form button {
  min-height: 51px;
  white-space: nowrap;
}

.beta-form button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-note {
  min-height: 42px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

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

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

.signup-card.is-confirmed {
  border-color: rgba(184, 231, 225, 0.58);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38), 0 0 55px rgba(66, 205, 189, 0.08);
}

.signup-fineprint {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid rgba(160, 172, 184, 0.13);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.site-footer {
  padding: 37px 0;
  border-top: 1px solid rgba(160, 172, 184, 0.13);
  background: var(--ink-deep);
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr minmax(270px, 0.8fr);
  align-items: center;
  gap: 36px;
}

.footer-brand {
  font-size: 1.1rem;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

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

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

.trademark-note {
  text-align: right;
}

/* Private token and error surfaces are rendered by the Worker or 404 page. */
.private-body,
.error-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 24%, rgba(66, 205, 189, 0.09), transparent 31rem),
    var(--ink-deep);
}

.private-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 23, 0.78);
}

.private-header .nav-wrap {
  min-height: 76px;
}

.private-home {
  color: var(--muted-bright);
  font-size: 0.82rem;
  text-decoration: none;
}

.private-home:hover,
.private-home:focus-visible {
  color: var(--text);
}

.private-main,
.error-main {
  display: grid;
  min-height: calc(100vh - 153px);
  place-items: center;
  padding: 72px 0;
}

.private-page,
.error-card {
  width: min(760px, calc(100vw - 44px));
}

.private-page h1,
.error-card h1 {
  max-width: 700px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.private-lede,
.error-card > p {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted-bright);
  font-size: 1rem;
}

.private-card,
.error-card {
  margin-top: 36px;
  padding: 34px;
  border: 1px solid rgba(66, 205, 189, 0.25);
  border-radius: 22px;
  background: rgba(24, 29, 35, 0.94);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.error-card {
  margin-top: 0;
  border-color: var(--line);
}

.private-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal-bright);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.private-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.private-card > p {
  margin: 17px 0 0;
  color: var(--muted-bright);
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.release-facts div {
  min-width: 0;
  padding: 15px;
  background: var(--ink-deep);
}

.release-facts dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-facts dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted-bright);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.private-footnote {
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.error-code {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.error-card h1 {
  margin-top: 19px;
}

@media (max-width: 1080px) {
  .hero {
    padding-top: 150px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-demo {
    width: min(100%, 720px);
    justify-self: center;
  }

  .contract-card,
  .contract-card.featured-card,
  .contract-card.bytes-card {
    grid-column: span 6;
  }

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

  .product-copy {
    max-width: 760px;
  }

  .app-figure {
    width: 100%;
  }

  .language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-statement {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .beta-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .signup-card {
    max-width: 700px;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(100% - 32px, 1200px);
  }

  .site-header {
    position: relative;
    background: var(--ink-deep);
  }

  .nav-wrap {
    min-height: 70px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 76px 0 88px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 14.4vw, 5.2rem);
  }

  .hero-demo::before {
    inset: -13px -15px 17px 20px;
  }

  .demo-window {
    min-height: 420px;
  }

  .demo-code {
    min-height: 280px;
    padding: 24px 20px;
    font-size: 0.72rem;
  }

  .demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-block: 9px;
  }

  .proof-list {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-block: 18px;
  }

  .section {
    padding: 88px 0;
  }

  .split-heading,
  .markdown-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading h2,
  .product-copy h2,
  .ai-statement h2,
  .beta-copy h2 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .contract-card,
  .contract-card.featured-card,
  .contract-card.bytes-card {
    grid-column: 1 / -1;
    min-height: 380px;
  }

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

  .language-grid article {
    min-height: 0;
  }

  .ai-statement {
    margin-top: 58px;
    padding: 31px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .beta-form button {
    width: 100%;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trademark-note {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .demo-titlebar > span:nth-child(2) {
    display: none;
  }

  .demo-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .demo-footer span:last-child {
    text-align: left;
  }

  .contract-card,
  .signup-card,
  .ai-statement,
  .private-card,
  .error-card {
    padding: 25px;
  }

  .contract-card small {
    right: 25px;
    bottom: 23px;
    left: 25px;
  }

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

  .flow-line i {
    transform: rotate(90deg);
  }

  .release-facts {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
