/* Shared public website. All fonts and media are served from this application. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-variable.ttf') format('truetype');
}

:root {
  --font-sans: Manrope, sans-serif;
  --muted-on-dark: #a5afbf;
  --faint-on-dark: #8995a8;
}

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.nav-inner {
  max-width: 1360px;
  height: 76px;
  gap: 24px;
}

.nav.is-dark,
.nav.menu-open {
  color: var(--text-on-dark);
}

.nav.menu-open {
  background: var(--ink-900);
}

.nav-brand {
  font-size: 20px;
  flex-shrink: 0;
}

.nav-mark {
  width: 30px;
  height: 28px;
}

.nav-links {
  gap: 2px;
  margin-left: 12px;
}

.nav-links a {
  font-size: 13px;
  opacity: 0.8;
}

.nav-links a[aria-current] {
  opacity: 1;
}

.nav-links a[aria-current]::after {
  content: '';
  display: block;
  width: 14px;
  height: 2px;
  margin: 5px auto -7px;
  border-radius: 2px;
  background: var(--blue-bright);
}

.nav-actions {
  margin-left: auto;
  gap: 10px;
}

.nav-signin {
  font-size: 13px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-navigation {
  padding: 12px var(--gutter) 26px;
  border-top: 1px solid var(--edge-dark-strong);
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.mobile-navigation a {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--edge-dark);
  font-size: 21px;
  text-decoration: none;
}

.mobile-navigation a[aria-current] {
  color: var(--blue-bright);
}

.mobile-navigation .mobile-signin {
  margin-top: 12px;
  font-size: 14px;
}

.nojs-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px;
  background: var(--ink-900);
  color: var(--text-on-dark);
  font-size: 12px;
}

.hero h1 {
  font-weight: 650;
  letter-spacing: -0.065em;
}

.hero-lede {
  max-width: 680px;
  color: #b5becc;
}

.hero-copy {
  animation: site-enter 0.8s var(--ease-out) both;
}

.hero-stage {
  animation: site-enter 1s 0.15s var(--ease-out) both;
}

@keyframes site-enter {
  from {
    opacity: 0;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.hero .preview-caption {
  max-width: var(--max);
  margin: 22px auto 0;
  padding-bottom: 24px;
  color: var(--faint-on-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-arrow {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: translate 0.25s var(--ease-out);
}

.site-arrow--down {
  rotate: 90deg;
}

.site-arrow--up {
  rotate: -90deg;
}

.text-link:is(:hover, :focus-visible) .site-arrow,
.btn:is(:hover, :focus-visible) .site-arrow {
  translate: 3px 0;
}

.text-link:is(:hover, :focus-visible) .site-arrow--down {
  translate: 0 3px;
}

.btn--outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--paper);
}

/* Persistent page orientation. */
.page-index {
  position: sticky;
  top: 76px;
  z-index: 10;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(12px);
}

.page-index > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  min-height: 64px;
  margin: auto;
}

.page-index span,
.page-index a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-decoration: none;
}

.page-index span {
  flex: 1;
  color: var(--ink);
}

.page-index a:hover {
  color: var(--blue);
}

.page-web-ide section[id] {
  scroll-margin-top: 80px;
}

/* IDE: editorial features around large, readable product illustrations. */
.editor-intro {
  max-width: var(--max);
  margin: 0 auto 84px;
}

.editor-intro h2,
.workflow-heading h2,
.capability-heading h2,
.approach-principles-heading h2,
.approach-next h2,
.contact-directions h2 {
  font-size: clamp(36px, 4.6vw, 62px);
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.editor-intro > p:last-child {
  max-width: 510px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 17px;
}

.editor-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: clamp(35px, 6vw, 100px);
  align-items: center;
  max-width: var(--max);
  margin: auto;
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.editor-feature:last-child {
  padding-bottom: 0;
}

.editor-feature--reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
}

.editor-feature--reverse .editor-feature-copy {
  order: 2;
}

.editor-feature h3 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.13;
}

.editor-feature-copy > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13px;
}

.plain-list li {
  padding-left: 16px;
  border-left: 2px solid var(--blue);
}

.code-preview,
.review-preview {
  min-width: 0;
  border: 1px solid var(--edge-dark-strong);
  border-radius: 12px;
  background: var(--ink-850);
  color: var(--text-on-dark);
  box-shadow: 0 24px 50px -36px rgb(13 18 27 / 50%);
  overflow: hidden;
}

.code-preview-bar,
.code-preview-foot,
.review-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--edge-dark);
  color: var(--muted-on-dark);
  font-family: var(--font-mono);
  font-size: 11px;
}

