:root {
  --bg: #f7fbfa;
  --surface: #ffffff;
  --surface-soft: #eef6f3;
  --ink: #18211f;
  --muted: #5d6b67;
  --line: #dbe7e3;
  --teal: #00a7a5;
  --teal-dark: #087774;
  --green: #6fbf4a;
  --amber: #e6a33a;
  --charcoal: #1f2a27;
  --shadow: 0 24px 70px rgba(20, 42, 37, 0.14);
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

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

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(247, 251, 250, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(24, 33, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  border-radius: 8px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(8, 18, 17, 0.12);
}

.brand-logo {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.brand-logo-mark {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 34px);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  min-height: 44px;
  border: 1px solid rgba(111, 191, 74, 0.92);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  background: var(--green);
  color: #102014;
  font-size: 0.93rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(111, 191, 74, 0.28);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.icon-button,
.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.menu-button {
  display: none;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(820px, 86vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.hero picture,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 18, 17, 0.86) 0%, rgba(8, 18, 17, 0.58) 42%, rgba(8, 18, 17, 0.12) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.05) 44%, rgba(0, 0, 0, 0.38) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: var(--header-height);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

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

.button.primary {
  background: var(--green);
  color: #102014;
  box-shadow: 0 16px 36px rgba(111, 191, 74, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.1);
}

.button.full {
  width: 100%;
}

svg {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.signal-strip {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 36px));
  margin: -44px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.signal-strip div {
  min-height: 120px;
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.signal-strip div + div {
  border-left: 1px solid var(--line);
}

.signal-strip strong {
  font-size: 1.02rem;
}

.signal-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.intro-grid,
.partner-layout,
.login-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro-copy p,
.partner-copy p,
.login-copy p,
.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.intro-copy p + p {
  margin-top: 18px;
}

.process {
  border-left: 2px solid var(--line);
  display: grid;
  gap: 18px;
}

.process div {
  position: relative;
  padding-left: 30px;
}

.process div::before {
  position: absolute;
  top: 3px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
  box-shadow: 0 0 0 7px #dff4ee;
}

.process span {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
}

.process strong {
  display: block;
  margin-top: 4px;
}

.process p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.benefits {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: #eef6f3;
}

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

.benefit-card {
  min-height: 310px;
  border: 1px solid #d9e7e1;
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(30, 48, 44, 0.07);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: #e6f6ef;
  color: var(--teal-dark);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.partner-section {
  padding-bottom: 84px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--charcoal);
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: var(--green);
}

.check-list li::after {
  position: absolute;
  top: 8px;
  left: 5px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid #102014;
  border-left: 2px solid #102014;
  content: "";
  transform: rotate(-45deg);
}

.metric-panel {
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
}

.metric-panel div {
  min-height: 118px;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
}

.metric-panel div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-panel span {
  color: #7df4dd;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.metric-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.references {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: #fbf7ef;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.logo-row span {
  min-height: 86px;
  border: 1px solid #eadfcf;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--charcoal);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 850;
  text-align: center;
}

.login-section {
  align-items: center;
}

.login-copy {
  max-width: 540px;
}

.login-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 800;
}

.login-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #f9fcfb;
  color: var(--ink);
  outline: none;
}

.login-form input:disabled,
.login-form button:disabled {
  cursor: not-allowed;
}

.login-form input:disabled {
  color: rgba(93, 107, 103, 0.75);
}

.login-form button:disabled {
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  font-weight: 700 !important;
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.form-row a {
  color: var(--teal-dark);
  font-weight: 800;
  white-space: nowrap;
}

.contact {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: var(--charcoal);
  color: #fff;
}

.contact .eyebrow {
  color: #7df4dd;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr) auto;
  gap: 34px;
  align-items: center;
}

.contact-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
  line-height: 1.45;
}

.contact-details strong {
  color: #fff;
  font-size: 1.05rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: min(360px, 100%);
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  text-align: right;
}

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

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .benefit-grid,
  .logo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 18px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

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

  .menu-button {
    display: grid;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 18, 17, 0.9) 0%, rgba(8, 18, 17, 0.72) 58%, rgba(8, 18, 17, 0.2) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.42) 100%);
  }

  .hero-content {
    margin-left: 18px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

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

  .intro-grid,
  .partner-layout,
  .login-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .metric-panel div {
    grid-template-columns: 80px 1fr;
  }

  .contact-actions {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .brand-logo-full {
    display: none;
  }

  .brand-logo-mark {
    display: block;
    height: 34px;
  }

  .brand {
    min-height: 44px;
    padding: 5px;
  }

  .site-header {
    justify-content: flex-start;
    gap: 12px;
  }

  .header-actions {
    margin-left: 0;
  }

  .header-phone {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .header-phone svg,
  .phone-prefix {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content,
  .signal-strip,
  .intro,
  .partner-section,
  .login-section {
    width: min(354px, calc(100% - 36px));
  }

  .signal-strip,
  .intro,
  .partner-section,
  .login-section {
    margin-right: 18px;
    margin-left: 18px;
  }

  .signal-strip {
    margin-top: -44px;
  }

  h1 {
    font-size: clamp(2.85rem, 13vw, 3.4rem);
  }

  .hero-actions,
  .form-row,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer .footer-links {
    justify-content: flex-start;
    text-align: left;
  }

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

  .benefit-grid,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 0;
  }

  .metric-panel div {
    min-height: 104px;
    grid-template-columns: 64px 1fr;
    padding: 20px;
  }

  .metric-panel span {
    font-size: 2rem;
  }

  .contact-details {
    padding: 18px;
  }

  .form-row {
    display: grid;
    justify-content: stretch;
  }
}

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