:root {
  --bg: #F5F7FA;
  --surface: #ffffff;
  --tint: #E9EEF4;
  --line: #D9E0E8;
  --navy: #0B1F3A;
  --navy-2: #13294A;
  --green: #22C55E;
  --green-dark: #16A34A;
  --green-ink: #15803D;
  --green-pale: #86EFAC;
  --green-tint: #DCFCE7;
  --slate: #5B6B80;
  --amber: #F59E0B;
  --text: var(--navy);
  --muted: var(--navy);
  --headline-muted: var(--slate);
  --glass: rgba(11, 31, 58, 0.1);
  --glass-blur: 18px;
  --glass-light: rgba(255, 255, 255, 0.4);
  --radius: 0;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad-x: clamp(20px, 3.52vw, 64px);
  --nav-top: clamp(16px, 2.05vw, 28px);
  --btn-icon: 36px;
  --btn-pad-y: 12px;
  --btn-pad-x: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ---------- Page shell ---------- */

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--nav-top) var(--pad-x) clamp(28px, 4.9vw, 48px);
}

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
  pointer-events: none;
  overflow: hidden;
}

.bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-video {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.bg.is-playing .bg-video {
  opacity: 1;
}

.nav,
.hero,
.lede,
.mobile-menu {
  position: relative;
  z-index: 1;
}

/* ---------- Nav ---------- */

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav__links {
  display: flex;
  gap: clamp(22px, 2.6vw, 32px);
  justify-self: start;
  padding: 24px 34px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius);
}

.nav__link {
  position: relative;
  display: inline-block;
  font-size: clamp(13px, 1.37vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
  padding-bottom: 2px;
  transition: color 0.22s var(--ease), transform 0.22s var(--ease);
  animation: link-in 0.55s var(--ease) backwards;
  animation-delay: var(--d, 0s);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--navy);
  transform: translateY(-2px);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  color: var(--navy);
  transition: transform 0.35s var(--ease);
}

.logo__art {
  --logo-h: clamp(26px, 2.5vw, 34px);
  display: flex;
  height: var(--logo-h);
}

.logo__word {
  display: block;
  height: 100%;
  width: auto;
}

/* The arrow is drawn as SVG (continuing the wordmark's coordinates) so it can animate */
.logo__arrow {
  display: block;
  height: 100%;
  width: calc(var(--logo-h) * 167 / 265);
  overflow: visible;
  fill: none;
  stroke: var(--green);
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}

.logo__arrow path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.logo:hover .logo__arrow,
.logo:focus-visible .logo__arrow {
  transform: translate(9%, -9%);
}

.nav .logo__word {
  animation: wipe-left 0.8s var(--ease) 0.08s backwards;
}

.nav .logo__shaft {
  animation: arrow-draw 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s backwards;
}

.nav .logo__head {
  animation: arrow-draw 0.35s cubic-bezier(0.65, 0, 0.35, 1) 1.05s backwards;
}

@keyframes arrow-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Returning between pages: the header stays put instead of replaying its entrance */
.is-return .nav__link,
.is-return .nav__burger,
.is-return .nav > .btn--nav,
.is-return .nav .logo__word,
.is-return .nav .logo__arrow path {
  animation: none !important;
}

/* Burger */

.nav__burger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: end;
  transition: transform 0.22s var(--ease);
  animation: link-in 0.5s var(--ease) 0.16s backwards;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  transition: width 0.22s var(--ease), background-color 0.22s var(--ease);
}

.nav__burger:hover {
  transform: scale(1.08);
}

.nav__burger:hover span {
  background: var(--green-dark);
}

.nav__burger:hover span:first-child,
.nav__burger:hover span:last-child {
  width: 14px;
}

/* Mobile menu */

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0 0.5rem;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-self: stretch;
  padding: 16px 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.mobile-menu__links a {
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.22s var(--ease);
}

