@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/commissioner-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --raisin: #0f121a;
  --raisin-soft: #1d2434;
  --slate: #364059;
  --silver: #e8eced;
  --silver-deep: #d3d8da;
  --white: #ffffff;
  --lime: #d1ff05;
  --ink-muted: #60697b;
  --white-muted: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(15, 18, 26, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --page-pad: clamp(24px, 4vw, 72px);
  --section-space: clamp(92px, 9vw, 146px);
  --radius: 16px;
  --font: "Commissioner", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--white);
  background: var(--raisin);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--raisin);
  background: var(--lime);
}

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

.problems :focus-visible,
.process :focus-visible,
.newsletter-form :focus-visible,
.working-session-form :focus-visible {
  outline-color: var(--slate);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  color: var(--raisin);
  background: var(--lime);
  font-weight: 680;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  z-index: 30;
  top: 20px;
  right: clamp(18px, 2.1vw, 32px);
  left: clamp(18px, 2.1vw, 32px);
}

.site-nav {
  min-height: 64px;
  padding: 7px 10px 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--white);
  background: rgba(7, 13, 22, 0.88);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.brand {
  width: clamp(220px, 22vw, 320px);
  min-height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand picture,
.brand img {
  width: 100%;
}

.brand img {
  height: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.9vw, 34px);
  list-style: none;
}

.nav-links a,
.nav-more > summary {
  min-height: 44px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: clamp(0.72rem, 0.8vw, 0.82rem);
  font-weight: 620;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease-out;
}

.nav-links a:hover,
.nav-more > summary:hover,
.nav-more[open] > summary {
  color: var(--lime);
}

.nav-more-item {
  display: none;
}

.nav-more {
  position: relative;
}

.nav-more > summary {
  list-style: none;
  cursor: pointer;
}

.nav-more > summary::-webkit-details-marker,
.nav-more > summary::marker {
  display: none;
  content: "";
}

