:root {
  --sky: #81c1e4;
  --blue: #0ea0d5;
  --blue-deep: #0085bf;
  --ink: #080b0c;
  --graphite: #545557;
  --silver: #c7c8ca;
  --mist: #ececec;
  --white: #ffffff;
  --line: rgba(8, 11, 12, 0.12);
  --shadow: 0 22px 70px rgba(8, 11, 12, 0.18);
  --soft-shadow: 0 16px 40px rgba(8, 11, 12, 0.12);
  --radius: 8px;
  --header-height: 64px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-close {
  z-index: 2;
  box-shadow: 0 8px 24px rgba(8, 11, 12, 0.08);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.tally-placeholder[hidden] {
  display: none;
}

/* Light theme refresh */
.site-header {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(8, 11, 12, 0.1);
}

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

.site-nav a,
.site-nav button {
  font-weight: 800;
}

.nav-cta {
  border: 0;
  cursor: pointer;
}

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

.hero {
  background: linear-gradient(135deg, #f6fbfe, var(--white));
}

.hero-bg {
  filter: saturate(1.03) contrast(0.98);
  opacity: 0.86;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.28) 66%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 52%);
}

.hero h1::first-line {
  color: var(--ink);
}

.hero p {
  color: rgba(8, 11, 12, 0.78);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(8, 11, 12, 0.16);
  box-shadow: 0 14px 36px rgba(8, 11, 12, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--white);
}

.hero-proof {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(8, 11, 12, 0.12);
  box-shadow: 0 20px 56px rgba(8, 11, 12, 0.12);
}

.hero-proof div + div {
  border-left-color: rgba(8, 11, 12, 0.12);
}

.hero-proof span {
  color: var(--graphite);
}

.solutions-section,
.signal-section,
.process-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfe 100%);
}

.service-detail,
.signal-result {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 251, 0.96)),
    var(--white);
  border: 1px solid rgba(14, 160, 213, 0.16);
  box-shadow: var(--soft-shadow);
}

.service-detail .section-label {
  color: var(--blue-deep);
}

.service-detail p,
.service-detail li,
.signal-result p {
  color: var(--graphite);
}

.process-bg {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    url("assets/hero-entrepreneurs.png");
  opacity: 1;
}

.process-section .section-heading h2,
.process-section .section-heading p {
  color: var(--ink);
}

.process-rail::before {
  background: rgba(14, 160, 213, 0.32);
}

.process-step {
  color: var(--ink);
}

.process-step span {
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 18px 36px rgba(14, 160, 213, 0.22);
}

.process-step small {
  color: var(--graphite);
}

.signal-score span {
  color: var(--graphite);
}

.consult-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.consult-actions > span {
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer {
  color: var(--graphite);
  background: linear-gradient(180deg, #f6fbfe, #ffffff);
  border-top: 1px solid rgba(8, 11, 12, 0.08);
}

.site-footer p:first-of-type {
  color: var(--ink);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 11, 12, 0.48);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.tally-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 56px));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(8, 11, 12, 0.28);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #f6fbfe;
  border: 1px solid rgba(8, 11, 12, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(8, 11, 12, 0.08);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-copy {
  align-self: center;
  padding: 18px 10px 18px 0;
}

.modal-copy h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.08;
}

.modal-copy p:not(.section-label) {
  margin: 18px 0 0;
  color: var(--graphite);
}

.tally-frame-shell {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6fbfe, var(--white));
  border: 1px solid rgba(8, 11, 12, 0.1);
  border-radius: var(--radius);
}

.tally-frame-shell iframe {
  width: 100%;
  min-height: 610px;
  border: 0;
}

.tally-frame-shell iframe:not([src]) {
  display: none;
}

.tally-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 32px;
  color: var(--graphite);
  text-align: center;
}

.tally-placeholder strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.tally-placeholder code {
  color: var(--blue-deep);
  font-weight: 850;
}