.mobile-menu__links a[aria-current="page"],
.mobile-menu__links a:hover {
  color: var(--green-ink);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 58px;
  border-radius: var(--radius);
  padding: var(--btn-pad-y) 10px var(--btn-pad-y) var(--btn-pad-x);
  gap: 18px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn__label,
.btn__icon {
  position: relative;
  z-index: 1;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--btn-icon);
  height: var(--btn-icon);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.btn__icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--nav,
.btn--light {
  background: var(--green);
  color: var(--navy);
}

.btn--nav {
  justify-self: end;
}

.nav > .btn--nav {
  animation: wipe-right 0.65s var(--ease) 0.16s backwards;
}

.btn--nav::before,
.btn--light::before {
  background: var(--green-dark);
}

.btn--nav .btn__icon,
.btn--light .btn__icon {
  background: var(--navy);
  color: var(--green);
}

.btn--nav:hover .btn__icon,
.btn--light:hover .btn__icon {
  background: #ffffff;
  color: var(--navy);
}


.btn--ghost {
  padding: 12px 26px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.btn--ghost::before {
  background: rgba(255, 255, 255, 0.78);
  z-index: 0;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

/* ---------- Hero ---------- */

.hero {
  margin-top: clamp(52px, 10.15vh, 92px);
  max-width: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: clamp(34px, 3.6vw, 42px);
  padding: 0 18px 0 14px;
  background: var(--glass-light);
  border: 1px solid rgba(34, 197, 94, 0.45);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  color: var(--muted);
  font-size: clamp(13px, 1.35vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.badge__mark {
  width: 14px;
  height: 14px;
  flex: none;
  background: #ffffff;
  border: 2px solid var(--green);
}

.badge--amber .badge__mark {
  border-color: var(--amber);
}

.headline {
  margin-top: clamp(22px, 2.8vw, 36px);
  font-size: calc(clamp(2.9rem, 5.9vw, 5rem) + 3px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.038em;
  color: var(--navy);
}

.headline__mask {
  display: block;
  overflow: hidden;
}

.headline__rise {
  display: block;
  animation: type-rise 0.85s var(--ease) backwards;
  animation-delay: var(--d, 0s);
}

.headline__line {
  white-space: nowrap;
}

.headline__muted {
  color: var(--headline-muted);
  font-weight: 600;
}

.headline__accent {
  position: relative;
  display: inline-block;
  color: var(--headline-muted);
}

.headline__accent::before,
.headline__accent::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: 0% 100%;
  mask-size: 0% 100%;
  pointer-events: none;
}

.headline__accent::before {
  color: var(--green-pale);
  animation: accent-fill 1.05s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.headline__accent::after {
  color: var(--green);
  animation: accent-fill 1.05s cubic-bezier(0.4, 0, 0.2, 1) 1.08s forwards;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 42px);
}

.wipe {
  animation: wipe-left 0.7s var(--ease) backwards;
  animation-delay: var(--d, 0s);
}

/* ---------- Lede ---------- */

.lede {
  margin-top: auto;
  max-width: 700px;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.lede__rise {
  display: block;
  animation: type-rise 0.9s var(--ease) backwards;
  animation-delay: var(--d, 0s);
}

/* ---------- Keyframes ---------- */

@keyframes link-in {
  from {
    opacity: 0;
    transform: translate3d(-16px, 0, 0);
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: translate3d(-12px, 8px, 0);
  }
}

@keyframes wipe-left {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes wipe-right {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes type-rise {
  from { transform: translate3d(0, 118%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes accent-fill {
  from {
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
  }
  to {
    -webkit-mask-size: calc(100% + 72px) 100%;
    mask-size: calc(100% + 72px) 100%;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .headline__line {
    white-space: normal;
  }

  .page {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .nav__links,
  .nav > .btn--nav {
    display: none;
  }

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

  .logo {
    justify-self: start;
  }

  .nav__burger {
    display: flex;
    grid-column: 3;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    margin-top: 48px;
  }

  .headline {
    font-size: calc(clamp(2.75rem, 10vw, 3.85rem) + 3px);
  }

  .actions {
    flex-wrap: wrap;
  }

  .lede {
    width: 100%;
    max-width: 700px;
    margin-top: 64px;
  }
}

@media (max-height: 700px) and (min-width: 821px) {
  .hero {
    margin-top: 36px;
  }

  .headline {
    font-size: calc(clamp(2.75rem, 7.2vh, 4.15rem) + 3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__link,
  .nav .logo__word,
  .logo__arrow path,
  .nav__burger,
  .nav > .btn--nav,
  .wipe,
  .headline__rise,
  .lede__rise,
  .headline__accent::before,
  .headline__accent::after {
    animation: none !important;
  }

  .nav__link,
  .nav__burger,
  .headline__rise,
  .lede__rise {
    opacity: 1;
    transform: none;
  }

  .wipe,
  .nav .logo__word,
  .nav > .btn--nav {
    clip-path: none;
  }

  .headline__accent {
    color: var(--green);
  }

  .headline__accent::before,
  .headline__accent::after {
    content: none;
  }
}

/* =========================================================
   Inner pages
   ========================================================= */

.page--inner {
  height: auto;
  min-height: clamp(620px, 92vh, 900px);
}

.headline--inner {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.btn--outline {
  padding: 12px 26px;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.btn--outline::before {
  background: rgba(255, 255, 255, 0.14);
}

.content {
  position: relative;
  background: var(--bg);
  color: var(--navy);
}

.section {
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}

.section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section--tint {
  background: var(--tint);
}

.section__head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.h2 {
  margin-top: 18px;
  max-width: 22ch;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.h2__muted {
  color: var(--headline-muted);
}

.section__intro {
  margin-top: 22px;
  max-width: 680px;
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
}

/* Tick lists */

.ticks {
  list-style: none;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
  color: var(--slate);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--green);
  background: #ffffff;
}

/* Services */

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.jump a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.jump a:hover {
  color: var(--green-ink);
  border-color: var(--green);
  background: var(--green-tint);
}

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

.service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 3px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease);
}

.service:hover::before {
  transform: scaleX(1);
}

.service__head {
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.service__num,
.cell__num,
.tier__num,
.step__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-ink);
  font-variant-numeric: tabular-nums;
}

.service__title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}

.service:hover .service__title {
  color: var(--green-ink);
}

.service__body > p {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  margin-bottom: 22px;
}

/* Process steps */

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

.step {
  position: relative;
  padding: 32px 24px 8px 0;
}

.step + .step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  height: 3px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease) 0.2s;
}

.step.is-in::before {
  transform: scaleX(1);
}

.step__title {
  margin: 14px 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.step p,
.cell p,
.tier p,
.faq__item p,
.prose p {
  line-height: 1.6;
  color: var(--slate);
}

/* Grids */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.cell {
  background: var(--surface);
  padding: 28px 26px 32px;
  transition: background-color 0.3s var(--ease);
}

.cell:hover {
  background: var(--green-tint);
}

.cell .cell__num {
  display: block;
  margin-bottom: 18px;
}

.cell p {
  color: var(--navy);
  font-weight: 500;
}

.cell__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cell__title + p {
  font-weight: 400;
  color: var(--slate);
}

/* Split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.split__lead {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.prose {
  display: grid;
  gap: 18px;
  font-size: 17px;
}

/* Pricing */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 30px 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.tier:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 18px 40px -24px rgba(11, 31, 58, 0.35);
}

.tier__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tier__tag {
  align-self: flex-start;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green-ink);
  background: var(--green-tint);
}

.tier .ticks {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* FAQ */

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

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.22s var(--ease);
}

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

.faq__item summary:hover {
  color: var(--green-ink);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__item p {
  max-width: 760px;
  padding-bottom: 26px;
}

/* CTA */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) var(--pad-x);
  background: var(--navy);
  color: #ffffff;
}

.cta__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cta__title {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.038em;
}

.cta__title .accent {
  color: var(--green);
}

.cta__text {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 20px;
  max-width: 600px;
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.55;
}

.cta .actions {
  flex-wrap: wrap;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.form {
  display: grid;
  gap: 22px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
  border: none;
  min-width: 0;
}

.field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 0;
}

.field__label em {
  font-style: normal;
  color: var(--green-ink);
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c4302b;
  box-shadow: inset 0 0 0 1px #c4302b;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.chip span:hover {
  border-color: var(--green);
  color: var(--green-ink);
}

.chip input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.form .btn {
  justify-self: start;
}

.form__error {
  color: #c4302b;
  font-weight: 500;
}

.form__success {
  padding: 20px 22px;
  background: var(--green-tint);
  border-left: 3px solid var(--green);
  line-height: 1.55;
}

.next {
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}

.next__title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.next__list {
  list-style: none;
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}

.next__list li {
  display: flex;
  gap: 16px;
}

.next__list span {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-ink);
  padding-top: 2px;
}

.next__list p {
  margin-top: 4px;
  color: var(--slate);
  line-height: 1.5;
}

.text-link {
  font-weight: 500;
  color: var(--navy);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

/* Footer */

.footer {
  background: #071528;
  color: #ffffff;
  padding: clamp(56px, 6vw, 80px) var(--pad-x) 32px;
}

.footer__inner,
.footer__base {
  max-width: 1280px;
  margin: 0 auto;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.logo--footer {
  color: #ffffff;
}


.footer__brand p {
  margin-top: 20px;
  max-width: 380px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 48px;
  align-content: start;
}

.footer__links a,
.footer__top {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.22s var(--ease);
}

.footer__links a:hover,
.footer__top:hover {
  color: var(--green);
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* Scroll reveal (only when JS is running) */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Inner responsive */

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

  .step,
  .step + .step {
    padding: 28px 0;
    border-left: none;
    border-bottom: 1px solid var(--line);
  }

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

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

@media (max-width: 820px) {
  .page--inner {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .service,
  .split,
  .contact,
  .form__row,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

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

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
  }
}

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

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

  .step::before {
    transform: scaleX(1);
    transition: none;
  }
}

/* =========================================================
   Shared additions: tags, tables, footer, contact
   ========================================================= */

.badge__mark--amber {
  border-color: var(--amber) !important;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  background: var(--tint);
  white-space: nowrap;
}

.tag--amber {
  color: #7A4A00;
  background: #FEF3C7;
}

.section--tight {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section__more {
  margin-top: 28px;
}

.split__sub {
  font-weight: 600;
  margin-bottom: 14px;
}

.btn--ghost-dark {
  color: var(--navy);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.btn--ghost-dark:hover {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.btn--ghost-dark::before {
  background: var(--tint);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: var(--surface);
}

.data-table,
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.data-table th,
.data-table td,
.price-table th,
.price-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table thead th,
.price-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--bg);
  white-space: nowrap;
}

.data-table tbody th,
.price-table tbody th {
  font-weight: 600;
  color: var(--navy);
}

.data-table td,
.price-table td {
  color: var(--slate);
}

.data-table tbody tr:last-child > *,
.price-table tbody tr:last-child > * {
  border-bottom: none;
}

.data-table tbody tr {
  transition: background-color 0.2s var(--ease);
}

.data-table tbody tr:hover {
  background: #FAFBFC;
}

.data-table--wide {
  min-width: 1080px;
  font-size: 14px;
}

.data-table--kv th {
  width: 40%;
  font-weight: 500;
  color: var(--slate);
}

.data-table--kv td {
  color: var(--navy);
  font-weight: 500;
}

.price-table__group th {
  padding-top: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-ink);
  background: var(--surface);
}

.price-table__price {
  font-weight: 700;
  color: var(--navy) !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-top: 20px;
  max-width: 820px;
  color: var(--slate);
  line-height: 1.6;
}

.contact-list,
.footer__list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-list li,
.footer__list li {
  display: grid;
  gap: 2px;
}

.contact-list span,
.footer__list span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-list a {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--green);
  justify-self: start;
}

.contact-list p {
  color: var(--navy);
  line-height: 1.5;
}

.contact__aside {
  display: grid;
  gap: 20px;
}

.form__privacy {
  font-size: 14px;
  color: var(--slate);
}

.form__fail {
  padding: 20px 22px;
  background: #FEF2F2;
  border-left: 3px solid #c4302b;
  line-height: 1.55;
}

.form__fail a {
  font-weight: 600;
  text-decoration: underline;
}

.form .btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

/* Footer (three columns) */

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 48px;
}

.footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

.footer__list span {
  color: rgba(255, 255, 255, 0.45);
}

.footer__list a,
.footer__list p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  transition: color 0.22s var(--ease);
}

.footer__list a:hover {
  color: var(--green);
}

.footer__links {
  display: block;
}

.footer__links > div {
  display: grid;
  gap: 12px;
}

.logo--footer .logo__art {
  --logo-h: 30px;
}

/* =========================================================
   Home
   ========================================================= */

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.intro__grid .h2 {
  max-width: 20ch;
}

.intro__body {
  display: grid;
  gap: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 10px;
  background: var(--line);
  border: 1px solid var(--line);
}

.facts div {
  padding: 16px 18px;
  background: var(--surface);
}

.facts dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.facts dd {
  margin-top: 4px;
  font-weight: 600;
  color: var(--navy);
}

.facts a {
  border-bottom: 2px solid var(--green);
}

.svc-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.svc-link {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.svc-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease);
}

.svc-link:hover::before {
  transform: scaleX(1);
}

.svc-link__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-ink);
}

.svc-link__title {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.svc-link__desc {
  color: var(--slate);
  line-height: 1.55;
}

.svc-link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--green);
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.svc-link__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-link:hover .svc-link__arrow {
  transform: translateX(4px);
  background: var(--green);
  color: var(--navy);
}

.founder-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.founder-strip__quote {
  margin-top: 16px;
  max-width: 34ch;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.founder-strip__name {
  margin-top: 18px;
  color: var(--slate);
}

.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(96px, 12vw, 148px);
  aspect-ratio: 1;
  background: var(--navy);
  color: var(--green);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 10px 10px 0 var(--green);
}

.monogram--lg {
  width: 100%;
  max-width: 220px;
  font-size: 5rem;
}

/* Work cards */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy);
  box-shadow: 0 24px 48px -28px rgba(11, 31, 58, 0.45);
}

.work-card__visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 26px 26px 28px;
}

.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.work-card__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-ink);
  margin-right: 4px;
}

