:root {
  --ink: #142118;
  --ink-soft: #1f3326;
  --forest: #274a31;
  --paper: #fff7ff;
  --surface: #fffdfd;
  --white: #ffffff;
  --pink: #f5c4f5;
  --pink-soft: #fbeafb;
  --pink-strong: #ef80ef;
  --pink-text: #a23ca4;
  --green: #80ef80;
  --green-soft: #e2fbe3;
  --green-deep: #287b3d;
  --muted: #5c6a61;
  --muted-light: #829087;
  --line: rgba(20, 33, 24, 0.14);
  --line-strong: rgba(20, 33, 24, 0.24);
  --line-light: rgba(255, 255, 255, 0.2);
  --shadow: 0 28px 80px rgba(82, 38, 82, 0.14);
  --shadow-soft: 0 16px 45px rgba(82, 38, 82, 0.09);
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1240px;
  --header-height: 76px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-deep);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--green);
  content: "";
  box-shadow: 8px 8px 0 rgba(239, 128, 239, 0.55);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--ease);
}

.button span:last-child {
  font-size: 1.08rem;
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  border-color: var(--ink);
  background: var(--green);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-primary:hover {
  background: var(--pink-strong);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 247, 255, 0.82);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 251, 255, 0.95);
  box-shadow: 0 8px 30px rgba(82, 38, 82, 0.06);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--green);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-place {
  margin-left: 3px;
  padding-left: 15px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.1vw, 34px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #304238;
  font-size: 0.75rem;
  font-weight: 650;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--pink-strong);
  content: "";
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 0.64rem;
  font-weight: 750;
}

.language-switch button {
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--muted-light);
  font-size: inherit;
}

.language-switch button[aria-pressed="true"] {
  color: var(--green-deep);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.71rem;
  font-weight: 750;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: var(--green);
  color: var(--ink);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--green);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 220ms ease;
}

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

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

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 81% 30%, rgba(128, 239, 128, 0.82), transparent 24%),
    radial-gradient(circle at 7% 78%, rgba(239, 128, 239, 0.16), transparent 27%),
    linear-gradient(145deg, #fff2f7 0%, #fbe7f0 56%, #fff8fb 100%);
}

.hero-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: radial-gradient(rgba(20, 33, 24, 0.14) 0.9px, transparent 0.9px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(20, 33, 24, 0.12);
  pointer-events: none;
}

.hero-orbit-one {
  top: 12%;
  right: -12%;
  width: 600px;
  height: 500px;
  transform: rotate(-13deg);
  border-radius: 44% 56% 62% 38% / 55% 35% 65% 45%;
  background: rgba(247, 200, 220, 0.38);
}

.hero-orbit-two {
  bottom: 5%;
  left: -10%;
  width: 340px;
  height: 250px;
  transform: rotate(11deg);
  border-radius: 60% 40% 43% 57% / 48% 62% 38% 52%;
  background: rgba(128, 239, 128, 0.24);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100dvh - var(--header-height) - 92px);
  grid-template-columns: minmax(0, 1.02fr) minmax(450px, 0.98fr);
  align-items: center;
  gap: clamp(54px, 7vw, 104px);
  padding-block: clamp(76px, 8vw, 118px) 64px;
}

.hero-copy h1,
.section-heading h2,
.team-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 710px;
  font-size: clamp(4rem, 6.6vw, 6.9rem);
}

.hero-copy h1 span,
.hero-copy h1 em {
  display: block;
}

.hero-copy h1 em,
.section-heading h2 em,
.team-heading h2 em,
.contact-copy h2 em {
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}

.hero-copy h1 em {
  position: relative;
  z-index: 0;
  width: fit-content;
}

.hero-copy h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.05em;
  left: -0.04em;
  height: 0.23em;
  transform: rotate(-1deg);
  border-radius: 4px;
  background: var(--green);
  content: "";
}

