/* Variables: change the template here. Native @media cannot read var(); the queries below mirror breakpoint tokens. */
:root {
  --page: #f5f7f6;
  --surface: #ffffff;
  --surface-soft: #edf2ef;
  --ink: #263630;
  --muted: #66736c;
  --line: #dce3de;
  --accent: #355e4c;
  --accent-hover: #274b3b;
  --on-accent: #ffffff;
  --font: Manrope, Arial, sans-serif;
  --font-xs: 12px;
  --font-eyebrow: 13px;
  --contact-gap: clamp(24px, 3vw, 48px);
  --font-sm: 14px;
  --font-body: 15px;
  --font-h1: clamp(32px, 3.6vw, 48px);
  --font-h2: clamp(26px, 2.6vw, 34px);
  --font-h3: 17px;
  --font-brand: 22px;
  --font-form: 23px;
  --font-total: 27px;
  --line-height: 1.7;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --section-space: clamp(48px, 5vw, 76px);
  --gutter: clamp(20px, 4vw, 72px);
  --container-max: 1280px;
  --radius: 8px;
  --radius-button: 6px;
  --border: 1px solid var(--line);
  --focus: 2px solid var(--accent);
  --header-height: 88px;
  --control-height: 48px;
  --icon-size: 25px;
  --step-node-size: 48px;
  --breakpoint-mobile: 640px;
  --breakpoint-tablet: 1100px;
  --ribbon-speed: 100s;
}

/* Reset */
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope.ttf");
  font-weight: 400;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-3);
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: var(--font-body) / var(--line-height) var(--font);
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: var(--focus);
  outline-offset: 4px;
}
.container {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  width: 100%;
  padding-block: var(--section-space);
  border-top: var(--border);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: var(--space-2);
  padding: var(--space-2);
  background: var(--ink);
  color: var(--surface);
  z-index: 10;
}
.skip-link:focus {
  top: var(--space-2);
}
.sr-only,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}
h1 {
  font-size: var(--font-h1);
}
h2 {
  font-size: var(--font-h2);
}
h3 {
  font-size: var(--font-h3);
}
.eyebrow {
  font-size: var(--font-eyebrow);
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.section-heading {
  max-width: 650px;
  margin-bottom: var(--space-4);
}
.section-heading > p:not(.eyebrow) {
  margin-top: var(--space-2);
  color: var(--muted);
}
.section-note {
  font-size: var(--font-xs);
  color: var(--muted);
  margin-top: var(--space-4);
  max-width: 700px;
}
.line-icon {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
  flex-shrink: 0;
  color: var(--accent);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: var(--control-height);
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--font-sm);
  font-weight: 700;
  transition: background-color 0.18s;
}
.button:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Header */
.site-header {
  width: 100%;
  background: var(--surface);
  border-bottom: var(--border);
}
.header-inner {
  flex-wrap: wrap;
  padding-block: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-height);
}
.brand {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  flex-shrink: 1;
}
.brand strong {
  overflow-wrap: anywhere;
  font-size: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.055em;
}
.brand span {
  font-size: var(--font-xs);
  color: var(--muted);
  margin-top: 4px;
}
.brand-image {
  display: block;
  max-width: 180px;
  max-height: 44px;
  object-fit: contain;
}
.header-nav {
  display: flex;
  gap: var(--space-4);
  margin-left: auto;
  font-size: var(--font-sm);
}
.header-nav a {
  padding-block: 12px;
}
.header-cta {
  max-width: 100%;
  text-align: center;
  flex-shrink: 0;
}

/* Hero */
.hero-section {
  width: 100%;
  padding-block: var(--section-space);
  background: var(--page);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero-copy {
  max-width: 650px;
  min-width: 0;
}
.hero-description {
  margin-top: var(--space-3);
  max-width: 590px;
  color: var(--muted);
  line-height: 1.85;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-4);
  font-size: var(--font-xs);
  color: var(--ink);
}
.hero-facts span {
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

/* Logo Marquee */
.logo-section {
  width: 100%;
  padding-block: var(--space-3);
  background: var(--surface);
  border-top: var(--border);
}
.brand-strip {
  width: 100%;
}
.brand-window {
  overflow: hidden;
  width: 100%;
}
.brand-track {
  display: flex;
  width: max-content;
  animation: brand-travel var(--ribbon-speed) linear infinite;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-right: var(--space-5);
  flex-shrink: 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 40px;
  flex-shrink: 0;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
}
@keyframes brand-travel {
  to {
    transform: translateX(-50%);
  }
}

/* Process Timeline */
.process-section {
  background: var(--surface);
}
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-item {
  position: relative;
  min-width: 0;
  padding-top: var(--space-1);
}
.process-item::before {
  content: "";
  position: absolute;
  left: var(--step-node-size);
  right: calc(-1 * var(--space-3));
  top: calc(var(--space-1) + var(--step-node-size) / 2);
  border-top: var(--border);
}
.process-item:last-child::before {
  display: none;
}
.step-node {
  width: var(--step-node-size);
  height: var(--step-node-size);
  display: grid;
  place-items: center;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.step-number {
  display: block;
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--muted);
  margin-top: var(--space-3);
}
.process-item h3 {
  margin-top: var(--space-1);
}
.process-item p {
  margin-top: var(--space-1);
  font-size: var(--font-sm);
  color: var(--muted);
}

/* Benefits */
.benefits-section {
  background: var(--page);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-2);
}
.benefit-card {
  padding: var(--space-3);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}
.benefit-card h3 {
  margin-top: var(--space-3);
}
.benefit-card p {
  margin-top: var(--space-2);
  font-size: var(--font-sm);
  color: var(--muted);
}

