:root {
  color-scheme: light;
  --ink: #111719;
  --muted: #647176;
  --line: #d8e0de;
  --paper: #f5f4ef;
  --white: #ffffff;
  --night: #091012;
  --graphite: #20292d;
  --green: #0a6b4d;
  --mint: #6fe3b6;
  --blue: #287c9d;
  --amber: #c2842f;
  --rose: #a74854;
  --shadow: 0 24px 60px rgba(9, 16, 18, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 50px);
  color: var(--white);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(9, 16, 18, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 5px;
  color: currentColor;
  opacity: 0.78;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: currentColor;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.nav-active .main-nav a:hover {
  background: rgba(10, 107, 77, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle svg,
.button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 38%, rgba(111, 227, 182, 0.24), transparent 28%),
    radial-gradient(circle at 86% 88%, rgba(194, 132, 47, 0.26), transparent 24%),
    linear-gradient(135deg, #070b0d 0%, #0e191b 52%, #233133 100%);
}

.hero-backdrop,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop {
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.96) 0%, rgba(7, 11, 13, 0.76) 44%, rgba(7, 11, 13, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 11, 13, 0.78) 0%, transparent 36%);
}

.hero-grid {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 82px 82px;
  transform: skewY(-7deg) translateY(-70px);
  transform-origin: top left;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: 44px;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: 92svh;
  margin: 0 auto;
  padding: 110px 0 62px;
}

.hero-copy-block {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.experience .eyebrow,
.proof-section .eyebrow {
  color: var(--mint);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.button svg {
  width: 20px;
  height: 20px;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 16px 32px rgba(10, 107, 77, 0.24);
}

.button.primary:hover {
  background: #084d39;
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.button.wide {
  width: 100%;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 12px;
  margin: 0;
}

.hero-proof div {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-proof dt {
  margin-bottom: 4px;
  font-size: 1.16rem;
  font-weight: 950;
}

.hero-proof dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(48vw, 560px);
  height: min(48vw, 560px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 55%, rgba(111, 227, 182, 0.2), transparent 54%),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.06);
}

.hero-visual::after {
  content: "";
  position: absolute;
  bottom: 38px;
  width: min(42vw, 510px);
  height: 88px;
  border-radius: 50%;
  background: rgba(111, 227, 182, 0.2);
  filter: blur(20px);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(39vw, 520px);
  max-height: 78svh;
  object-fit: contain;
  filter: drop-shadow(0 32px 34px rgba(0, 0, 0, 0.42));
}

.signal-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(9, 16, 18, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.signal-card strong {
  font-size: 0.98rem;
}

.signal-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.signal-a {
  top: 18%;
  left: 0;
}

.signal-b {
  right: 0;
  bottom: 20%;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  color: var(--white);
  background: var(--night);
}

.intro-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  padding: 20px 0;
}

.intro-grid p {
  max-width: 840px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 760;
}

.text-link {
  color: var(--mint);
  font-weight: 950;
  white-space: nowrap;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding: 94px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.row-heading .muted {
  max-width: 390px;
  margin-bottom: 18px;
}

.muted,
.section-heading p,
.robot-copy p,
.estimator-copy p,
.contact-layout > div p,
.proof-points p {
  color: var(--muted);
}

.robot-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f2f4f0 100%);
}

.robot-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.robot-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 42%, rgba(40, 124, 157, 0.16), transparent 42%),
    linear-gradient(145deg, #ffffff, #e8ece9);
  box-shadow: var(--shadow);
}

.robot-photo::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(194, 132, 47, 0.16);
}

.robot-photo img {
  position: relative;
  z-index: 1;
  width: min(78%, 360px);
  object-fit: contain;
}

.robot-copy {
  max-width: 650px;
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.capability-strip span,
.badge,
.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 950;
}

.capability-strip span {
  color: #073b2c;
  background: #d9f4e8;
}

.solution-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-card,
.package-card,
.estimator,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.solution-card {
  min-height: 270px;
  padding: 24px;
}

.icon-pill {
  margin-bottom: 26px;
  color: var(--white);
  background: var(--graphite);
}

.solution-card:nth-child(2) .icon-pill {
  background: var(--blue);
}

.solution-card:nth-child(3) .icon-pill {
  background: var(--amber);
}

.solution-card:nth-child(4) .icon-pill {
  background: var(--rose);
}

.solution-card p,
.package-card p,
.package-card li,
.delivery-steps p {
  color: var(--muted);
}

