.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .24);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
}

.section--light .btn-ghost {
  border-color: var(--light-border);
  color: var(--light-text);
}

.section--light .btn-ghost:hover {
  border-color: var(--light-muted);
  background: rgba(11, 18, 32, .04);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-0) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  margin-right: auto;
}

.site-header .brand {
  height: 76px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 28px;
  width: auto;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--accent);
}

.has-dropdown > a::after {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  
  transform: translateY(-2px) rotate(45deg);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: .6;
}

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.dropdown li a:hover {
  background: var(--bg-1);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-login {
  font-size: 14px;
  color: var(--text-muted);
}

.nav-login:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span {
  top: 19px;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  left: 0;
  right: 0;
}


.main-nav > ul > li.is-current > a {
  color: var(--accent);
}

.dropdown li a.is-current {
  color: var(--text);
  background: var(--bg-1);
}


.subnav {
  position: sticky;
  top: 76px;
  z-index: 90;
  background: color-mix(in srgb, var(--bg-0) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.subnav-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subnav-scroll::-webkit-scrollbar {
  display: none;
}

.subnav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 50px;
}

.subnav-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.subnav-link:hover {
  color: var(--text);
}

.subnav-link.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

@media (max-width: 1140px) {
  .subnav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 22px;
    height: auto;
    padding-block: 10px;
  }

  .subnav-link {
    font-size: 13px;
    height: auto;
    padding-block: 6px;
  }
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.section--light .section-sub {
  color: var(--light-muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease;
}

.card:hover {
  border-color: var(--accent);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
}

.section--light .card {
  background: var(--light-bg-alt);
  border-color: var(--light-border);
}

.section--light .card p {
  color: var(--light-muted);
}

.logo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.logo-bar img {
  height: 24px;
  width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .2s ease;
}

.logo-bar img:hover {
  opacity: 1;
}

.section--light .logo-bar img {
  filter: grayscale(100%);
  opacity: .6;
}

.section--light .logo-bar img:hover {
  filter: none;
  opacity: 1;
}

.logo-bar-heading {
  margin-bottom: 30px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.section--light .logo-bar-heading {
  color: var(--light-muted);
}

.logo-bar-text {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .72);
}

.section--light .logo-bar-text {
  color: var(--light-muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.workflow-step {
  position: relative;
  padding-inline: 10px;
  text-align: center;
}

.workflow-step + .workflow-step::before {
  content: '\2192';
  position: absolute;
  left: -10px;
  top: 20px;
  font-size: 20px;
  line-height: 1;
  color: #94a3b8;
}

.workflow-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #fff;
}

.workflow-dot .icon {
  width: 31px;
  height: 31px;
  stroke-width: 1.8;
}

.workflow-n {
  font-size: 24px;
  font-weight: 700;
}

.workflow-title {
  margin-top: 18px;
  font-size: 15px;
}

.workflow-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.section--light .workflow-sub {
  color: var(--light-muted);
}

@media (max-width: 1100px) {
  .workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }

  .workflow-step + .workflow-step::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-row .badge {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}

.cta-banner {
  background: linear-gradient(135deg, var(--bg-1), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease;
}

.footer-social a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.footer-col h3 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-contact-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-contact-phone,
.footer-contact-email {
  display: block;
  font-size: 14px;
}

.footer-contact-email {
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
    order: 3;
  }

  html.js .main-nav,
  html.js .nav-actions {
    display: none;
    flex-basis: 100%;
  }

  .nav-row {
    flex-wrap: wrap;
    height: auto;
    min-height: 76px;
    row-gap: 0;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }

  html:not(.js) .main-nav {
    flex-basis: 100%;
  }

  html:not(.js) .nav-actions {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-block: 20px;
  }

  .site-header.nav-open .main-nav {
    display: block;
    order: 4;
  }

  .site-header.nav-open .nav-actions {
    display: flex;
    order: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-block: 16px 20px;
    border-top: 1px solid var(--border);
  }

  .site-header.nav-open .nav-actions .nav-login,
  html:not(.js) .nav-actions .nav-login {
    display: block;
    text-align: center;
    padding: 11px 24px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
  }

  .site-header.nav-open .nav-actions .nav-login:hover,
  html:not(.js) .nav-actions .nav-login:hover {
    border-color: var(--accent);
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 4px 12px;
  }

  .main-nav > ul > li {
    border-top: 1px solid var(--border);
  }

  .main-nav > ul > li:first-child {
    border-top: none;
  }

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

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 8px 16px;
  }

  .dropdown::before {
    content: none;
  }

  .has-dropdown.open .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: block;
    transform: none;
  }

  
  .footer-grid {
    text-align: center;
  }

  
  .footer-brand img {
    margin-inline: auto;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
  }
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 260px;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal].reveal-init {
    opacity: 0;
    transform: translateY(16px);
  }

  [data-reveal].in {
    opacity: 1;
    transform: none;
    transition: .5s;
  }
}

.stub-hero {
  position: relative;
  overflow: hidden;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 140px 120px;
  background:
    radial-gradient(640px 320px at 50% -40px, rgba(37, 99, 235, .18), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-bottom: 1px solid var(--border);
}

.stub-hero h1 {
  font-size: 48px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.stub-hero .section-sub {
  margin-bottom: 36px;
}

.stub-hero .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .stub-hero {
    padding-block: 96px 80px;
  }

  .stub-hero h1 {
    font-size: 34px;
  }
}
