@font-face {
  font-family: Fraunces;
  src: url("../fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("../fonts/roboto.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: #141b13;
  color: #fff;
  font-family: Roboto, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  color: #89e29b;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
}

h3 {
  font-family: Roboto, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: #89e29b;
}

a:hover {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #89e29b;
  color: #101310;
  padding: 0.5rem 0.8rem;
  z-index: 30;
  border-radius: 6px;
  font-weight: 500;
}

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

:focus-visible {
  outline: 2px solid #89e29b;
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(111deg, #101310 0%, #001b06 100%);
  border-bottom: 1px solid rgba(137, 226, 155, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(1240px, calc(100% - 2.5rem));
  min-height: 84px;
}

.logo {
  display: flex;
  flex: 0 0 auto;
}

.logo img {
  width: 168px;
  height: auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: #fff;
  border: 2px solid #89e29b;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font: 500 0.95rem Roboto, sans-serif;
  cursor: pointer;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem 1.35rem;
  margin-left: auto;
}

.nav a,
.nav-sub-toggle {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
}

.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.chevron {
  width: 0.7rem;
  height: 0.7rem;
}

.nav-item.is-open .chevron {
  transform: rotate(180deg);
}

.nav-item {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 30;
  min-width: 18.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #161d14;
  border: 1px solid rgba(137, 226, 155, 0.35);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.nav-item.is-open > .submenu {
  display: grid;
}

@media (min-width: 1101px) {
  .submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.85rem;
  }

  .nav-item:focus-within > .submenu {
    display: grid;
  }
}

.submenu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu a[aria-current="page"] {
  background: rgba(137, 226, 155, 0.14);
  color: #89e29b;
}

.nav a:hover,
.nav a[aria-current="page"],
.nav-sub-toggle:hover,
.nav-sub-toggle[aria-expanded="true"],
.nav-item.is-ancestor > .nav-sub-toggle {
  color: #89e29b;
}

.nav a.nav-cta {
  border: 2px solid #89e29b;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  min-height: 44px;
}

.nav a.nav-cta:hover,
.nav a.nav-cta[aria-current="page"] {
  background: #89e29b;
  color: #101310;
}

.block {
  padding: 1.5rem 0 2.75rem;
}

#schedule-consultation {
  scroll-margin-top: 6.5rem;
}

.page-main > .block:first-child,
.page-main > article > .block:first-child {
  padding-top: 3.25rem;
}

.crumbs {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 1.15rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #d5d5d5;
}

.crumbs li + li::before {
  content: "/";
  color: #89e29b;
}

.crumbs a {
  color: #fff;
  text-decoration: none;
}

.crumbs [aria-current="page"] {
  color: #89e29b;
}

@media (max-width: 800px) {
  .crumbs ol {
    flex-wrap: nowrap;
  }

  .crumbs li {
    white-space: nowrap;
  }

  .crumbs li:last-child {
    min-width: 0;
    overflow: hidden;
  }

  .crumbs li:last-child [aria-current="page"] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.page-main > article > .crumbs + .block {
  padding-top: 1.35rem;
}

.lede {
  color: #89e29b;
  font-weight: 500;
  font-size: 1.22rem;
}

.cta-kicker {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  color: #89e29b;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.is-center > .wrap > :is(h1, h2, .lede, .cta-kicker),
.prose.is-center,
.cta {
  text-align: center;
}

.is-center > .wrap > p,
.prose.is-center p {
  max-width: 760px;
  margin-inline: auto;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.split-grid.image-left .split-media {
  order: -1;
}

.split-media img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.tools {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: linear-gradient(160deg, #000 0%, rgba(137, 226, 155, 0.23) 100%);
  border: 2px solid #89e29b;
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.15rem;
}

.card p,
.tool p {
  color: #d5d5d5;
  font-size: 1rem;
  margin-bottom: 0;
}

.card .icon {
  width: 42px;
  height: 42px;
  color: #89e29b;
  margin-bottom: 0.75rem;
}

.solution-label {
  margin: 1rem 0 0.35rem;
  color: #89e29b;
  font-weight: 500;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #89e29b;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font: 500 1rem Roboto, sans-serif;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: #89e29b;
  color: #101310;
}

.form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: #fff;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 2px solid #89e29b;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: 400 1rem Roboto, sans-serif;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #bdbdbd;
}

.form .btn {
  justify-self: start;
}

.cf-turnstile {
  margin: 0.15rem 0;
}

.form-status {
  margin: 0;
  font-size: 1rem;
}

.form-status.is-success {
  color: #89e29b;
}

.form-status.is-error {
  color: #ffbc7d;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: #101310;
  border-top: 1px solid rgba(137, 226, 155, 0.28);
  padding: 3.25rem 0;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr 0.65fr;
  gap: 2rem;
}

.byline {
  color: #d5d5d5;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.byline time {
  color: #89e29b;
}

.post-list {
  display: grid;
  gap: 1.5rem;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(137, 226, 155, 0.2);
}

.post-card img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.post-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.post-card h2 a:hover {
  color: #fff;
}

.more {
  font-weight: 500;
  text-decoration: none;
}

.more:hover {
  color: #fff;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-tag,
.footer-address {
  color: #e9e8e8;
  font-size: 1rem;
  font-style: normal;
  margin: 0.85rem 0 0;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: #e9e8e8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
}

.site-footer a:hover {
  color: #89e29b;
}

.missing {
  min-height: 50vh;
  display: grid;
  align-content: center;
  padding: 4rem 0;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #101310;
    border-bottom: 1px solid rgba(137, 226, 155, 0.28);
    padding: 0.4rem 1.25rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-sub-toggle {
    font-size: 1.05rem;
    min-height: 44px;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(137, 226, 155, 0.15);
  }

  .nav-item,
  .submenu {
    width: 100%;
  }

  .submenu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.15rem 0.85rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .submenu a {
    white-space: normal;
    padding-left: 0.15rem;
    border-radius: 0;
  }

  .nav-sub-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav a.nav-cta {
    margin-top: 0.8rem;
    text-align: center;
    border-bottom: 2px solid #89e29b;
  }
}

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

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

  .post-card {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .split-grid.image-left .split-media {
    order: 0;
  }

  .wrap,
  .crumbs {
    width: min(1120px, calc(100% - 2rem));
  }

  .form .btn,
  .is-center .btn,
  .cta .btn {
    justify-self: stretch;
  }

  .btn {
    width: 100%;
  }

  .nav a.nav-cta:hover {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
