:root {
  --hgc-primary: #3aa095;
  --hgc-primary-deep: #123b36;
  --hgc-primary-soft: #5fc0b6;
  --cannect-teal: #00887a;
  --cannect-mint: #9cf4cc;
  --hgc-cream: #f3f0e8;
  --hgc-white: #ffffff;
  --hgc-muted: rgba(243, 240, 232, 0.72);
  --hgc-line: rgba(156, 244, 204, 0.24);
  --hgc-surface: rgba(13, 42, 37, 0.46);
  --hgc-surface-strong: rgba(13, 42, 37, 0.72);
  --hgc-shadow: 0 24px 70px rgba(0, 24, 21, 0.22);
  --hgc-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(156, 244, 204, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 244, 204, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #0f312d 0%, #26786f 54%, var(--hgc-primary) 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--hgc-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cannect-mint);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: var(--hgc-radius);
  background: var(--hgc-white);
  color: var(--hgc-primary-deep);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: none;
}

.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: rgba(243, 240, 232, 0.86);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark img {
  width: clamp(70px, 7vw, 98px);
  filter: drop-shadow(0 16px 34px rgba(0, 20, 18, 0.24));
}

.brand-mark.is-product {
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(243, 240, 232, 0.12);
  border-radius: 999px;
  background: rgba(13, 42, 37, 0.18);
  backdrop-filter: blur(18px);
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(243, 240, 232, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(156, 244, 204, 0.14);
  color: var(--hgc-white);
}

.hero-section,
.product-hero {
  min-height: calc(84vh - 96px);
  display: grid;
  grid-template-columns: minmax(420px, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(42px, 5.5vw, 84px);
  padding: clamp(46px, 6vw, 74px) 0 clamp(70px, 9vw, 108px);
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--cannect-mint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 760px;
  color: var(--hgc-white);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 4vw, 4.35rem);
  font-weight: 400;
}

.hero-title {
  max-width: 780px;
  font-weight: 400;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.05rem, 3.5vw, 3.7rem);
  font-weight: 400;
}

h3 {
  margin-bottom: 12px;
  color: var(--hgc-white);
  font-size: clamp(1.05rem, 1.35vw, 1.34rem);
  line-height: 1.12;
}

.hero-text,
.statement-section p,
.product-copy p,
.split-copy p,
.contact-section p {
  max-width: 620px;
  color: var(--hgc-muted);
  font-size: clamp(1rem, 1.22vw, 1.16rem);
}

.hero-text {
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--cannect-mint);
  border-radius: var(--hgc-radius);
  background: var(--cannect-mint);
  color: var(--hgc-primary-deep);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button-link:hover {
  transform: translateY(-1px);
}

.button-link.is-secondary {
  background: transparent;
  color: var(--hgc-white);
}

.parent-visual,
.app-hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-copy {
  order: 1;
}

.hero-section .parent-visual {
  order: 2;
}

.app-hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20% 3% 6% 8%;
  border-left: 2px solid rgba(156, 244, 204, 0.58);
  background:
    linear-gradient(135deg, rgba(13, 42, 37, 0.42), rgba(0, 136, 122, 0.08)),
    linear-gradient(90deg, rgba(156, 244, 204, 0.16), rgba(156, 244, 204, 0));
  box-shadow: var(--hgc-shadow);
}

.app-hero-visual {
  padding: clamp(8px, 1.2vw, 14px);
  border: 1px solid rgba(156, 244, 204, 0.14);
  border-radius: var(--hgc-radius);
  background: rgba(13, 42, 37, 0.28);
  box-shadow: 0 18px 54px rgba(0, 24, 21, 0.16);
}

.app-hero-visual img,
.image-band img {
  width: 100%;
  border-radius: calc(var(--hgc-radius) - 2px);
}

.hero-logo-panel {
  position: relative;
  display: grid;
  min-height: clamp(310px, 38vw, 500px);
  place-items: center;
}

.hero-logo-panel::before {
  content: "";
  position: absolute;
  inset: 18% 12% 14% 16%;
  border-left: 2px solid rgba(156, 244, 204, 0.55);
  background:
    linear-gradient(135deg, rgba(13, 42, 37, 0.22), rgba(156, 244, 204, 0.08)),
    linear-gradient(90deg, rgba(243, 240, 232, 0.055), rgba(243, 240, 232, 0));
  box-shadow: 0 18px 56px rgba(0, 24, 21, 0.14);
}

.hero-logo-panel img {
  position: relative;
  width: min(58%, 360px);
  filter: drop-shadow(0 22px 42px rgba(0, 24, 21, 0.24));
}

.statement-section,
.company-context-section,
.trust-section,
.product-section,
.contact-section,
.legal-section,
.feature-section,
.principles-section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.statement-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 90px);
  border-top: 1px solid rgba(156, 244, 204, 0.13);
  border-bottom: 1px solid rgba(156, 244, 204, 0.13);
}

.company-context-section {
  border-bottom: 1px solid rgba(156, 244, 204, 0.13);
}

.company-context-section .section-heading,
.trust-section .section-heading,
.contact-section .section-heading {
  max-width: 820px;
}