.code-preview-bar i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.code-preview .st-code {
  margin: 0;
  padding: 26px 20px 32px 0;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.05vw, 13px);
  line-height: 2.2;
  overflow-x: auto;
}

.code-preview .st-code li {
  min-width: max-content;
}

.code-preview-foot {
  border-top: 1px solid var(--edge-dark);
  border-bottom: 0;
  font-size: 10px;
}

.ide-machine {
  margin: 0;
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}

.ide-machine img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.ide-machine figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.review-preview {
  padding: 24px;
}

.review-preview-head {
  padding: 0 0 20px;
}

.review-preview h4 {
  margin: 22px 0 5px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.review-preview > p {
  color: var(--muted-on-dark);
  font-family: var(--font-mono);
  font-size: 11px;
}

.review-preview .diff {
  margin-top: 24px;
  padding-bottom: 16px;
}

.review-preview .diff-line {
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.review-principle {
  margin-top: 24px;
  color: var(--muted-on-dark);
  font-size: 12px;
}

.review-principle span {
  margin-right: 8px;
  color: var(--signal);
}

.workflow-heading {
  max-width: var(--max);
  margin: auto;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: var(--max);
  margin: 60px auto 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  padding-top: 24px;
  border-top: 1px solid var(--edge-dark-strong);
}

.workflow-steps li > span {
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 12px;
}

.workflow-steps h3 {
  margin-top: 35px;
  font-size: 21px;
  line-height: 1.25;
}

.workflow-steps p {
  margin-top: 16px;
  color: var(--muted-on-dark);
  font-size: 14px;
}

.capability-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 60px;
  max-width: var(--max);
  margin: auto;
}

.capability-heading > p {
  color: var(--muted);
  font-size: 16px;
}

.capability-list {
  max-width: var(--max);
  margin: 60px auto 0;
}

.capability-list > div {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.capability-list dt {
  font-size: 16px;
  font-weight: 650;
}

.capability-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.capability-note {
  display: flex;
  gap: 15px;
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.capability-note a {
  color: var(--blue);
}

.cta--compact {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Our approach: broad image plane, open editorial composition. */
.editorial-hero {
  padding: 170px var(--gutter) 80px;
  background: #f4f6f9;
}

.editorial-hero-inner {
  max-width: var(--max);
  margin: auto;
  animation: site-enter 0.8s var(--ease-out) both;
}

.editorial-hero h1 {
  font-size: clamp(45px, 7.4vw, 100px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.07;
}

.editorial-hero h1 span {
  color: #647086;
}

.editorial-hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 36px;
}

.editorial-hero-bottom p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.editorial-hero-bottom .text-link {
  flex-shrink: 0;
}

.approach-image {
  position: relative;
  margin: 0;
  background: var(--ink-850);
}

.approach-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 58%;
}

.approach-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  color: var(--muted-on-dark);
  font-family: var(--font-mono);
  font-size: 11px;
}

.approach-story-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 25px 100px;
  max-width: var(--max);
  margin: auto;
}

.approach-story h2 {
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.12;
}

.approach-story p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 17px;
}

.approach-principles-heading,
.approach-principles {
  max-width: var(--max);
  margin: auto;
}

.approach-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  margin-top: 60px;
}

.approach-principles article {
  display: flex;
  gap: 26px;
  padding: 36px 0;
  border-top: 1px solid #d5dce6;
}

.approach-principles article > span {
  padding-top: 5px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
}

.approach-principles h3 {
  font-size: 27px;
  line-height: 1.2;
}

.approach-principles p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.approach-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 80px;
  align-items: center;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: auto;
}

.approach-next p {
  color: var(--muted);
  font-size: 17px;
}

.approach-next .btn {
  margin-top: 26px;
}

/* Contact: conversational introduction and one focused enquiry surface. */
.contact-surface {
  padding: 154px var(--gutter) 100px;
  background: #f4f6f9;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(35px, 6vw, 90px);
  max-width: var(--max);
  margin: auto;
}

.contact-intro {
  padding-top: 18px;
  animation: site-enter 0.8s var(--ease-out) both;
}