.nav-more-menu {
  position: absolute;
  z-index: 2;
  top: calc(100% + 10px);
  right: 0;
  min-width: 196px;
  margin: 0;
  padding: 8px;
  display: grid;
  gap: 2px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(7, 13, 22, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.nav-more-menu a {
  width: 100%;
  justify-content: flex-start;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.nav-more-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-action,
.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 690;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

.nav-links .nav-action,
.primary-action {
  border: 1px solid var(--lime);
  color: var(--raisin);
  background: var(--lime);
}

.nav-links .nav-action:hover,
.primary-action:hover {
  color: var(--raisin);
  background: #dcff3d;
  box-shadow: 0 10px 28px rgba(209, 255, 5, 0.18);
  transform: translateY(-2px);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: transparent;
}

.secondary-action:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.primary-action:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.system-field {
  background-color: var(--raisin);
  background-image:
    radial-gradient(circle at 74% 44%, rgba(54, 64, 89, 0.24), transparent 34%),
    radial-gradient(circle, rgba(255, 255, 255, 0.11) 1px, transparent 1.25px);
  background-position: center, 0 0;
  background-size: auto, 28px 28px;
}

.hero {
  min-height: 790px;
  padding: 138px var(--page-pad) 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy {
  min-width: 0;
}

.offer-label,
.problem-label,
.build-status,
.workflow-checkpoint {
  font-size: 0.72rem;
  font-weight: 690;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 8.2ch;
  font-size: clamp(4.5rem, 6.5vw, 6rem);
  line-height: 0.92;
}

.hero-copy > p {
  max-width: 46ch;
  margin: 28px 0 0;
  color: var(--white-muted);
  font-size: clamp(1.04rem, 1.2vw, 1.22rem);
}

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

.hero-action {
  min-width: min(100%, 300px);
}

.workflow-demo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.workflow-media {
  position: relative;
  aspect-ratio: 3 / 2;
}

.workflow-video,
.workflow-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-video {
  display: block;
}

.workflow-poster {
  display: none;
}

.credibility-strip {
  padding: 22px var(--page-pad);
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 68px);
  border-block: 1px solid var(--line-light);
  background: var(--raisin-soft);
}

.credibility-strip p,
.credibility-strip ul {
  margin: 0;
}

.credibility-strip p {
  flex: 0 0 auto;
  color: var(--white);
}

.credibility-strip p strong {
  font-weight: 620;
}

.credibility-strip p::before {
  width: 10px;
  height: 10px;
  margin-right: 12px;
  display: inline-block;
  border: 2px solid var(--lime);
  border-radius: 50%;
  content: "";
}

.credibility-strip ul {
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  overflow: hidden;
}

.credibility-strip li {
  padding: 0 clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line-light);
  color: var(--white-muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.builds,
.services,
.about {
  padding: var(--section-space) var(--page-pad);
}

.builds {
  display: grid;
  grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1fr);
  gap: clamp(46px, 6vw, 92px);
  background:
    radial-gradient(circle at 85% 20%, rgba(54, 64, 89, 0.2), transparent 26%),
    var(--raisin);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.about h2,
.newsletter h2,
.contact h2 {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
}

.section-heading > p:last-child,
.about-story p,
.contact-intro > p {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--white-muted);
}

.builds .section-heading h2 {
  font-size: clamp(2.8rem, 4.2vw, 4.5rem);
}

.build-ledger {
  min-width: 0;
  border-top: 1px solid var(--line-light);
}

.build-row {
  min-width: 0;
  padding: 26px 18px;
  display: grid;
  grid-template-columns: 38px minmax(280px, 1fr) minmax(180px, 0.42fr) minmax(105px, auto);
  gap: clamp(16px, 2.3vw, 34px);
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  transition: background-color 160ms ease-out;
}

.build-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.build-index {
  align-self: start;
  color: var(--white-muted);
  font-size: 0.82rem;
}

.build-copy {
  min-width: 0;
}

.build-copy h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.82rem);
  line-height: 1.05;
}

.build-copy > p {
  max-width: 65ch;
  margin: 10px 0 0;
  color: var(--white-muted);
  font-size: 0.91rem;
}

.build-copy .build-mechanism {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.build-mechanism strong {
  color: var(--white);
  font-weight: 600;
}

.build-tags {
  margin: 15px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.build-tags li {
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--white-muted);
  background: rgba(54, 64, 89, 0.54);
  font-size: 0.68rem;
}

.build-diagram {
  width: 100%;
  min-width: 0;
  fill: none;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.workflow-icon-frame {
  fill: rgba(54, 64, 89, 0.34);
  stroke: rgba(255, 255, 255, 0.26);
}

.workflow-arrow {
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 1.4;
}

.workflow-icon-final {
  stroke: var(--lime);
}

.workflow-icon-final .workflow-icon-frame {
  fill: rgba(209, 255, 5, 0.08);
  stroke: rgba(209, 255, 5, 0.55);
}

.build-status {
  margin: 0;
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--lime);
  text-align: right;
  white-space: nowrap;
}

.build-pattern {
  color: var(--white-muted);
  font-size: 0.72rem;
  font-weight: 690;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.light-field {
  position: relative;
  color: var(--raisin);
  background-color: var(--silver);
  background-image:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.68), transparent 34%),
    radial-gradient(circle, rgba(15, 18, 26, 0.09) 1px, transparent 1.25px);
  background-size: auto, 32px 32px;
}

.problems,
.process,
.newsletter,
.contact {
  padding: var(--section-space) var(--page-pad);
}

.problems .section-heading > p:last-child,
.process .section-heading > p:last-child {
  color: var(--ink-muted);
}

.problem-comparison {
  max-width: 1240px;
  margin: clamp(58px, 7vw, 96px) auto 0;
  border-top: 1px solid var(--line-dark);
}

.problem-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-dark);
}