.company-context-section .section-heading > p:last-child,
.trust-section .section-heading > p:last-child,
.contact-section .section-heading > p:last-child {
  max-width: 720px;
  color: var(--hgc-muted);
  font-size: clamp(1rem, 1.22vw, 1.16rem);
}

.trust-section {
  padding-top: 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(156, 244, 204, 0.18);
  border-radius: var(--hgc-radius);
  background: rgba(13, 42, 37, 0.22);
  color: rgba(243, 240, 232, 0.82);
  font-size: 0.95rem;
  font-weight: 760;
}

.trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--cannect-mint);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.card-grid,
.feature-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.principle-card,
.feature-card,
.legal-card {
  border: 1px solid rgba(156, 244, 204, 0.14);
  border-radius: var(--hgc-radius);
  background: rgba(13, 42, 37, 0.24);
  box-shadow: none;
}

.principle-card,
.feature-card {
  padding: clamp(18px, 2.4vw, 28px);
}

.principle-card span,
.feature-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--cannect-mint);
  font-weight: 900;
}

.principle-card p,
.feature-card p,
.legal-card p,
.legal-card li {
  color: var(--hgc-muted);
}

.product-section,
.split-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.product-copy {
  max-width: 520px;
}

.product-logo {
  width: clamp(96px, 11vw, 150px);
  margin: 0 0 22px;
  filter: drop-shadow(0 18px 34px rgba(0, 24, 21, 0.2));
}

.product-logo.is-hero {
  width: clamp(112px, 12vw, 168px);
  margin-bottom: 30px;
}

.product-image-stack {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(8px, 1.6vw, 18px);
}

.product-image-stack::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 11% 0 4% 8%;
  border-left: 2px solid rgba(156, 244, 204, 0.52);
  background: linear-gradient(135deg, rgba(13, 42, 37, 0.52), rgba(156, 244, 204, 0.08));
  box-shadow: 0 24px 68px rgba(0, 24, 21, 0.18);
}

.image-card,
.wide-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(156, 244, 204, 0.24);
  border-radius: var(--hgc-radius);
  background: rgba(13, 42, 37, 0.38);
  box-shadow: 0 16px 42px rgba(0, 24, 21, 0.12);
}

.image-card::before,
.wide-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 42, 37, 0.18), rgba(13, 42, 37, 0.06) 46%, rgba(13, 42, 37, 0.28)),
    linear-gradient(135deg, rgba(156, 244, 204, 0.13), rgba(156, 244, 204, 0) 42%);
  mix-blend-mode: screen;
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.image-card.is-offset {
  transform: translateY(28px);
}

.product-hero {
  grid-template-columns: minmax(360px, 0.84fr) minmax(0, 1.16fr);
}

.feature-card {
  min-height: 210px;
}

.split-feature {
  min-height: 520px;
  padding: clamp(58px, 8vw, 104px) 0;
  border-top: 1px solid rgba(156, 244, 204, 0.13);
}

.split-feature.is-reversed .split-copy {
  order: 2;
}

.wide-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.split-feature.is-reversed .wide-media img {
  aspect-ratio: 16 / 10;
}

.image-band {
  padding: clamp(28px, 5vw, 72px) 0;
}

.image-band img {
  border: 1px solid rgba(156, 244, 204, 0.22);
  background: rgba(13, 42, 37, 0.48);
  box-shadow: var(--hgc-shadow);
}

.legal-grid {
  grid-template-columns: minmax(0, 1fr);
}

.legal-card {
  padding: 0;
}

.legal-card summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--hgc-white);
  font-size: 1.08rem;
  font-weight: 850;
}

.legal-card div {
  padding: 0 24px 24px;
}

.legal-card h3 {
  margin: 24px 0 10px;
  font-size: 1rem;
}

.legal-card ul,
.legal-card ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.legal-card li + li {
  margin-top: 8px;
}

.contact-section {
  max-width: 1240px;
  border-top: 1px solid rgba(156, 244, 204, 0.16);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 42px;
  border-top: 1px solid rgba(156, 244, 204, 0.16);
  color: rgba(243, 240, 232, 0.66);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: rgba(243, 240, 232, 0.78);
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .hero-section,
  .product-hero,
  .statement-section,
  .product-section,
  .split-feature {
    grid-template-columns: 1fr;
  }

  .hero-section .parent-visual {
    order: 1;
  }

  .hero-section .hero-copy {
    order: 2;
  }

  .split-feature.is-reversed .split-copy {
    order: 0;
  }

  .card-grid,
  .feature-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .image-card.is-offset {
    transform: none;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .site-nav a {
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero-section,
  .product-hero {
    min-height: auto;
    padding-top: 34px;
  }

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

  .product-image-stack {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .product-image-stack::before,
  .parent-visual::before,
  .app-hero-visual::before {
    display: none;
  }

  .image-card img,
  .wide-media img,
  .split-feature.is-reversed .wide-media img {
    aspect-ratio: 1 / 1;
  }

  .site-footer {
    flex-direction: column;
  }
}
