:root {
  --ink: #171615;
  --ink-soft: #3f3c38;
  --paper: #f0eee7;
  --paper-bright: #faf9f5;
  --paper-deep: #dfdcd2;
  --white: #fffef9;
  --night: #0d0c0d;
  --night-soft: #1a181a;
  --muted: #8c8881;
  --line: rgba(23, 22, 21, 0.18);
  --line-light: rgba(255, 254, 249, 0.22);
  --signal: #5d57ff;
  --signal-warm: #ff633b;
  --sans: var(--font-geist-sans), Arial, sans-serif;
  --mono: var(--font-geist-mono), Consolas, monospace;
  --display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--signal);
  color: var(--white);
}

.shell {
  margin-inline: auto;
  max-width: 1540px;
  padding-inline: clamp(24px, 5vw, 84px);
  width: 100%;
}

.site-header {
  color: var(--white);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  align-items: center;
  border-bottom: 1px solid rgba(255, 254, 249, 0.2);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 106px;
}

.wordmark {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  line-height: 0.84;
  position: relative;
  width: fit-content;
}

.wordmark-type {
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.075em;
}

.wordmark-type-alt {
  font-style: italic;
  margin-left: 3px;
}

.wordmark small {
  color: rgba(255, 254, 249, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  grid-column: 1 / -1;
  letter-spacing: 0.18em;
  line-height: 1;
  margin-top: 9px;
  text-transform: uppercase;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(22px, 3vw, 48px);
}

.desktop-nav a {
  color: rgba(255, 254, 249, 0.74);
  font-size: 12px;
  letter-spacing: 0.02em;
  position: relative;
}

.desktop-nav a::after {
  background: var(--white);
  bottom: -10px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  width: 100%;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid rgba(255, 254, 249, 0.5);
  border-radius: 999px;
  font-size: 11px;
  justify-self: end;
  letter-spacing: 0.04em;
  padding: 13px 19px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta span {
  margin-left: 16px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.mobile-nav {
  display: none;
  justify-self: end;
  position: relative;
}

.mobile-nav summary {
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}

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

.mobile-nav nav {
  background: var(--paper-bright);
  color: var(--ink);
  display: grid;
  min-width: 240px;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 40px;
}

.mobile-nav nav a {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

.eyebrow {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 560;
  gap: 10px;
  letter-spacing: 0.16em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.eyebrow > span {
  background: var(--signal-warm);
  border-radius: 50%;
  display: block;
  height: 5px;
  width: 5px;
}

.eyebrow-light {
  color: rgba(255, 254, 249, 0.72);
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 590;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 54px;
  padding: 0 25px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.text-link {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 12px;
  gap: 18px;
  padding-bottom: 7px;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, -3px);
}

.text-link-light {
  color: var(--white);
}

/* Home hero */

.home-hero {
  background: var(--night);
  color: var(--white);
  min-height: min(980px, 100svh);
  overflow: hidden;
  position: relative;
}

.hero-visual,
.hero-wash {
  inset: 0;
  position: absolute;
}

.hero-visual {
  animation: hero-arrive 1.2s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  background-image: url("/business-systems-hero.jpg");
  background-position: 63% center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(8, 7, 8, 0.92) 0%, rgba(8, 7, 8, 0.72) 38%, rgba(8, 7, 8, 0.18) 70%, rgba(8, 7, 8, 0.34) 100%),
    linear-gradient(0deg, rgba(8, 7, 8, 0.82) 0%, transparent 38%);
}

.hero-layout {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: min(980px, 100svh);
  padding-bottom: 34px;
  padding-top: clamp(165px, 19vh, 225px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: center;
  max-width: 840px;
  padding-bottom: 90px;
  position: relative;
  z-index: 3;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(56px, 6.25vw, 102px);
  font-weight: 400;
  letter-spacing: -0.062em;
  line-height: 0.91;
  margin: 0;
  text-wrap: balance;
}

.hero-copy h1 em {
  display: block;
  font-weight: 400;
  margin-left: clamp(18px, 6vw, 94px);
}

.hero-lede {
  color: rgba(255, 254, 249, 0.74);
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.56;
  margin: 34px 0 0;
  max-width: 650px;
}

.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 36px;
}

.hero-portal {
  position: absolute;
  right: clamp(24px, 3vw, 62px);
  top: 29%;
  transform: perspective(1500px) rotateY(-10deg) rotateX(1deg) rotateZ(0.3deg);
  transform-origin: right center;
  width: min(45vw, 680px);
  z-index: 2;
}

.hero-portal::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  inset: -7px;
  pointer-events: none;
  position: absolute;
}

.hero-portal .portal-window {
  background: rgba(246, 244, 238, 0.96);
  border: 0;
  opacity: 0.94;
}

.hero-foot {
  border-top: 1px solid rgba(255, 254, 249, 0.25);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 4;
}

.hero-foot span {
  border-right: 1px solid rgba(255, 254, 249, 0.18);
  color: rgba(255, 254, 249, 0.68);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 20px 18px 0;
  text-transform: uppercase;
}

.hero-foot span:first-child {
  padding-left: 0;
}

.hero-foot span:last-child {
  border-right: 0;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.02); }
}

/* Editorial home sections */

.statement-section {
  background: var(--paper-bright);
  padding: clamp(100px, 13vw, 200px) 0;
}

.statement-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(150px, 0.7fr) 2.5fr 0.8fr;
}

.statement-layout > p:not(.eyebrow) {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 92px);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0;
}

.statement-layout > p em {
  color: var(--signal);
  font-weight: 400;
}

.statement-note {
  align-self: end;
  border-left: 1px solid var(--line);
  display: grid;
  font-family: var(--mono);
  font-size: 10px;
  gap: 12px;
  letter-spacing: 0.1em;
  padding-left: 22px;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(100px, 11vw, 170px);
}

.section-heading {
  margin-bottom: 70px;
}

.split-heading {
  display: grid;
  gap: clamp(45px, 8vw, 140px);
  grid-template-columns: 1.5fr 0.7fr;
}

.section-heading h2,
.offer-copy h2,
.proof-layout h2,
.portal-story-heading h2,
.faq-intro h2,
.cta-section h2,
.page-hero h1,
.price-layout h2,
.resource-note h2,
.boundary-layout h2,
.hosting-section h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 0;
}

.section-heading h2,
.offer-copy h2,
.proof-layout h2,
.portal-story-heading h2 {
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 0.98;
}

.section-heading > p,
.split-heading > p {
  align-self: end;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}

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

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

.outcome-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 0.35fr 1fr 1.1fr;
  padding: 34px 0 38px;
  transition: padding 220ms ease;
}

.outcome-row:hover {
  padding-left: 16px;
}

.outcome-row > span,
.process-number,
.resource-number,
.application-meta span,
.portal-benefit-list > article > span {
  color: var(--signal-warm);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.outcome-row h3 {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 47px);
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}

.outcome-row p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 3px 0 0;
  max-width: 550px;
}

.portal-story {
  background: var(--night);
  color: var(--white);
  overflow: hidden;
  padding: clamp(110px, 12vw, 180px) 0;
  position: relative;
}

.portal-story::before {
  background: radial-gradient(circle at center, rgba(93, 87, 255, 0.2), transparent 64%);
  content: "";
  height: 900px;
  left: 22%;
  pointer-events: none;
  position: absolute;
  top: 260px;
  width: 900px;
}

.portal-story-heading,
.proof-layout {
  display: grid;
  gap: clamp(50px, 9vw, 150px);
  grid-template-columns: 1.4fr 0.6fr;
  position: relative;
}

.portal-story-heading > div:last-child,
.proof-layout > div:last-child {
  align-self: end;
}

.portal-story-heading p,
.proof-layout p {
  color: rgba(255, 254, 249, 0.65);
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 24px;
}

.portal-showcase {
  margin-block: 86px 72px;
  position: relative;
}

.portal-showcase .portal-window {
  margin-inline: auto;
  max-width: 1200px;
  width: 92%;
}

.portal-window {
  background: var(--paper-bright);
  border: 1px solid rgba(23, 22, 21, 0.18);
  border-radius: 10px;
  color: var(--ink);
  overflow: hidden;
  position: relative;
}

.portal-titlebar {
  align-items: center;
  background: #ebe9e2;
  border-bottom: 1px solid rgba(23, 22, 21, 0.12);
  display: grid;
  font-size: 11px;
  grid-template-columns: auto 1fr auto;
  min-height: 58px;
  padding: 0 20px;
}

.portal-logo,
.portal-user {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  font-family: var(--display);
  height: 30px;
  justify-content: center;
  margin-right: 12px;
  width: 30px;
}

.portal-user {
  background: var(--signal);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  margin: 0;
  min-width: 40px;
  padding-inline: 7px;
  width: auto;
}

.portal-body {
  display: grid;
  grid-template-columns: 185px 1fr;
  min-height: 500px;
}

.portal-body aside {
  background: #232123;
  color: rgba(255, 255, 255, 0.54);
  display: grid;
  font-size: 11px;
  gap: 4px;
  padding: 34px 20px;
  align-content: start;
}

.portal-body aside span {
  border-left: 2px solid transparent;
  padding: 11px 12px;
}

.portal-body aside .active {
  border-left-color: var(--signal-warm);
  color: var(--white);
}

.portal-main {
  padding: clamp(28px, 4vw, 62px);
}

.portal-welcome > span,
.status-strip span,
.panel-label {
  color: #777169;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portal-welcome strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.045em;
  margin-top: 12px;
}

.portal-welcome p {
  color: #6c6760;
  font-size: 13px;
  margin: 8px 0 0;
}

.status-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 40px 0 28px;
}

.status-strip > div {
  display: grid;
  gap: 11px;
  padding: 19px 0;
}

.status-strip > div + div {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.status-strip strong,
.portal-panel strong {
  font-size: 13px;
  font-weight: 560;
}

.portal-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.portal-panel {
  background: #efede6;
  min-height: 130px;
  padding: 22px;
}

.portal-panel strong {
  display: block;
  margin-top: 20px;
}

.portal-panel p {
  color: #777169;
  font-size: 10px;
  margin: 7px 0 0;
}

.portal-compact .portal-titlebar {
  min-height: 42px;
  padding-inline: 14px;
}

.portal-compact .portal-logo,
.portal-compact .portal-user {
  height: 22px;
  width: 22px;
}

.portal-compact .portal-body {
  grid-template-columns: 118px 1fr;
  min-height: 335px;
}

.portal-compact .portal-body aside {
  font-size: 10px;
  padding: 21px 12px;
}

.portal-compact .portal-main {
  padding: 27px;
}

.portal-compact .portal-welcome strong {
  font-size: 30px;
}

.portal-compact .status-strip {
  margin: 25px 0 17px;
}

.portal-compact .status-strip > div {
  gap: 6px;
  padding: 12px 0;
}

.portal-compact .portal-panel {
  min-height: 90px;
  padding: 14px;
}

.portal-compact .portal-panel strong {
  margin-top: 10px;
}

.business-flow {
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.flow-line {
  background: linear-gradient(90deg, var(--signal-warm), var(--signal));
  height: 2px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 25%;
}

.flow-step {
  border-right: 1px solid var(--line-light);
  display: grid;
  gap: 7px;
  padding: 25px 22px 0;
}

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

.flow-step span,
.flow-step small {
  color: rgba(255, 254, 249, 0.46);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-step strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

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

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

.application-list article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 50px;
  grid-template-columns: 0.7fr 1.6fr 0.8fr;
  padding: 45px 0 50px;
}

.application-meta {
  display: grid;
  gap: 25px;
}

.application-meta p,
.application-path {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
}

.application-list h3 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.application-path {
  align-self: end;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding-left: 22px;
  text-transform: uppercase;
}

.offer-section {
  background: #d8d4c9;
  padding: clamp(110px, 12vw, 180px) 0;
}

.offer-layout {
  display: grid;
  gap: clamp(60px, 10vw, 170px);
  grid-template-columns: 1fr 0.9fr;
}

.offer-copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
  margin: 30px 0;
  max-width: 580px;
}

.included-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.included-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 28px);
  gap: 20px;
  grid-template-columns: 45px 1fr;
  letter-spacing: -0.025em;
  padding: 21px 0;
}

.included-list li span {
  color: var(--signal-warm);
  font-family: var(--mono);
  font-size: 10px;
}

.proof-section {
  background:
    linear-gradient(90deg, rgba(13, 12, 13, 0.94), rgba(13, 12, 13, 0.68)),
    url("/business-systems-hero.jpg") center 68% / cover;
  color: var(--white);
  padding: clamp(120px, 13vw, 210px) 0;
}

.faq-section {
  display: grid;
  gap: clamp(60px, 11vw, 170px);
  grid-template-columns: 0.65fr 1.35fr;
}

.faq-intro h2,
.cta-section h2 {
  font-size: clamp(45px, 5vw, 72px);
  line-height: 0.98;
}

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

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

.faq-list summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.025em;
  list-style: none;
  padding-right: 55px;
  position: relative;
}

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

.faq-list summary::after {
  color: var(--signal);
  content: "+";
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 300;
  position: absolute;
  right: 8px;
  top: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  color: var(--ink-soft);
  line-height: 1.72;
  margin: 20px 70px 5px 0;
  max-width: 700px;
}

.cta-section {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(60px, 11vw, 180px);
  grid-template-columns: 1.15fr 0.7fr;
  padding-bottom: clamp(110px, 12vw, 180px);
  padding-top: clamp(80px, 9vw, 130px);
}

.cta-section > div:last-child p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 520px;
}

/* Interior pages */

.page-hero {
  background: var(--night);
  color: var(--white);
  max-width: none;
  padding-bottom: clamp(100px, 11vw, 165px);
  padding-left: max(clamp(24px, 5vw, 84px), calc((100vw - 1540px) / 2 + 84px));
  padding-right: max(clamp(24px, 5vw, 84px), calc((100vw - 1540px) / 2 + 84px));
  padding-top: clamp(205px, 18vw, 280px);
  position: relative;
}

.page-hero::after {
  color: rgba(255, 255, 255, 0.04);
  content: "//";
  font-family: var(--display);
  font-size: min(34vw, 520px);
  line-height: 0.7;
  pointer-events: none;
  position: absolute;
  right: 4vw;
  top: 150px;
}