.tally-placeholder[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(255, 255, 255, 0.94);
  }

  .site-nav {
    color: var(--white);
    background: rgba(8, 11, 12, 0.96);
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.94) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.28));
  }

  .hero-proof div + div {
    border-top-color: rgba(8, 11, 12, 0.12);
  }

  .tally-modal {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .modal-copy {
    padding: 28px 46px 0 0;
  }

  .modal-copy h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .consult-actions,
  .consult-actions .button {
    width: 100%;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .tally-modal {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .tally-frame-shell,
  .tally-frame-shell iframe {
    min-height: 540px;
  }
}

.modal-close {
  z-index: 2;
  box-shadow: 0 8px 24px rgba(8, 11, 12, 0.08);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.tally-placeholder[hidden] {
  display: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 14px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 10px 6vw;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 11, 12, 0.86), rgba(8, 11, 12, 0.28), rgba(8, 11, 12, 0));
  transition: background 220ms var(--ease), min-height 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled {
  min-height: 58px;
  background: rgba(8, 11, 12, 0.92);
  box-shadow: 0 12px 34px rgba(8, 11, 12, 0.24);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  opacity: 0.9;
  transition: opacity 180ms var(--ease), color 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--sky);
  opacity: 1;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(14, 160, 213, 0.28);
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--white);
  appearance: none;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(14, 160, 213, 0.28);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.process-bg {
  position: absolute;
  inset: -8vh 0;
  z-index: -3;
  background-position: center;
  background-size: cover;
  will-change: transform;
}

.hero-bg {
  background-image: url("assets/hero-entrepreneurs.png");
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 11, 12, 0.98) 0%, rgba(8, 11, 12, 0.76) 36%, rgba(8, 11, 12, 0.18) 74%, rgba(8, 11, 12, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 11, 12, 0.42), rgba(8, 11, 12, 0.02) 44%);
}

.hero-content {
  width: min(1200px, 88vw);
  min-height: 92vh;
  margin: 0 auto;
  padding: 190px 0 72px;
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 640px);
  gap: 58px;
}

.hero-copy {
  max-width: 660px;
  min-width: 0;
}

.hero-mark {
  width: 74px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: 4.75rem;
  line-height: 0.98;
  font-weight: 850;
}

.hero h1::first-line {
  color: var(--white);
}

.hero-copy h1 {
  color: var(--blue);
}

.hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease), color 180ms var(--ease);
}

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

.button span {
  min-width: 0;
  line-height: 1.2;
  white-space: normal;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 44px rgba(14, 160, 213, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-deep);
  box-shadow: 0 22px 50px rgba(14, 160, 213, 0.42);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(650px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(8, 11, 12, 0.52);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}

.hero-proof div {
  padding: 22px 24px;
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-proof strong {
  display: block;
  color: var(--sky);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

section:not(.hero) {
  scroll-margin-top: 92px;
}

.intro-section,
.solutions-section,
.brand-section,
.signal-section,
.consult-section {
  padding: 98px 6vw;
}

.split {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 72px;
}

.split-reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.media-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--mist);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms var(--ease);
}

.media-frame:hover img {
  transform: scale(1.06);
}

.section-copy h2,
.section-heading h2,
.consult-form-wrap h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.65rem;
  line-height: 1.08;
  font-weight: 850;
}

.section-copy p,
.section-heading p,
.consult-form-wrap p {
  color: var(--graphite);
}

.section-copy > p:not(.section-label),
.section-heading > p:not(.section-label),
.consult-form-wrap > p:not(.section-label) {
  margin: 20px 0 0;
  max-width: 660px;
  font-size: 1.02rem;
}

.section-label {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 850;
}

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

.check-grid span,
.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(8, 11, 12, 0.05);
}

.check-grid span::before {
  width: 8px;
  height: 8px;
  content: "";
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(14, 160, 213, 0.14);
}