.experience {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(111, 227, 182, 0.18), transparent 24%),
    linear-gradient(135deg, var(--graphite), #0d171a);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

.delivery-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-steps li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px 18px;
  min-height: 120px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.delivery-steps span {
  grid-row: span 2;
  color: var(--mint);
  font-weight: 950;
}

.delivery-steps strong {
  font-size: 1.05rem;
}

.delivery-steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.packages {
  background: #eef1ed;
}

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

.package-card {
  position: relative;
  min-height: 396px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(9, 16, 18, 0.04);
}

.package-card.featured {
  border-color: rgba(10, 107, 77, 0.42);
  box-shadow: var(--shadow);
}

.badge {
  margin-bottom: 18px;
  color: #073b2c;
  background: #c8f1dd;
}

.price {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 2rem;
  font-weight: 950;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

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

.estimator-layout,
.contact-layout,
.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 50px;
  align-items: start;
}

.estimator-copy {
  position: sticky;
  top: 104px;
}

.estimator,
.lead-form {
  display: grid;
  gap: 22px;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(9, 16, 18, 0.08);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.range-row > span,
.lead-form label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.segment-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f6f4;
}

.segment-control label {
  min-width: 0;
}

.segment-control input,
.toggle-row input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.segment-control span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.segment-control input:checked + span {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 8px 16px rgba(10, 107, 77, 0.2);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.range-row input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--green);
}

.toggle-list {
  display: grid;
  gap: 10px;
}

.toggle-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px 10px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.toggle-row::before,
.toggle-row::after {
  content: "";
  position: absolute;
}

.toggle-row::before {
  left: 12px;
  width: 32px;
  height: 20px;
  border-radius: 999px;
  background: #cfd8d5;
}

.toggle-row::after {
  left: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 160ms ease;
}

.toggle-row:has(input:checked) {
  color: var(--ink);
  border-color: rgba(10, 107, 77, 0.34);
  background: #f0f8f3;
}

.toggle-row:has(input:checked)::before {
  background: var(--green);
}

.toggle-row:has(input:checked)::after {
  transform: translateX(12px);
}

.estimate-output {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, var(--graphite), #102019);
}

.estimate-output span,
.estimate-output small {
  color: rgba(255, 255, 255, 0.72);
}

.estimate-output strong {
  font-size: 2.7rem;
  line-height: 1;
}

.proof-section {
  color: var(--white);
  background: #102019;
}

.proof-layout {
  align-items: center;
}

.proof-points {
  display: grid;
  gap: 20px;
}

.proof-points p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

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

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfbf8;
}

.lead-form input:focus,
.lead-form textarea:focus,
.segment-control input:focus-visible + span,
.toggle-row:has(input:focus-visible) {
  outline: 3px solid rgba(40, 124, 157, 0.24);
  outline-offset: 2px;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note[data-tone="success"] {
  color: var(--green);
  font-weight: 800;
}

.form-note[data-tone="error"] {
  color: #9d3127;
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  color: var(--white);
  background: var(--night);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1060px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 44px;
  }

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

  .hero-visual {
    min-height: 460px;
  }

  .hero-visual img {
    width: min(62vw, 420px);
  }

  .signal-a {
    left: 10%;
  }

  .signal-b {
    right: 12%;
  }

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

@media (max-width: 920px) {
  .robot-layout,
  .experience-layout,
  .estimator-layout,
  .contact-layout,
  .proof-layout {
    grid-template-columns: 1fr;
  }

  .estimator-copy {
    position: static;
  }

  .row-heading {
    display: block;
  }

  .row-heading .muted {
    max-width: 680px;
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 11px 16px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 16px 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 34px rgba(9, 16, 18, 0.1);
  }

  .site-header.nav-active .main-nav {
    display: grid;
  }

  .main-nav a {
    padding: 14px 10px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 32px, var(--max));
  }

  .hero-inner {
    padding-top: 96px;
    display: flex;
    flex-direction: column;
  }

  .hero-copy-block {
    display: contents;
  }

  .hero-copy-block .eyebrow {
    order: 1;
  }

  .hero-copy-block h1 {
    order: 2;
  }

  .hero-copy {
    order: 3;
  }

  .hero-actions {
    order: 4;
  }

  .hero-visual {
    order: 5;
  }

  .hero-proof {
    order: 6;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-bottom: 22px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    max-width: 350px;
    gap: 8px;
  }

  .hero-proof div {
    min-height: 66px;
    padding: 10px 12px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    width: min(88vw, 330px);
  }

  .hero-visual::before {
    width: 360px;
    height: 360px;
  }

  .signal-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 280px);
    margin-top: -24px;
  }

  .signal-b {
    margin-top: 8px;
  }

  .intro-grid {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .section {
    padding: 66px 0;
  }

  .robot-photo {
    min-height: 360px;
  }

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

  .solution-card,
  .package-card,
  .estimator,
  .lead-form {
    padding: 20px;
  }

  .delivery-steps li {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .delivery-steps span {
    grid-row: auto;
  }

  .segment-control {
    grid-template-columns: 1fr;
  }

  .estimate-output strong {
    font-size: 2.2rem;
  }

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

@media (max-width: 390px) {
  .brand strong {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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