.page-hero h1 {
  font-size: clamp(58px, 7vw, 108px);
  line-height: 0.92;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.page-hero > p,
.page-hero > div > p {
  color: rgba(255, 254, 249, 0.66);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.65;
  margin: 36px 0 0;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.section-soft,
.price-philosophy {
  background: #d8d4c9;
}

.section-ink {
  background: var(--night);
  color: var(--white);
}

.foundation-list,
.process-list,
.portal-benefit-list,
.resource-list {
  border-top: 1px solid var(--line);
}

.foundation-list article,
.process-list article,
.portal-benefit-list article,
.resource-list article {
  border-bottom: 1px solid var(--line);
}

.foundation-list article {
  display: grid;
  gap: 45px;
  grid-template-columns: 90px 1fr;
  padding: 38px 0;
}

.foundation-list article > span,
.form-section-heading > span {
  color: var(--signal-warm);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.foundation-list article > div {
  display: grid;
  gap: 40px;
  grid-template-columns: 0.8fr 1fr;
}

.foundation-list h2,
.process-list h2,
.portal-benefit-list h2,
.resource-list h2 {
  font-family: var(--display);
  font-size: clamp(31px, 3.4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 0;
}

.foundation-list p,
.process-list p,
.portal-benefit-list p,
.resource-list p,
.modular-layout p,
.hosting-section p,
.price-layout p,
.boundary-layout p,
.honesty-layout p,
.resource-note p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.modular-layout,
.hosting-section,
.price-layout,
.boundary-layout,
.honesty-layout,
.resource-note {
  display: grid;
  gap: clamp(55px, 10vw, 160px);
  grid-template-columns: 1fr 0.8fr;
}

.modular-layout h2,
.honesty-layout h2 {
  font-family: var(--display);
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0 0 30px;
}

.modular-layout p,
.honesty-layout p {
  color: rgba(255, 254, 249, 0.65);
}

.modular-layout ul {
  border-top: 1px solid var(--line-light);
  list-style: none;
  margin: 0;
  padding: 0;
}

.modular-layout li {
  border-bottom: 1px solid var(--line-light);
  font-family: var(--display);
  font-size: 23px;
  padding: 17px 0;
}

.hosting-section h2,
.price-layout h2,
.resource-note h2,
.boundary-layout h2 {
  font-size: clamp(45px, 5vw, 72px);
  line-height: 1;
}

.hosting-section > div:last-child,
.price-layout > div:last-child,
.boundary-layout > div:last-child,
.resource-note > div:last-child {
  display: grid;
  gap: 24px;
}

.price-philosophy {
  padding-block: clamp(100px, 11vw, 170px);
}

.process-list {
  padding-block: 0;
}

.process-list article {
  display: grid;
  gap: 45px;
  grid-template-columns: 100px 1fr;
  padding: 50px 0;
}

.process-list article > div {
  display: grid;
  gap: 35px;
  grid-template-columns: 0.75fr 1fr 0.7fr;
}

.process-output {
  border-left: 1px solid var(--line);
  font-size: 12px;
  padding-left: 22px;
}

.portal-page-hero {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr auto;
}

.demo-badge {
  align-self: end;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 12px 17px;
  text-transform: uppercase;
}

.portal-stage {
  background: var(--night);
  max-width: none;
  padding-bottom: clamp(100px, 10vw, 150px);
  padding-left: max(clamp(24px, 5vw, 84px), calc((100vw - 1540px) / 2 + 84px));
  padding-right: max(clamp(24px, 5vw, 84px), calc((100vw - 1540px) / 2 + 84px));
}

.portal-benefit-list article {
  display: grid;
  gap: 34px;
  grid-template-columns: 90px 0.75fr 1fr;
  padding: 34px 0;
}

.resource-list article {
  display: grid;
  gap: 45px;
  grid-template-columns: 80px 1fr 0.9fr;
  padding: 46px 0;
}

.resource-type {
  color: var(--signal) !important;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}

.resource-main,
.resource-use {
  display: grid;
  gap: 18px;
}

.resource-use {
  align-content: start;
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

/* Intake */

.start-hero {
  display: grid;
  gap: 70px;
  grid-template-columns: 1.1fr 0.7fr;
}

.start-hero > p {
  align-self: end;
}

.intake-layout {
  display: grid;
  gap: clamp(55px, 8vw, 130px);
  grid-template-columns: 0.55fr 1.45fr;
  padding-bottom: clamp(110px, 12vw, 180px);
  padding-top: clamp(80px, 9vw, 130px);
}

.intake-layout aside {
  align-self: start;
  position: sticky;
  top: 30px;
}

.aside-title {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}

.intake-layout aside ol {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.intake-layout aside li {
  border-bottom: 1px solid var(--line);
  display: grid;
  font-size: 13px;
  gap: 18px;
  grid-template-columns: 24px 1fr;
  line-height: 1.55;
  padding: 18px 0;
}

.intake-layout aside li span {
  color: var(--signal-warm);
  font-family: var(--mono);
  font-size: 10px;
}

.data-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 26px;
}

.intake-form {
  background: var(--paper-bright);
  padding: clamp(25px, 5vw, 72px);
}

.form-section-heading {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 48px 1fr;
  margin-top: 58px;
  padding-top: 27px;
}

.form-section-heading:first-child {
  margin-top: 0;
}

.form-section-heading h2 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0;
}

.form-section-heading p,
.field-help {
  color: var(--muted);
  font-size: 11px;
  margin: 8px 0 0;
}

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

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

.form-grid label,
.intake-form fieldset > legend {
  color: var(--ink-soft);
  display: grid;
  font-family: var(--mono);
  font-size: 11px;
  gap: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid em,
.consent-row em {
  color: var(--signal-warm);
  font-style: normal;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  outline: 0;
  padding: 12px 0;
  resize: vertical;
  text-transform: none;
  width: 100%;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-bottom-color: var(--signal);
}

.full-field {
  grid-column: 1 / -1;
}

.honeypot {
  display: none !important;
}

.intake-form fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 58px 0 0;
  padding: 28px 0 0;
}

.check-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 22px;
}

.check-option {
  align-items: center;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  gap: 12px;
  padding: 14px 0;
}

.check-option:nth-child(odd) {
  padding-right: 24px;
}

.check-option:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.check-option input,
.consent-row input {
  accent-color: var(--signal);
  height: 15px;
  width: 15px;
}

.consent-row {
  align-items: start;
  display: flex;
  font-size: 11px;
  gap: 12px;
  line-height: 1.55;
  margin-top: 35px;
}

.submit-button {
  margin-top: 32px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-error {
  color: #b12c12;
  font-size: 12px;
  margin-top: 24px;
}

.intake-success {
  background: var(--paper-bright);
  padding: clamp(40px, 7vw, 90px);
}

.success-mark {
  align-items: center;
  background: var(--signal);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  height: 50px;
  justify-content: center;
  margin-bottom: 38px;
  width: 50px;
}

.intake-success h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
}

.intake-success > p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 28px 0;
}

.button-reset {
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  cursor: pointer;
}

/* Footer */

.site-footer {
  background: var(--night);
  color: var(--white);
  padding-top: clamp(80px, 10vw, 150px);
}

.footer-statement {
  border-bottom: 1px solid var(--line-light);
  padding-bottom: clamp(80px, 10vw, 145px);
}

.footer-statement > p {
  color: rgba(255, 254, 249, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin: 0 0 25px;
  text-transform: uppercase;
}

.footer-statement > a {
  align-items: end;
  display: grid;
  font-family: var(--display);
  font-size: clamp(42px, 6.8vw, 102px);
  grid-template-columns: 1fr auto;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.footer-statement > a span {
  color: var(--signal-warm);
  font-family: var(--sans);
  font-size: clamp(30px, 5vw, 72px);
  transition: transform 180ms ease;
}

.footer-statement > a:hover span {
  transform: translate(6px, -6px);
}

.footer-nav {
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 70px;
  padding-top: 70px;
}

.footer-brand > span {
  font-family: var(--display);
  font-size: 27px;
}

.footer-brand small {
  color: rgba(255, 254, 249, 0.4);
  display: block;
  font-size: 10px;
  margin-top: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.footer-links > div {
  display: grid;
  gap: 12px;
}

.footer-links p {
  color: rgba(255, 254, 249, 0.35);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 254, 249, 0.7);
  font-size: 12px;
}

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

.footer-bottom {
  border-top: 1px solid var(--line-light);
  color: rgba(255, 254, 249, 0.35);
  display: flex;
  font-family: var(--mono);
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: 0.1em;
  padding-bottom: 28px;
  padding-top: 22px;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

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

  .hero-portal {
    opacity: 0.78;
    right: -110px;
    width: 600px;
  }

  .application-list article,
  .process-list article > div {
    grid-template-columns: 0.65fr 1fr;
  }

  .application-path,
  .process-output {
    grid-column: 2;
  }
}

@media (max-width: 800px) {
  .shell {
    padding-inline: 22px;
  }

  .nav-wrap {
    min-height: 78px;
  }

  .wordmark-type {
    font-size: 21px;
  }

  .home-hero,
  .hero-layout {
    min-height: 820px;
  }

  .hero-visual {
    background-position: 60% center;
  }

  .hero-wash {
    background: linear-gradient(90deg, rgba(8, 7, 8, 0.92), rgba(8, 7, 8, 0.52));
  }

  .hero-layout {
    padding-bottom: 24px;
    padding-top: 140px;
  }

  .hero-copy {
    align-self: start;
    padding-bottom: 70px;
  }

  .hero-copy h1 em {
    margin-left: 0;
  }

  .hero-portal {
    display: none;
  }

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

  .hero-foot span {
    border-bottom: 1px solid rgba(255, 254, 249, 0.18);
    padding: 14px 10px;
  }

  .statement-layout,
  .split-heading,
  .portal-story-heading,
  .proof-layout,
  .offer-layout,
  .faq-section,
  .cta-section,
  .foundation-list article > div,
  .modular-layout,
  .hosting-section,
  .price-layout,
  .boundary-layout,
  .honesty-layout,
  .resource-note,
  .start-hero,
  .intake-layout,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .statement-note {
    margin-left: auto;
    max-width: 230px;
  }

  .section-heading,
  .split-heading {
    margin-bottom: 45px;
  }

  .outcome-row {
    grid-template-columns: 45px 1fr;
  }

  .outcome-row p {
    grid-column: 2;
  }

  .portal-showcase .portal-window {
    width: 100%;
  }

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

  .portal-body aside {
    display: none;
  }

  .portal-main {
    padding: 28px;
  }

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

  .flow-step {
    border-bottom: 1px solid var(--line-light);
    padding-bottom: 22px;
  }

  .application-list article {
    gap: 24px;
    grid-template-columns: 1fr;
  }

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

  .application-path,
  .process-output {
    grid-column: 1;
  }

  .page-hero {
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 160px;
  }

  .page-hero::after {
    top: 120px;
  }

  .foundation-list article,
  .process-list article,
  .portal-benefit-list article,
  .resource-list article {
    gap: 20px;
    grid-template-columns: 45px 1fr;
  }

  .foundation-list article > div,
  .process-list article > div,
  .portal-benefit-list article > p,
  .resource-main,
  .resource-use {
    grid-column: 2;
  }

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

  .resource-use {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
  }

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

  .demo-badge {
    justify-self: start;
  }

  .portal-stage {
    padding-left: 22px;
    padding-right: 22px;
  }

  .intake-layout aside {
    position: static;
  }

  .two-col,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .check-option:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .check-option:nth-child(odd) {
    padding-right: 0;
  }

  .footer-statement > a {
    gap: 25px;
    grid-template-columns: 1fr;
  }

  .footer-statement > a span {
    justify-self: end;
  }
}

/* Immersive product demonstration */

.home-hero {
  background:
    radial-gradient(circle at 13% 22%, rgba(255, 255, 255, 0.98), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(79, 124, 123, 0.2), transparent 28%),
    radial-gradient(circle at 70% 82%, rgba(113, 105, 137, 0.16), transparent 31%),
    linear-gradient(128deg, #f8fafc 0%, #edf3f5 55%, #e9f1f1 100%);
  min-height: min(980px, 100svh);
}

.home-hero::before {
  animation: system-field-drift 16s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.6px),
    linear-gradient(125deg, rgba(70, 92, 132, 0.04), rgba(79, 124, 123, 0.11));
  background-size: 24px 24px, 100% 100%;
  border-radius: 50%;
  height: 960px;
  inset: -170px -170px auto auto;
  mask-image: none;
  opacity: 0.72;
  transform: rotate(-8deg);
  width: 960px;
}

.home-hero::after {
  border: 1px solid rgba(70, 92, 132, 0.08);
  border-radius: 50%;
  content: "";
  height: 720px;
  pointer-events: none;
  position: absolute;
  right: -180px;
  top: 90px;
  width: 720px;
  z-index: 1;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(50px, 5.5vw, 96px);
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  grid-template-rows: 1fr auto;
  min-height: min(980px, 100svh);
  padding-bottom: 26px;
  padding-top: clamp(142px, 15vh, 180px);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding-bottom: 48px;
}

.hero-copy h1 {
  font-size: clamp(62px, 6vw, 98px);
}

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

.hero-foot {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 5;
}

.hero-system-stage {
  --stage-accent: #9ed6c2;
  align-self: center;
  background:
    radial-gradient(circle at 83% 15%, rgba(158, 214, 194, 0.32), transparent 27%),
    radial-gradient(circle at 8% 88%, rgba(124, 111, 149, 0.38), transparent 30%),
    linear-gradient(138deg, #303c59 0%, #4d5475 52%, #527e70 112%);
  color: #fff;
  isolation: isolate;
  min-height: 650px;
  overflow: clip;
  padding: 26px;
  position: relative;
  width: 100%;
}

.system-mode-intake {
  --stage-accent: #8391bd;
}

.system-mode-portal {
  --stage-accent: #7c6f95;
}

.system-mode-followup {
  --stage-accent: #82bda9;
}

.system-aura {
  background: conic-gradient(
    from 180deg,
    rgba(255, 255, 255, 0) 0deg,
    color-mix(in srgb, var(--stage-accent) 72%, #fff) 80deg,
    rgba(255, 255, 255, 0.08) 165deg,
    color-mix(in srgb, var(--stage-accent) 65%, #b2e4de) 250deg,
    rgba(255, 255, 255, 0) 360deg
  );
  border-radius: 50%;
  filter: blur(3px);
  height: 530px;
  opacity: 0.52;
  position: absolute;
  right: -190px;
  top: -230px;
  transform: rotate(12deg);
  transition: background 360ms ease;
  width: 530px;
  z-index: -1;
}

.system-orbit {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
}

.system-orbit::after {
  background: #a7ddc9;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(167, 221, 201, 0.75);
  content: "";
  height: 7px;
  left: 50%;
  position: absolute;
  top: -4px;
  width: 7px;
}

.system-orbit-one {
  animation: system-orbit 22s linear infinite;
  height: 480px;
  right: -220px;
  top: 48px;
  width: 480px;
}

.system-orbit-two {
  animation: system-orbit 30s linear infinite reverse;
  bottom: -290px;
  height: 560px;
  left: -180px;
  width: 560px;
}

.system-stage-label {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  display: flex;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 620;
  justify-content: space-between;
  letter-spacing: 0.11em;
  padding-bottom: 18px;
  position: relative;
  text-transform: uppercase;
  z-index: 3;
}

.system-stage-label span:first-child {
  color: rgba(255, 255, 255, 0.68);
}

.system-screen-wrap {
  margin: 39px 20px 30px;
  perspective: 1600px;
  position: relative;
  z-index: 2;
}

.system-browser {
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: var(--ink);
  min-height: 408px;
  overflow: hidden;
  position: relative;
  transform: rotateY(-2deg) rotateX(1deg);
  transition: transform 260ms ease;
}

.hero-system-stage:hover .system-browser {
  transform: rotateY(0) rotateX(0) translateY(-3px);
}

.system-browser-bar {
  align-items: center;
  background: #f5f7fa;
  border-bottom: 1px solid rgba(44, 57, 83, 0.12);
  color: #6b768a;
  display: grid;
  font-size: 10px;
  grid-template-columns: 16px 1fr auto;
  min-height: 43px;
  padding: 0 16px;
}

.browser-mark {
  background: linear-gradient(135deg, var(--stage-accent), #7c6f95);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.browser-live {
  align-items: center;
  color: #68758b;
  display: flex;
  gap: 7px;
}

.browser-live::before {
  background: #679b89;
  border-radius: 50%;
  content: "";
  height: 5px;
  width: 5px;
}

.system-screen {
  min-height: 365px;
  position: relative;
}

.system-signal {
  align-items: center;
  background: #fff;
  color: #4f5f77;
  display: flex;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 680;
  gap: 9px;
  letter-spacing: 0.08em;
  padding: 10px 12px;
  position: absolute;
  text-transform: uppercase;
  z-index: 5;
}

.system-signal span {
  background: #679b89;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.system-signal::after {
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
}

.system-signal-left {
  left: -19px;
  top: 74px;
  transform: translateX(-38%);
}

.system-signal-left::after {
  left: 100%;
}

.system-signal-right {
  bottom: 58px;
  right: -19px;
  transform: translateX(38%);
}

.system-signal-right::after {
  right: 100%;
}

.system-experience-tabs {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 3;
}

.system-experience-tabs button {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 17px 13px 13px;
  position: relative;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

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

.system-experience-tabs button::before {
  background: #a7ddc9;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: -1px;
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.system-experience-tabs button:hover,
.system-experience-tabs button:focus-visible,
.system-experience-tabs button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.system-experience-tabs button[aria-selected="true"]::before {
  transform: scaleX(1);
}

.system-experience-tabs button span {
  font-size: 12px;
  font-weight: 680;
}

.system-experience-tabs button small {
  color: inherit;
  font-size: 9px;
  line-height: 1.35;
}

.demo-site-nav {
  align-items: center;
  border-bottom: 1px solid rgba(41, 53, 79, 0.1);
  display: grid;
  font-size: 9px;
  gap: 20px;
  grid-template-columns: 1fr auto auto auto;
  min-height: 50px;
  padding: 0 27px;
}

.demo-site-nav strong {
  font-size: 13px;
}

.demo-site-nav span {
  color: #738096;
}

.demo-site-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(96, 147, 141, 0.35), transparent 29%),
    linear-gradient(130deg, #e9eff4 0%, #dfeeed 100%);
  min-height: 250px;
  padding: 43px 27px;
}

.demo-site-hero p,
.demo-screen-heading p {
  color: #64748a;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.demo-site-hero h3,
.demo-screen-heading h3 {
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 17px 0 25px;
  max-width: 430px;
}

.demo-site-hero > span {
  background: #344a64;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 650;
  padding: 12px 15px;
}

.demo-site-proof {
  display: grid;
  font-size: 9px;
  grid-template-columns: repeat(3, 1fr);
  min-height: 65px;
}

.demo-site-proof span {
  align-items: center;
  border-right: 1px solid rgba(41, 53, 79, 0.1);
  color: #68758a;
  display: flex;
  padding: 0 20px;
}

.demo-site-proof span:last-child {
  border-right: 0;
}

.demo-intake,
.demo-followup {
  padding: 30px 34px;
}

.demo-screen-heading h3 {
  font-size: 31px;
  margin: 10px 0 24px;
}

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

.demo-form-grid > div {
  border: 1px solid rgba(45, 59, 84, 0.13);
  display: grid;
  gap: 9px;
  min-height: 68px;
  padding: 13px 15px;
}

.demo-form-grid span,
.demo-status span,
.demo-request span,
.demo-next-action span {
  color: #738096;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-form-grid strong,
.demo-status strong,
.demo-request strong,
.demo-next-action strong {
  font-size: 10px;
}

.demo-form-wide {
  grid-column: 1 / -1;
}

.demo-form-wide i {
  background: #e4e8ee;
  display: block;
  height: 4px;
  width: 88%;
}

.demo-form-wide i:last-child {
  width: 62%;
}

.demo-upload {
  background: linear-gradient(125deg, rgba(70, 92, 132, 0.07), rgba(79, 124, 123, 0.09));
  grid-column: 1 / -1;
}

.demo-portal {
  display: grid;
  grid-template-columns: 98px 1fr;
  min-height: 365px;
}

.demo-portal-nav {
  align-content: start;
  background: linear-gradient(180deg, #435873, #456e70);
  color: rgba(255, 255, 255, 0.65);
  display: grid;
  font-size: 9px;
  gap: 7px;
  padding: 19px 12px;
}

.demo-portal-nav strong {
  align-items: center;
  background: #fff;
  color: #3d5571;
  display: flex;
  font-size: 11px;
  height: 26px;
  justify-content: center;
  margin-bottom: 14px;
  width: 26px;
}

.demo-portal-nav span {
  border-left: 2px solid transparent;
  padding: 8px 7px;
}

.demo-portal-nav .active {
  border-left-color: #a7ddc9;
  color: #fff;
}

.demo-portal-main {
  padding: 27px 28px;
}

.demo-status {
  border-bottom: 1px solid rgba(45, 59, 84, 0.13);
  border-top: 1px solid rgba(45, 59, 84, 0.13);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 16px;
}

.demo-status > div {
  display: grid;
  gap: 7px;
  padding: 13px 0;
}

.demo-status > div + div {
  border-left: 1px solid rgba(45, 59, 84, 0.13);
  padding-left: 15px;
}

.demo-request {
  background: linear-gradient(125deg, #eef2f7, #e8f2f1);
  display: grid;
  gap: 9px;
  padding: 15px;
}

.demo-request small {
  color: #7b8799;
  font-size: 8px;
}

.demo-lead-row {
  border-top: 1px solid rgba(45, 59, 84, 0.13);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 0.8fr 1fr;
  padding: 16px 7px;
}

.demo-lead-row span,
.demo-lead-row strong,
.demo-lead-row small {
  font-size: 9px;
}

.demo-lead-row strong {
  color: #52647b;
}

.demo-lead-row small {
  color: #7a8597;
}

.demo-lead-active {
  background: linear-gradient(90deg, rgba(79, 124, 123, 0.11), transparent);
  border-left: 3px solid #679b89;
  padding-left: 12px;
}

.demo-next-action {
  background: #344a64;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding: 15px;
}

.demo-next-action span {
  color: rgba(255, 255, 255, 0.6);
}

.portfolio-runway {
  background:
    radial-gradient(circle at 82% 12%, rgba(116, 147, 170, 0.27), transparent 29%),
    linear-gradient(125deg, #26334a 0%, #334f60 54%, #3e6768 120%);
  color: #fff;
  overflow: hidden;
  padding: clamp(105px, 11vw, 170px) 0 0;
}

.portfolio-runway-intro {
  display: grid;
  gap: clamp(50px, 9vw, 150px);
  grid-template-columns: 1.3fr 0.7fr;
  margin-bottom: clamp(70px, 8vw, 115px);
}

.portfolio-runway-intro h2 {
  font-size: clamp(52px, 6vw, 92px);
  letter-spacing: -0.07em;
  line-height: 0.94;
  margin: 0;
  max-width: 920px;
}

.portfolio-runway-intro > div:last-child {
  align-self: end;
}

.portfolio-runway-intro p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 25px;
}

.portfolio-runway-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.portfolio-band {
  --band-color: #8994ad;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(55px, 0.25fr) minmax(270px, 1.35fr) minmax(220px, 0.8fr) auto;
  min-height: 104px;
  padding: 0 max(clamp(24px, 5vw, 84px), calc((100vw - 1540px) / 2 + 84px));
  position: relative;
  transition: background 220ms ease, padding 220ms ease;
}

.portfolio-band::before {
  background: var(--band-color);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0.012);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.2, 0.75, 0.2, 1);
  width: 100%;
  z-index: 0;
}

.portfolio-band:hover::before,
.portfolio-band:focus-visible::before {
  transform: scaleX(1);
}

.portfolio-band:hover,
.portfolio-band:focus-visible {
  color: #fff;
  padding-left: max(clamp(34px, 6vw, 104px), calc((100vw - 1540px) / 2 + 104px));
}

.portfolio-band > * {
  position: relative;
  z-index: 1;
}

.portfolio-band > span,
.portfolio-band > small,
.portfolio-band > b {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-band > span,
.portfolio-band > small {
  color: rgba(255, 255, 255, 0.56);
}

.portfolio-band > strong {
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -0.05em;
}

.portfolio-band > b {
  font-weight: 650;
}

.portfolio-band-mr9 {
  --band-color: #536b9c;
}

.portfolio-band-illumitubes {
  --band-color: #3d7d80;
}

.portfolio-band-nesc {
  --band-color: #8c6a70;
}

.portfolio-band-tpf {
  --band-color: #625e83;
}

.portfolio-band-once {
  --band-color: #657f77;
}

@keyframes system-orbit {
  to { transform: rotate(360deg); }
}

@keyframes system-field-drift {
  from { transform: rotate(-8deg) translate3d(0, 0, 0); }
  to { transform: rotate(-3deg) translate3d(-34px, 24px, 0); }
}

@media (max-width: 1180px) {
  .hero-layout {
    gap: 42px;
    grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  }

  .hero-system-stage {
    min-height: 610px;
    padding-inline: 20px;
  }

  .system-screen-wrap {
    margin-inline: 10px;
  }

  .system-experience-tabs button small {
    display: none;
  }

  .system-experience-tabs button {
    min-height: 58px;
  }
}

@media (max-width: 940px) {
  .home-hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 138px;
  }

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

  .hero-system-stage {
    grid-row: 2;
    min-height: 620px;
    width: 100%;
  }

  .hero-foot {
    grid-row: 3;
  }

  .portfolio-runway-intro {
    grid-template-columns: 1fr;
  }

  .portfolio-runway-intro > div:last-child {
    max-width: 620px;
  }

  .portfolio-band {
    grid-template-columns: 45px 1.2fr 0.8fr;
  }

  .portfolio-band > b {
    display: none;
  }
}

@media (max-width: 650px) {
  .home-hero::after {
    display: none;
  }

  .hero-layout {
    gap: 34px;
    padding-top: 124px;
  }

  .hero-copy h1 {
    font-size: 51px;
  }

  .hero-system-stage {
    margin-inline: -22px;
    min-height: 550px;
    padding: 19px 15px;
    width: calc(100% + 44px);
  }

  .system-stage-label span:first-child {
    max-width: 220px;
  }

  .system-screen-wrap {
    margin: 25px 0 22px;
  }

  .system-browser {
    min-height: 350px;
    transform: none;
  }

  .system-screen {
    min-height: 307px;
  }

  .system-signal,
  .system-orbit-two {
    display: none;
  }

  .system-experience-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-experience-tabs button:nth-child(2) {
    border-right: 0;
  }

  .system-experience-tabs button:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .system-experience-tabs button {
    min-height: 54px;
  }

  .demo-site-nav span {
    display: none;
  }

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

  .demo-site-hero {
    min-height: 235px;
    padding: 32px 22px;
  }

  .demo-site-hero h3 {
    font-size: 34px;
  }

  .demo-intake,
  .demo-followup {
    padding: 24px 20px;
  }

  .demo-portal {
    grid-template-columns: 78px 1fr;
  }

  .demo-portal-main {
    padding: 22px 18px;
  }

  .demo-lead-row {
    gap: 7px;
    grid-template-columns: 1fr;
  }

  .portfolio-runway {
    padding-top: 90px;
  }

  .portfolio-runway-intro h2 {
    font-size: 48px;
  }

  .portfolio-band {
    align-items: start;
    gap: 8px 16px;
    grid-template-columns: 32px 1fr;
    min-height: 118px;
    padding-block: 24px;
  }

  .portfolio-band > small {
    grid-column: 2;
    line-height: 1.45;
  }

  .portfolio-band > strong {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero::before,
  .system-orbit-one,
  .system-orbit-two {
    animation: none;
  }

  .hero-system-stage:hover .system-browser {
    transform: rotateY(-2deg) rotateX(1deg);
  }
}

/* Owner inquiry workflow */

.inquiry-counts {
  background: #fff;
  border: 1px solid var(--portal-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
}

.inquiry-counts > div {
  border-right: 1px solid var(--portal-line);
  display: grid;
  gap: 12px;
  min-height: 112px;
  padding: 24px;
}

.inquiry-counts > div:last-child {
  border-right: 0;
}

.inquiry-counts span {
  color: var(--portal-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.inquiry-counts strong {
  align-self: end;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.inquiry-list {
  border-top: 1px solid var(--portal-line);
  display: grid;
  margin-top: 32px;
}

.inquiry-list > a {
  align-items: center;
  border-bottom: 1px solid var(--portal-line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(190px, 1.1fr) minmax(210px, 1fr) minmax(180px, 0.8fr) minmax(120px, 0.45fr);
  padding: 25px 8px;
  transition: background 180ms ease, padding 180ms ease;
}

.inquiry-list > a:hover,
.inquiry-list > a:focus-visible {
  background: rgba(255, 255, 255, 0.76);
  padding-inline: 18px;
}

.inquiry-list > a > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.inquiry-list span,
.inquiry-list small {
  overflow-wrap: anywhere;
}

.inquiry-list span {
  font-size: 13px;
}

.inquiry-list small {
  color: var(--portal-muted);
  font-size: 11px;
}

.inquiry-list-lead > span {
  font-size: 15px;
  font-weight: 700;
}

.inquiry-list-status {
  justify-items: start;
}

.inquiry-status {
  border: 1px solid var(--portal-line);
  display: inline-flex;
  font-size: 11px;
  line-height: 1;
  padding: 9px 12px;
}

.inquiry-status-new {
  border-color: rgba(82, 99, 143, 0.36);
  color: #465a86;
}

.inquiry-status-reviewing {
  border-color: rgba(161, 113, 73, 0.4);
  color: #8a603f;
}

.inquiry-status-qualified {
  border-color: rgba(77, 133, 136, 0.42);
  color: #3d7476;
}

.inquiry-status-not_fit,
.inquiry-status-closed {
  color: var(--portal-muted);
}

.portal-back-link {
  color: var(--portal-muted);
  display: inline-flex;
  font-size: 12px;
  margin-bottom: 38px;
}

.portal-back-link:hover,
.portal-back-link:focus-visible {
  color: var(--portal-ink);
}

.inquiry-review-heading {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.inquiry-review-heading > div > p {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.inquiry-review-heading h1 {
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 0;
}

.inquiry-review-heading > div > span {
  color: var(--portal-muted);
  display: block;
  font-size: 13px;
  margin-top: 18px;
}

.inquiry-review-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  margin-top: 42px;
}

.inquiry-review-section {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--portal-line);
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
}

.inquiry-review-section > p {
  font-size: 15px;
  line-height: 1.72;
  margin: 0;
  white-space: pre-wrap;
}

.inquiry-review-problem {
  background:
    linear-gradient(120deg, rgba(82, 99, 143, 0.07), transparent 46%),
    rgba(255, 255, 255, 0.82);
}

.inquiry-contact-card dl,
.inquiry-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.inquiry-contact-card dl > div,
.inquiry-detail-list > div {
  border-bottom: 1px solid var(--portal-line);
  display: grid;
  gap: 7px;
  padding: 15px 0;
}

.inquiry-contact-card dl > div:first-child,
.inquiry-detail-list > div:first-child {
  padding-top: 0;
}

.inquiry-contact-card dl > div:last-child,
.inquiry-detail-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.inquiry-contact-card dt,
.inquiry-detail-list dt {
  color: var(--portal-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.inquiry-contact-card dd,
.inquiry-detail-list dd {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.inquiry-contact-card a {
  border-bottom: 1px solid currentColor;
}

.inquiry-need-list {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.inquiry-need-list li {
  border-bottom: 1px solid var(--portal-line);
  font-size: 13px;
  padding: 13px 0;
}

.inquiry-need-list li:first-child {
  padding-top: 0;
}

.inquiry-need-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.inquiry-review-actions {
  border-top: 1px solid var(--portal-line);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  margin-top: 48px;
  padding-top: 48px;
}

.inquiry-status-form,
.inquiry-workspace-link {
  align-content: start;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--portal-line);
  display: grid;
  gap: 18px;
  padding: 28px;
}

.inquiry-status-form label {
  display: grid;
  font-size: 12px;
  font-weight: 650;
  gap: 9px;
}

.inquiry-status-form select {
  background: #fff;
  border: 1px solid var(--portal-line);
  border-radius: 0;
  min-height: 48px;
  padding: 10px 12px;
}

.inquiry-workspace-link span {
  color: var(--portal-muted);
  font-size: 12px;
}

.inquiry-workspace-link .portal-action {
  justify-self: start;
}

@media (max-width: 1100px) {
  .inquiry-list > a {
    grid-template-columns: minmax(180px, 1fr) minmax(190px, 1fr) minmax(120px, 0.55fr);
  }

  .inquiry-list > a > div:nth-child(3) {
    display: none;
  }
}

@media (max-width: 800px) {
  .inquiry-counts {
    grid-template-columns: repeat(2, 1fr);
  }

  .inquiry-counts > div:nth-child(2) {
    border-right: 0;
  }

  .inquiry-counts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--portal-line);
  }

  .inquiry-list > a,
  .inquiry-review-grid,
  .inquiry-review-actions {
    grid-template-columns: 1fr;
  }

  .inquiry-list > a > div:nth-child(3) {
    display: grid;
  }

  .inquiry-review-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .inquiry-counts > div {
    border-bottom: 1px solid var(--portal-line);
    border-right: 0;
    min-height: 96px;
  }

  .inquiry-counts > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .home-hero,
  .hero-layout {
    min-height: 760px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 50px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-foot span:nth-child(even) {
    border-right: 0;
  }

  .statement-layout > p,
  .section-heading h2,
  .offer-copy h2,
  .proof-layout h2,
  .portal-story-heading h2,
  .modular-layout h2,
  .honesty-layout h2 {
    font-size: 43px;
  }

  .portal-main {
    padding: 22px;
  }

  .portal-titlebar {
    padding-inline: 12px;
  }

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

  .status-strip > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .business-flow {
    grid-template-columns: 1fr;
  }

  .flow-step {
    border-right: 0;
  }

  .included-list li {
    font-size: 20px;
  }

  .intake-form {
    margin-inline: -22px;
  }

  .footer-links {
    gap: 40px;
    grid-template-columns: 1fr;
  }
}

/* Working client portal */

.portal-page-actions {
  align-items: center;
  margin-top: 34px;
}

.proof-work-link {
  margin-left: 28px;
}

.work-page-hero {
  padding-bottom: clamp(66px, 9vw, 132px);
}

.work-project-list {
  padding-bottom: clamp(84px, 11vw, 160px);
}

.work-project {
  --work-accent: #5d57ff;
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 4vw, 72px);
  grid-template-columns: 60px minmax(0, 1.5fr) minmax(260px, 0.65fr);
  min-height: 520px;
  padding: clamp(48px, 7vw, 102px) 0;
  position: relative;
}

.work-project::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--work-accent) 17%, transparent), transparent 68%);
  content: "";
  height: 420px;
  left: 20%;
  pointer-events: none;
  position: absolute;
  top: 6%;
  width: 420px;
}

.work-accent-aqua {
  --work-accent: #08aeb0;
}

.work-accent-coral {
  --work-accent: #f45786;
}

.work-accent-indigo {
  --work-accent: #3930a0;
}

.work-accent-rose {
  --work-accent: #bf4aa8;
}

.work-project-number {
  color: var(--work-accent);
  font-family: var(--mono);
  font-size: 12px;
  padding-top: 5px;
}

.work-project-main,
.work-project-proof {
  position: relative;
  z-index: 1;
}

.work-project-main > p,
.work-project-proof > p,
.work-project-format {
  color: var(--work-accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.work-project-main h2 {
  font-size: clamp(58px, 7vw, 106px);
  letter-spacing: -0.075em;
  line-height: 0.9;
  margin: 22px 0 36px;
  max-width: 920px;
}

.work-project-main h3 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0;
  max-width: 900px;
}

.work-project-main > span {
  color: var(--ink-soft);
  display: block;
  font-size: 15px;
  line-height: 1.75;
  margin-top: 28px;
  max-width: 720px;
}

.work-project-proof {
  align-self: end;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 52px);
}

.work-project-proof ul {
  list-style: none;
  margin: 22px 0 34px;
  padding: 0;
}

.work-project-proof li {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  padding: 13px 0;
}

.work-project-proof .text-link {
  font-size: 12px;
}

.work-project-format {
  color: var(--ink-soft);
  display: inline-block;
  letter-spacing: 0.08em;
}

.work-cta {
  margin-bottom: clamp(76px, 9vw, 130px);
}

@media (max-width: 900px) {
  .proof-work-link {
    display: table;
    margin-left: 0;
    margin-top: 24px;
  }

  .work-project {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .work-project-proof {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-column: 2;
    padding-left: 0;
    padding-top: 28px;
  }
}

@media (max-width: 560px) {
  .work-project {
    gap: 22px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .work-project-number,
  .work-project-main,
  .work-project-proof {
    grid-column: 1;
  }

  .work-project-main h2 {
    font-size: 52px;
  }
}

.client-portal-app {
  --portal-ink: #1f2240;
  --portal-muted: #626986;
  --portal-line: rgba(59, 67, 123, 0.16);
  background:
    radial-gradient(circle at 8% 2%, rgba(90, 89, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(8, 210, 205, 0.12), transparent 26rem),
    #f7f8fc;
  color: var(--portal-ink);
  min-height: 100vh;
}

.client-portal-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 248, 252, 0.86);
  border-bottom: 1px solid var(--portal-line);
  display: flex;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(22px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.client-portal-brand {
  display: grid;
  gap: 4px;
}

.client-portal-brand > span {
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.client-portal-brand small,
.client-portal-account,
.client-project-nav small,
.client-project-heading small,
.client-project-list > a > p,
.client-portal-footer,
.project-status-overview span,
.project-section-heading p,
.project-empty-copy,
.portal-member span,
.file-list small,
.message-list small,
.file-upload-form > p {
  color: var(--portal-muted);
}

.client-portal-brand small,
.client-portal-intro > p,
.project-portal-title > div > p,
.project-section-heading > span,
.portal-form-heading > span,
.client-empty-state > span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-portal-account {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 20px;
}

.client-portal-account a {
  border-bottom: 1px solid currentColor;
  color: var(--portal-ink);
}

.client-portal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1640px;
  min-height: calc(100vh - 146px);
}

.client-project-nav {
  border-right: 1px solid var(--portal-line);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 42px 24px;
}

.client-project-nav a {
  border-left: 2px solid transparent;
  color: var(--portal-muted);
  display: grid;
  font-size: 13px;
  gap: 4px;
  padding: 13px 14px;
}

.client-project-nav a:hover,
.client-project-nav a:focus-visible,
.client-project-nav a.active {
  background: linear-gradient(90deg, rgba(93, 87, 255, 0.1), rgba(93, 87, 255, 0));
  border-left-color: #5d57ff;
  color: var(--portal-ink);
}

.client-portal-content {
  min-width: 0;
  padding: clamp(38px, 5vw, 76px) clamp(24px, 5vw, 84px) 90px;
}

.client-portal-intro {
  max-width: 820px;
}

.client-portal-intro > p,
.project-portal-title > div > p,
.client-empty-state > span {
  color: #5d57ff;
  margin: 0 0 14px;
}

.client-portal-intro h1,
.project-portal-title h1 {
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 0;
}

.client-portal-intro > span {
  color: var(--portal-muted);
  display: block;
  font-size: 17px;
  line-height: 1.65;
  margin-top: 24px;
  max-width: 660px;
}

.client-project-list {
  border-top: 1px solid var(--portal-line);
  display: grid;
  margin-top: 54px;
}

.client-project-list > a {
  border-bottom: 1px solid var(--portal-line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(230px, 1.2fr) minmax(300px, 1.5fr) auto;
  padding: 28px 8px;
  transition: background 180ms ease, padding 180ms ease;
}

.client-project-list > a:hover,
.client-project-list > a:focus-visible {
  background: rgba(255, 255, 255, 0.7);
  padding-inline: 18px;
}

.client-project-heading {
  display: grid;
  gap: 8px;
}

.client-project-heading > span {
  font-weight: 680;
}

.client-project-heading small,
.project-status {
  text-transform: capitalize;
}

.client-project-list h2 {
  font-size: 18px;
  margin: 0;
}

.client-project-list dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.client-project-list dl > div {
  display: grid;
  gap: 4px;
}

.client-project-list dt {
  color: var(--portal-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.client-project-list dd {
  font-size: 13px;
  margin: 0;
}

.client-project-list > a > p {
  font-size: 11px;
  margin: 0;
}

.client-empty-state {
  border-bottom: 1px solid var(--portal-line);
  border-top: 1px solid var(--portal-line);
  margin-top: 54px;
  max-width: 820px;
  padding: 38px 0;
}

.client-empty-state h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin: 0;
}

.client-empty-state p {
  color: var(--portal-muted);
  line-height: 1.65;
  max-width: 600px;
}

.portal-form {
  background:
    linear-gradient(120deg, rgba(93, 87, 255, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid var(--portal-line);
  margin-top: 48px;
  max-width: 920px;
  padding: clamp(24px, 4vw, 44px);
}

.portal-form-compact {
  margin: 0;
  max-width: none;
}

.portal-form-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.portal-form-heading > span,
.project-section-heading > span {
  color: #5d57ff;
}

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

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

.portal-form label,
.message-form label,
.file-upload-form > label {
  color: var(--portal-ink);
  display: grid;
  font-size: 12px;
  font-weight: 650;
  gap: 9px;
}

.portal-form input,
.portal-form select,
.portal-form textarea,
.message-form textarea,
.file-upload-form input {
  background: #fff;
  border: 1px solid var(--portal-line);
  border-radius: 0;
  color: var(--portal-ink);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.portal-form textarea,
.message-form textarea {
  line-height: 1.5;
  min-height: 110px;
  resize: vertical;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus,
.message-form textarea:focus,
.file-upload-form input:focus {
  border-color: #5d57ff;
  outline: 2px solid rgba(93, 87, 255, 0.16);
  outline-offset: 2px;
}

.portal-field-wide {
  grid-column: 1 / -1;
}

.portal-form-footer {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.portal-action,
.portal-small-action {
  background: linear-gradient(115deg, #5d57ff, #7859e8 56%, #147f9a);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 670;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.portal-small-action {
  background: transparent;
  border: 1px solid var(--portal-line);
  color: var(--portal-ink);
  min-height: 38px;
  padding: 0 15px;
}

.portal-action:disabled,
.portal-small-action:disabled {
  cursor: wait;
  opacity: 0.58;
}

.portal-form-notice {
  font-size: 12px;
  margin: 0;
}

.portal-form-error {
  color: #a42846;
}

.portal-form-success {
  color: #146d63;
}

.client-portal-footer {
  border-top: 1px solid var(--portal-line);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  padding: 24px clamp(22px, 4vw, 64px);
}

.client-portal-footer a {
  color: var(--portal-ink);
}

.project-portal-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.project-status {
  border: 1px solid var(--portal-line);
  color: var(--portal-muted);
  font-size: 11px;
  padding: 9px 13px;
}

.project-status-active {
  border-color: rgba(20, 127, 154, 0.3);
  color: #147f9a;
}

.project-status-waiting {
  border-color: rgba(201, 95, 56, 0.34);
  color: #a64d2e;
}

.project-status-overview {
  background: linear-gradient(118deg, #332a82, #5341a5 58%, #147f9a 140%);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.project-status-overview > div {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 26px;
}

.project-status-overview > div:last-child {
  border-right: 0;
}

.project-status-overview span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  text-transform: uppercase;
}

.project-status-overview strong {
  align-self: end;
  font-size: 17px;
  line-height: 1.25;
}

.project-portal-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  margin-top: 24px;
}

.project-portal-section {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--portal-line);
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
}

.project-section-heading {
  border-bottom: 1px solid var(--portal-line);
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.project-section-heading p,
.project-empty-copy {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.request-list,
.file-list,
.message-list {
  display: grid;
}

.request-list article {
  align-items: center;
  border-bottom: 1px solid var(--portal-line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 0;
}

.request-list article:first-child {
  padding-top: 0;
}

.request-list article:last-child {
  border-bottom: 0;
}

.request-list article.is-complete h2,
.request-list article.is-complete p {
  color: var(--portal-muted);
}

.request-list h2 {
  font-size: 16px;
  margin: 0;
}

.request-list p {
  font-size: 13px;
  line-height: 1.55;
  margin: 7px 0;
}

.request-list small,
.request-complete {
  color: var(--portal-muted);
  font-size: 11px;
}

.request-action-wrap {
  align-items: flex-end;
  display: grid;
  flex: 0 0 auto;
  gap: 5px;
}

.file-list a {
  border-bottom: 1px solid var(--portal-line);
  display: grid;
  gap: 6px;
  padding: 14px 0;
}

.file-list a:hover span,
.file-list a:focus-visible span {
  color: #5d57ff;
}

.file-list span {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.file-list small {
  font-size: 10px;
}

.file-upload-form {
  border-top: 1px solid var(--portal-line);
  margin-top: 22px;
  padding-top: 22px;
}

.file-upload-form input {
  font-size: 11px;
  margin-top: 10px;
}

.file-upload-form > p {
  font-size: 10px;
  margin: 8px 0 0;
}

.project-messages {
  grid-column: 1;
}

.message-form {
  border-bottom: 1px solid var(--portal-line);
  padding-bottom: 28px;
}

.message-form textarea {
  margin-top: 10px;
}

.message-list article {
  border-bottom: 1px solid var(--portal-line);
  padding: 22px 0;
}

.message-list article:last-child {
  border-bottom: 0;
}

.message-list article > div {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.message-list strong {
  font-size: 13px;
}

.message-list p {
  font-size: 14px;
  line-height: 1.65;
  margin: 12px 0 0;
  white-space: pre-wrap;
}

.project-people {
  grid-column: 2;
  grid-row: 2;
}

.portal-member {
  border-bottom: 1px solid var(--portal-line);
  display: grid;
  gap: 5px;
  padding: 14px 0;
}

.portal-member strong {
  font-size: 13px;
}

.portal-member span {
  font-size: 11px;
  overflow-wrap: anywhere;
}

.portal-admin-tools {
  border-top: 1px solid var(--portal-line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
  padding-top: 48px;
}

@media (max-width: 1100px) {
  .client-portal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .client-project-list > a {
    grid-template-columns: minmax(150px, 0.7fr) minmax(200px, 1fr) minmax(240px, 1.3fr);
  }

  .client-project-list > a > p {
    display: none;
  }

  .project-status-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-status-overview > div:nth-child(2) {
    border-right: 0;
  }

  .project-status-overview > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .project-portal-grid,
  .portal-admin-tools {
    grid-template-columns: 1fr;
  }

  .project-people,
  .project-messages {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .portal-page-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-portal-header {
    min-height: 72px;
  }

  .client-portal-account > span {
    display: none;
  }

  .client-portal-layout {
    display: block;
  }

  .client-project-nav {
    border-bottom: 1px solid var(--portal-line);
    border-right: 0;
    flex-direction: row;
    overflow-x: auto;
    padding: 12px 18px;
    scrollbar-width: thin;
  }

  .client-project-nav a {
    border-bottom: 2px solid transparent;
    border-left: 0;
    flex: 0 0 auto;
    min-width: 140px;
  }

  .client-project-nav a:hover,
  .client-project-nav a:focus-visible,
  .client-project-nav a.active {
    background: linear-gradient(180deg, rgba(93, 87, 255, 0), rgba(93, 87, 255, 0.08));
    border-bottom-color: #5d57ff;
    border-left-color: transparent;
  }

  .client-portal-content {
    padding: 40px 20px 70px;
  }

  .client-portal-intro h1,
  .project-portal-title h1 {
    font-size: 44px;
  }

  .client-project-list > a {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .client-project-list > a:hover,
  .client-project-list > a:focus-visible {
    padding-inline: 8px;
  }

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

  .portal-field-wide {
    grid-column: 1;
  }

  .project-portal-title {
    align-items: flex-start;
    gap: 24px;
  }

  .project-status-overview {
    grid-template-columns: 1fr;
  }

  .project-status-overview > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 0;
    min-height: 104px;
  }

  .project-status-overview > div:last-child {
    border-bottom: 0;
  }

  .request-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-portal-footer {
    gap: 12px;
  }
}

@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;
  }
}

/* Chromatic design system */

:root {
  --ink: #17213f;
  --ink-soft: #53617a;
  --paper: #f6f8ff;
  --paper-bright: #ffffff;
  --paper-deep: #e8edff;
  --white: #ffffff;
  --night: #292167;
  --night-soft: #46349a;
  --muted: #77839b;
  --line: rgba(34, 49, 95, 0.14);
  --line-light: rgba(255, 255, 255, 0.28);
  --signal: #4d4aff;
  --signal-warm: #f45786;
  --aqua: #05bfcf;
  --violet: #8b5cf6;
  --display: var(--font-geist-sans), Arial, sans-serif;
}

html {
  background: var(--night);
}

body {
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: #5b50ff;
  color: #fff;
}

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

.nav-wrap {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(51, 65, 115, 0.12);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  min-height: 92px;
}

.wordmark {
  line-height: 0.9;
}

.wordmark-type {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -0.06em;
}

.wordmark-type-alt {
  color: var(--signal);
  font-style: normal;
}

.wordmark small {
  color: #7b87a0;
}

.desktop-nav a {
  color: #44516c;
  font-size: 12px;
  font-weight: 560;
}

.desktop-nav a::after {
  background: linear-gradient(90deg, var(--signal), var(--aqua));
  height: 2px;
}

.nav-cta {
  background: linear-gradient(120deg, #4d4aff, #7458f5 56%, #12bfc9);
  border: 0;
  color: #fff;
  font-weight: 650;
  padding: 14px 20px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: linear-gradient(120deg, #3532dd, #6341e4 56%, #079eaa);
  color: #fff;
}

.mobile-nav summary {
  color: var(--ink);
  font-weight: 650;
}

.mobile-nav nav {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(53, 58, 120, 0.16);
  overflow: hidden;
}

.eyebrow {
  color: #4b5871;
  font-size: 11px;
  font-weight: 670;
}

.eyebrow > span {
  background: linear-gradient(135deg, var(--signal-warm), var(--violet));
  height: 7px;
  width: 7px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}

.button {
  border-radius: 12px;
  font-size: 12px;
  font-weight: 680;
  min-height: 56px;
  padding-inline: 27px;
}

.button-primary {
  background: linear-gradient(115deg, #4b49f4 0%, #7356f0 52%, #08bfc9 110%);
  border: 0;
  box-shadow: 0 16px 34px rgba(79, 70, 230, 0.2);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(115deg, #3634dc 0%, #6041df 52%, #009faa 110%);
  color: #fff;
  transform: translateY(-3px);
}

.text-link {
  border-bottom-color: rgba(77, 74, 255, 0.35);
  color: var(--signal);
  font-weight: 650;
}

.text-link-light {
  border-bottom-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Bright hero */

.home-hero {
  background: #f7f8ff;
  color: var(--ink);
  min-height: min(940px, 100svh);
}

.home-hero::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 20%, #000 62%, #000 100%);
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-visual {
  animation: chroma-arrive 1.1s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  background:
    radial-gradient(circle at 75% 14%, rgba(255, 255, 255, 0.8), transparent 20%),
    radial-gradient(circle at 70% 47%, rgba(5, 214, 213, 0.95), transparent 31%),
    radial-gradient(circle at 88% 72%, rgba(247, 86, 141, 0.82), transparent 28%),
    radial-gradient(circle at 55% 73%, rgba(132, 82, 247, 0.94), transparent 35%),
    linear-gradient(135deg, #594fff 10%, #7657f4 48%, #12c9d1 100%);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 21% 100%, 0 61%);
  left: 43%;
  transform: none;
}

.hero-wash {
  background:
    radial-gradient(circle at 44% 27%, rgba(255, 255, 255, 0.92), transparent 29%),
    linear-gradient(90deg, #f7f8ff 0%, rgba(247, 248, 255, 0.98) 41%, rgba(247, 248, 255, 0) 69%);
}

.hero-layout {
  min-height: min(940px, 100svh);
  padding-bottom: 28px;
  padding-top: clamp(150px, 17vh, 200px);
}

.hero-copy {
  max-width: min(735px, 51vw);
  padding-bottom: 74px;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(58px, 6.6vw, 105px);
  font-weight: 690;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.hero-copy h1 em {
  background: linear-gradient(100deg, #4b49f4 0%, #7757f5 48%, #08aebc 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  font-weight: 690;
  margin-left: 0;
  margin-top: 10px;
}

.hero-lede {
  color: #53617a;
  font-size: clamp(16px, 1.35vw, 20px);
  max-width: 620px;
}

.home-hero .text-link-light {
  border-bottom-color: rgba(77, 74, 255, 0.36);
  color: var(--signal);
}

.hero-portal {
  filter: drop-shadow(0 38px 45px rgba(44, 46, 115, 0.18));
  right: clamp(24px, 4.5vw, 76px);
  top: 28%;
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg) rotateZ(1.6deg);
  width: min(39vw, 610px);
}

.hero-portal::after {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 19px;
  inset: -8px;
}

.hero-portal .portal-window {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  opacity: 1;
}

.hero-foot {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(78, 88, 142, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-foot span {
  border-right-color: rgba(69, 82, 131, 0.14);
  color: #64718b;
  font-weight: 640;
  padding: 16px 18px;
}

.hero-foot span:first-child {
  padding-left: 18px;
}

@keyframes chroma-arrive {
  from { opacity: 0; transform: translate3d(6%, -2%, 0) scale(1.05); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* Home sections */

.statement-section {
  background:
    radial-gradient(circle at 87% 18%, rgba(5, 191, 207, 0.14), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.statement-layout > p:not(.eyebrow) {
  font-family: var(--display);
  font-weight: 650;
}

.statement-layout > p em {
  background: linear-gradient(100deg, var(--signal), var(--violet), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.statement-note {
  border-left: 2px solid transparent;
  border-image: linear-gradient(var(--signal-warm), var(--violet)) 1;
  color: #596780;
}

.section-heading h2,
.offer-copy h2,
.proof-layout h2,
.portal-story-heading h2,
.faq-intro h2,
.cta-section h2,
.page-hero h1,
.price-layout h2,
.resource-note h2,
.boundary-layout h2,
.hosting-section h2,
.foundation-list h2,
.process-list h2,
.portal-benefit-list h2,
.resource-list h2,
.modular-layout h2,
.honesty-layout h2,
.outcome-row h3,
.application-list h3,
.aside-title,
.form-section-heading h2,
.intake-success h2,
.footer-statement > a,
.footer-brand > span,
.portal-welcome strong,
.flow-step strong {
  font-family: var(--display);
}

.section-heading h2,
.offer-copy h2,
.proof-layout h2,
.portal-story-heading h2,
.faq-intro h2,
.cta-section h2,
.page-hero h1,
.price-layout h2,
.resource-note h2,
.boundary-layout h2,
.hosting-section h2,
.modular-layout h2,
.honesty-layout h2 {
  font-weight: 680;
  letter-spacing: -0.065em;
}

.outcomes-section {
  background: linear-gradient(180deg, #f5f7ff 0%, #edf1ff 100%);
}

.outcome-list,
.application-list,
.foundation-list,
.process-list,
.portal-benefit-list,
.resource-list,
.faq-list,
.included-list {
  border-top-color: var(--line);
}

.outcome-row {
  border-bottom-color: var(--line);
  position: relative;
}

.outcome-row::before {
  background: linear-gradient(90deg, rgba(77, 74, 255, 0.08), rgba(5, 191, 207, 0.05), transparent 75%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 220ms ease;
}

.outcome-row:hover::before {
  opacity: 1;
}

.outcome-row > span,
.process-number,
.resource-number,
.application-meta span,
.portal-benefit-list > article > span,
.foundation-list article > span,
.form-section-heading > span,
.intake-layout aside li span,
.included-list li span {
  color: var(--signal);
  font-weight: 700;
}

.outcome-row h3,
.application-list h3,
.foundation-list h2,
.process-list h2,
.portal-benefit-list h2,
.resource-list h2 {
  font-weight: 650;
}

.portal-story {
  background:
    radial-gradient(circle at 13% 20%, rgba(255, 255, 255, 0.2), transparent 25%),
    radial-gradient(circle at 88% 82%, rgba(11, 231, 216, 0.42), transparent 28%),
    linear-gradient(125deg, #4b48ef 0%, #734fdc 47%, #0aaab9 115%);
  color: #fff;
}

.portal-story::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 62px 62px;
  height: 100%;
  inset: 0;
  opacity: 0.44;
  width: 100%;
}

.portal-story-heading p,
.proof-layout p,
.modular-layout p,
.honesty-layout p {
  color: rgba(255, 255, 255, 0.8);
}

.portal-window {
  background: #fff;
  border: 1px solid rgba(61, 68, 125, 0.16);
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(39, 33, 106, 0.18);
}

.portal-titlebar {
  background: linear-gradient(90deg, #f7f8ff, #eef4ff);
  border-bottom-color: rgba(65, 75, 130, 0.12);
}

.portal-logo {
  background: linear-gradient(135deg, var(--signal), var(--violet));
  border-radius: 8px;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
}

.portal-user {
  background: linear-gradient(135deg, var(--signal-warm), #ff9763);
  color: #fff;
}

.portal-body aside {
  background: linear-gradient(180deg, #3f3ce1 0%, #6d4dd9 62%, #238fae 130%);
  color: rgba(255, 255, 255, 0.67);
}

.portal-body aside .active {
  border-left-color: #74f2e3;
  color: #fff;
}

.portal-welcome > span,
.status-strip span,
.panel-label {
  color: #73809a;
}

.portal-welcome strong {
  font-weight: 670;
}

.portal-panel {
  background: linear-gradient(135deg, #f5f6ff 0%, #eef8fb 100%);
  border: 1px solid rgba(71, 79, 137, 0.1);
  border-radius: 10px;
}

.business-flow {
  border-top-color: rgba(255, 255, 255, 0.34);
}

.flow-line {
  background: linear-gradient(90deg, #ff87ac, #fff, #65efe5);
}

.flow-step {
  border-right-color: rgba(255, 255, 255, 0.22);
}

.flow-step span,
.flow-step small {
  color: rgba(255, 255, 255, 0.67);
}

.flow-step strong {
  font-weight: 650;
}

.applications-section {
  background: #fff;
}

.application-list article {
  border-bottom-color: var(--line);
  position: relative;
}

.application-list article::before {
  background: linear-gradient(180deg, var(--signal), var(--aqua));
  content: "";
  height: calc(100% - 46px);
  left: -1px;
  opacity: 0;
  position: absolute;
  top: 23px;
  transition: opacity 180ms ease;
  width: 3px;
}

.application-list article:hover::before {
  opacity: 1;
}

.offer-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(5, 191, 207, 0.18), transparent 29%),
    radial-gradient(circle at 15% 88%, rgba(244, 87, 134, 0.12), transparent 26%),
    linear-gradient(135deg, #eef0ff 0%, #f4f1ff 50%, #ecfbfb 100%);
}

.included-list li {
  border-bottom-color: var(--line);
  font-family: var(--display);
  font-weight: 610;
}

.proof-section {
  background:
    radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.2), transparent 25%),
    linear-gradient(115deg, #ee5388 0%, #8a51ed 48%, #4b48e9 100%);
  color: #fff;
}

.faq-section {
  background: #fff;
}

.faq-list details {
  border-bottom-color: var(--line);
}

.faq-list summary {
  font-family: var(--display);
  font-weight: 620;
}

.faq-list summary::after {
  color: var(--signal);
}

.cta-section {
  background:
    radial-gradient(circle at 78% 30%, rgba(7, 197, 205, 0.13), transparent 26%),
    linear-gradient(100deg, rgba(77, 74, 255, 0.07), transparent 55%);
  border-top-color: var(--line);
  max-width: none;
  padding-left: max(clamp(24px, 5vw, 84px), calc((100vw - 1540px) / 2 + 84px));
  padding-right: max(clamp(24px, 5vw, 84px), calc((100vw - 1540px) / 2 + 84px));
}

/* Interior pages */

.page-hero {
  background:
    radial-gradient(circle at 82% 23%, rgba(5, 191, 207, 0.3), transparent 25%),
    radial-gradient(circle at 68% 92%, rgba(244, 87, 134, 0.18), transparent 27%),
    linear-gradient(125deg, #f7f8ff 0%, #eeedff 55%, #e5fbfb 100%);
  color: var(--ink);
  overflow: hidden;
}

.page-hero::before {
  background: linear-gradient(90deg, var(--signal), var(--violet), var(--aqua));
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 92px;
}

.page-hero::after {
  background: linear-gradient(145deg, rgba(77, 74, 255, 0.14), rgba(5, 191, 207, 0.08));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero h1 {
  font-weight: 700;
}

.page-hero > p,
.page-hero > div > p {
  color: #56647d;
}

.section-soft,
.price-philosophy {
  background:
    radial-gradient(circle at 84% 15%, rgba(5, 191, 207, 0.16), transparent 25%),
    linear-gradient(135deg, #eef1ff 0%, #f3efff 52%, #eefbfb 100%);
}

.section-ink {
  background:
    radial-gradient(circle at 86% 22%, rgba(12, 217, 208, 0.3), transparent 28%),
    linear-gradient(120deg, #3936cc 0%, #6848d5 58%, #168fa9 125%);
  color: #fff;
}

.foundation-list article,
.process-list article,
.portal-benefit-list article,
.resource-list article {
  border-bottom-color: var(--line);
}

.modular-layout li {
  border-bottom-color: rgba(255, 255, 255, 0.25);
  font-family: var(--display);
  font-weight: 610;
}

.portal-stage {
  background:
    radial-gradient(circle at 88% 12%, rgba(11, 228, 214, 0.32), transparent 28%),
    linear-gradient(125deg, #4a47e9 0%, #704ddf 52%, #138fa8 125%);
}

.demo-badge {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(77, 74, 255, 0.2);
  color: #4c4ad6;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.resource-type {
  color: var(--signal) !important;
  font-weight: 700;
}

.intake-form,
.intake-success {
  background: #fff;
  border: 1px solid rgba(59, 72, 127, 0.1);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(55, 61, 120, 0.1);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-bottom-color: var(--signal);
  box-shadow: 0 1px 0 var(--signal);
}

.check-option input,
.consent-row input {
  accent-color: var(--signal);
}

.success-mark {
  background: linear-gradient(135deg, var(--signal), var(--aqua));
}

/* Color-led footer */

.site-footer {
  background:
    radial-gradient(circle at 82% 12%, rgba(8, 210, 205, 0.25), transparent 25%),
    radial-gradient(circle at 12% 88%, rgba(244, 87, 134, 0.22), transparent 24%),
    linear-gradient(125deg, #292167 0%, #45318f 58%, #176c8e 125%);
  color: #fff;
}

.footer-statement,
.footer-bottom {
  border-color: rgba(255, 255, 255, 0.24);
}

.footer-statement > p,
.footer-brand small,
.footer-links p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.62);
}

.footer-statement > a,
.footer-brand > span {
  font-weight: 650;
}

.footer-statement > a span {
  color: #65f0e3;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1120px) {
  .hero-copy {
    max-width: 630px;
  }

  .hero-visual {
    left: 48%;
  }

  .hero-portal {
    opacity: 0.9;
    right: -100px;
    width: 550px;
  }
}

@media (max-width: 800px) {
  .nav-wrap {
    min-height: 78px;
  }

  .home-hero,
  .hero-layout {
    min-height: auto;
  }

  .home-hero::before {
    mask-image: linear-gradient(180deg, transparent 15%, #000 68%);
  }

  .hero-visual {
    clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%);
    inset: 0;
    left: 0;
    opacity: 0.68;
    top: 50%;
  }

  .hero-wash {
    background: linear-gradient(180deg, #f7f8ff 0%, rgba(247, 248, 255, 0.98) 48%, rgba(247, 248, 255, 0.58) 75%, rgba(247, 248, 255, 0) 100%);
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    padding-bottom: 22px;
    padding-top: 132px;
  }

  .hero-copy {
    max-width: 100%;
    padding-bottom: 34px;
  }

  .hero-portal {
    display: block;
    filter: drop-shadow(0 24px 34px rgba(47, 47, 115, 0.2));
    margin: 20px 0 38px;
    opacity: 1;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .hero-foot {
    width: 100%;
  }

  .hero-foot span {
    border-bottom-color: rgba(69, 82, 131, 0.14);
  }

  .portal-story::before {
    background-size: 42px 42px;
  }

  .page-hero::before {
    top: 78px;
  }

  .cta-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .intake-form,
  .intake-success {
    border-radius: 0;
  }
}

@media (max-width: 520px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: 47px;
  }

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

  .hero-portal .portal-titlebar {
    min-height: 38px;
  }

  .hero-portal .portal-body {
    min-height: 290px;
  }

  .hero-portal .portal-main {
    padding: 19px;
  }

  .hero-portal .portal-welcome strong {
    font-size: 26px;
  }

  .hero-portal .portal-grid {
    display: none;
  }

  .hero-foot {
    border-radius: 10px;
  }

  .intake-form {
    margin-inline: -22px;
  }
}

/* Restrained professional palette */

:root {
  --ink: #23314d;
  --ink-soft: #56657a;
  --paper: #f4f7fb;
  --paper-bright: #fbfcfe;
  --paper-deep: #e8eef2;
  --night: #273348;
  --night-soft: #46546d;
  --muted: #798393;
  --line: rgba(38, 52, 76, 0.15);
  --line-light: rgba(255, 255, 255, 0.27);
  --signal: #6674a3;
  --signal-warm: #7c6f95;
  --aqua: #9ed6c2;
  --violet: #7c6f95;
}

::selection {
  background: #465c84;
}

.nav-wrap {
  background: rgba(251, 252, 254, 0.86);
  border-bottom-color: rgba(54, 67, 91, 0.13);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.nav-cta,
.button-primary,
.portal-action {
  background: linear-gradient(115deg, #6674a3 0%, #679b89 100%);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(115deg, #53618f 0%, #527e70 100%);
}

.button-primary {
  box-shadow: 0 16px 34px rgba(63, 75, 108, 0.15);
}

.eyebrow > span,
.portal-logo,
.success-mark {
  background: linear-gradient(135deg, var(--violet), var(--aqua));
}

.desktop-nav a::after,
.page-hero::before {
  background: linear-gradient(100deg, var(--signal), #79ae9b);
}

.hero-copy h1 em,
.statement-layout > p em {
  background: linear-gradient(100deg, var(--signal), #679b89);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero {
  background: #f4f7fb;
}

.home-hero .eyebrow-light {
  color: #5f6b7e;
}

.hero-visual {
  background:
    radial-gradient(circle at 75% 14%, rgba(255, 255, 255, 0.72), transparent 21%),
    radial-gradient(circle at 72% 44%, rgba(158, 214, 194, 0.8), transparent 31%),
    radial-gradient(circle at 85% 76%, rgba(102, 116, 163, 0.62), transparent 34%),
    linear-gradient(135deg, #6d79a6 6%, #82bda9 100%);
}

.hero-wash {
  background:
    radial-gradient(circle at 44% 27%, rgba(255, 255, 255, 0.92), transparent 29%),
    linear-gradient(90deg, #f4f7fb 0%, rgba(244, 247, 251, 0.98) 41%, rgba(244, 247, 251, 0) 69%);
}

.hero-portal {
  filter: drop-shadow(0 38px 45px rgba(48, 59, 84, 0.16));
}

.statement-section {
  background:
    radial-gradient(circle at 87% 18%, rgba(158, 214, 194, 0.22), transparent 30%),
    linear-gradient(125deg, #f9fbfd 0%, #edf7f3 100%);
}

.outcomes-section {
  background: linear-gradient(135deg, #f3f6fa 0%, #eaf5f1 100%);
}

.outcome-row::before {
  background: linear-gradient(90deg, rgba(82, 99, 143, 0.08), rgba(77, 133, 136, 0.05), transparent 75%);
}

.portal-story {
  background:
    radial-gradient(circle at 13% 20%, rgba(255, 255, 255, 0.16), transparent 25%),
    radial-gradient(circle at 88% 82%, rgba(158, 214, 194, 0.32), transparent 28%),
    linear-gradient(125deg, #59658f 0%, #527e70 115%);
}

.portal-body aside {
  background: linear-gradient(180deg, #59658f 0%, #527e70 130%);
}

.portal-user {
  background: linear-gradient(135deg, #7c6f95, #6674a3);
}

.flow-line {
  background: linear-gradient(90deg, #9488ad, #ffffff, #9ed6c2);
}

.applications-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(158, 214, 194, 0.18), transparent 30%),
    linear-gradient(125deg, #f8fafc 0%, #edf7f3 100%);
}

.offer-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(158, 214, 194, 0.22), transparent 29%),
    radial-gradient(circle at 15% 88%, rgba(124, 111, 149, 0.11), transparent 26%),
    linear-gradient(135deg, #eef2f7 0%, #eaf6f1 100%);
}

.proof-section {
  background:
    radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(115deg, #626f9a 0%, #527e70 100%);
}

.faq-section {
  background: transparent;
}

.cta-section {
  background:
    radial-gradient(circle at 78% 30%, rgba(158, 214, 194, 0.18), transparent 26%),
    linear-gradient(100deg, rgba(102, 116, 163, 0.08), rgba(158, 214, 194, 0.08) 70%);
}

.page-hero {
  background:
    radial-gradient(circle at 82% 23%, rgba(158, 214, 194, 0.28), transparent 25%),
    radial-gradient(circle at 68% 92%, rgba(124, 111, 149, 0.12), transparent 27%),
    linear-gradient(125deg, #f4f7fb 0%, #eaf6f1 100%);
}

.section-soft,
.price-philosophy {
  background:
    radial-gradient(circle at 84% 15%, rgba(158, 214, 194, 0.2), transparent 25%),
    linear-gradient(135deg, #eef2f7 0%, #eaf6f1 100%);
}

.section-ink {
  background:
    radial-gradient(circle at 86% 22%, rgba(158, 214, 194, 0.28), transparent 28%),
    linear-gradient(120deg, #5e6b96 0%, #527e70 125%);
}

.portal-stage {
  background:
    radial-gradient(circle at 88% 12%, rgba(158, 214, 194, 0.3), transparent 28%),
    linear-gradient(125deg, #61709d 0%, #527e70 125%);
}

.site-footer {
  background:
    radial-gradient(circle at 82% 12%, rgba(158, 214, 194, 0.23), transparent 25%),
    radial-gradient(circle at 12% 88%, rgba(124, 111, 149, 0.15), transparent 24%),
    linear-gradient(125deg, #273348 0%, #4b6f65 125%);
}

.work-accent-violet {
  --work-accent: #746b93;
}

.work-accent-aqua {
  --work-accent: #6fae9a;
}

.work-accent-coral {
  --work-accent: #a97575;
}

.work-accent-indigo {
  --work-accent: #52638f;
}

.work-accent-rose {
  --work-accent: #8b6d82;
}

.client-portal-app {
  --portal-ink: #26324a;
  --portal-muted: #667184;
  --portal-line: rgba(54, 67, 91, 0.16);
  background:
    radial-gradient(circle at 8% 2%, rgba(82, 99, 143, 0.11), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(77, 133, 136, 0.09), transparent 26rem),
    #f6f7fa;
}

.client-project-nav a:hover,
.client-project-nav a:focus-visible,
.client-project-nav a.active {
  background: linear-gradient(90deg, rgba(82, 99, 143, 0.09), rgba(82, 99, 143, 0));
  border-left-color: var(--signal);
}

.client-portal-intro > p,
.project-portal-title > div > p,
.client-empty-state > span,
.portal-form-heading > span,
.project-section-heading > span,
.file-list a:hover span,
.file-list a:focus-visible span {
  color: var(--signal);
}

.portal-form {
  background:
    linear-gradient(120deg, rgba(82, 99, 143, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.78);
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus,
.message-form textarea:focus,
.file-upload-form input:focus {
  border-color: var(--signal);
  outline-color: rgba(82, 99, 143, 0.16);
}

.project-status-active {
  border-color: rgba(77, 133, 136, 0.35);
  color: #527e70;
}

.project-status-waiting {
  border-color: rgba(169, 117, 117, 0.38);
  color: #8f5f60;
}

.project-status-overview {
  background: linear-gradient(118deg, #4f5c87, #74698e 58%, #527e70 140%);
}

@media (max-width: 800px) {
  .hero-wash {
    background: linear-gradient(180deg, #f4f7fb 0%, rgba(244, 247, 251, 0.98) 48%, rgba(244, 247, 251, 0.64) 75%, rgba(244, 247, 251, 0) 100%);
  }

  .client-project-nav a:hover,
  .client-project-nav a:focus-visible,
  .client-project-nav a.active {
    background: linear-gradient(180deg, rgba(82, 99, 143, 0), rgba(82, 99, 143, 0.08));
    border-bottom-color: var(--signal);
    border-left-color: transparent;
  }
}

/* Final mint and periwinkle experience layer */

.home-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.98), transparent 27%),
    radial-gradient(circle at 88% 18%, rgba(158, 214, 194, 0.3), transparent 29%),
    radial-gradient(circle at 68% 86%, rgba(124, 111, 149, 0.17), transparent 31%),
    linear-gradient(128deg, #f9fbfd 0%, #edf3f8 50%, #e8f6f0 100%);
  min-height: min(980px, 100svh);
}

.home-hero::before {
  animation: system-field-drift 16s ease-in-out infinite alternate;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.6px),
    linear-gradient(125deg, rgba(102, 116, 163, 0.05), rgba(158, 214, 194, 0.14));
  background-size: 24px 24px, 100% 100%;
  border-radius: 50%;
  height: 960px;
  inset: -170px -170px auto auto;
  mask-image: none;
  opacity: 0.72;
  transform: rotate(-8deg);
  width: 960px;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(50px, 5.5vw, 96px);
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  grid-template-rows: 1fr auto;
  min-height: min(980px, 100svh);
  padding-bottom: 26px;
  padding-top: clamp(142px, 15vh, 180px);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding-bottom: 48px;
}

.hero-copy h1 {
  font-size: clamp(62px, 6vw, 98px);
}

.hero-copy h1 em {
  background: linear-gradient(100deg, #6674a3 0%, #7c6f95 46%, #679b89 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 760px;
}

.hero-foot {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 5;
}

.button-primary,
.nav-cta,
.portal-action {
  background: linear-gradient(115deg, #6674a3 0%, #7c6f95 48%, #679b89 112%);
}

.button-primary:hover,
.button-primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  background: linear-gradient(115deg, #53618f 0%, #685d80 48%, #527e70 112%);
}

@media (max-width: 1180px) {
  .hero-layout {
    gap: 42px;
    grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  }
}

@media (max-width: 940px) {
  .home-hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 138px;
  }

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

  .hero-system-stage {
    grid-row: 2;
  }

  .hero-foot {
    grid-row: 3;
  }
}

@media (max-width: 650px) {
  .home-hero,
  .hero-layout {
    min-height: auto;
  }

  .home-hero::before {
    height: 620px;
    right: -330px;
    top: -120px;
    width: 620px;
  }

  .hero-layout {
    display: grid;
    gap: 34px;
    padding-top: 124px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    font-size: 51px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero::before {
    animation: none;
  }
}

/* Soft atmosphere with stronger foreground authority */

:root {
  --ink: #1e2943;
  --ink-soft: #475773;
  --paper: #f3f7f7;
  --paper-bright: #fbfcfc;
  --paper-deep: #e7f0ee;
  --night: #202943;
  --night-soft: #393f69;
  --muted: #6f7d8f;
  --line: rgba(30, 41, 67, 0.16);
  --signal: #5651b6;
  --signal-warm: #665893;
  --aqua: #2fa982;
  --violet: #6656a8;
}

::selection {
  background: #5651b6;
  color: #fff;
}

.nav-wrap {
  background: rgba(247, 250, 250, 0.9);
  border-bottom-color: rgba(30, 41, 67, 0.14);
}

.wordmark-type {
  color: var(--ink);
  font-weight: 790;
}

.wordmark-type-alt {
  color: var(--signal);
}

.desktop-nav a {
  color: #34435e;
  font-weight: 640;
}

.desktop-nav a::after,
.page-hero::before {
  background: linear-gradient(90deg, #5651b6, #2fa982);
}

.nav-cta,
.button-primary,
.portal-action {
  background: linear-gradient(115deg, #5651b6 0%, #6656a8 47%, #2f9f7b 112%);
  box-shadow: 0 16px 34px rgba(50, 53, 112, 0.18);
  color: #fff;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(115deg, #464196 0%, #55478d 47%, #247e63 112%);
  color: #fff;
}

.eyebrow {
  color: #3f4d67;
  font-weight: 720;
}

.eyebrow > span {
  background: #2fa982;
  box-shadow: 0 0 0 4px rgba(47, 169, 130, 0.12);
}

.home-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.99), transparent 28%),
    radial-gradient(circle at 89% 17%, rgba(154, 221, 196, 0.34), transparent 29%),
    radial-gradient(circle at 69% 86%, rgba(102, 86, 168, 0.15), transparent 31%),
    linear-gradient(128deg, #f9fbfb 0%, #eef2f8 50%, #e5f5ef 100%);
}

.home-hero::before {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.88) 0 1px, transparent 1.6px),
    linear-gradient(125deg, rgba(86, 81, 182, 0.055), rgba(47, 169, 130, 0.15));
}

.hero-copy h1 {
  color: #1c2740;
  font-weight: 790;
  letter-spacing: -0.078em;
}

.hero-copy h1 em {
  background: linear-gradient(98deg, #4e49ad 0%, #6656a8 43%, #258f70 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 790;
}

.hero-lede {
  color: #42516a;
  font-weight: 470;
}

.home-hero .text-link-light {
  border-bottom-color: rgba(86, 81, 182, 0.46);
  color: #4b46a1;
  font-weight: 700;
}

.hero-system-stage {
  --stage-accent: #79ddb5;
  background:
    radial-gradient(circle at 84% 13%, rgba(121, 221, 181, 0.38), transparent 27%),
    radial-gradient(circle at 8% 90%, rgba(119, 102, 190, 0.4), transparent 31%),
    linear-gradient(138deg, #222b49 0%, #494578 52%, #2d775f 118%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 34px 90px rgba(29, 37, 66, 0.2);
}

.system-mode-intake {
  --stage-accent: #9189dd;
}

.system-mode-portal {
  --stage-accent: #a58bd2;
}

.system-mode-followup {
  --stage-accent: #67d5a9;
}

.system-stage-label {
  border-bottom-color: rgba(255, 255, 255, 0.27);
  font-weight: 740;
}

.system-stage-label span:first-child {
  color: rgba(255, 255, 255, 0.82);
}

.system-orbit {
  border-color: rgba(255, 255, 255, 0.23);
}

.system-orbit::after {
  background: #83e5bd;
  box-shadow: 0 0 0 5px rgba(131, 229, 189, 0.13), 0 0 24px rgba(131, 229, 189, 0.92);
}

.system-browser {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 50px rgba(12, 19, 41, 0.28);
}

.system-screen {
  animation: system-view-in 420ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.browser-mark {
  background: linear-gradient(135deg, #5b55bb, #2fa982);
}

.browser-live::before,
.system-signal span {
  background: #23966f;
  box-shadow: 0 0 0 3px rgba(35, 150, 111, 0.13);
}

.system-signal {
  border: 1px solid rgba(58, 69, 104, 0.14);
  box-shadow: 0 12px 28px rgba(20, 28, 55, 0.16);
  color: #33435e;
  font-weight: 760;
}

.system-experience-tabs {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.system-experience-tabs button {
  color: rgba(255, 255, 255, 0.68);
}

.system-experience-tabs button::before {
  background: #83e5bd;
  height: 3px;
}

.system-experience-tabs button:hover,
.system-experience-tabs button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.system-experience-tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(131, 229, 189, 0.2), rgba(131, 229, 189, 0.07));
  color: #fff;
}

.system-experience-tabs button span {
  font-weight: 760;
}

.demo-site-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(47, 169, 130, 0.32), transparent 29%),
    linear-gradient(130deg, #e9edf7 0%, #dff3eb 100%);
}

.demo-site-hero > span,
.demo-next-action {
  background: linear-gradient(110deg, #343b72, #23785f);
}

.demo-portal-nav {
  background: linear-gradient(180deg, #3b3b71, #28765e);
}

.demo-portal-nav .active {
  border-left-color: #83e5bd;
}

.demo-lead-active {
  background: linear-gradient(90deg, rgba(47, 169, 130, 0.15), transparent);
  border-left-color: #2fa982;
}

.portal-story {
  background:
    radial-gradient(circle at 13% 20%, rgba(255, 255, 255, 0.17), transparent 25%),
    radial-gradient(circle at 88% 82%, rgba(121, 221, 181, 0.35), transparent 28%),
    linear-gradient(125deg, #514da8 0%, #65538f 48%, #28785f 118%);
}

.portal-body aside {
  background: linear-gradient(180deg, #4e49a4 0%, #28785f 130%);
}

.portal-body aside .active {
  border-left-color: #83e5bd;
}

.flow-line {
  background: linear-gradient(90deg, #9c8edf, #ffffff, #83e5bd);
  box-shadow: 0 0 18px rgba(131, 229, 189, 0.28);
}

.portfolio-runway {
  background:
    radial-gradient(circle at 82% 12%, rgba(121, 221, 181, 0.3), transparent 29%),
    linear-gradient(125deg, #242d4c 0%, #514a7e 54%, #2d745e 120%);
}

.portfolio-runway-intro h2 {
  font-weight: 720;
}

.portfolio-runway-intro p {
  color: rgba(255, 255, 255, 0.78);
}

.portfolio-band {
  background: rgba(255, 255, 255, 0.025);
}

.portfolio-band > strong {
  font-weight: 730;
}

.portfolio-band > span,
.portfolio-band > small {
  color: rgba(255, 255, 255, 0.68);
}

.portfolio-band-mr9 {
  --band-color: #5669b8;
}

.portfolio-band-illumitubes {
  --band-color: #268c72;
}

.portfolio-band-nesc {
  --band-color: #7a5f9f;
}

.portfolio-band-tpf {
  --band-color: #4f468a;
}

.portfolio-band-once {
  --band-color: #3d7f69;
}

.page-hero {
  background:
    radial-gradient(circle at 82% 23%, rgba(121, 221, 181, 0.28), transparent 25%),
    radial-gradient(circle at 68% 92%, rgba(102, 86, 168, 0.13), transparent 27%),
    linear-gradient(125deg, #f5f8f9 0%, #e7f4ef 100%);
}

.section-ink,
.portal-stage {
  background:
    radial-gradient(circle at 86% 22%, rgba(121, 221, 181, 0.3), transparent 28%),
    linear-gradient(120deg, #4f4a9e 0%, #28785f 125%);
}

.proof-section {
  background:
    radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.17), transparent 25%),
    linear-gradient(115deg, #5b55ac 0%, #28785f 108%);
}

.site-footer {
  background:
    radial-gradient(circle at 82% 12%, rgba(121, 221, 181, 0.25), transparent 25%),
    radial-gradient(circle at 12% 88%, rgba(102, 86, 168, 0.18), transparent 24%),
    linear-gradient(125deg, #202943 0%, #4d477b 58%, #286852 125%);
}

@keyframes system-view-in {
  from {
    opacity: 0;
    transform: translateY(9px) scale(0.988);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 650px) {
  .hero-system-stage {
    box-shadow: 0 24px 60px rgba(29, 37, 66, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-screen {
    animation: none;
  }
}

/* Interactive system comparison and portfolio command */

.system-lab {
  background:
    radial-gradient(circle at 88% 11%, rgba(131, 229, 189, 0.24), transparent 27%),
    radial-gradient(circle at 8% 88%, rgba(102, 86, 168, 0.12), transparent 25%),
    linear-gradient(135deg, #f8fbfb 0%, #edf4f7 48%, #e8f6f0 100%);
  overflow: hidden;
  padding: clamp(110px, 12vw, 185px) 0;
  position: relative;
}

.system-lab::before {
  background:
    linear-gradient(rgba(30, 41, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 67, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 27%, #000 73%, transparent);
  pointer-events: none;
  position: absolute;
}

.system-lab-heading {
  align-items: end;
  display: grid;
  gap: clamp(50px, 9vw, 150px);
  grid-template-columns: 1.12fr 0.68fr;
  position: relative;
  z-index: 1;
}

.system-lab-heading h2 {
  color: var(--ink);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 780;
  letter-spacing: -0.074em;
  line-height: 0.94;
  margin: 0;
  max-width: 900px;
}

.system-lab-heading > div:last-child > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.72;
  margin: 0;
  max-width: 560px;
}

.lab-toggle {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(30, 41, 67, 0.14);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  padding: 5px;
}

.lab-toggle button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #526078;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
  min-height: 47px;
  padding: 8px 16px;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.lab-toggle button[aria-pressed="true"] {
  background: linear-gradient(115deg, #5550b4, #6656a8 48%, #2f9f7b 115%);
  box-shadow: 0 12px 24px rgba(39, 42, 90, 0.16);
  color: #fff;
}

.lab-toggle button:focus-visible {
  outline: 3px solid rgba(47, 169, 130, 0.3);
  outline-offset: 2px;
}

.lab-stage {
  background:
    radial-gradient(circle at 92% 8%, rgba(131, 229, 189, 0.28), transparent 31%),
    linear-gradient(132deg, #202943 0%, #3f416c 52%, #295e50 118%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  box-shadow: 0 38px 100px rgba(28, 37, 64, 0.18);
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(300px, 0.64fr) minmax(560px, 1.36fr);
  margin-top: clamp(58px, 7vw, 92px);
  min-height: 620px;
  overflow: hidden;
  padding: 0;
  position: relative;
  z-index: 1;
}

.lab-stage::after {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
}

.lab-story {
  align-self: center;
  color: #fff;
  padding: clamp(46px, 5vw, 78px) 0 clamp(46px, 5vw, 78px) clamp(42px, 5vw, 78px);
  position: relative;
  z-index: 2;
}

.lab-story > span {
  color: #91e7c2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lab-story h3 {
  font-size: clamp(34px, 3.6vw, 59px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 24px 0;
  max-width: 560px;
}

.lab-story p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.72;
  margin: 0;
  max-width: 510px;
}

.lab-visual {
  align-self: stretch;
  animation: lab-view-enter 520ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  min-height: 620px;
  padding: 34px 34px 34px 0;
  position: relative;
  z-index: 3;
}

.lab-canvas {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 21px;
  height: 100%;
  min-height: 552px;
  overflow: hidden;
  position: relative;
}

.lab-canvas-connected {
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(131, 229, 189, 0.5), transparent 29%),
    radial-gradient(circle at 18% 85%, rgba(102, 86, 168, 0.22), transparent 31%),
    linear-gradient(135deg, #edf2fa 0%, #e4f4ee 100%);
  display: flex;
  justify-content: center;
}

.lab-canvas-scattered {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.8), transparent 26%),
    linear-gradient(135deg, #eff1f4 0%, #e7eaed 100%);
}

.lab-canvas-scattered::after {
  color: rgba(57, 67, 88, 0.08);
  content: "?";
  font-size: 380px;
  font-weight: 820;
  line-height: 1;
  position: absolute;
  right: -15px;
  top: 70px;
}

.lab-drift-card {
  animation: lab-card-drift 6s ease-in-out infinite alternate;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(58, 67, 88, 0.14);
  border-radius: 13px;
  box-shadow: 0 22px 44px rgba(42, 49, 66, 0.12);
  display: grid;
  gap: 8px;
  padding: 21px 23px;
  position: absolute;
  width: min(265px, 40%);
  z-index: 2;
}

.lab-drift-card > span,
.lab-handoff-head > span,
.lab-next-step > span,
.lab-signal {
  color: #68768b;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lab-drift-card strong {
  color: #2d3850;
  font-size: 14px;
}

.lab-drift-card small {
  color: #788293;
  font-size: 10px;
}

.lab-drift-email {
  left: 7%;
  top: 11%;
  transform: rotate(-2.5deg);
}

.lab-drift-text {
  animation-delay: -1.2s;
  right: 8%;
  top: 18%;
  transform: rotate(2deg);
}

.lab-drift-file {
  animation-delay: -2.4s;
  bottom: 12%;
  left: 12%;
  transform: rotate(1.5deg);
}

.lab-drift-note {
  animation-delay: -3.6s;
  bottom: 18%;
  right: 6%;
  transform: rotate(-2deg);
}

.lab-broken-path {
  border-top: 2px dashed rgba(102, 86, 168, 0.22);
  position: absolute;
  transform-origin: left center;
  width: 35%;
  z-index: 1;
}

.lab-broken-path-one {
  left: 29%;
  top: 43%;
  transform: rotate(19deg);
}

.lab-broken-path-two {
  left: 37%;
  top: 65%;
  transform: rotate(-24deg);
}

.lab-handoff-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(30, 41, 67, 0.13);
  border-radius: 18px;
  box-shadow: 0 30px 75px rgba(35, 45, 77, 0.16);
  padding: clamp(27px, 3.2vw, 43px);
  position: relative;
  width: min(590px, 72%);
  z-index: 4;
}

.lab-handoff-head {
  align-items: center;
  border-bottom: 1px solid rgba(30, 41, 67, 0.12);
  display: flex;
  justify-content: space-between;
  padding-bottom: 17px;
}

.lab-handoff-head strong {
  align-items: center;
  color: #24785e;
  display: flex;
  font-size: 10px;
  gap: 8px;
}

.lab-handoff-head strong::before {
  background: #2fa982;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(47, 169, 130, 0.13);
  content: "";
  height: 7px;
  width: 7px;
}

.lab-handoff-card h3 {
  color: #202b46;
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 760;
  letter-spacing: -0.055em;
  margin: 28px 0 6px;
}

.lab-handoff-card > p {
  color: #6d798b;
  font-size: 13px;
  margin: 0;
}

.lab-handoff-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr 1fr;
  margin: 29px 0;
}

.lab-handoff-grid span {
  background: linear-gradient(120deg, rgba(86, 81, 182, 0.055), rgba(47, 169, 130, 0.075));
  border: 1px solid rgba(30, 41, 67, 0.08);
  border-radius: 9px;
  color: #536078;
  display: grid;
  font-size: 10px;
  gap: 8px;
  padding: 14px;
}

.lab-handoff-grid b {
  color: #273550;
  font-size: 12px;
}

.lab-next-step {
  background: linear-gradient(112deg, #514ca9, #66538f 52%, #26775e 120%);
  border-radius: 11px;
  color: #fff;
  display: grid;
  gap: 8px;
  padding: 17px 19px;
}

.lab-next-step > span {
  color: rgba(255, 255, 255, 0.62);
}

.lab-next-step strong {
  font-size: 13px;
}

.lab-pulse-ring {
  border: 1px solid rgba(47, 169, 130, 0.27);
  border-radius: 50%;
  height: 520px;
  position: absolute;
  width: 520px;
}

.lab-pulse-ring::after {
  animation: lab-signal-pulse 2.8s ease-in-out infinite;
  background: #5dd6a8;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(93, 214, 168, 0.14), 0 0 28px rgba(93, 214, 168, 0.75);
  content: "";
  height: 8px;
  left: 12%;
  position: absolute;
  top: 13%;
  width: 8px;
}

.lab-pulse-ring-two {
  height: 700px;
  opacity: 0.65;
  width: 700px;
}

.lab-pulse-ring-two::after {
  animation-delay: -1.4s;
  left: auto;
  right: 16%;
  top: 70%;
}

.lab-signal {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 41, 67, 0.12);
  border-radius: 999px;
  box-shadow: 0 13px 28px rgba(32, 42, 68, 0.14);
  color: #34425c;
  padding: 10px 14px 10px 29px;
  position: absolute;
  z-index: 5;
}

.lab-signal::before {
  background: #2fa982;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(47, 169, 130, 0.13);
  content: "";
  height: 7px;
  left: 13px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
}

.lab-signal-intake {
  left: 4%;
  top: 14%;
}

.lab-signal-files {
  bottom: 13%;
  left: 6%;
}

.lab-signal-client {
  right: 4%;
  top: 23%;
}

.lab-results {
  border-bottom: 1px solid rgba(30, 41, 67, 0.15);
  border-top: 1px solid rgba(30, 41, 67, 0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  position: relative;
  z-index: 1;
}

.lab-results span {
  color: #42516a;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.1em;
  padding: 19px 24px;
  text-align: center;
  text-transform: uppercase;
}

.lab-results span + span {
  border-left: 1px solid rgba(30, 41, 67, 0.15);
}

.portfolio-runway {
  --portfolio-accent: #83e5bd;
  min-height: auto;
  padding: clamp(110px, 12vw, 180px) 0;
  transition: background 480ms ease;
}

.portfolio-command-incendie {
  --portfolio-accent: #ef3553;
  background:
    radial-gradient(circle at 82% 13%, rgba(239, 53, 83, 0.25), transparent 29%),
    linear-gradient(125deg, #211d31 0%, #47233a 54%, #183c48 120%);
}

.portfolio-command-mr9 {
  --portfolio-accent: #7f94ff;
  background:
    radial-gradient(circle at 82% 13%, rgba(127, 148, 255, 0.26), transparent 29%),
    linear-gradient(125deg, #222b49 0%, #3f4977 54%, #2c6755 120%);
}

.portfolio-command-illumitubes {
  --portfolio-accent: #83e5bd;
  background:
    radial-gradient(circle at 82% 13%, rgba(131, 229, 189, 0.29), transparent 29%),
    linear-gradient(125deg, #202d47 0%, #385b72 54%, #26765b 120%);
}

.portfolio-command-nesc {
  --portfolio-accent: #be9ee8;
  background:
    radial-gradient(circle at 82% 13%, rgba(190, 158, 232, 0.27), transparent 29%),
    linear-gradient(125deg, #252b46 0%, #554675 54%, #31665a 120%);
}

.portfolio-command-tpf {
  --portfolio-accent: #a99de9;
  background:
    radial-gradient(circle at 82% 13%, rgba(169, 157, 233, 0.26), transparent 29%),
    linear-gradient(125deg, #20283f 0%, #463c71 54%, #2b604f 120%);
}

.portfolio-command-once {
  --portfolio-accent: #81d9b6;
  background:
    radial-gradient(circle at 82% 13%, rgba(129, 217, 182, 0.28), transparent 29%),
    linear-gradient(125deg, #243047 0%, #3b526c 54%, #2d765b 120%);
}

.portfolio-command {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  margin-top: clamp(62px, 7vw, 96px);
  min-height: 585px;
  overflow: hidden;
  padding-inline: 0;
}

.portfolio-command-tabs {
  background: rgba(11, 18, 35, 0.23);
  display: grid;
  grid-template-rows: repeat(6, 1fr);
}

.portfolio-command-tabs button {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.57);
  cursor: pointer;
  display: grid;
  gap: 17px;
  grid-template-columns: 34px 1fr;
  min-height: 94px;
  padding: 19px 25px;
  position: relative;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, padding 180ms ease;
}

.portfolio-command-tabs button:last-child {
  border-bottom: 0;
}

.portfolio-command-tabs button::before {
  background: var(--portfolio-accent);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleY(0);
  transition: transform 180ms ease;
  width: 4px;
}

.portfolio-command-tabs button:hover,
.portfolio-command-tabs button:focus-visible,
.portfolio-command-tabs button[aria-selected="true"] {
  background: linear-gradient(90deg, color-mix(in srgb, var(--portfolio-accent) 18%, transparent), transparent);
  color: #fff;
  padding-left: 31px;
}

.portfolio-command-tabs button[aria-selected="true"]::before {
  transform: scaleY(1);
}

.portfolio-command-tabs button > span {
  color: var(--portfolio-accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
}

.portfolio-command-tabs button > strong {
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 700;
}

.portfolio-command-panel {
  animation: portfolio-panel-enter 520ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  background:
    radial-gradient(circle at 77% 28%, color-mix(in srgb, var(--portfolio-accent) 24%, transparent), transparent 30%),
    rgba(255, 255, 255, 0.045);
  min-height: 585px;
  overflow: hidden;
  position: relative;
}

.portfolio-command-orbit {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--portfolio-accent) 30%, transparent);
  border-radius: 50%;
  display: flex;
  height: min(58vw, 760px);
  justify-content: center;
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  width: min(58vw, 760px);
}

.portfolio-command-orbit::before,
.portfolio-command-orbit::after {
  border: 1px solid color-mix(in srgb, var(--portfolio-accent) 22%, transparent);
  border-radius: 50%;
  content: "";
  inset: 12%;
  position: absolute;
}

.portfolio-command-orbit::after {
  inset: 28%;
}

.portfolio-command-orbit > span {
  color: color-mix(in srgb, var(--portfolio-accent) 20%, transparent);
  font-size: clamp(220px, 25vw, 390px);
  font-weight: 840;
  letter-spacing: -0.12em;
}

.portfolio-command-copy {
  color: #fff;
  max-width: 720px;
  padding: clamp(58px, 7vw, 100px);
  position: relative;
  z-index: 2;
}

.portfolio-command-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.portfolio-command-meta > span {
  color: var(--portfolio-accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-command-meta > b {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.portfolio-command-copy h3 {
  font-size: clamp(53px, 6.3vw, 96px);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.91;
  margin: 30px 0 28px;
  max-width: 760px;
}

.portfolio-command-copy > p {
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
  margin: 0;
  max-width: 650px;
}

.portfolio-command-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 32px 0 38px;
}

.portfolio-command-tags span {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  padding: 9px 13px;
}

.portfolio-command-link {
  align-items: center;
  border-bottom: 1px solid var(--portfolio-accent);
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 730;
  gap: 21px;
  padding-bottom: 8px;
}

.portfolio-command-link span {
  color: var(--portfolio-accent);
  transition: transform 180ms ease;
}

.portfolio-command-link:hover span,
.portfolio-command-link:focus-visible span {
  transform: translate(4px, -3px);
}

@keyframes lab-view-enter {
  from { opacity: 0; transform: translateY(13px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lab-card-drift {
  from { margin-top: -4px; }
  to { margin-top: 7px; }
}

@keyframes lab-signal-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes portfolio-panel-enter {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1100px) {
  .lab-stage {
    gap: 20px;
    grid-template-columns: minmax(280px, 0.6fr) minmax(490px, 1.4fr);
  }

  .lab-handoff-card {
    width: 78%;
  }

  .portfolio-command-copy {
    padding: 65px;
  }
}

@media (max-width: 900px) {
  .system-lab-heading {
    grid-template-columns: 1fr;
  }

  .lab-toggle {
    max-width: 520px;
  }

  .lab-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lab-story {
    padding: 52px 52px 12px;
  }

  .lab-visual {
    min-height: 560px;
    padding: 22px 32px 32px;
  }

  .lab-canvas {
    min-height: 505px;
  }

  .portfolio-command {
    grid-template-columns: 1fr;
  }

  .portfolio-command-tabs {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }

  .portfolio-command-tabs button {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    min-height: 94px;
    padding: 17px 13px;
    text-align: center;
  }

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

  .portfolio-command-tabs button::before {
    height: 3px;
    inset: auto 0 0;
    transform: scaleX(0);
    width: auto;
  }

  .portfolio-command-tabs button:hover,
  .portfolio-command-tabs button:focus-visible,
  .portfolio-command-tabs button[aria-selected="true"] {
    padding-left: 13px;
  }

  .portfolio-command-tabs button[aria-selected="true"]::before {
    transform: scaleX(1);
  }

  .portfolio-command-tabs button > strong {
    font-size: 11px;
  }

  .portfolio-command-panel,
  .portfolio-command {
    min-height: 560px;
  }

  .portfolio-command-orbit {
    height: 740px;
    right: -35%;
    width: 740px;
  }
}

@media (max-width: 650px) {
  .system-lab-heading h2 {
    font-size: 50px;
  }

  .lab-toggle {
    grid-template-columns: 1fr;
  }

  .lab-stage {
    border-radius: 20px;
  }

  .lab-story {
    padding: 42px 27px 5px;
  }

  .lab-story h3 {
    font-size: 36px;
  }

  .lab-visual {
    min-height: 465px;
    padding: 20px;
  }

  .lab-canvas {
    min-height: 425px;
  }

  .lab-handoff-card {
    padding: 24px;
    width: 88%;
  }

  .lab-handoff-card h3 {
    font-size: 30px;
  }

  .lab-handoff-grid {
    grid-template-columns: 1fr;
  }

  .lab-handoff-grid span:nth-child(n + 3) {
    display: none;
  }

  .lab-signal {
    font-size: 8px;
    padding: 8px 10px 8px 25px;
  }

  .lab-signal-intake {
    left: 1%;
    top: 7%;
  }

  .lab-signal-files {
    bottom: 6%;
    left: 2%;
  }

  .lab-signal-client {
    right: 1%;
    top: 12%;
  }

  .lab-drift-card {
    padding: 14px;
    width: 48%;
  }

  .lab-drift-card strong {
    font-size: 12px;
  }

  .lab-results {
    grid-template-columns: 1fr;
  }

  .lab-results span + span {
    border-left: 0;
    border-top: 1px solid rgba(30, 41, 67, 0.15);
  }

  .portfolio-command {
    border-radius: 18px;
  }

  .portfolio-command-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

  .portfolio-command-tabs button {
    min-width: 0;
  }

  .portfolio-command-tabs button > strong {
    font-size: 9px;
    line-height: 1.25;
  }

  .portfolio-command-panel,
  .portfolio-command {
    min-height: 590px;
  }

  .portfolio-command-copy {
    padding: 54px 27px;
  }

  .portfolio-command-copy h3 {
    font-size: 52px;
  }

  .portfolio-command-orbit {
    height: 600px;
    right: -70%;
    width: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-visual,
  .lab-drift-card,
  .lab-pulse-ring::after,
  .portfolio-command-panel {
    animation: none;
  }
}

/* Clear action hierarchy: ink, cobalt, and mint */

:root {
  --ink: #17243b;
  --ink-soft: #46566d;
  --paper: #f7f9f7;
  --paper-bright: #ffffff;
  --paper-deep: #edf3ef;
  --night: #15223a;
  --night-soft: #22314e;
  --muted: #6d7a8b;
  --line: rgba(23, 36, 59, 0.15);
  --signal: #4459d6;
  --signal-warm: #4459d6;
  --aqua: #44d6a2;
  --violet: #4459d6;
}

body {
  background: var(--paper);
}

::selection {
  background: var(--signal);
  color: #fff;
}

.nav-wrap {
  background: rgba(250, 252, 250, 0.94);
  border-bottom-color: rgba(23, 36, 59, 0.12);
  box-shadow: 0 12px 35px rgba(21, 34, 58, 0.06);
}

.desktop-nav a::after,
.page-hero::before {
  background: var(--signal);
}

.nav-cta,
.button-primary,
.portal-action {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 14px 28px rgba(68, 89, 214, 0.22);
  color: #fff;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: #3448be;
  border-color: #3448be;
  box-shadow: 0 17px 34px rgba(52, 72, 190, 0.25);
  color: #fff;
}

.eyebrow > span {
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(68, 214, 162, 0.15);
}

.hero-copy h1 em,
.statement-layout > p em {
  background: none;
  color: var(--signal);
  -webkit-text-fill-color: currentColor;
}

.home-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(68, 214, 162, 0.15), transparent 29%),
    #f8faf8;
}

.home-hero::before {
  background:
    radial-gradient(circle at center, rgba(68, 89, 214, 0.09) 0 1px, transparent 1.5px);
  background-size: 27px 27px;
  opacity: 0.42;
}

.home-hero::after {
  border-color: rgba(68, 89, 214, 0.1);
}

.home-hero .text-link-light {
  border-bottom-color: rgba(68, 89, 214, 0.42);
  color: #3448be;
}

.hero-system-stage {
  --stage-accent: #58e0b0;
  background:
    radial-gradient(circle at 88% 12%, rgba(88, 224, 176, 0.18), transparent 30%),
    #17243b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 80px rgba(21, 34, 58, 0.22);
  min-height: 700px;
}

.system-mode-intake,
.system-mode-portal,
.system-mode-followup {
  --stage-accent: #58e0b0;
}

.system-aura {
  opacity: 0.28;
}

.system-orbit {
  border-color: rgba(255, 255, 255, 0.12);
}

.system-orbit::after {
  background: var(--aqua);
  box-shadow: 0 0 0 5px rgba(68, 214, 162, 0.12), 0 0 24px rgba(68, 214, 162, 0.65);
}

.system-stage-label {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.system-stage-label span:first-child {
  color: rgba(255, 255, 255, 0.78);
}

.system-screen-wrap {
  margin-bottom: 22px;
}

.system-browser {
  border-color: #fff;
  box-shadow: 0 26px 55px rgba(5, 13, 30, 0.28);
}

.browser-mark,
.browser-live::before,
.system-signal span {
  background: var(--aqua);
}

.system-experience-controls {
  position: relative;
  z-index: 4;
}

.system-tabs-instruction {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 11px;
  font-weight: 720;
  gap: 12px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.system-tabs-instruction span {
  background: var(--aqua);
  border-radius: 999px;
  color: #102438;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.system-experience-tabs {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  overflow: hidden;
}

.system-experience-tabs button {
  color: rgba(255, 255, 255, 0.75);
}

.system-experience-tabs button::before {
  display: none;
}

.system-experience-tabs button:hover,
.system-experience-tabs button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.system-experience-tabs button:focus-visible {
  outline: 3px solid rgba(88, 224, 176, 0.6);
  outline-offset: -3px;
}

.system-experience-tabs button[aria-selected="true"] {
  background: var(--aqua);
  color: #102438;
}

.system-experience-tabs button[aria-selected="true"] small {
  color: rgba(16, 36, 56, 0.74);
}

.statement-section,
.applications-section {
  background: #fff;
}

.outcomes-section,
.offer-section,
.section-soft,
.price-philosophy {
  background: #eef5f1;
}

.outcome-row::before {
  background: linear-gradient(90deg, rgba(68, 89, 214, 0.08), transparent 72%);
}

.system-lab {
  background: #fbfcfa;
}

.system-lab::before {
  opacity: 0.55;
}

.lab-toggle-label {
  color: #273752;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin: 28px 0 10px;
  text-transform: uppercase;
}

.lab-toggle {
  background: #fff;
  border-color: rgba(23, 36, 59, 0.16);
  box-shadow: 0 12px 30px rgba(21, 34, 58, 0.08);
  margin-top: 0;
}

.lab-toggle button {
  color: #4b5a70;
}

.lab-toggle button[aria-pressed="true"] {
  background: var(--signal);
  box-shadow: 0 10px 22px rgba(68, 89, 214, 0.2);
  color: #fff;
}

.lab-toggle button:focus-visible {
  outline-color: rgba(68, 89, 214, 0.35);
}

.lab-stage {
  background: #17243b;
  border-color: rgba(23, 36, 59, 0.14);
  box-shadow: 0 34px 80px rgba(21, 34, 58, 0.17);
}

.lab-canvas-connected {
  background:
    radial-gradient(circle at 82% 18%, rgba(68, 214, 162, 0.22), transparent 30%),
    #edf5f1;
}

.lab-handoff-grid span {
  background: #f3f6f4;
}

.lab-next-step {
  background: var(--signal);
}

.lab-story > span,
.lab-handoff-head strong {
  color: #6ce8ba;
}

.lab-handoff-head strong::before,
.lab-signal::before,
.lab-pulse-ring::after {
  background: var(--aqua);
}

.portal-story,
.section-ink,
.portal-stage,
.proof-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(68, 214, 162, 0.13), transparent 28%),
    #1a2942;
}

.portal-body aside {
  background: #1d2f4b;
}

.flow-line {
  background: linear-gradient(90deg, #7c8cff, #fff, #5ce2b2);
}

.portfolio-command-incendie,
.portfolio-command-mr9,
.portfolio-command-illumitubes,
.portfolio-command-nesc,
.portfolio-command-tpf,
.portfolio-command-once,
.portfolio-runway {
  --portfolio-accent: #58e0b0;
  background: #142139;
}

.portfolio-command {
  border-color: rgba(255, 255, 255, 0.18);
}

.portfolio-command-controls {
  background: #101b30;
  display: grid;
  grid-template-rows: auto 1fr;
}

.portfolio-command-prompt {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  font-size: 13px;
  font-weight: 740;
  gap: 7px;
  margin: 0;
  padding: 22px 25px;
}

.portfolio-command-prompt span {
  color: var(--portfolio-accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-command-tabs {
  background: transparent;
}

.portfolio-command-tabs button {
  color: rgba(255, 255, 255, 0.74);
}

.portfolio-command-tabs button:hover,
.portfolio-command-tabs button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.portfolio-command-tabs button:focus-visible {
  outline: 3px solid rgba(88, 224, 176, 0.55);
  outline-offset: -3px;
}

.portfolio-command-tabs button[aria-selected="true"] {
  background: #f7faf8;
  color: #17243b;
}

.portfolio-command-panel {
  background:
    radial-gradient(circle at 78% 26%, rgba(88, 224, 176, 0.14), transparent 31%),
    #1b2b47;
}

.portfolio-command-orbit {
  border-color: rgba(88, 224, 176, 0.2);
}

.portfolio-command-orbit > span {
  color: rgba(88, 224, 176, 0.1);
}

.portfolio-command-link {
  background: var(--portfolio-accent);
  border: 0;
  border-radius: 999px;
  color: #102438;
  gap: 18px;
  padding: 13px 18px;
}

.portfolio-command-link span {
  color: #102438;
}

.page-hero {
  background: #eef4f1;
}

.site-footer {
  background: #101b2e;
}

@media (max-width: 940px) {
  .hero-system-stage {
    min-height: 700px;
  }
}

@media (max-width: 900px) {
  .portfolio-command-controls {
    grid-template-rows: auto auto;
  }

  .portfolio-command-prompt {
    padding: 18px 22px;
  }
}

@media (max-width: 650px) {
  .hero-system-stage {
    min-height: 690px;
  }

  .system-tabs-instruction {
    margin-top: 4px;
  }

  .system-tabs-instruction span {
    font-size: 8px;
  }

  .portfolio-command-prompt {
    padding: 16px 18px;
  }
}

/* v2.6.1: preserve the approved inquiry-page palette while bringing its
   smallest text above WCAG AA contrast on the white form surface. */
.intake-form .form-section-heading > span,
.intake-form .form-grid em,
.intake-form .consent-row em {
  color: #0b6cb8;
}

.intake-form .form-section-heading p,
.intake-form .field-help {
  color: #617084;
}