.work-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.work-card__body p {
  color: var(--slate);
  line-height: 1.55;
}

.work-card__link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
}

.work-card__link span {
  display: inline-block;
  color: var(--green-dark);
  transition: transform 0.3s var(--ease);
}

.work-card:hover .work-card__link span {
  transform: translateX(5px);
}

/* Mini visuals inside work cards (pure CSS) */

.wv {
  position: absolute;
  inset: 0;
}

.wv--site {
  inset: 28px 28px -10px;
  background: #F6F1E8;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease);
}

.work-card:hover .wv--site {
  transform: translateY(-8px);
}

.wv__bar {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  background: #E6DED0;
}

.wv__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C4B8A4;
}

.wv__bar b {
  margin-left: 10px;
  width: 40%;
  height: 8px;
  background: #F6F1E8;
}

.wv__site {
  padding: 16px;
}

.wv__hero {
  display: grid;
  gap: 7px;
  padding: 16px;
  background: #2E3A30;
}

.wv__hero b {
  height: 9px;
  width: 70%;
  background: #F6F1E8;
}

.wv__hero b + b {
  width: 50%;
  opacity: 0.6;
}

.wv__hero span {
  margin-top: 6px;
  width: 64px;
  height: 16px;
  background: #C98A4B;
}

.wv__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.wv__cards i {
  height: 46px;
  background: #fff;
  border: 1px solid #E6DED0;
}