.contact-intro h1 {
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.contact-intro h1 span {
  color: var(--blue);
}

.contact-lede {
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.contact-context {
  max-width: 335px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #d5dce6;
}

.contact-context p {
  color: var(--muted);
  font-size: 14px;
}

.contact-address {
  display: inline-flex;
  gap: 18px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 18px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-address:hover {
  color: var(--blue);
}

.contact-other {
  display: grid;
  margin-top: 60px;
}

.contact-other > span {
  color: var(--muted);
  font-size: 12px;
}

.contact-other .text-link {
  width: fit-content;
  margin-top: 12px;
  font-size: 13px;
}

.contact-panel {
  padding: clamp(25px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 32px -24px rgb(13 18 27 / 18%);
  animation: site-enter 1s 0.1s var(--ease-out) both;
}

.contact-panel h2 {
  font-size: 24px;
  line-height: 1.2;
}

.contact-panel-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.contact-inputs {
  display: grid;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#contact-form-start {
  scroll-margin-top: 100px;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label,
.contact-form legend,
.enquiry-preview label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.contact-form label > span:not(.contact-topics span) {
  margin-left: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.contact-form input:not([type='radio']),
.contact-form textarea,
.enquiry-preview textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  background: #fafbfd;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s, background-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #798393;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-topics {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-topics > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-topics label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.contact-topics label:has(:checked) {
  border-color: #89aaff;
  background: #f1f5ff;
  color: #2054d4;
}

.contact-topics input {
  margin: 0;
  accent-color: var(--blue);
}

.contact-submit {
  justify-content: center;
  width: 100%;
  border-radius: 7px;
}

.contact-form .contact-form-note {
  margin-top: -8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.enquiry-preview {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.enquiry-preview h3 {
  font-size: 20px;
}

.enquiry-preview p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.enquiry-preview textarea {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  resize: vertical;
}

.enquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.enquiry-actions .btn {
  height: 40px;
  font-size: 12px;
}

.contact-directions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: auto;
}

.contact-directions-list a {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.contact-directions-list a > span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
}

.contact-directions-list a > .site-arrow {
  margin-left: auto;
  color: var(--blue);
}

.contact-directions-list a:is(:hover, :focus-visible) > .site-arrow {
  translate: 3px 0;
}

.contact-directions h3 {
  font-size: 21px;
  line-height: 1.25;
}

.contact-directions-list p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Native disclosure controls, usable without JavaScript. */
.questions-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 100px;
  max-width: var(--max);
  margin: auto;
}

.questions-copy h2 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.12;
}

.questions-copy > p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.questions-list summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.questions-list summary::-webkit-details-marker {
  display: none;
}

.questions-list summary span {
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}

.questions-list details[open] summary span {
  transform: rotate(45deg);
}

.questions-list details p {
  padding: 0 30px 24px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.questions-list details a {
  color: var(--blue);
}

/* Footer: a destination, with useful routes and one generous brand gesture. */
.site-footer {
  padding: 76px var(--gutter) 28px;
  background: var(--ink-950);
  color: var(--text-on-dark);
}

.footer-wrap {
  max-width: var(--max);
  margin: auto;
}

.footer-invitation {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--edge-dark-strong);
}

.footer-invitation h2 {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #39465b;
  border-radius: 50%;
  color: var(--text-on-dark);
  transition: border-color 0.25s, background-color 0.25s;
}

.footer-contact-icon .site-arrow {
  width: 22px;
  height: 22px;
}

.footer-contact:is(:hover, :focus-visible) .footer-contact-icon {
  border-color: var(--blue);
  background: var(--blue);
}

.footer-contact:is(:hover, :focus-visible) .site-arrow {
  translate: 3px 0;
}

.footer-directory {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 58px 0 65px;
}

.footer-brand-block > p {
  margin-top: 18px;
  color: var(--muted-on-dark);
  font-size: 13px;
  line-height: 1.9;
}

.footer-signature {
  display: block;
  margin-top: 30px;
  color: var(--faint-on-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.015em;
}

.footer-directory nav h3 {
  margin: 6px 0 22px;
  color: var(--text-on-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-directory nav a {
  display: block;
  width: fit-content;
  margin-top: 13px;
  color: var(--muted-on-dark);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-directory nav a:hover {
  color: var(--white);
}

.footer-wordmark {
  margin-left: -0.035em;
  color: #1c2636;
  font-size: clamp(75px, 18vw, 244px);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 1.12;
  user-select: none;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 45px;
  align-items: start;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--edge-dark-strong);
  color: var(--faint-on-dark);
  font-size: 10px;
}

.footer-bottom p {
  max-width: 650px;
  line-height: 1.7;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-on-dark);
  text-decoration: none;
  white-space: nowrap;
}

.footer-bottom .site-arrow {
  width: 14px;
  height: 14px;
}

.footer-bottom a:is(:hover, :focus-visible) .site-arrow {
  translate: 0 -2px;
}

@media (max-width: 1100px) {
  .nav-inner {
    gap: 12px;
  }
  .nav-actions {
    margin-left: 8px;
  }
  .nav-links a {
    padding-right: 9px;
    padding-left: 9px;
  }
  .contact-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
  .footer-directory {
    gap: 28px;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .has-js .nav-toggle {
    display: flex;
  }
  .editor-feature,
  .editor-feature--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 32px;
  }
  .workflow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .capability-heading,
  .approach-story-inner,
  .approach-next,
  .contact-directions,
  .questions-inner {
    gap: 40px;
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    max-width: 680px;
  }
  .contact-intro h1 {
    font-size: 68px;
  }
  .contact-context,
  .contact-other {
    margin-top: 30px;
  }
  .contact-context {
    max-width: 500px;
  }
  .footer-directory {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-directory nav:last-child {
    grid-column: 2;
  }
}

@media (min-width: 861px) and (max-width: 960px) {
  .hero {
    padding-top: 132px;
  }
}

@media (max-width: 700px) {
  .nav-inner {
    height: 68px;
  }
  .nav-brand {
    font-size: 18px;
  }
  .nav-signin {
    display: none;
  }
  .nav-actions {
    gap: 10px;
  }
  .nav-actions .btn {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 11px;
  }
  .hero h1 {
    font-size: clamp(34px, 8.7vw, 54px);
  }
  .hero-lede {
    font-size: 15px;
    line-height: 1.7;
  }
  .hero-stage {
    margin-top: 42px;
  }
  .page-index {
    top: 68px;
  }
  .page-index > div {
    gap: 12px;
    min-height: 56px;
  }
  .page-index span {
    display: none;
  }
  .page-index a {
    font-size: 10px;
  }
  .editor-intro {
    margin-bottom: 44px;
  }
  .editor-feature,
  .editor-feature--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 42px 0;
  }
  .editor-feature--reverse .editor-feature-copy {
    order: 0;
  }
  .code-preview .st-code {
    font-size: 11px;
  }
  .code-preview-foot {
    font-size: 8px;
  }
  .ide-machine img {
    aspect-ratio: 1.55;
  }
  .capability-heading,
  .approach-story-inner,
  .approach-next,
  .contact-directions,
  .questions-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .capability-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0;
  }
  .capability-list {
    margin-top: 36px;
  }
  .editorial-hero {
    padding-top: 130px;
    padding-bottom: 48px;
  }
  .editorial-hero h1 {
    font-size: clamp(40px, 8.7vw, 62px);
  }
  .editorial-hero-bottom {
    display: block;
  }
  .editorial-hero-bottom p {
    font-size: 16px;
  }
  .approach-image img {
    aspect-ratio: 1.1;
    object-fit: cover;
  }
  .approach-image figcaption {
    font-size: 9px;
  }
  .approach-image figcaption span:last-child {
    display: none;
  }
  .approach-principles {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
  }
  .contact-surface {
    padding-top: 118px;
    padding-bottom: 64px;
  }
  .contact-intro h1 {
    font-size: clamp(44px, 10vw, 65px);
  }
  .contact-panel {
    padding: 24px 20px;
  }
  .contact-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .contact-form input:not([type='radio']),
  .contact-form textarea {
    font-size: 16px;
  }
  .contact-form label,
  .contact-form legend {
    font-size: 12px;
  }
  .contact-topics label {
    font-size: 10px;
    padding: 10px 8px;
  }
  .contact-directions {
    gap: 36px;
  }
  .questions-inner {
    gap: 40px;
  }
  .site-footer {
    padding-top: 58px;
  }
  .footer-invitation {
    display: block;
    padding-bottom: 36px;
  }
  .footer-contact {
    width: fit-content;
    margin-top: 34px;
    font-size: 21px;
  }
  .footer-directory {
    grid-template-columns: 1fr 1fr;
    gap: 36px 22px;
    padding-top: 36px;
    padding-bottom: 34px;
  }
  .footer-brand-block {
    grid-column: 1 / -1;
  }
  .footer-directory nav:last-child {
    grid-column: auto;
  }
  .footer-signature {
    margin-top: 16px;
  }
  .footer-wordmark {
    font-size: 20vw;
  }
  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 20px;
    margin-top: 24px;
  }
  .footer-bottom p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 400px) {
  .nav-brand {
    gap: 8px;
    font-size: 16px;
  }
  .nav-mark {
    width: 26px;
    height: 24px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 10px;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
  .hero-cta .btn {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 12px;
  }
  .workflow-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-topics > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-stage,
  .editorial-hero-inner,
  .contact-intro,
  .contact-panel {
    animation: none;
  }
}

/* Public actions use solid color and a quiet hover state. */
.btn--primary,
.btn--primary:hover {
  box-shadow: none;
}

.btn:hover {
  transform: none;
}
