* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #050505;
  color: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  font-size: 15px;
  padding-top: 70px;
}

body,
body * {
  letter-spacing: 0 !important;
}

:where(a, p, li, button, input, textarea, select, span, small, label) {
  font-size: max(15px, 1em);
}

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

img {
  display: block;
}

.anchor-target {
  position: relative;
  top: -90px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

p,
h1,
h2,
h3,
a,
span,
input,
textarea,
button {
  overflow-wrap: anywhere;
}

.shell {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

.site {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding-left: 31px;
  padding-right: 31px;
}

.asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

img[src*="assets/generated/"]:not([src*="logo"]):not([src*="Carlo"]):not([src*="team-"]) {
  filter: saturate(1.08) contrast(1.05);
}

.accent {
  color: #019b5b;
}

.logo-mark {
  display: block;
  width: clamp(148px, 12vw, 184px);
  height: clamp(40px, 3.4vw, 52px);
  flex: 0 0 auto;
  border-radius: 0;
  background: url("generated/logo.png?v=20260715-source") left center / contain no-repeat;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-mark.logo-mark-configured {
  background: none !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 70px;
  background: #050505;
}

.header-inner {
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.main-nav a,
.main-nav span {
  font-size: 15px;
  white-space: nowrap;
}

.main-nav a.is-active,
.main-nav span.is-active,
.mobile-nav a.is-active,
.mobile-nav span.is-active {
  color: #019b5b;
}

.main-nav a.is-active,
.main-nav span.is-active {
  border-bottom: 2px solid #019b5b;
  padding-bottom: 7px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.language {
  display: inline-flex;
  align-items: center;
  min-width: 67px;
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.language:hover,
.language:focus-visible {
  color: #fff;
}

.top-cta,
.btn-accent {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #019b5b;
  padding: 0 20px;
  color: #fff;
  font-weight: 900;
  border: none;
}

.header-contact-cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-contact-cta:hover,
.header-contact-cta:focus-visible,
.mobile-header-contact-cta:hover,
.mobile-header-contact-cta:focus-visible {
  background: #02b86d;
  color: #fff;
}

.header-contact-cta:focus-visible,
.mobile-header-contact-cta:focus-visible {
  outline: 2px solid #8be8bc;
  outline-offset: 3px;
}

.mobile-header-contact-cta {
  display: none;
}

.btn-dark {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 850;
}

.hamburger {
  display: none;
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #050505;
  transition: max-height 0.24s ease;
}

.mobile-nav.is-open {
  max-height: 480px;
}

.mobile-nav-inner {
  display: grid;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.site-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.48fr) minmax(260px, 0.56fr);
  gap: 76px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 42px;
}

.footer-col {
  min-width: 0;
}

.brand-line,
.copyright,
.icp-line {
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.55;
}

.brand-line {
  margin-top: 16px;
}

.copyright {
  margin-top: 28px;
}

.footer-col b {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-links span {
  width: max-content;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.footer-links a:hover {
  color: #019b5b;
}

.footer-menu .footer-links {
  grid-template-columns: repeat(2, max-content);
  gap: 12px 30px;
}

.icp-line {
  margin-top: 18px;
}

.resources-page .site,
.company-page .site,
.career-page .site,
.contact-page .site {
  padding-left: 54px;
  padding-right: 54px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  background: #050505;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  left: 44%;
  opacity: 0.92;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.7) 24%, rgba(5, 5, 5, 0.36) 50%, rgba(5, 5, 5, 0.1) 74%, rgba(5, 5, 5, 0) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 330px;
  align-items: center;
}

.page-hero h1 {
  max-width: 610px;
  font-size: 48px;
  font-weight: 950;
  line-height: 1.08;
}

.page-hero p {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section-dark {
  background: #050505;
  color: #fff;
}

.section-light {
  background: #f4f2ee;
  color: #050505;
}

.band {
  padding-top: 54px;
  padding-bottom: 54px;
}

.compact-band {
  padding-top: 36px;
  padding-bottom: 36px;
}

.section-title {
  font-size: 36px;
  font-weight: 950;
  line-height: 1.1;
}

:where(.hero-kicker, .module-eyebrow, .tech-kicker, .article-kicker, .talk-kicker, .career-kicker, .contact-info-kicker, .reason-kicker, .home-kicker)
  + :where(h1, h2, h3, .section-title) {
  margin-top: 16px;
}

.section-lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

.section-light .section-lead {
  color: rgba(5, 5, 5, 0.56);
}

.visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: #080808;
}

.section-light .visual-card {
  border-color: rgba(5, 5, 5, 0.1);
  background: #fff;
}

.visual-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.65));
  pointer-events: none;
}

.visual-card .card-content {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.info-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
}

.section-light .info-card {
  border-color: rgba(5, 5, 5, 0.12);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.055);
}

.fine-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}

.form-field {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0 14px;
  color: #fff;
  outline: none;
}

textarea.form-field {
  min-height: 96px;
  padding-top: 13px;
  resize: none;
}

.form-field::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

@media (min-width: 761px) and (max-width: 980px) {
  .site,
  .shell,
  .resources-page .site,
  .company-page .site,
  .career-page .site,
  .contact-page .site {
    padding-left: 30px;
    padding-right: 30px;
  }

  .header-inner {
    gap: 14px;
  }

  .brand {
    gap: 0;
    font-size: 20px;
  }

  .logo-mark {
    width: clamp(126px, 15vw, 146px);
    height: 40px;
  }

  .main-nav {
    gap: clamp(16px, 2.1vw, 24px);
  }

  .header-actions {
    gap: 8px;
  }

  .header-contact-cta {
    padding: 0 13px;
    font-size: 13px;
  }

  .language {
    min-width: 64px;
  }

  .top-cta {
    padding: 0 18px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .footer-layout {
    grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.55fr) minmax(170px, 0.65fr);
    gap: 24px;
  }

  .footer-menu .footer-links {
    gap: 10px 22px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    display: flex;
    gap: 0;
    margin-left: auto;
  }

  .header-actions .language {
    display: none;
  }

  .hamburger {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    background: transparent;
    position: relative;
    z-index: 60;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
  }

  .hamburger span + span {
    margin-top: 5px;
  }

  .mobile-header-contact-cta {
    display: inline-flex;
    width: fit-content;
    margin-top: 4px;
    padding: 0 18px;
  }

  .logo-mark {
    width: min(154px, 52vw);
    height: 43px;
  }
}

@media (max-width: 760px) {
  .site,
  .shell {
    padding-left: 22px;
    padding-right: 22px;
  }

  .resources-page .site,
  .company-page .site,
  .career-page .site,
  .contact-page .site {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-header {
    min-height: 70px;
  }

  .header-inner {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .logo-mark {
    width: min(154px, 52vw);
    height: 43px;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    background: transparent;
    position: relative;
    z-index: 60;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
  }

  .hamburger span + span {
    margin-top: 5px;
  }

  .mobile-header-contact-cta {
    display: inline-flex;
    width: fit-content;
    margin-top: 4px;
    padding: 0 18px;
  }

  .page-hero-media {
    left: 8%;
    opacity: 0.34;
  }

  .page-hero h1 {
    max-width: 340px;
    font-size: 34px;
  }

  .page-hero p {
    max-width: 330px;
    font-size: 16px;
    line-height: 1.72;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .footer-menu .footer-links {
    grid-template-columns: repeat(2, max-content);
  }

  .section-title {
    font-size: 30px;
  }

  .band {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}