.wv--flow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px 50px;
}

.wv__node {
  flex: none;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: var(--navy);
}

.wv__node.is-done {
  border-color: var(--green);
  background: var(--green);
}

.wv__node.is-run {
  border-color: var(--green);
  animation: wv-pulse 1.6s ease-in-out infinite;
}

.wv__wire {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.wv__wire::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: translateX(-100%);
  animation: wv-wire 2.4s var(--ease) infinite;
}

.wv__log {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: grid;
  gap: 6px;
}

.wv__log i {
  height: 6px;
  background: rgba(255, 255, 255, 0.16);
}

.wv__log i:nth-child(1) { width: 80%; }
.wv__log i:nth-child(2) { width: 62%; }
.wv__log i:nth-child(3) { width: 40%; background: rgba(34, 197, 94, 0.6); }

.wv--report {
  display: flex;
  justify-content: center;
  padding-top: 26px;
}

.wv__page {
  width: 62%;
  height: 120%;
  padding: 18px;
  background: #fff;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease);
}

.work-card:hover .wv__page {
  transform: rotate(0deg) translateY(-6px);
}

.wv__page b {
  display: block;
  height: 10px;
  width: 60%;
  background: var(--navy);
}

.wv__page i {
  display: block;
  height: 5px;
  margin-top: 8px;
  background: var(--line);
}

.wv__matrix {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 14px;
  height: 92px;
}

.wv__matrix span {
  background: var(--tint);
}

.wv__matrix span:first-child {
  background: var(--green-tint);
}

.wv__matrix em {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.wv__matrix em:nth-of-type(1) { top: 18%; left: 16%; }
.wv__matrix em:nth-of-type(2) { top: 30%; left: 34%; background: var(--navy); }
.wv__matrix em:nth-of-type(3) { top: 66%; left: 70%; background: var(--amber); }

@keyframes wv-pulse {
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25); }
}

@keyframes wv-wire {
  60%, 100% { transform: translateX(100%); }
}

/* =========================================================
   Project pages
   ========================================================= */

