:root {
  --ink: #0b1220;
  --ink-soft: #172136;
  --paper: #f5f2e9;
  --paper-bright: #fffdf7;
  --line: rgba(11, 18, 32, 0.14);
  --muted: #647083;
  --lime: #c9f34b;
  --aqua: #78e8d5;
  --orange: #ff7b54;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(11, 18, 32, 0.14);
  --radius: 28px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  position: relative;
  display: inline-block;
  transform: rotate(-7deg);
}

.brand-mark span {
  position: absolute;
  inset-inline: 2px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: var(--paper);
}

.brand-mark span:nth-child(1) {
  top: 2px;
}

.brand-mark span:nth-child(2) {
  top: 10px;
}

.brand-mark span:nth-child(3) {
  top: 18px;
  background: var(--lime);
}

.brand-mark-small {
  width: 22px;
  height: 22px;
}

.brand-mark-small span {
  height: 6px;
}

.brand-mark-small span:nth-child(1) {
  top: 1px;
}

.brand-mark-small span:nth-child(2) {
  top: 7px;
}

.brand-mark-small span:nth-child(3) {
  top: 13px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-header nav a {
  color: #3e495b;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.site-header > .button {
  justify-self: end;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button:focus-visible,
.text-link:focus-visible,
.site-header nav a:focus-visible,
footer a:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 13px;
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.button-ghost:hover {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(11, 18, 32, 0.2);
}

.button-primary:hover {
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.26);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.hero {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 710px;
  margin: 0 auto;
  padding: 82px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 74px;
}

.eyebrow,
.kicker {
  margin: 0 0 22px;
  color: #4e5a6c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #61d47f;
  box-shadow: 0 0 0 4px rgba(97, 212, 127, 0.14);
}

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(58px, 6.4vw, 94px);
  line-height: 0.91;
  letter-spacing: -0.075em;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 34px;
  color: #4d596a;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 5px;
}

.text-link span {
  margin-left: 8px;
}

.hero-notes {
  margin: 38px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #697386;
  font-size: 12px;
  font-weight: 650;
  list-style: none;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-notes li::before {
  content: "✓";
  color: #188950;
  font-weight: 900;
}

.product-visual {
  min-height: 530px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual::before {
  content: "";
  width: 480px;
  height: 480px;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(120, 232, 213, 0.95), transparent 45%),
    radial-gradient(circle at 72% 62%, rgba(201, 243, 75, 0.86), transparent 42%),
    #dbf4be;
  filter: blur(2px);
}

.code-card {
  width: 370px;
  position: absolute;
  z-index: 1;
  top: 32px;
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: var(--ink);
  color: #dfe7f3;
  box-shadow: 0 28px 80px rgba(11, 18, 32, 0.28);
  transform: rotate(-3deg);
}

.window-bar {
  height: 46px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.window-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #435069;
}

.window-bar > span:nth-child(1) {
  background: var(--orange);
}

.window-bar > span:nth-child(2) {
  background: #ffcd63;
}

.window-bar > span:nth-child(3) {
  background: #61d47f;
}

.window-bar p {
  margin: 0 0 0 8px;
  color: #8591a7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.code-card pre,
.terminal-card pre {
  margin: 0;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.code-card pre {
  padding: 27px 25px 22px;
  font-size: 12px;
  line-height: 1.75;
}

.code-key {
  color: #8bddca;
}

.code-value {
  color: #d8f58b;
}

.code-number {
  color: #ffad83;
}

.code-muted {
  color: #8c98ad;
}

.render-state {
  min-height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #dce4ef;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.render-state span:last-child {
  margin-left: auto;
  color: #8490a4;
  font-weight: 600;
  text-transform: none;
}

.invoice-card {
  width: 330px;
  min-height: 444px;
  position: absolute;
  right: 0;
  bottom: 10px;
  z-index: 2;
  padding: 30px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

.invoice-top,
.invoice-meta,
.invoice-line,
.invoice-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.invoice-top {
  margin-bottom: 32px;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 850;
}

.invoice-top > p {
  margin: 0;
  color: #798294;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.invoice-meta {
  margin-bottom: 30px;
}

.invoice-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.invoice-meta span,
.invoice-to span {
  color: #8791a0;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invoice-meta strong {
  font-size: 9px;
}

.invoice-to {
  margin-bottom: 28px;
  padding: 17px;
  border-radius: 10px;
  background: #eef6e6;
}

.invoice-to strong {
  margin-top: 8px;
  display: block;
  font-size: 12px;
}

.invoice-to p {
  margin: 2px 0 0;
  color: #6d7784;
  font-size: 9px;
}

.invoice-line {
  padding: 12px 0;
  border-bottom: 1px solid #e8e6de;
  font-size: 9px;
}

.invoice-line-muted {
  color: #697386;
}

.invoice-total {
  padding: 18px 0;
  font-size: 11px;
}

.invoice-total strong {
  font-size: 17px;
}

.invoice-footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  color: #8992a1;
  font-size: 7px;
  text-align: right;
}

.signal-bar {
  width: 100%;
  min-height: 96px;
  padding: 22px max(24px, calc((100% - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: var(--white);
}

.signal-bar p {
  margin: 0;
  font-size: 15px;
}

.signal-bar p strong {
  color: var(--lime);
}

.signal-bar div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.signal-bar div span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #b6c0d0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-heading h2,
.api-copy h2,
.use-cases h2,
.cta h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading > p:last-child,
.api-copy > p,
.section-heading-split > p {
  color: #637083;
  font-size: 17px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.feature-card {
  min-height: 390px;
  position: relative;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
}

.feature-card-large {
  background: var(--ink);
  color: var(--white);
}

.feature-index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #8d96a5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.feature-card p {
  margin-bottom: 0;
  color: #697588;
  font-size: 14px;
  line-height: 1.65;
}

.feature-card-large p {
  color: #aab4c5;
}

.feature-icon {
  width: 96px;
  height: 96px;
  position: absolute;
  top: 54px;
  left: 34px;
}

.feature-icon-layers span {
  width: 78px;
  height: 52px;
  position: absolute;
  border: 2px solid var(--lime);
  border-radius: 10px;
  background: var(--ink-soft);
  transform: skewY(-9deg);
}

.feature-icon-layers span:nth-child(1) {
  top: 0;
  left: 0;
}

.feature-icon-layers span:nth-child(2) {
  top: 13px;
  left: 9px;
  border-color: var(--aqua);
}

.feature-icon-layers span:nth-child(3) {
  top: 26px;
  left: 18px;
  border-color: var(--orange);
}

.feature-icon-braces,
.feature-icon-shield {
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #e4f6a8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 28px;
  font-weight: 800;
  transform: rotate(-6deg);
}

.feature-icon-shield {
  background: #b7eee4;
  font-size: 50px;
  transform: rotate(6deg);
}

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

.section-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 80px;
}

.section-heading-split > p {
  margin-bottom: 6px;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  min-height: 215px;
  padding: 34px 32px 20px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.steps li + li {
  padding-left: 32px;
}

.steps li:last-child {
  border-right: 0;
}

.steps > li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
}

.steps h3 {
  margin: 4px 0 12px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.steps p {
  color: #6b7687;
  font-size: 14px;
  line-height: 1.6;
}

.api-section {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100% - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 100px;
  background: var(--ink);
  color: var(--white);
}

.api-copy > p {
  color: #aeb8c8;
}

.api-copy .kicker {
  color: var(--lime);
}

.api-copy code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.endpoint-list {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.endpoint-list > div {
  min-height: 70px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.endpoint-list span {
  color: var(--lime);
  font-size: 9px;
  font-weight: 850;
}

.endpoint-list code {
  color: #edf1f6;
  font-size: 13px;
}

.endpoint-list p {
  margin: 0;
  color: #8793a7;
  font-size: 11px;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #111b2e;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.terminal-top,
.terminal-response {
  min-height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #8793a7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.terminal-top span:first-child {
  color: var(--white);
}

.terminal-card pre {
  min-height: 330px;
  max-width: 100%;
  padding: 32px;
  color: #b9c4d4;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.terminal-card code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.terminal-command {
  color: var(--aqua);
}

.terminal-response {
  justify-content: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
}

.terminal-response strong {
  color: #cfe6d2;
}

.terminal-response span:last-child {
  margin-left: auto;
}

.use-cases {
  padding: 110px 24px;
  background:
    linear-gradient(135deg, rgba(201, 243, 75, 0.72), rgba(120, 232, 213, 0.74)),
    var(--lime);
  text-align: center;
}

.use-cases .kicker {
  color: #3b5d3c;
}

.use-cases h2 {
  max-width: 980px;
  margin-inline: auto;
}

.cta {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 24px auto;
  padding: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-radius: 32px;
  background: var(--orange);
  color: var(--ink);
}

.cta .kicker {
  color: #723521;
}

.cta h2 {
  max-width: 710px;
  margin-bottom: 0;
}

.cta .button {
  flex: 0 0 auto;
}

footer {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  color: #687487;
  font-size: 11px;
}

footer > p {
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

footer a:not(.brand) {
  font-weight: 750;
}

.legal-header {
  grid-template-columns: 1fr auto;
}

.legal-back {
  justify-self: end;
}

.legal-page {
  width: min(calc(100% - 48px), 1080px);
  margin: 0 auto;
}

.legal-hero {
  padding: 100px 0 70px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(58px, 8vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.legal-hero > p:last-of-type {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-layout {
  padding: 70px 0 120px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 90px;
}

.legal-layout aside {
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.legal-layout aside strong {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-layout aside a {
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
}

.legal-layout aside a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
}

.legal-copy section {
  padding: 0 0 34px;
  border-bottom: 1px solid var(--line);
}

.legal-copy section + section {
  padding-top: 34px;
}

.legal-copy h2,
.support-grid h2,
.support-checklist h2 {
  margin-bottom: 14px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.legal-copy h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

.legal-copy p,
.legal-copy li {
  color: #525f72;
  line-height: 1.75;
}

.legal-copy ul {
  padding-left: 22px;
}

.legal-copy a {
  font-weight: 750;
  text-underline-offset: 4px;
}

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

.support-hero {
  padding-bottom: 80px;
}

.support-hero h1 {
  max-width: 860px;
}

.support-hero > p:last-of-type {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.6;
}

.support-grid {
  padding: 70px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.support-grid article {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
}

.support-grid article > span,
.policy-cards span {
  color: #778296;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.support-grid h2 {
  margin-top: 80px;
}

.support-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.support-checklist {
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
}

.support-checklist .kicker {
  color: var(--lime);
}

.support-checklist h2 {
  margin-bottom: 0;
  font-size: 36px;
}

.support-checklist ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.support-checklist li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #b8c2d2;
  font-size: 14px;
}

.support-checklist li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--lime);
  font-weight: 900;
}

.policy-cards {
  padding: 70px 0 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.policy-cards a {
  min-height: 130px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.policy-cards span {
  grid-column: 1 / -1;
  align-self: start;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .product-visual {
    width: min(100%, 680px);
    margin: 0 auto;
  }

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

  .feature-card-large {
    grid-column: span 2;
  }

  .api-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .legal-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(calc(100% - 32px), var(--max-width));
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .site-header > .button {
    padding-inline: 14px;
  }

  .hero,
  .section,
  .cta,
  footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero {
    min-height: auto;
    padding: 62px 0 74px;
    gap: 44px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .hero-lede {
    font-size: 17px;
  }

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

  .hero-notes {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .product-visual {
    min-height: 660px;
  }

  .product-visual::before {
    width: 340px;
    height: 520px;
  }

  .code-card {
    width: calc(100% - 26px);
    top: 0;
    left: 0;
  }

  .invoice-card {
    width: min(84%, 330px);
    right: 5px;
    bottom: 0;
  }

  .signal-bar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 26px;
  }

  .signal-bar div {
    justify-content: flex-start;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading h2,
  .api-copy h2,
  .use-cases h2,
  .cta h2 {
    font-size: clamp(40px, 13vw, 58px);
  }

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

  .feature-card-large {
    grid-column: auto;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .steps li,
  .steps li + li {
    min-height: 150px;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .api-section {
    padding: 92px 16px;
  }

  .endpoint-list > div {
    grid-template-columns: 52px 1fr;
  }

  .endpoint-list p {
    display: none;
  }

  .terminal-card pre {
    min-height: 0;
    padding: 24px 18px;
    font-size: 10px;
  }

  .use-cases {
    padding: 84px 16px;
  }

  .cta {
    padding: 48px 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    padding: 40px 0;
    grid-template-columns: 1fr;
  }

  footer > p {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-page {
    width: min(calc(100% - 32px), 1080px);
  }

  .legal-hero {
    padding: 68px 0 48px;
  }

  .legal-hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .legal-layout {
    padding: 38px 0 80px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .legal-layout aside {
    position: static;
    padding-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
  }

  .legal-layout aside strong {
    grid-column: 1 / -1;
  }

  .support-grid,
  .policy-cards {
    grid-template-columns: 1fr;
  }

  .support-grid article {
    min-height: 250px;
  }

  .support-grid h2 {
    margin-top: 48px;
  }

  .support-checklist {
    padding: 42px 28px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

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