:root {
  --ink: #171717;
  --muted: #676b73;
  --paper: #f7f8fa;
  --surface: #ffffff;
  --line: #dfe3e8;
  --charcoal: #141414;
  --teal: #0a7c78;
  --coral: #d9553f;
  --gold: #d59621;
  --green: #3e7b4d;
  --blue: #3973b8;
  --violet: #7459c8;
  --shadow: 0 22px 50px rgba(20, 20, 20, 0.12);
  --radius: 8px;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  left: clamp(1.5rem, 4vw, 4rem);
  right: clamp(1.5rem, 4vw, 4rem);
  top: 1.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition:
    background 180ms ease,
    border 180ms ease,
    color 180ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.3) 100%
  );
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.site-header.is-scrolled {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 0;
  backdrop-filter: blur(4px);
}

.brand,
.header-cta,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.nav-links {
  gap: 2rem;
  font-size: 0.875rem;
  color: currentColor;
}

.nav-links a,
.text-link {
  position: relative;
}

.nav-links a::after,
.text-link::after {
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 40px;
  gap: 0.45rem;
  padding: 0.5rem 1.5rem;
  border: 0;
  border-radius: var(--radius);
  color: #000000;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 7rem clamp(1.5rem, 4vw, 4rem) clamp(3rem, 5vw, 4rem);
  color: #ffffff;
  background: #000000;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  width: 100%;
  text-align: center;
}

.hero-copy-block {
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ee3d8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 980px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero-copy {
  width: min(610px, 100%);
  margin: 1rem 0 0;
  color: #d1d5db;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.5;
}

.offer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: min(690px, 100%);
  margin-top: 1.2rem;
}

.offer-pills span,
.included-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 0.55rem;
  padding: 0.82rem 1.08rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border 180ms ease,
    background 180ms ease;
}

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

.button:disabled,
.button.is-loading {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  color: #000000;
  background: #ffffff;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.button-secondary:hover {
  color: #000000;
  background: #ffffff;
}

.hero-tag-wrap {
  display: flex;
  justify-content: center;
}

.hero-tag {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.liquid-glass::before {
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: var(--radius);
  content: "";
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.3) 100%
  );
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

[data-fade-in] {
  opacity: 0;
  transition: opacity var(--duration, 1000ms) ease;
}

[data-fade-in].is-visible {
  opacity: 1;
}

.animated-line {
  display: block;
  text-align: center;
}

.animated-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
  transition-delay: calc(200ms + var(--char-delay, 0ms));
}

[data-animated-heading].is-visible .animated-char {
  opacity: 1;
  transform: translateX(0);
}

.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 6vw, 6rem);
  scroll-margin-top: 82px;
}

.payment-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 170px;
  padding: 6rem clamp(1rem, 6vw, 6rem) 1.4rem;
  border-bottom: 1px solid var(--line);
  background: #eef8f5;
}

.payment-status[hidden] {
  display: none;
}

.payment-status h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 900;
}

.payment-status p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.payment-status.is-success {
  background: #eef8f5;
}

.payment-status.is-error {
  background: #fff3ef;
}

.payment-status.is-pending {
  background: #f5f3ed;
}