.disclosure {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--pad-x);
}

.disclosure__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.disclosure__tag {
  flex: none;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--green-tint);
}

.disclosure p {
  color: var(--slate);
  line-height: 1.45;
}

.brief {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.brief__item {
  padding: 26px 22px 30px;
  background: var(--surface);
}

.brief__item h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin-bottom: 12px;
}

.brief__item p {
  color: var(--navy);
  line-height: 1.55;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.project-nav__next {
  display: grid;
  gap: 4px;
  text-align: right;
}

.project-nav__next span {
  font-size: 13px;
  color: var(--slate);
}

.project-nav__next strong {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}

.project-nav__next:hover strong {
  color: var(--green-ink);
}

/* Device viewer */

.viewer {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 60px -40px rgba(11, 31, 58, 0.5);
}

.viewer__toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
}

.viewer__dots {
  display: flex;
  gap: 6px;
}

.viewer__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.viewer__url {
  flex: 1;
  min-width: 160px;
  padding: 7px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.viewer__sizes {
  display: flex;
  gap: 2px;
}

.viewer__sizes button {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.viewer__sizes button:hover {
  color: #fff;
}

.viewer__sizes button[aria-pressed="true"] {
  background: var(--green);
  color: var(--navy);
}

.viewer__open {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.viewer__stage {
  display: flex;
  justify-content: center;
  padding: 0;
  background: repeating-linear-gradient(45deg, var(--tint) 0 10px, var(--bg) 10px 20px);
}

.viewer__frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: min(78vh, 820px);
  border: none;
  background: #fff;
  transition: width 0.6s var(--ease);
}

.viewer.is-narrow .viewer__stage {
  padding: 24px 0;
}

.viewer.is-narrow .viewer__frame {
  box-shadow: 0 20px 50px -24px rgba(11, 31, 58, 0.55);
}

/* Manual process list */

.manual {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: m;
}

.manual li {
  display: flex;
  gap: 16px;
  padding: 24px 22px;
  background: var(--surface);
  line-height: 1.5;
}

.manual span {
  font-weight: 600;
  color: var(--slate);
}

.manual li:nth-child(n + 5) span {
  color: #B45309;
}

/* Workflow simulator */

.sim {
  border: 1px solid var(--line);
  background: var(--surface);
}

.sim__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.sim__scenario {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  border: none;
}

.sim__scenario legend {
  float: left;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.sim__scenario label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

.sim__scenario input {
  accent-color: var(--green-dark);
  width: 16px;
  height: 16px;
}

.sim__buttons {
  display: flex;
  gap: 10px;
}

.sim__buttons .btn {
  height: 50px;
}

.sim__buttons .btn__icon svg {
  fill: currentColor;
  stroke: none;
}

.sim__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sim__col {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 24px;
}

.sim__col + .sim__col {
  border-left: 1px solid var(--line);
  background: #FBFCFD;
}

.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  animation: panel-in 0.5s var(--ease);
}

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.panel__head h3 {
  font-size: 15px;
  font-weight: 600;
}

.panel .table-wrap {
  border: none;
}

.panel__foot {
  padding: 10px 16px 14px;
  font-size: 13px;
  color: var(--slate);
}

.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  padding: 16px;
  font-size: 15px;
}

.kv dt {
  color: var(--slate);
}

.kv dd {
  font-weight: 500;
  word-break: break-word;
}

.kv dd.is-invalid {
  color: #c4302b;
  text-decoration: underline wavy #c4302b;
  text-underline-offset: 4px;
}

.flow {
  list-style: none;
  position: relative;
  display: grid;
  gap: 14px;
}

.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), opacity 0.35s var(--ease);
}

.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 100%;
  width: 2px;
  height: 14px;
  background: var(--line);
}

.flow__step:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 32px;
  top: 100%;
  width: 2px;
  height: 14px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

.flow__step.is-done:not(:last-child)::before {
  transform: scaleY(1);
}

.flow__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  transition: all 0.35s var(--ease);
}

.flow__text h4 {
  font-size: 15px;
  font-weight: 600;
}

.flow__text p {
  margin-top: 3px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.45;
}

.flow__status {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  background: var(--tint);
  white-space: nowrap;
}

.flow__step.is-running {
  border-color: var(--green);
}

.flow__step.is-running .flow__dot {
  border-color: var(--green);
  color: var(--navy);
  animation: wv-pulse 1.2s ease-in-out infinite;
}

.flow__step.is-running .flow__status {
  background: var(--green-tint);
  color: var(--green-ink);
}

.flow__step.is-done .flow__dot {
  border-color: var(--green);
  background: var(--green);
  color: var(--navy);
}

.flow__step.is-done .flow__status {
  background: var(--green);
  color: var(--navy);
}

.flow__step.is-error {
  border-color: #c4302b;
  background: #FEF2F2;
}

.flow__step.is-error .flow__dot {
  border-color: #c4302b;
  background: #c4302b;
  color: #fff;
}

.flow__step.is-error .flow__status {
  background: #c4302b;
  color: #fff;
}

.flow__step.is-skipped {
  opacity: 0.5;
}