.problem-state {
  min-width: 0;
  min-height: 132px;
  padding: 26px clamp(22px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-manual {
  border-right: 1px solid var(--line-dark);
}

.problem-built {
  color: var(--white);
  background: rgba(15, 18, 26, 0.95);
}

.problem-label {
  margin-bottom: 12px;
  color: var(--ink-muted);
}

.problem-built .problem-label {
  color: var(--lime);
}

.problem-state h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.problem-state > p:last-child {
  max-width: 44ch;
  margin: 0;
  color: var(--white-muted);
  font-size: 1.02rem;
}

.services {
  background:
    radial-gradient(circle at 50% 45%, rgba(54, 64, 89, 0.22), transparent 34%),
    var(--raisin);
}

.services > .section-heading {
  margin-inline: auto;
  text-align: center;
}

.services > .section-heading > p:last-child {
  margin-inline: auto;
}

.offer-grid {
  max-width: 1320px;
  margin: clamp(60px, 7vw, 104px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
}

.offer-card {
  min-width: 0;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: rgba(29, 36, 52, 0.42);
}

.offer-card-featured {
  position: relative;
  padding-block: clamp(42px, 4.8vw, 68px);
  border-color: rgba(209, 255, 5, 0.52);
  background: var(--raisin-soft);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.28);
}

.offer-card-featured::before {
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 4px;
  background: var(--lime);
  content: "";
}

.offer-label {
  margin-bottom: 16px;
  color: var(--white-muted);
}

.offer-card-featured .offer-label {
  color: var(--lime);
}

.offer-card h3 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.offer-price {
  margin: 20px 0;
  color: var(--white);
  font-size: clamp(1.3rem, 2vw, 1.82rem);
  font-weight: 620;
  letter-spacing: -0.03em;
}

.offer-card > p:not(.offer-label):not(.offer-price),
.offer-scope {
  color: var(--white-muted);
  font-size: 0.91rem;
}

.offer-card > p:not(.offer-label):not(.offer-price) {
  margin: 16px 0 0;
}

.offer-scope {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.offer-scope li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line-light);
}

.offer-scope li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.offer-scope li::before {
  position: absolute;
  top: 17px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.offer-card .primary-action,
.offer-card .secondary-action {
  width: 100%;
  margin-top: 28px;
}

.process-list {
  max-width: 1240px;
  margin: clamp(58px, 7vw, 96px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line-dark);
  list-style: none;
}

.process-step {
  position: relative;
  min-width: 0;
  min-height: 270px;
  padding: clamp(28px, 3.2vw, 46px);
  border-right: 1px solid var(--line-dark);
}

.process-step:last-child {
  border-right: 0;
}

.process-step-active {
  color: var(--white);
  background: var(--raisin);
  box-shadow: 0 24px 58px rgba(30, 40, 55, 0.16);
  transform: translateY(-14px);
}

.process-number {
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.process-step-active .process-number {
  border-color: var(--lime);
  color: var(--raisin);
  background: var(--lime);
}

.process-step h3 {
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
}

.process-step p {
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.process-step-active p {
  color: var(--white-muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: center;
  background: var(--raisin-soft);
}

.about-story {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(110px, 12vw, 170px) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.about-story img {
  width: 100%;
  height: auto;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: var(--silver);
}

.founder-ledger {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.founder-ledger div {
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(116px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 42px);
  border-bottom: 1px solid var(--line-light);
}

.founder-ledger dt {
  color: var(--white);
  font-weight: 650;
}

.founder-ledger dd {
  margin: 0;
  color: var(--white-muted);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  color: var(--raisin);
}

.newsletter-copy,
.newsletter-copy h2,
.newsletter-copy p {
  color: var(--raisin);
}

.newsletter-copy p {
  max-width: 58ch;
  margin: 24px 0 0;
}

.newsletter-form {
  min-width: 0;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.newsletter-fields .field-group {
  margin-bottom: 0;
}

.newsletter-form .submit-button {
  width: auto;
  min-width: 148px;
}

.newsletter-form .form-note,
.newsletter-form .form-status {
  text-align: left;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(480px, 1fr);
  gap: clamp(60px, 8vw, 128px);
  align-items: start;
  color: var(--white);
  background-color: var(--raisin);
  background-image:
    radial-gradient(circle at 15% 24%, rgba(54, 64, 89, 0.28), transparent 32%),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1.25px);
  background-size: auto, 30px 30px;
}

.contact-intro {
  padding-top: 18px;
}

.contact-intro a {
  min-height: 44px;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  color: var(--lime);
  font-weight: 620;
  text-underline-offset: 5px;
}

.working-session-form {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  scroll-margin-top: 112px;
  border-radius: var(--radius);
  color: var(--raisin);
  background: var(--silver);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading h3 {
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
}

.form-heading p {
  margin: 10px 0 0;
  color: var(--ink-muted);
}

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

.field-group {
  min-width: 0;
  margin-bottom: 20px;
}

.field-group label {
  margin-bottom: 8px;
  display: block;
  font-size: 0.86rem;
  font-weight: 620;
}

.field-group label span {
  color: var(--ink-muted);
  font-weight: 450;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(15, 18, 26, 0.28);
  border-radius: 10px;
  color: var(--raisin);
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.field-group input,
.field-group select {
  min-height: 50px;
  padding: 0 14px;
}

.field-group textarea {
  min-height: 138px;
  padding: 13px 14px;
  resize: vertical;
}

.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover,
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--slate);
  background: var(--white);
}

.field-group input[aria-invalid="true"],
.field-group textarea[aria-invalid="true"],
.field-group select[aria-invalid="true"] {
  border-color: #a62f35;
}

.field-error {
  margin: 8px 0 0;
  color: #a62f35;
  font-size: 0.8rem;
  font-weight: 620;
}

.field-error[hidden],
.field-error:empty {
  display: none;
}

.field-group textarea::placeholder {
  color: #747d8d;
}

.submit-button {
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
}

.form-note,
.form-fallback,
.form-status {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
  text-align: center;
}

.form-note a,
.form-fallback a {
  color: var(--raisin);
  font-weight: 620;
  text-underline-offset: 3px;
}

.form-fallback {
  margin-top: 8px;
}

.form-fallback a {
  min-height: 44px;
  padding-inline: 6px;
  display: inline-flex;
  align-items: center;
}

.form-status {
  outline-offset: 4px;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  color: #2b670f;
}

.form-status.error {
  color: #a62f35;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 40px var(--page-pad);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.4fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line-light);
  color: var(--white-muted);
  background: #080d16;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand,
.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-brand {
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
}

.footer-positioning > p {
  max-width: 42ch;
}

.footer-nav {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px clamp(12px, 2vw, 26px);
}

.footer-nav a {
  text-decoration: none;
}

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

.js .reveal {
  opacity: 0.68;
  filter: blur(3px);
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.visible {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (max-width: 1080px) {
  .site-header {
    top: 14px;
  }

  .brand {
    width: clamp(178px, 24vw, 244px);
  }

  .nav-overflow {
    display: none;
  }

  .nav-more-item {
    display: list-item;
  }

  .nav-links {
    gap: clamp(12px, 2.2vw, 24px);
  }

  .nav-links a,
  .nav-more > summary {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 0;
    padding-top: 124px;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy,
  .workflow-demo {
    width: 100%;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-copy > p {
    max-width: 58ch;
  }

  .builds,
  .about,
  .newsletter,
  .contact {
    grid-template-columns: 1fr;
  }

  .builds .section-heading {
    max-width: 700px;
  }

  .build-row {
    grid-template-columns: 34px minmax(280px, 1fr) minmax(150px, 0.35fr) minmax(100px, auto);
    padding-inline: 10px;
  }

  .offer-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.15fr) minmax(0, 0.88fr);
    gap: 12px;
  }

  .offer-card {
    padding-inline: 22px;
  }

  .about-story {
    max-width: 820px;
  }

  .founder-ledger {
    max-width: 820px;
  }

  .newsletter-copy,
  .newsletter-form,
  .contact-intro {
    max-width: 760px;
  }

  .working-session-form {
    max-width: 820px;
  }
}

@media (max-width: 800px) {
  :root {
    --page-pad: 22px;
    --section-space: 92px;
  }

  html {
    scroll-padding-top: 96px;
  }

  .site-header {
    right: 12px;
    left: 12px;
  }

  .site-nav {
    min-height: 62px;
    padding: 6px 8px 6px 14px;
    gap: 12px;
  }

  .brand {
    width: clamp(148px, 27vw, 188px);
  }

  .nav-links {
    gap: clamp(5px, 1.6vw, 12px);
  }

  .nav-links a,
  .nav-more > summary {
    padding-inline: 5px;
    font-size: 0.72rem;
  }

  .nav-links .nav-action {
    min-height: 44px;
    padding-inline: 12px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 76px;
    gap: 50px;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(3.6rem, 12vw, 5.2rem);
  }

  .workflow-demo {
    max-width: 780px;
    margin-inline: auto;
  }

  .credibility-strip {
    padding-block: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .credibility-strip ul {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 0;
    overflow: visible;
  }

  .credibility-strip li {
    padding-inline: 12px;
  }

  .credibility-strip li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .build-row {
    padding: 28px 6px;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 18px;
    align-items: start;
  }

  .build-index {
    grid-column: 1;
    grid-row: 1;
  }

  .build-copy,
  .build-diagram,
  .build-status {
    grid-column: 2;
  }

  .build-copy {
    grid-row: 1;
  }

  .build-diagram {
    width: min(100%, 320px);
    grid-row: 2;
  }

  .build-status {
    grid-row: 3;
    justify-items: start;
    text-align: left;
  }

  .problem-pair {
    grid-template-columns: 1fr;
    padding: 16px 0;
    gap: 0;
  }

  .problem-state {
    min-height: 110px;
    padding: 22px;
  }

  .problem-manual {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .offer-grid {
    max-width: 680px;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
  }

  .offer-card {
    padding: 32px 28px;
  }

  .offer-card-featured {
    padding-block: 44px;
  }

  .process-list {
    max-width: 680px;
    grid-template-columns: 1fr;
    border-block: 0;
  }

  .process-step {
    min-height: 0;
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-step:first-child {
    border-top: 1px solid var(--line-dark);
  }

  .process-step-active {
    box-shadow: 0 20px 52px rgba(30, 40, 55, 0.14);
    transform: none;
  }

  .process-number {
    margin: 0;
    grid-row: 1 / span 2;
  }

  .process-step p {
    margin: 0;
  }

  .about {
    gap: 64px;
  }

  .about-story {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 26px;
  }

  .newsletter,
  .contact {
    gap: 54px;
  }

  .newsletter-fields {
    grid-template-columns: 1fr;
  }

  .newsletter-form .submit-button {
    width: 100%;
  }

  .working-session-form {
    scroll-margin-top: 96px;
  }

  .form-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 18px;
  }

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

@media (max-width: 520px) {
  :root {
    --page-pad: 18px;
    --section-space: 80px;
  }

  .site-header {
    top: 8px;
    right: 8px;
    left: 8px;
  }

  .site-nav {
    min-height: 58px;
    padding: 5px 6px;
    gap: 4px;
    border-radius: 10px;
  }

  .brand {
    width: 44px;
    min-height: 44px;
  }

  .brand picture,
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand img {
    object-fit: contain;
  }

  .nav-links {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 0;
  }

  .nav-links a,
  .nav-more > summary {
    min-height: 44px;
    padding-inline: clamp(3px, 1.5vw, 7px);
    font-size: 0.68rem;
    letter-spacing: -0.01em;
  }

  .nav-links .nav-action {
    min-height: 44px;
    padding-inline: clamp(7px, 2.6vw, 13px);
    border-radius: 7px;
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 68px;
  }

  .hero h1 {
    max-width: 8.4ch;
    font-size: clamp(3.2rem, 15.5vw, 4.6rem);
  }

  .hero-copy > p {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 28px;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .workflow-demo {
    width: 100%;
  }

  .credibility-strip {
    padding-inline: 18px;
  }

  .section-heading h2,
  .about h2,
  .newsletter h2,
  .contact h2,
  .builds .section-heading h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .build-row {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 12px;
  }

  .build-copy h3 {
    font-size: 1.45rem;
  }

  .problem-comparison,
  .offer-grid,
  .process-list {
    margin-top: 48px;
  }

  .problem-state,
  .offer-card,
  .process-step {
    padding-inline: 20px;
  }

  .about-story {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
  }

  .about-story img {
    padding: 10px;
  }

  .founder-ledger div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .working-session-form {
    padding: 28px 20px;
  }

  .field-group textarea {
    min-height: 128px;
  }

  .site-footer {
    padding-inline: 18px;
  }
}

@media (hover: none) {
  .nav-links .nav-action:hover,
  .primary-action:hover,
  .secondary-action:hover {
    transform: none;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .workflow-video {
    display: none;
  }

  .workflow-poster {
    display: block;
  }
}

/* Newsletter subscription confirmation */
.newsletter-success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--raisin);
  background-color: var(--silver);
  background-image:
    linear-gradient(rgba(54, 64, 89, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 64, 89, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.9), transparent 44%);
  background-size: 32px 32px, 32px 32px, auto;
}

.newsletter-success-header {
  width: min(1180px, calc(100% - (2 * var(--page-pad))));
  margin: 0 auto;
  padding: 28px 0;
}

.newsletter-success-brand {
  width: 220px;
  display: block;
}

.newsletter-success-brand img {
  width: 100%;
  height: auto;
}

.newsletter-success-main {
  width: min(980px, calc(100% - (2 * var(--page-pad))));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 84px) 0 clamp(74px, 9vw, 120px);
  display: grid;
  gap: 28px;
}

.newsletter-success-hero {
  max-width: 780px;
  margin: 0 auto 20px;
  text-align: center;
}

.newsletter-success-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--raisin);
  background: var(--lime);
}

.newsletter-success-mark svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.newsletter-success-kicker {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 690;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.newsletter-success-hero h1 {
  font-size: clamp(4rem, 9vw, 7rem);
}

.newsletter-success-hero > p:last-child {
  max-width: 64ch;
  margin: 24px auto 0;
  color: var(--slate);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.newsletter-success-card,
.newsletter-booking {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(15, 18, 26, 0.12);
}

.newsletter-success-card {
  padding: clamp(30px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 72px);
}

.newsletter-success-card h2,
.newsletter-booking h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.newsletter-expect-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  list-style: none;
}

.newsletter-expect-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.newsletter-list-check {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--slate);
  border-radius: 50%;
  color: var(--raisin);
  font-size: 0.85rem;
  font-weight: 760;
}

.newsletter-expect-list h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.newsletter-expect-list p {
  margin: 6px 0 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.newsletter-booking {
  padding: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  color: var(--white);
  background: var(--raisin);
  box-shadow: 0 28px 72px rgba(15, 18, 26, 0.22);
}

.newsletter-booking .newsletter-success-kicker,
.newsletter-booking p {
  color: var(--white-muted);
}

.newsletter-booking p:last-child {
  max-width: 58ch;
  margin: 18px 0 0;
}

.newsletter-booking-actions {
  min-width: 230px;
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.newsletter-home-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  font-size: 0.82rem;
  font-weight: 620;
  text-underline-offset: 4px;
}

.newsletter-success-footer {
  width: min(1180px, calc(100% - (2 * var(--page-pad))));
  margin: auto auto 0;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.newsletter-success-footer p {
  margin: 0;
}

.newsletter-success-footer a {
  font-weight: 620;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .newsletter-success-card,
  .newsletter-booking {
    grid-template-columns: 1fr;
  }

  .newsletter-booking-actions {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .newsletter-success-header {
    padding-top: 18px;
  }

  .newsletter-success-brand {
    width: 52px;
  }

  .newsletter-success-main {
    padding-top: 30px;
  }

  .newsletter-success-card,
  .newsletter-booking {
    padding: 28px 22px;
  }

  .newsletter-success-hero h1 {
    font-size: clamp(3.6rem, 21vw, 5rem);
  }

  .newsletter-booking .primary-action {
    width: 100%;
  }
}