.payment-status .button-secondary {
  flex: 0 0 auto;
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: clamp(0.75rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: 1.2rem;
}

.section-heading h2,
.preview-copy h2,
.contact-panel h2 {
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  font-weight: 900;
}

.section-intro .section-heading {
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
}

.section-intro .section-heading h2 {
  width: min(760px, 100%);
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.included-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.included-row span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.segment-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.segment {
  min-height: 42px;
  padding: 0.62rem 0.9rem;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
}

.segment.active {
  color: #ffffff;
  background: var(--ink);
}

.automation-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.automation-card,
.outcome-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.automation-card {
  display: grid;
  min-height: 284px;
  padding: 1.2rem;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    border 160ms ease;
}

.checkout-card {
  cursor: pointer;
}

.automation-card.is-hidden {
  display: none;
}

.automation-card:hover,
.checkout-card:focus-visible {
  border-color: rgba(23, 23, 23, 0.24);
  transform: translateY(-3px);
}

.checkout-card:focus-visible,
.button:focus-visible,
.segment:focus-visible,
.dialog-close:focus-visible,
.modal-scrim:focus-visible,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.checkout-form input:focus {
  outline: 3px solid rgba(126, 227, 216, 0.36);
  outline-offset: 3px;
}

.card-topline,
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.card-topline {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.icon-badge {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.icon-badge.sales,
.node-dot.teal {
  background: var(--teal);
}

.icon-badge.coral,
.node-dot.coral {
  background: var(--coral);
}

.icon-badge.green,
.node-dot.green {
  background: var(--green);
}

.icon-badge.gold,
.node-dot.gold {
  background: var(--gold);
}

.icon-badge.blue {
  background: var(--blue);
}

.icon-badge.violet {
  background: var(--violet);
}

.automation-card h3,
.outcome-item h3 {
  margin-top: 1.2rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.automation-card p,
.outcome-item p,
.preview-copy p,
.contact-panel p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.card-meta {
  align-self: end;
  justify-content: flex-start;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.card-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 46px;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #f4f6f7;
  cursor: pointer;
  font-weight: 900;
}

.checkout-card:hover .card-action,
.checkout-card:focus-visible .card-action {
  color: #ffffff;
  border-color: var(--ink);
  background: var(--ink);
}

.outcome-band {
  display: grid;
  min-height: auto;
  align-content: center;
  color: #ffffff;
  background: var(--charcoal);
}

.outcome-band .eyebrow {
  color: #f5c46b;
}

.outcome-band .section-heading {
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
}

.outcome-band .section-heading h2 {
  width: min(780px, 100%);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.outcome-item {
  padding: 1.2rem;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.outcome-number {
  color: #f5c46b;
  font-weight: 900;
}

.outcome-item p {
  color: rgba(255, 255, 255, 0.7);
}

.proof-section {
  background: var(--surface);
}

.social-proof-section {
  background: #edf1f2;
}

.social-proof-section .section-heading {
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
}

.social-proof-section .section-heading h2 {
  width: min(760px, 100%);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.06;
}

.proof-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card,
.testimonial-card {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.proof-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card h3,
.testimonial-card h3 {
  margin-top: 0.9rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.proof-card p,
.testimonial-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.trust-section {
  background: var(--surface);
}

.trust-section .section-heading {
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
}

.trust-section .section-heading h2 {
  width: min(760px, 100%);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.06;
}

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

.contact-links a,
.footer-links a {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.testimonial-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 338px;
  overflow: hidden;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 0 100%, rgba(57, 115, 184, 0.16), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.quote-mark {
  color: #4f9bd1;
  font-size: clamp(3.6rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 0.8;
}

.star-rating {
  margin-top: 0.2rem;
  color: #f5c46b;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  text-shadow: 0 1px 0 rgba(20, 20, 20, 0.12);
}

.testimonial-card p {
  color: #25324a;
  font-weight: 750;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.testimonial-photo {
  display: inline-grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(20, 20, 20, 0.14);
  font-weight: 900;
}

.testimonial-photo.green {
  background: var(--green);
}

.testimonial-photo.gold {
  background: var(--gold);
}

.testimonial-photo.violet {
  background: var(--violet);
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.workflow-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.workflow-pane {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.pane-header {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: #f1f3f5;
}

.pane-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9ba2ac;
}

.pipeline {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    linear-gradient(90deg, rgba(10, 124, 120, 0.09), transparent 42%),
    #ffffff;
}

.pipeline-progress {
  position: absolute;
  top: 2rem;
  bottom: 5.7rem;
  left: clamp(1.9rem, 4vw, 2.9rem);
  width: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(10, 124, 120, 0.14);
}

.pipeline-progress::after {
  position: absolute;
  inset: -45% 0 auto;
  height: 55%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, #7ee3d8, transparent);
  animation: pipelineScan 2.4s linear infinite;
}

.pipeline-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 62px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.pipeline-row::after {
  min-width: 74px;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: var(--muted);
  background: #eef2f5;
  content: "Queued";
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.pipeline-row.is-active {
  border-color: rgba(10, 124, 120, 0.34);
  background: linear-gradient(90deg, rgba(126, 227, 216, 0.18), #ffffff 50%);
  box-shadow: 0 16px 34px rgba(10, 124, 120, 0.14);
  transform: translateX(6px);
}

.pipeline-row.is-active::after {
  color: #064946;
  background: #c9fbf5;
  content: "Running";
}

.pipeline-row.is-complete::after {
  color: #2f6f43;
  background: #dff3e5;
  content: "Done";
}

.pipeline-row strong {
  font-size: 0.9rem;
}

.node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(126, 227, 216, 0.08);
}

.pipeline-row.is-active .node-dot {
  animation: nodePulse 1.2s ease-in-out infinite;
}

.pipeline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border: 1px dashed rgba(10, 124, 120, 0.26);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.pipeline-footer strong {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 0.78rem;
  text-transform: uppercase;
}

@keyframes pipelineScan {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(260%);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(126, 227, 216, 0.12);
  }

  50% {
    box-shadow: 0 0 0 11px rgba(126, 227, 216, 0);
  }
}

.preview-copy {
  min-width: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--ink);
  font-weight: 900;
}

.button-dark {
  color: var(--ink);
  border-color: #7ee3d8;
  background: #7ee3d8;
}

.contact-section {
  color: #ffffff;
  background: var(--charcoal);
}

.contact-section .eyebrow {
  color: #f5c46b;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
}

.quote-form,
.checkout-form {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.checkout-upgrade-copy {
  display: grid;
  gap: 0.45rem;
}

.checkout-upgrade-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.checkout-upgrade-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.5;
}

.quote-form label,
.checkout-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 850;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.checkout-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.8rem;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form select option {
  color: var(--ink);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.checkout-form input:focus {
  border-color: #7ee3d8;
  box-shadow: 0 0 0 3px rgba(126, 227, 216, 0.18);
}

.form-button {
  width: 100%;
}

.checkout-form .button-primary {
  color: #ffffff;
  background: #285eea;
}

.checkout-form .button-primary:hover {
  background: #1f50d5;
}

.form-status {
  min-height: 1.3rem;
  margin: 0;
  color: #7ee3d8;
  font-size: 0.88rem;
}

.checkout-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  line-height: 1.45;
}

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

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 20, 0.72);
  cursor: pointer;
}

.checkout-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid rgba(126, 227, 216, 0.22);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(126, 227, 216, 0.1), rgba(255, 255, 255, 0) 34%),
    var(--charcoal);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  padding: clamp(1.05rem, 4vw, 2rem);
}

.checkout-dialog h2 {
  max-width: 720px;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 900;
  line-height: 0.95;
}

.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0;
  padding: 1rem;
  border: 1px solid rgba(126, 227, 216, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.checkout-summary span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.checkout-summary strong {
  flex: 0 0 auto;
  color: #7ee3d8;
  font-size: 1.15rem;
}

.automation-explainer {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.automation-explainer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.assurance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.assurance-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(126, 227, 216, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(126, 227, 216, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 0.8rem;
}

.explainer-grid > div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
}

.explainer-grid h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.explainer-grid ol,
.explainer-grid ul {
  display: grid;
  gap: 0.65rem;
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.installer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(126, 227, 216, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(126, 227, 216, 0.16), rgba(126, 227, 216, 0.02)),
    rgba(255, 255, 255, 0.07);
}

.installer-panel[hidden] {
  display: none;
}

.installer-copy {
  min-width: 0;
}

.installer-copy h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.15;
  word-break: break-word;
}

.installer-facts {
  display: grid;
  gap: 0.6rem;
  margin: 0.85rem 0 0;
}

.installer-facts div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.installer-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.installer-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.installer-safety {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 48px;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(126, 227, 216, 0.58);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: #7ee3d8;
  font-weight: 900;
  white-space: nowrap;
}

.download-link[hidden] {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1rem;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

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

  .hero-tag-wrap {
    justify-content: flex-start;
  }

  .section-heading,
  .workflow-preview,
  .contact-panel,
  .payment-status {
    grid-template-columns: 1fr;
  }

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

  .payment-status {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    left: 1rem;
    right: 1rem;
    top: 1rem;
    min-height: 64px;
    padding: 0.75rem 1rem;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0.55rem 0.7rem;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 6rem 1.5rem 3rem;
  }

  .automation-grid,
  .outcome-grid,
  .proof-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

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

  .installer-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .installer-facts div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .download-link {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section {
    padding: 2.4rem 1rem;
  }

  .segment-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .segment {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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