.log {
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
  padding: 12px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.log li {
  animation: panel-in 0.35s var(--ease);
}

.log__time {
  color: rgba(255, 255, 255, 0.45);
  margin-right: 8px;
}

.log__ok { color: var(--green); }
.log__err { color: #FCA5A5; }
.log__info { color: #93C5FD; }

.log__empty {
  color: rgba(255, 255, 255, 0.55);
}

.notice-card {
  margin: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--green);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.55;
}

.notice-card strong {
  display: block;
  margin-bottom: 4px;
}

.draft {
  margin: 0;
  padding: 16px;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--navy);
}

.panel--summary {
  border-color: var(--green);
}

.panel--summary.is-error {
  border-color: #c4302b;
}

.summary {
  padding: 16px;
  display: grid;
  gap: 12px;
  line-height: 1.55;
}

.summary__big {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
}

/* =========================================================
   Audit report
   ========================================================= */

.section--report {
  padding-top: clamp(40px, 5vw, 72px);
}

.report {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.report__aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 20px;
}

.report__nav {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.report__nav-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.report__nav ol {
  list-style: none;
  display: grid;
  gap: 2px;
}

.report__nav a {
  display: flex;
  gap: 12px;
  padding: 7px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  border-left: 2px solid transparent;
  transition: all 0.2s var(--ease);
}

.report__nav a span {
  width: 14px;
  font-weight: 700;
  color: var(--green-ink);
}

.report__nav a:hover,
.report__nav a.is-active {
  color: var(--navy);
  background: var(--bg);
  border-left-color: var(--green);
}

.report__print {
  width: 100%;
  justify-content: space-between;
}

.report__doc {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 4.5vw, 64px);
  min-width: 0;
}

.report__cover {
  padding-bottom: 36px;
  margin-bottom: 12px;
  border-bottom: 3px solid var(--navy);
}

.report__logo {
  height: 28px;
  width: auto;
}

.report__kicker {
  margin-top: 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-ink);
}

.report__title {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.report__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.report__meta dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.report__meta dd {
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.4;
}

.report__disclaimer {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--bg);
  border-left: 3px solid var(--green);
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.report__section {
  padding: 44px 0 8px;
  scroll-margin-top: 24px;
}

.report__section > p {
  max-width: 760px;
  margin-bottom: 18px;
  line-height: 1.65;
  color: var(--slate);
}

.report__h2 {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 20px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.report__h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  font-size: 15px;
  background: var(--navy);
  color: var(--green);
}

.report__h3 {
  margin: 8px 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
}

.report__note {
  margin-top: 14px;
  font-size: 14px !important;
  color: var(--slate);
  font-style: italic;
}

.report__end {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}

.evidence {
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  background: var(--tint);
  white-space: nowrap;
}

.pill {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill--high { background: var(--navy); color: var(--green); }
.pill--medium { background: var(--tint); color: var(--navy); }
.pill--low { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1px var(--line); }
.pill--later { background: #FEF3C7; color: #7A4A00; }

.sum-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.sum-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
}

.sum-card .pill {
  justify-self: start;
}

.sum-card__area {
  font-weight: 600;
  line-height: 1.3;
}

.sum-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}

.mini-flow {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.mini-flow li {
  position: relative;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--bg);
}

.mini-flow li:not(:last-child)::after {
  content: "\2192";
  margin-left: 12px;
  color: var(--slate);
}

.mini-flow li.is-bottleneck {
  border-color: var(--amber);
  background: #FFFBEB;
}

.mini-flow--better li {
  border-color: var(--green);
  background: #F0FDF4;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--amber);
  margin-right: 4px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.matrix {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto 28px;
  gap: 8px;
}

.matrix__y {
  grid-row: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
  justify-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.matrix__x {
  grid-column: 2;
  justify-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.matrix__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.quad {
  padding: 18px;
  min-height: 170px;
}

.quad h3 {
  font-size: 1rem;
  font-weight: 700;
}

.quad__hint {
  margin: 2px 0 12px;
  font-size: 12px;
  color: var(--slate);
}

.quad ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quad li {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--line);
}

.quad--hl { background: var(--green-tint); }
.quad--hl h3 { color: var(--green-ink); }
.quad--hh { background: #E8EEF6; }
.quad--ll { background: var(--bg); }
.quad--lh { background: #F3F4F6; }
.quad--lh h3 { color: var(--slate); }

.phases {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.phase {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}

.phase__days {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-ink);
}

.phase h3 {
  margin: 6px 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phase .ticks {
  gap: 8px;
  font-size: 14px;
}

.steps-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px 20px;
  line-height: 1.6;
}

/* =========================================================
   Responsive for new components
   ========================================================= */

@media (max-width: 1080px) {
  .work-grid,
  .brief {
    grid-template-columns: 1fr 1fr;
  }

  .brief__item:last-child {
    grid-column: 1 / -1;
  }

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

  .sim__grid,
  .report {
    grid-template-columns: 1fr;
  }

  .sim__col + .sim__col {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .report__aside {
    position: static;
  }

  .report__nav ol {
    grid-template-columns: 1fr 1fr;
  }

  .sum-cards,
  .phases {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .intro__grid,
  .two-col,
  .report__meta {
    grid-template-columns: 1fr;
  }

  .svc-link {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px 16px;
  }

  .svc-link__desc {
    grid-column: 2;
    grid-row: 2;
  }

  .svc-link__arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .founder-strip,
  .founder {
    grid-template-columns: 1fr;
  }

  .viewer__url {
    display: none;
  }

  .viewer__frame {
    height: 70vh;
  }
}

@media (max-width: 640px) {
  .work-grid,
  .brief,
  .manual,
  .sum-cards,
  .phases,
  .facts,
  .report__nav ol,
  .footer__inner {
    grid-template-columns: 1fr;
  }

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

  .sim__controls,
  .sim__col {
    padding: 16px;
  }

  .sim__buttons {
    width: 100%;
  }

  .sim__buttons .btn {
    flex: 1;
    justify-content: space-between;
  }

  .flow__step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .flow__status {
    grid-column: 2;
    justify-self: start;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .price-table tr.price-table__group {
    display: block;
    padding: 18px 16px 4px;
  }

  .price-table th,
  .price-table td {
    padding: 0;
    border: none;
  }

  .price-table__group th {
    padding: 0;
  }

  .price-table td:last-child {
    grid-column: 1 / -1;
    margin-top: 4px;
    font-size: 14px;
  }

  .viewer__sizes {
    order: 3;
    width: 100%;
  }

  .viewer__sizes button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wv__node.is-run,
  .wv__wire::after,
  .flow__step.is-running .flow__dot,
  .panel,
  .log li {
    animation: none !important;
  }

  .bg-video {
    display: none;
  }
}

/* About: founder */

.founder {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.founder__card {
  display: grid;
  gap: 6px;
}

.founder__name {
  margin-top: 26px;
  font-size: 1.3rem;
  font-weight: 600;
}

.founder__role {
  color: var(--slate);
}

.founder__social {
  justify-self: start;
  margin-top: 8px;
  font-weight: 600;
  border-bottom: 2px solid var(--green);
}

.prose--lg {
  font-size: clamp(17px, 1.5vw, 19px);
  gap: 22px;
}

.prose--lg p:first-child {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy);
}

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

  .monogram--lg {
    max-width: 140px;
    font-size: 3.4rem;
  }
}

/* =========================================================
   Services (approved copy) and dedicated service pages
   ========================================================= */

.service--full .service__head {
  align-items: flex-start;
}

.service--full .service__head .tier__tag {
  display: inline-block;
  margin-top: 12px;
}

.svc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 8px 0 24px;
}

.svc__block h4,
.svc__time h4,
.tier__sub {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-ink);
}

.svc__block .ticks {
  font-size: 15px;
}

.svc__approach {
  margin-bottom: 20px;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--slate);
}

.svc__approach strong {
  color: var(--navy);
}

.svc__time {
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--bg);
  border-left: 3px solid var(--green);
}

.svc__time ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
}

.svc__excl {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
}

.svc__excl strong {
  color: var(--navy);
}

.svc__excl--lg {
  margin-top: 16px;
  font-size: 16px;
}

.svc__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 22px;
}

.text-link--muted {
  color: var(--slate);
  border-bottom-color: var(--line);
}

.delivery-note {
  margin-top: 32px;
  max-width: 880px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--tint);
}