.hero-intro {
  max-width: 590px;
  margin: 32px 0 0;
  color: #506057;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.72;
  text-wrap: pretty;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.text-link:hover {
  border-color: var(--pink-strong);
  color: var(--green-deep);
  transform: translateX(3px);
}

.hero-facts {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 48px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  margin-bottom: 5px;
  color: var(--green-deep);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.prototype {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--surface);
  box-shadow:
    12px 12px 0 var(--pink-strong),
    var(--shadow);
}

.prototype::before {
  position: absolute;
  z-index: 7;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  box-shadow: -17px 0 0 var(--pink-strong);
}

.prototype-topbar {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prototype-id {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(128, 239, 128, 0.2);
}

.prototype-url {
  padding-right: 34px;
  color: var(--muted-light);
  letter-spacing: 0;
  text-transform: none;
}

.prototype-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.prototype-tabs button {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.prototype-tabs button:last-child {
  border-right: 0;
}

.prototype-tabs button span:first-child {
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
}

.prototype-tabs button[aria-selected="true"] {
  background: var(--green-soft);
  color: var(--ink);
}

.prototype-screen {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: var(--surface);
}

.preview-stage {
  position: absolute;
  inset: 0;
}

.preview-stage[hidden] {
  display: none;
}

.preview-stage.is-active {
  animation: stage-in 500ms var(--ease) both;
}

.preview-brief {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  padding: 40px;
  background:
    linear-gradient(rgba(20, 33, 24, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 24, 0.05) 1px, transparent 1px),
    var(--green-soft);
  background-size: 26px 26px;
}

.brief-heading {
  display: grid;
  gap: 5px;
}

.brief-heading span,
.demo-overlay span,
.live-status small {
  color: var(--green-deep);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brief-heading strong {
  max-width: 420px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brief-wireframe {
  display: grid;
  min-height: 145px;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: 16px 1fr 14px;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 5px 5px 0 var(--pink);
}

.brief-wireframe span {
  border-radius: 4px;
  background: rgba(20, 33, 24, 0.12);
}

.brief-wireframe span:first-child {
  grid-column: 1 / -1;
  width: 46%;
  background: var(--pink-strong);
}

.brief-wireframe span:nth-child(2) {
  background: rgba(20, 33, 24, 0.2);
}

.brief-wireframe span:nth-child(4) {
  width: 66%;
}

.brief-wireframe span:nth-child(5) {
  width: 42%;
}

.brief-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-tags span {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
}

.preview-demo {
  background: var(--pink-soft);
}

.preview-demo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(12, 22, 15, 0.84));
  content: "";
}

.preview-demo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}

.demo-overlay {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: grid;
  gap: 5px;
  color: var(--white);
}

.demo-overlay span {
  color: var(--green);
}

.demo-overlay strong {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.demo-overlay small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
}

.preview-live {
  display: grid;
  align-content: center;
  gap: 34px;
  padding: 42px;
  background:
    radial-gradient(circle at 82% 18%, rgba(239, 128, 239, 0.38), transparent 34%),
    var(--pink-soft);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 18px;
}

.live-status > span:last-child {
  display: grid;
  gap: 4px;
}

.live-status strong {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.live-check {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--green);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
}

.live-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.live-metrics div {
  display: grid;
  gap: 7px;
  padding: 17px;
  border-right: 1px solid var(--line-strong);
}

.live-metrics div:last-child {
  border-right: 0;
}

.live-metrics span {
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.live-metrics strong {
  font-size: 0.66rem;
  font-weight: 700;
}

.live-line {
  height: 4px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(20, 33, 24, 0.1);
}

.live-line span {
  display: block;
  width: 76%;
  height: 100%;
  background: var(--green-deep);
}

.scan-line {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  transform: translateY(-4px);
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--pink-strong), transparent);
  box-shadow: 0 0 18px rgba(239, 128, 239, 0.55);
  animation: scan 5s ease-in-out infinite;
  pointer-events: none;
}

.prototype-footer {
  display: grid;
  min-height: 52px;
  grid-template-columns: 1fr 100px;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 0.6rem;
}

.prototype-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--pink-soft);
}