/* Pricing */
.pricing-section {
  padding-bottom: calc(var(--section-space) + var(--contact-gap));
  background: var(--surface);
}
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: start;
}
.pricing-context {
  font-size: var(--font-sm);
}
.pricing-card {
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.pricing-card-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--surface-soft);
  border-bottom: var(--border);
}
.pricing-card-heading span {
  font-size: var(--font-xs);
  color: var(--muted);
}
.cost-list {
  margin: 0;
  padding-inline: var(--space-3);
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-bottom: var(--border);
  font-size: var(--font-sm);
}
.cost-row dt {
  overflow-wrap: anywhere;
}
.cost-row dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
.cost-subtotal {
  border-bottom: 0;
  padding-block: var(--space-3);
  font-weight: 700;
}
.cost-subtotal dd {
  font-size: var(--font-total);
  color: var(--accent);
}
.cost-excluded {
  font-size: var(--font-xs);
  color: var(--muted);
  border-top: var(--border);
  padding: var(--space-2) var(--space-3);
}

/* Form: shared component, scoped to its own fields and state. */
.form-card {
  padding: var(--space-4);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}
.form-title {
  font-size: var(--font-form);
  line-height: 1.35;
}
.form-description {
  font-size: var(--font-sm);
  color: var(--muted);
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}
.lead-form {
  display: grid;
  gap: var(--space-2);
}
.form-field {
  display: grid;
  gap: var(--space-1);
}
.form-field label {
  font-size: var(--font-sm);
  font-weight: 600;
}
.form-field input {
  width: 100%;
  min-width: 0;
  min-height: var(--control-height);
  padding: 12px 14px;
  border: var(--border);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
}
.form-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.submit {
  width: 100%;
  margin-top: var(--space-1);
}
.form-status {
  font-size: var(--font-sm);
  color: var(--ink);
}
.form-status:empty {
  display: none;
}

/* FAQ: independent disclosure list. */
.faq-section { background: var(--surface); }
.faq-list { min-width: 0; overflow-wrap: anywhere; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-5); }
.faq-item { border-bottom: var(--border); padding-block: var(--space-3); }
.faq-item:first-child { border-top: var(--border); }
.faq-item summary { cursor: pointer; font-weight: 700; min-height: var(--control-height); align-content: center; }
.faq-item p { color: var(--muted); margin-top: var(--space-2); }
.field-optional { font-size: var(--font-xs); font-weight: 400; color: var(--muted); }
.form-success { padding-block: var(--space-3); }

/* Contact: one full-width closing form, with shared fields and submission logic. */
.contact-section {
  background: var(--surface-soft);
  padding-top: calc(var(--section-space) + var(--space-2));
}
.contact-form {
  min-width: 0;
}
.contact-form .form-title {
  font-size: var(--font-h2);
  max-width: 750px;
}
.contact-form .form-description {
  max-width: 700px;
  margin-bottom: var(--space-4);
}
.contact-form .lead-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(170px, 0.8fr);
  align-items: end;
  gap: var(--space-3);
}
.contact-form .submit {
  margin: 0;
}
.contact-form .form-status {
  grid-column: 1 / -1;
}

/* Footer */
.site-footer {
  width: 100%;
  padding-block: var(--space-4);
  background: var(--surface);
  border-top: var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-4);
}
.footer-description {
  max-width: 370px;
  font-size: var(--font-xs);
  color: var(--muted);
  margin-top: var(--space-2);
}
.footer-contacts {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  display: grid;
  gap: var(--space-1);
  font-size: var(--font-sm);
}
.footer-contacts:empty {
  display: none;
}
.copyright {
  font-size: var(--font-xs);
  color: var(--muted);
}

/* Responsive: native media queries mirror the documented root breakpoint tokens. */
@media (max-width: 1100px) {
  .contact-form .lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-layout {
    gap: var(--space-4);
  }
  .header-nav {
    gap: var(--space-2);
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .process-item {
    display: grid;
    grid-template-columns: var(--step-node-size) minmax(0, 1fr);
    column-gap: var(--space-3);
    padding: 0 0 var(--space-3);
  }
  .step-node {
    grid-column: 1;
    grid-row: 1/4;
  }
  .step-number {
    margin: 0;
    grid-column: 2;
  }
  .process-item h3,
  .process-item p {
    grid-column: 2;
  }
  .process-item::before {
    left: calc(var(--step-node-size) / 2);
    top: var(--step-node-size);
    bottom: calc(-1 * var(--space-3));
    right: auto;
    border-top: 0;
    border-left: var(--border);
  }
}
@media (max-width: 640px) {
  .faq-layout { grid-template-columns: 1fr; gap: var(--space-2); }
  :root {
    --space-4: 24px;
    --font-brand: 19px;
    --font-form: 21px;
    --header-height: 78px;
  }
  .header-inner {
    gap: var(--space-2);
    justify-content: space-between;
  }
  .header-nav {
    display: none;
  }
  .contact-form .lead-form {
    grid-template-columns: 1fr;
  }
  .header-cta {
    min-height: var(--control-height);
    padding-inline: 14px;
    font-size: var(--font-xs);
  }
  .hero-layout,
  .pricing-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .hero-facts {
    gap: var(--space-1) var(--space-2);
  }
  .hero-description {
    font-size: var(--font-sm);
  }
  .form-card {
    padding: var(--space-3);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .section-heading {
    margin-bottom: var(--space-3);
  }
  .copyright {
    flex-basis: 100%;
  }
  .brand-image {
    max-width: 130px;
  }
}

/* Scroll animation: content stays available without JavaScript or with reduced motion. */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .brand-track {
    animation: none;
  }
  .brand-window {
    overflow-x: auto;
  }
  .button {
    transition: none;
  }
}