.tier--monthly {
  gap: 12px;
}

.tier--monthly .tier__sub {
  margin: 10px 0 0;
}

.tier--monthly .ticks {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 15px;
}

.tier--monthly .text-link {
  align-self: flex-start;
  margin-top: auto;
}

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

.split .label + .ticks {
  margin-top: 18px;
}

.demo-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 4px 20px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px;
  background: var(--navy);
  color: #fff;
  transition: transform 0.4s var(--ease);
}

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

.demo-link .tag {
  grid-row: 1 / span 2;
  background: var(--green);
  color: var(--navy);
}

.demo-link strong {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.demo-link span:not(.tag):not(.demo-link__arrow) {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.72);
}

.demo-link__arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--navy);
}

.demo-link__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 820px) {
  .svc__grid,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .demo-link {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .demo-link .tag {
    grid-row: auto;
    justify-self: start;
  }

  .demo-link span:not(.tag):not(.demo-link__arrow),
  .demo-link strong {
    grid-column: 1;
  }

  .demo-link__arrow {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

@media (max-width: 640px) {
  .price-table--4 tr {
    grid-template-columns: 1fr auto;
  }

  .price-table--4 td:nth-child(2) {
    grid-column: 1 / -1;
    order: 3;
    font-size: 14px;
  }
}

/* =========================================================
   Homepage enquiry-flow strip
   ========================================================= */

.flowstrip {
  --pad: clamp(24px, 3vw, 40px);
  --cycle: 7s;
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  padding: var(--pad);
  background: var(--surface);
  border: 1px solid var(--line);
}

.flowstrip__rail {
  position: absolute;
  top: calc(var(--pad) + 27px);
  left: calc(var(--pad) + (100% - 2 * var(--pad) - 48px) / 8);
  right: calc(var(--pad) + (100% - 2 * var(--pad) - 48px) / 8);
  height: 2px;
  background: var(--line);
}

.flowstrip__fill {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(1);
  transform-origin: left center;
  animation: fs-fill var(--cycle) linear infinite;
}

.flowstrip__packet {
  position: absolute;
  top: -6px;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.22);
  transform: translateX(-50%);
  opacity: 0;
  animation: fs-packet var(--cycle) cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.flowstrip__steps {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flowstrip__step {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  text-align: center;
}

.flowstrip__step strong {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.flowstrip__step > span:last-child {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.45;
}

.flowstrip__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--green);
  border: 2px solid var(--green);
  color: var(--navy);
}

.flowstrip__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flowstrip__icon .flowstrip__tick {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 20px;
  height: 20px;
  padding: 2px;
  background: var(--navy);
  stroke: var(--green);
  stroke-width: 3;
}

.flowstrip figcaption {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}

.flowstrip figcaption .text-link {
  margin-left: 6px;
  white-space: nowrap;
}

/* Animation runs only while the strip is on screen, and never with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .flowstrip__step:nth-child(1) .flowstrip__icon { animation: fs-lit-1 var(--cycle) infinite; }
  .flowstrip__step:nth-child(2) .flowstrip__icon { animation: fs-lit-2 var(--cycle) infinite; }
  .flowstrip__step:nth-child(3) .flowstrip__icon { animation: fs-lit-3 var(--cycle) infinite; }
  .flowstrip__step:nth-child(4) .flowstrip__icon { animation: fs-lit-4 var(--cycle) infinite; }
  .flowstrip__step:nth-child(1) .flowstrip__tick { animation: fs-tick-1 var(--cycle) infinite; }
  .flowstrip__step:nth-child(2) .flowstrip__tick { animation: fs-tick-2 var(--cycle) infinite; }
  .flowstrip__step:nth-child(3) .flowstrip__tick { animation: fs-tick-3 var(--cycle) infinite; }
  .flowstrip__step:nth-child(4) .flowstrip__tick { animation: fs-tick-4 var(--cycle) infinite; }

  .flowstrip:not(.is-live) .flowstrip__icon,
  .flowstrip:not(.is-live) .flowstrip__tick,
  .flowstrip:not(.is-live) .flowstrip__fill,
  .flowstrip:not(.is-live) .flowstrip__packet {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flowstrip__fill,
  .flowstrip__packet {
    animation: none;
  }
}

@keyframes fs-packet {
  0% { left: 0%; opacity: 0; }
  6%, 12% { left: 0%; opacity: 1; }
  32% { left: 33.333%; }
  52% { left: 66.667%; }
  72% { left: 100%; opacity: 1; }
  84%, 100% { left: 100%; opacity: 0; }
}

@keyframes fs-fill {
  0%, 12% { transform: scaleX(0); opacity: 1; }
  32% { transform: scaleX(0.3333); }
  52% { transform: scaleX(0.6667); }
  72%, 90% { transform: scaleX(1); opacity: 1; }
  97%, 100% { transform: scaleX(1); opacity: 0; }
}

@keyframes fs-lit-1 {
  0%, 7%, 95%, 100% { background: var(--surface); border-color: var(--line); color: var(--slate); }
  10%, 91% { background: var(--green); border-color: var(--green); color: var(--navy); }
}
@keyframes fs-lit-2 {
  0%, 31%, 95%, 100% { background: var(--surface); border-color: var(--line); color: var(--slate); }
  34%, 91% { background: var(--green); border-color: var(--green); color: var(--navy); }
}
@keyframes fs-lit-3 {
  0%, 51%, 95%, 100% { background: var(--surface); border-color: var(--line); color: var(--slate); }
  54%, 91% { background: var(--green); border-color: var(--green); color: var(--navy); }
}
@keyframes fs-lit-4 {
  0%, 71%, 95%, 100% { background: var(--surface); border-color: var(--line); color: var(--slate); }
  74%, 91% { background: var(--green); border-color: var(--green); color: var(--navy); }
}
@keyframes fs-tick-1 {
  0%, 9%, 94%, 100% { transform: scale(0); }
  13%, 90% { transform: scale(1); }
}
@keyframes fs-tick-2 {
  0%, 33%, 94%, 100% { transform: scale(0); }
  37%, 90% { transform: scale(1); }
}
@keyframes fs-tick-3 {
  0%, 53%, 94%, 100% { transform: scale(0); }
  57%, 90% { transform: scale(1); }
}
@keyframes fs-tick-4 {
  0%, 73%, 94%, 100% { transform: scale(0); }
  77%, 90% { transform: scale(1); }
}

@media (max-width: 640px) {
  .flowstrip__rail {
    display: none;
  }

  .flowstrip__steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flowstrip__step {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: start;
    column-gap: 16px;
    row-gap: 2px;
    text-align: left;
  }

  .flowstrip__icon {
    grid-row: 1 / span 2;
  }

  .flowstrip__step strong {
    margin-top: 6px;
  }
}

/* =========================================================
   Page transitions (cross-document View Transitions)
   Supported browsers cross-fade between pages while the header and
   background stay in place; others simply load the page as normal.
   ========================================================= */

@view-transition {
  navigation: auto;
}

.nav {
  view-transition-name: site-nav;
}

.bg {
  view-transition-name: site-bg;
}

::view-transition-old(root) {
  animation: vt-out 0.22s ease-in both;
}

::view-transition-new(root) {
  animation: vt-in 0.5s var(--ease) both;
}

::view-transition-group(site-nav),
::view-transition-group(site-bg) {
  animation-duration: 0.4s;
}

@keyframes vt-out {
  to {
    opacity: 0;
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* =========================================================
   Tools we work with
   ========================================================= */

.section__head--tight {
  margin-bottom: 20px;
}

.tools {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tool {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 18px 22px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.tool svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.4s var(--ease);
}

.tool span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tool:hover {
  color: var(--navy);
  background: var(--bg);
}

.tool:hover svg {
  transform: scale(1.12);
}

.tools__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--slate);
}

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

  .tool {
    min-height: 64px;
    padding: 14px 16px;
  }

  .tool span {
    font-size: 14px;
  }
}

.tool__mono {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: var(--slate);
  opacity: 0.75;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), background-color 0.3s var(--ease);
}

.tool:hover .tool__mono {
  opacity: 1;
  background: var(--navy);
  transform: scale(1.12);
}