.prototype-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--green-deep);
  transition: width 380ms var(--ease);
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.proof-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-strip ul {
  display: flex;
  gap: clamp(22px, 3.5vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-strip li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
}

.proof-strip li::before {
  color: var(--pink-strong);
  content: "✦";
}

.section {
  position: relative;
  padding-block: clamp(104px, 10vw, 156px);
}

.section-intro {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(128, 239, 128, 0.32), transparent 22%),
    linear-gradient(180deg, #fff8fb 0%, var(--pink-soft) 100%);
  color: var(--ink);
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(56px, 7vw, 90px);
}

.section-heading h2,
.team-heading h2,
.contact-copy h2 {
  font-size: clamp(3.35rem, 5.9vw, 6rem);
}

.section-heading h2 span,
.section-heading h2 em,
.team-heading h2 span,
.team-heading h2 em,
.contact-copy h2 span,
.contact-copy h2 em {
  display: block;
}

.section-heading h2 em,
.team-heading h2 em {
  color: var(--green-deep);
}

.section-heading > p:last-child,
.pricing-heading > p,
.process-heading > p,
.team-heading > p {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.principles {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 16px;
}

.principle {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  transition:
    box-shadow 240ms ease,
    transform 240ms var(--ease);
}

.principle:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.principle:first-child {
  grid-row: 1 / 3;
  min-height: 510px;
  background: var(--green);
}

.principle:nth-child(2) {
  background: var(--pink);
}

.principle:nth-child(3) {
  background: rgba(255, 255, 255, 0.78);
}

.principle-number {
  color: rgba(20, 33, 24, 0.55);
  font-size: 0.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.principle svg {
  width: 50px;
  height: 50px;
  margin: 54px 0 34px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.principle:first-child svg {
  width: 70px;
  height: 70px;
  margin-top: 105px;
}

.principle h3 {
  max-width: 520px;
  margin: 0 0 15px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.7vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.principle p {
  max-width: 550px;
  margin: 0;
  color: #435148;
  font-size: 0.82rem;
  line-height: 1.72;
}

.automation-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(38px, 6vw, 86px);
  margin-top: clamp(76px, 9vw, 130px);
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid var(--ink);
  border-radius: 30px;
  background: var(--pink);
  box-shadow: 10px 10px 0 var(--ink);
}

.automation-heading {
  align-self: start;
}

.automation-heading h3,
.impact-heading h3,
.custom-scope h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.automation-heading > p:last-child {
  max-width: 480px;
  margin: 26px 0 0;
  color: #4a584f;
  font-size: 0.88rem;
  line-height: 1.72;
}

.automation-use-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.automation-use-cases li {
  display: grid;
  min-height: 250px;
  align-content: space-between;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  transition:
    box-shadow 220ms ease,
    transform 220ms var(--ease);
}

.automation-use-cases li:nth-child(2),
.automation-use-cases li:nth-child(3) {
  background: var(--green-soft);
}

.automation-use-cases li:hover {
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.automation-use-cases > li > span {
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.automation-use-cases div {
  display: grid;
  gap: 10px;
}

.automation-use-cases strong {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.automation-use-cases p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.68;
}

.impact-panel {
  margin-top: 34px;
  padding: clamp(34px, 5vw, 68px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 12%, rgba(239, 128, 239, 0.22), transparent 25%),
    var(--ink);
  color: var(--white);
}

.impact-heading {
  display: grid;
  grid-template-columns: 0.56fr 1fr;
  align-items: end;
  gap: 60px;
}

.impact-heading .eyebrow {
  color: var(--green);
}

.impact-heading h3 {
  max-width: 780px;
  font-size: clamp(2.35rem, 4.4vw, 4.7rem);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: var(--line-light);
}

.impact-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--ink-soft);
}

.impact-grid article:nth-child(2) {
  background: var(--forest);
}

.impact-grid strong {
  display: block;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.impact-grid article:nth-child(2) strong {
  color: var(--pink);
}

.impact-grid p {
  min-height: 78px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  line-height: 1.65;
}

.impact-grid a {
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 750;
}

.impact-note {
  max-width: 860px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  line-height: 1.65;
}

.pricing-section {
  background:
    radial-gradient(circle at 4% 88%, rgba(128, 239, 128, 0.38), transparent 21%),
    var(--pink);
  color: var(--ink);
}

.pricing-heading,
.process-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1.08fr 0.62fr;
  align-items: end;
  gap: 80px;
}

.pricing-heading > p,
.process-heading > p {
  margin: 0 0 8px;
  color: #46544b;
}

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

.price-card {
  position: relative;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  padding: clamp(28px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow 240ms ease,
    transform 240ms var(--ease);
}

.price-card:hover {
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.price-card-featured {
  background: var(--green);
  color: var(--ink);
}

.recommended {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 13px;
  border-bottom-left-radius: 12px;
  background: var(--ink);
  color: var(--green);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.price-card-top {
  display: flex;
  min-height: 42px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.plan-index {
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.price-card-featured .plan-index {
  color: var(--ink);
}

.price-card-top p {
  max-width: 210px;
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: right;
}

.price-card-featured .price-card-top p {
  color: rgba(20, 33, 24, 0.7);
}

.price-card h3 {
  margin: 52px 0 18px;
  font-family: var(--display);
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.price span {
  font-family: var(--display);
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-from small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.price-card-featured .price-from small {
  color: rgba(20, 33, 24, 0.68);
}

.price-caption {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.price-card-featured .price-caption {
  color: rgba(20, 33, 24, 0.66);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 34px 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-card-featured ul {
  border-color: rgba(20, 33, 24, 0.2);
}

.price-card li {
  display: flex;
  gap: 10px;
  color: #435148;
  font-size: 0.74rem;
}

.price-card li::before {
  color: var(--green-deep);
  content: "✓";
  font-weight: 800;
}

.price-card-featured li {
  color: rgba(20, 33, 24, 0.8);
}

.price-card-featured li::before {
  color: var(--ink);
}

.plan-button {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 11px;
  background: transparent;
  font-size: 0.71rem;
  font-weight: 800;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.plan-button:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.price-card:last-child {
  display: grid;
  min-height: 330px;
  grid-column: 1 / -1;
  grid-template-columns: 0.78fr 0.9fr 1.35fr 0.62fr;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 20px 34px;
  background:
    radial-gradient(circle at 92% 15%, rgba(239, 128, 239, 0.24), transparent 30%),
    var(--ink);
  color: var(--white);
}

.price-card:last-child .price-card-top {
  grid-column: 1 / -1;
}

.price-card:last-child .price-card-top p,
.price-card:last-child .price-caption,
.price-card:last-child .price-from small {
  color: rgba(255, 255, 255, 0.6);
}

.price-card:last-child .plan-index,
.price-card:last-child li::before {
  color: var(--green);
}

.price-card:last-child h3 {
  grid-column: 1;
  grid-row: 2;
  margin: 18px 0 0;
}

.price-card:last-child .price {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 18px;
}

.price-card:last-child .price-caption {
  grid-column: 2;
  grid-row: 3;
  margin: -20px 0 0;
}

.price-card:last-child ul {
  grid-column: 3;
  grid-row: 2 / 4;
  margin: 14px 0 0;
  padding-top: 0;
  border-top: 0;
}

.price-card:last-child li {
  color: rgba(255, 255, 255, 0.78);
}

.price-card:last-child .plan-button {
  grid-column: 4;
  grid-row: 2 / 4;
  align-self: end;
  border-color: var(--green);
  color: var(--green);
}

.price-card:last-child .plan-button:hover {
  background: var(--green);
  color: var(--ink);
}

.custom-scope {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  margin-top: 20px;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--green-soft);
}

.custom-scope h3 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.custom-scope > p {
  align-self: end;
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.72;
}

.maintenance {
  display: grid;
  grid-template-columns: 0.86fr 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.maintenance > div {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.maintenance > div:first-child {
  background: transparent;
}

.maintenance h3 {
  max-width: 320px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.maintenance-plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.maintenance-plan > span {
  color: var(--green-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.maintenance-plan strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 2.45rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.maintenance-plan strong small {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 650;
}

.maintenance-plan p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.pricing-note {
  max-width: 760px;
  margin: 20px 0 0 auto;
  color: #4f5d54;
  font-size: 0.64rem;
  line-height: 1.6;
  text-align: right;
}

.work-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(128, 239, 128, 0.32), transparent 22%),
    var(--paper);
}

.work-portal {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(54px, 9vw, 130px);
  padding: clamp(40px, 5vw, 72px);
  border: 1px solid var(--ink);
  border-radius: 30px;
  background: var(--pink-soft);
  box-shadow: 12px 12px 0 var(--green);
}

.work-portal h2 {
  margin: 0;
  font-size: clamp(3.4rem, 5.2vw, 5.5rem);
}

.work-portal h2 span,
.work-portal h2 em {
  display: block;
}

.work-portal h2 em {
  color: var(--pink-text);
  font-style: normal;
}

.work-portal-action {
  display: grid;
  justify-items: start;
  gap: 30px;
}

.work-portal-action p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.process-section {
  background:
    radial-gradient(circle at 8% 16%, rgba(239, 128, 239, 0.17), transparent 22%),
    var(--green-soft);
  color: var(--ink);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 255px;
  grid-template-columns: 54px 1fr;
  align-content: space-between;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  transition:
    box-shadow 230ms ease,
    transform 230ms var(--ease);
}

.process-list li:nth-child(2),
.process-list li:nth-child(5) {
  background: var(--pink-soft);
}

.process-list li:hover {
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.process-number {
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.process-list h3 {
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.process-list p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.68;
}

.process-time {
  grid-column: 2;
  align-self: end;
  color: var(--green-deep);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(128, 239, 128, 0.26), transparent 25%),
    var(--pink-soft);
}

.team-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: clamp(60px, 8vw, 108px);
}

.team-heading h2 {
  font-size: clamp(3.4rem, 5.4vw, 5.7rem);
}

.team-members {
  display: grid;
  gap: 14px;
}

.team-card {
  display: grid;
  min-height: 158px;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  transition:
    box-shadow 220ms ease,
    transform 220ms var(--ease);
}

.team-card:nth-child(2) {
  background: var(--green);
}

.team-card:hover {
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.team-initials {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.team-card:nth-child(2) .team-initials {
  background: var(--surface);
}

.team-card h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  align-items: start;
  gap: clamp(60px, 8vw, 110px);
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.faq-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 4.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  min-height: 102px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.36rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
  list-style: none;
}

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

.faq-list summary::after {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--green);
  color: var(--ink);
  content: "+";
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform 220ms ease;
}

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

.faq-list details p {
  max-width: 720px;
  margin: -8px 0 0;
  padding: 0 60px 32px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(104px, 11vw, 164px);
  background:
    radial-gradient(circle at 13% 78%, rgba(239, 128, 239, 0.28), transparent 25%),
    var(--green);
}

.contact-grid {
  opacity: 0.25;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(60px, 9vw, 128px);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.contact-copy h2 {
  font-size: clamp(3.55rem, 5.7vw, 6rem);
}

.contact-copy h2 em {
  color: var(--forest);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 30px 0 0;
  color: #2e4736;
  font-size: 0.88rem;
  line-height: 1.72;
}

.contact-direct {
  display: grid;
  gap: 6px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 33, 24, 0.24);
}

.contact-direct span {
  color: var(--green-deep);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-direct a {
  width: fit-content;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contact-direct small {
  margin-top: 6px;
  color: #42604a;
  font-size: 0.64rem;
}

.contact-form {
  display: grid;
  gap: 19px;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--ink);
  border-radius: 26px;
  background: rgba(255, 253, 253, 0.9);
  box-shadow: 10px 10px 0 var(--ink);
  backdrop-filter: blur(12px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.contact-form label:not(.privacy-check) {
  display: grid;
  gap: 8px;
}

.contact-form label > span:first-child {
  color: #3e5145;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  outline: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 54px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 142px;
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-deep);
  background: #fbfffb;
  box-shadow: 0 0 0 3px rgba(128, 239, 128, 0.28);
}

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

.contact-form select {
  color-scheme: light;
}

.contact-form select option {
  background: var(--white);
  color: var(--ink);
}

.contact-form [aria-invalid="true"] {
  border-color: #c73d58;
  box-shadow: 0 0 0 3px rgba(199, 61, 88, 0.15);
}

.privacy-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.55;
}

.privacy-check input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--green-deep);
}

.form-honeypot {
  display: none;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

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

.form-note a {
  border-bottom: 1px solid currentColor;
}

.form-status {
  min-height: 1em;
  color: #a62d4a;
}

.form-status[data-state="loading"] {
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--green-deep);
}

.site-footer {
  padding-block: 48px 24px;
  border-top: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding-bottom: 38px;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 650;
  text-align: center;
}

.back-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.67rem;
  font-weight: 700;
}

.back-top:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.59rem;
}

.footer-bottom a:hover {
  color: var(--pink);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 680ms var(--ease),
    transform 680ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scan {
  0%,
  8% {
    opacity: 0;
    transform: translateY(-4px);
  }
  18% {
    opacity: 0.65;
  }
  78% {
    opacity: 0.55;
    transform: translateY(408px);
  }
  88%,
  100% {
    opacity: 0;
    transform: translateY(408px);
  }
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 6.4vw, 5.8rem);
  }

  .prototype-screen {
    min-height: 390px;
  }

  .preview-brief,
  .preview-live {
    padding: 34px;
  }

  .automation-showcase {
    grid-template-columns: 0.68fr 1.32fr;
    gap: 38px;
  }

  .price-card:last-child {
    grid-template-columns: 0.78fr 0.92fr 1.2fr;
  }

  .price-card:last-child .plan-button {
    min-width: 200px;
    grid-column: 1 / 3;
    grid-row: 4;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .desktop-nav {
    display: none;
  }

  .brand-place,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    padding: 14px 18px 24px;
    transform: translateY(-12px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    background: rgba(255, 248, 251, 0.98);
    transition:
      visibility 220ms ease,
      opacity 220ms ease,
      transform 220ms ease;
  }

  .mobile-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 750;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 76px;
    padding-block: 90px 72px;
  }

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

  .hero-copy h1 {
    font-size: clamp(4rem, 11.8vw, 6.4rem);
  }

  .prototype {
    width: min(100%, 700px);
    margin-inline: auto;
  }

  .proof-strip {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }

  .proof-strip ul {
    width: 100%;
    justify-content: space-between;
  }

  .principles {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .principle,
  .principle:first-child {
    min-height: 300px;
    grid-row: auto;
  }

  .principle:first-child svg,
  .principle svg {
    width: 54px;
    height: 54px;
    margin: 48px 0 30px;
  }

  .automation-showcase,
  .impact-heading,
  .custom-scope {
    grid-template-columns: 1fr;
  }

  .automation-showcase {
    gap: 48px;
  }

  .impact-heading {
    align-items: start;
    gap: 18px;
  }

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

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

  .price-card {
    min-height: 0;
  }

  .price-card-featured {
    grid-row: 1;
  }

  .price-card:last-child {
    display: flex;
    min-height: 0;
    grid-column: auto;
  }

  .price-card:last-child h3,
  .price-card:last-child .price,
  .price-card:last-child .price-caption,
  .price-card:last-child ul,
  .price-card:last-child .plan-button {
    grid-column: auto;
    grid-row: auto;
  }

  .price-card:last-child h3 {
    margin: 52px 0 18px;
  }

  .price-card:last-child .price {
    margin-top: 0;
  }

  .price-card:last-child .price-caption {
    margin: 9px 0 0;
  }

  .price-card:last-child ul {
    margin: 34px 0;
    padding-top: 26px;
    border-top: 1px solid var(--line-light);
  }

  .price-card:last-child .plan-button {
    min-width: 0;
    align-self: auto;
  }

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

  .maintenance > div:first-child {
    min-height: 140px;
    grid-column: 1 / -1;
  }

  .work-portal,
  .team-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .work-portal {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .team-layout,
  .faq-layout,
  .contact-layout {
    gap: 60px;
  }

  .faq-heading,
  .contact-copy {
    position: static;
  }

  .contact-copy {
    max-width: 690px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .header-actions {
    gap: 9px;
  }

  .hero-layout {
    gap: 58px;
    padding-block: 68px 54px;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 15.8vw, 4.7rem);
    letter-spacing: -0.07em;
  }

  .hero-intro {
    margin-top: 25px;
    font-size: 0.94rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .text-link {
    width: fit-content;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-facts div {
    display: grid;
    grid-template-columns: 105px 1fr;
    align-items: baseline;
  }

  .prototype {
    border-radius: 18px;
    box-shadow: 7px 7px 0 var(--pink-strong);
  }

  .prototype-url {
    display: none;
  }

  .prototype-tabs button {
    min-height: 58px;
    justify-content: center;
    padding: 0 8px;
  }

  .prototype-tabs button span:first-child {
    display: none;
  }

  .prototype-screen {
    min-height: 370px;
  }

  .preview-brief,
  .preview-live {
    padding: 26px 20px;
  }

  .brief-wireframe {
    min-height: 125px;
  }

  .brief-tags span {
    font-size: 0.54rem;
  }

  .live-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-metrics {
    grid-template-columns: 1fr;
  }

  .live-metrics div {
    grid-template-columns: 30px 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .live-metrics div:last-child {
    border-bottom: 0;
  }

  .prototype-footer {
    grid-template-columns: 1fr 64px;
  }

  .proof-strip ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section {
    padding-block: 88px;
  }

  .section-heading h2,
  .work-portal h2,
  .team-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.9rem, 14vw, 4.3rem);
  }

  .principle,
  .principle:first-child {
    min-height: 0;
    padding: 26px;
  }

  .principle:first-child svg,
  .principle svg {
    margin: 40px 0 26px;
  }

  .principle h3 {
    font-size: 1.7rem;
  }

  .automation-showcase,
  .impact-panel {
    padding: 25px 18px;
    border-radius: 22px;
  }

  .automation-showcase {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .automation-use-cases,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .automation-use-cases li {
    min-height: 220px;
  }

  .impact-grid article {
    min-height: 220px;
  }

  .impact-grid p {
    min-height: 0;
  }

  .price-card {
    padding: 26px 22px;
    border-radius: 21px;
  }

  .custom-scope {
    gap: 24px;
    padding: 28px 22px;
  }

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

  .maintenance > div,
  .maintenance > div:first-child {
    min-height: 155px;
    grid-column: auto;
  }

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

  .work-portal {
    gap: 42px;
    padding: 28px 22px;
    border-radius: 22px;
    box-shadow: 7px 7px 0 var(--green);
  }

  .process-list li {
    min-height: 235px;
    padding: 24px 20px;
  }

  .team-card {
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 20px 16px;
  }

  .team-initials {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.05rem;
  }

  .team-card h3 {
    font-size: 1.35rem;
  }

  .faq-list summary {
    min-height: 90px;
    font-size: 1.12rem;
  }

  .faq-list details p {
    padding-right: 20px;
  }

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

  .contact-form {
    padding: 24px 18px;
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .contact-direct a {
    font-size: 1.05rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main p {
    text-align: left;
  }

  .back-top {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

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

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