.solutions-section {
  background: linear-gradient(180deg, var(--white) 0%, #f7fbfd 100%);
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.service-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(8, 11, 12, 0.08);
  cursor: pointer;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-active {
  transform: translateY(-8px);
  border-color: rgba(14, 160, 213, 0.5);
  box-shadow: 0 28px 62px rgba(8, 11, 12, 0.14);
  outline: 0;
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: -31px 0 18px 26px;
  color: var(--white);
  background: var(--blue);
  border: 6px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(14, 160, 213, 0.34);
}

.service-card h3,
.service-card p {
  padding: 0 26px;
}

.service-card h3 {
  min-height: 72px;
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.15;
}

.service-card p {
  margin: 12px 0 28px;
  color: var(--graphite);
  font-size: 0.94rem;
}

.service-detail {
  width: min(1200px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: 30px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-detail .section-label {
  color: var(--sky);
}

.service-detail h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.service-detail p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.service-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-detail li {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 750;
}

.service-detail li::before {
  width: 9px;
  height: 9px;
  content: "";
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.process-section {
  position: relative;
  overflow: hidden;
  padding: 104px 6vw;
  isolation: isolate;
}

.process-bg {
  background-image:
    linear-gradient(90deg, rgba(8, 11, 12, 0.95), rgba(8, 11, 12, 0.82)),
    url("assets/hero-entrepreneurs.png");
  z-index: -2;
}

.process-section .section-heading h2,
.process-section .section-heading p {
  color: var(--white);
}

.process-section .section-label {
  color: var(--sky);
}

.process-rail {
  position: relative;
  width: min(1180px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-rail::before {
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.24);
}

.process-step {
  position: relative;
  z-index: 1;
  min-height: 220px;
  padding: 0 14px 18px;
  color: var(--white);
  text-align: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  color: var(--white);
  background: rgba(14, 160, 213, 0.86);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 850;
  box-shadow: 0 18px 36px rgba(14, 160, 213, 0.2);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.process-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-step small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  line-height: 1.45;
}

.process-step.is-active span,
.process-step:hover span,
.process-step:focus-visible span {
  transform: translateY(-8px) scale(1.04);
  background: var(--blue);
}

.brand-section {
  background: var(--white);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-section {
  background: #f4f8fb;
}

.signal-layout {
  width: min(1050px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: 26px;
  align-items: stretch;
}

.signal-controls,
.signal-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.signal-controls {
  display: grid;
  gap: 26px;
  padding: 32px;
}

.signal-controls label {
  display: grid;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.signal-controls input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.signal-result {
  display: grid;
  align-content: center;
  min-height: 330px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(8, 11, 12, 0.98), rgba(0, 133, 191, 0.88)),
    var(--ink);
}

.signal-score {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 26px;
}

.signal-score strong {
  color: var(--sky);
  font-size: 4rem;
  line-height: 0.9;
}

.signal-score span {
  max-width: 120px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.signal-result h3 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.15;
}

.signal-result p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.consult-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 54px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.consult-media {
  min-height: 600px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.consult-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consult-form-wrap {
  align-self: center;
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.consult-form label {
  display: grid;
  gap: 7px;
}

.consult-form span {
  color: var(--graphite);
  font-size: 0.8rem;
  font-weight: 800;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(84, 85, 87, 0.24);
  border-radius: var(--radius);
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.consult-form input:focus,
.consult-form textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(14, 160, 213, 0.14);
}

.form-wide,
.consult-form button,
.form-status {
  grid-column: 1 / -1;
}

.consult-form button {
  justify-self: start;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 54px 6vw;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background: var(--ink);
}

.site-footer img {
  width: 184px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer p:first-of-type {
  color: var(--white);
  font-weight: 850;
}

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

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

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .parallax-layer {
    transform: none !important;
  }
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

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

  .service-card {
    min-height: 420px;
  }

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

  .process-rail::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 10px 22px;
  }

  .nav-toggle {
    display: grid !important;
    place-content: center;
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 61;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(8, 11, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    min-height: 920px;
  }

  .hero-bg {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 11, 12, 0.85) 0%, rgba(8, 11, 12, 0.72) 46%, rgba(8, 11, 12, 0.98) 100%),
      linear-gradient(90deg, rgba(8, 11, 12, 0.68), rgba(8, 11, 12, 0.2));
  }

  .hero-content {
    width: min(680px, 88vw);
    min-height: 920px;
    padding-top: 140px;
    align-content: end;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .split,
  .split-reverse,
  .signal-layout,
  .consult-section,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .solutions-section,
  .brand-section,
  .signal-section,
  .consult-section,
  .process-section {
    padding: 76px 22px;
  }

  .section-copy h2,
  .section-heading h2,
  .consult-form-wrap h2 {
    font-size: 2.16rem;
  }

  .consult-media {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .brand {
    max-width: calc(100vw - 92px);
    font-size: 0.88rem;
    white-space: normal;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    min-height: 860px;
    padding-bottom: 42px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 2.28rem;
  }

  .hero-copy,
  .hero p {
    max-width: 340px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 54px;
    padding: 0 16px;
  }

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

  .hero-proof div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .check-grid,
  .service-grid,
  .process-rail,
  .consult-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    min-height: auto;
  }

  .process-step {
    min-height: auto;
    padding-bottom: 24px;
  }

  .process-step span {
    width: 76px;
    height: 76px;
  }

  .signal-score strong {
    font-size: 3.2rem;
  }
}

/* Final light-theme overrides. Kept last so they win over the original dark concept. */
.site-header {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(8, 11, 12, 0.1);
}

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

.site-nav a,
.site-nav button {
  font-weight: 800;
}

.nav-cta {
  border: 0;
  cursor: pointer;
}

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

.hero {
  background: linear-gradient(135deg, #f6fbfe, var(--white));
}

.hero-bg {
  filter: saturate(1.03) contrast(0.98);
  opacity: 0.86;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.28) 66%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 52%);
}

.hero h1::first-line {
  color: var(--ink);
}

.hero p {
  color: rgba(8, 11, 12, 0.78);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(8, 11, 12, 0.16);
  box-shadow: 0 14px 36px rgba(8, 11, 12, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--white);
}

.hero-proof {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(8, 11, 12, 0.12);
  box-shadow: 0 20px 56px rgba(8, 11, 12, 0.12);
}

.hero-proof div + div {
  border-left-color: rgba(8, 11, 12, 0.12);
}

.hero-proof span {
  color: var(--graphite);
}

.solutions-section,
.signal-section,
.process-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfe 100%);
}

.service-detail,
.signal-result {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 251, 0.96)),
    var(--white);
  border: 1px solid rgba(14, 160, 213, 0.16);
  box-shadow: var(--soft-shadow);
}

.service-detail .section-label {
  color: var(--blue-deep);
}

.service-detail p,
.service-detail li,
.signal-result p {
  color: var(--graphite);
}

.process-bg {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    url("assets/hero-entrepreneurs.png");
  opacity: 1;
}

.process-section .section-heading h2,
.process-section .section-heading p {
  color: var(--ink);
}

.process-rail::before {
  background: rgba(14, 160, 213, 0.32);
}

.process-step {
  color: var(--ink);
}

.process-step span {
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 18px 36px rgba(14, 160, 213, 0.22);
}

.process-step small {
  color: var(--graphite);
}

.signal-score span {
  color: var(--graphite);
}

.consult-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.consult-actions > span {
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer {
  color: var(--graphite);
  background: linear-gradient(180deg, #f6fbfe, #ffffff);
  border-top: 1px solid rgba(8, 11, 12, 0.08);
}

.site-footer p:first-of-type {
  color: var(--ink);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 11, 12, 0.48);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.tally-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 56px));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(8, 11, 12, 0.28);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #f6fbfe;
  border: 1px solid rgba(8, 11, 12, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
}

.modal-copy {
  align-self: center;
  padding: 18px 10px 18px 0;
}

.modal-copy h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.08;
}

.modal-copy p:not(.section-label) {
  margin: 18px 0 0;
  color: var(--graphite);
}

.tally-frame-shell {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6fbfe, var(--white));
  border: 1px solid rgba(8, 11, 12, 0.1);
  border-radius: var(--radius);
}

.tally-frame-shell iframe {
  width: 100%;
  min-height: 610px;
  border: 0;
}

.tally-frame-shell iframe:not([src]) {
  display: none;
}

.tally-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 32px;
  color: var(--graphite);
  text-align: center;
}

.tally-placeholder strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.tally-placeholder code {
  color: var(--blue-deep);
  font-weight: 850;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(255, 255, 255, 0.94);
  }

  .site-nav {
    color: var(--white);
    background: rgba(8, 11, 12, 0.96);
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.94) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.28));
  }

  .hero-proof div + div {
    border-top-color: rgba(8, 11, 12, 0.12);
  }

  .tally-modal {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .modal-copy {
    padding: 28px 46px 0 0;
  }

  .modal-copy h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .consult-actions,
  .consult-actions .button {
    width: 100%;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .tally-modal {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .tally-frame-shell,
  .tally-frame-shell iframe {
    min-height: 540px;
  }
}
