:root {
  --bg: #ffffff;
  --bg-soft: #f5f8f8;
  --bg-cool: #edf4f3;
  --device-canvas: #f2f2f0;
  --ink: #0d1b22;
  --muted: #4d626a;
  --subtle: #74878e;
  --line: #d8e4e3;
  --teal: #006a67;
  --teal-dark: #004f4d;
  --green: #4faf83;
  --coral: #de765f;
  --shadow: 0 24px 80px rgba(13, 27, 34, 0.08);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

.page-glp {
  background: var(--device-canvas);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: 18px max(20px, calc((100vw - var(--max)) / 2));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--teal);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 620;
  color: #1c3037;
}

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

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-cta,
.button-primary {
  border: 1px solid var(--teal-dark);
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 106, 103, 0.18);
}

.header-cta {
  padding: 0 20px;
}

.button {
  padding: 0 22px;
}

.button-secondary {
  border: 1px solid var(--teal);
  background: #ffffff;
  color: var(--teal-dark);
}

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

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: 40px;
  width: min(var(--max), calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 34px 0 48px;
}

.hero > * {
  min-width: 0;
}

.hero h1 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(36px, 3.15vw, 46px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  overflow: hidden;
  padding: 42px 72px;
  border: 1px solid rgba(216, 228, 227, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.92)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 74%;
  height: auto;
  max-height: 310px;
  object-fit: contain;
  object-position: center;
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 56px max(20px, calc((100vw - var(--max)) / 2));
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #f7faf9, #ffffff 50%, #f2f7f6);
}

.split-band article + article {
  border-left: 1px solid var(--line);
  padding-left: 80px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
.contact-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.25vw, 44px);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.split-band p,
.section-heading p,
.platform-copy p,
.about p,
.contact-copy p,
.practice p,
.signal-panel p {
  color: var(--muted);
}

.split-band p {
  margin-top: 16px;
  max-width: 520px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.page-hero {
  display: grid;
  width: min(var(--max), calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  padding: 88px 0 72px;
  align-items: center;
}

.page-hero.with-visual {
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.8fr);
  gap: 56px;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  max-width: 730px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
}

.page-hero .button {
  margin-top: 34px;
}

.mini-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.mini-visual img {
  width: 74%;
  height: auto;
  max-height: 270px;
  object-fit: contain;
  object-position: center;
}

.glp-hero {
  width: 100%;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--device-canvas);
}

.mini-visual-app {
  min-height: 520px;
  padding: 32px 42px;
  border: 0;
  border-radius: 0;
  background: var(--device-canvas);
  box-shadow: none;
}

.mini-visual-app img {
  width: min(360px, 100%);
  max-height: 620px;
}

.content-section {
  display: grid;
  gap: 44px;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.content-section.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 40px));
  align-items: start;
}

.copy-block {
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.copy-block p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.copy-block .button {
  margin-top: 28px;
}

.copy-block .check-list {
  margin-bottom: 0;
}

.check-list strong {
  color: var(--ink);
}

.legal {
  display: grid;
  gap: 34px;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 88px;
}

.legal-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.legal-section h3 {
  margin-top: 26px;
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 17px;
}

.legal-section p {
  margin-top: 14px;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--muted);
}

.product-overview {
  padding-top: 72px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: 26px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(13, 27, 34, 0.06);
}

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

.offering-card {
  padding-bottom: 68px;
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(0, 106, 103, 0.28);
  border-radius: 999px;
  background: #eef7f4;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
}

.offering-card .status-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p {
  margin-top: 16px;
  max-width: 650px;
  font-size: 17px;
}

.section-heading.compact {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.compact p {
  margin-right: auto;
  margin-left: auto;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.engine-card {
  min-height: 254px;
  padding: 30px 34px 34px 0;
}

.engine-card + .engine-card {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: 7px;
  background: var(--teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 780;
}

.engine-card p {
  margin-top: 12px;
  color: var(--muted);
}

.platform {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1fr);
  gap: 58px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--device-canvas);
}

.platform-copy p {
  margin-top: 18px;
  max-width: 610px;
  font-size: 17px;
}

.platform-copy .button {
  margin-top: 36px;
}

.app-screen-carousel {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 520 / 976;
}

.app-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.app-screen-1 {
  opacity: 1;
}

.check-list,
.practice ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li,
.practice li {
  position: relative;
  padding-left: 28px;
  color: #24383f;
}

.check-list li::before,
.practice li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  content: "";
}

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

.signal-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 70px rgba(13, 27, 34, 0.09);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-row div,
.insight-table,
.signal-panel p {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
}

.metric-row div {
  min-height: 92px;
  padding: 16px;
}

.metric-row span,
.insight-table span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
}

.metric-row strong {
  display: block;
  margin-top: 10px;
  color: var(--teal-dark);
  font-size: 27px;
  line-height: 1;
}

.metric-row .safe {
  color: var(--green);
}

.metric-row .review {
  color: #a66b00;
}

.insight-table {
  display: grid;
  gap: 0;
  margin-top: 12px;
  overflow: hidden;
}

.insight-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
}

.insight-table div + div {
  border-top: 1px solid var(--line);
}

.insight-table b {
  color: var(--teal);
  font-size: 13px;
}

.insight-table .review {
  color: #a66b00;
}

.insight-table .alert {
  color: var(--coral);
}

.signal-panel p {
  margin-top: 12px;
  padding: 16px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}

.practice {
  padding: 42px 52px 42px 0;
}

.practice + .practice {
  border-left: 1px solid var(--line);
  padding-right: 0;
  padding-left: 52px;
}

.practice p {
  margin-top: 14px;
}

.practice a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--teal-dark);
  font-weight: 760;
}

.practice a::after {
  width: 18px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
  content: "";
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.64fr;
  gap: 70px;
  align-items: start;
}

.about p {
  max-width: 720px;
  margin-top: 18px;
  font-size: 17px;
}

.mission {
  padding: 32px;
  border-left: 3px solid var(--green);
  background: var(--bg-soft);
}

.mission p {
  font-size: 16px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 0.8fr;
  gap: 70px;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f6f9f9);
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 28px;
}

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

.contact-copy p {
  margin-top: 18px;
  max-width: 520px;
  font-size: 17px;
}

.email-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 760;
}

label {
  display: grid;
  gap: 7px;
  color: #31454c;
  font-size: 13px;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbdada;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 11px 12px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 106, 103, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-visual img {
    animation: floatAsset 9s ease-in-out infinite;
  }

  .app-screen-carousel.is-ready .app-screen {
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-name: screenFade;
  }

  .app-screen-1 {
    animation-delay: 0s;
  }

  .app-screen-2 {
    animation-delay: 4s;
  }

  .app-screen-3 {
    animation-delay: 8s;
  }

  .app-screen-4 {
    animation-delay: 12s;
  }

  .app-screen-5 {
    animation-delay: 16s;
  }

  @keyframes floatAsset {
    0%,
    100% {
      transform: translate3d(0, 0, 0) scale(1.01);
    }
    50% {
      transform: translate3d(0, -8px, 0) scale(1.02);
    }
  }

  @keyframes screenFade {
    0%,
    18% {
      opacity: 1;
    }
    23%,
    95% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #ffffff;
    color: var(--ink);
    padding: 0;
  }

  .nav-toggle span:not(.sr-only) {
    position: absolute;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle span:nth-of-type(2) {
    transform: translateY(-5px);
  }

  .nav-toggle span:nth-of-type(3) {
    transform: translateY(5px);
  }

  .site-header.nav-open .nav-toggle span:nth-of-type(2) {
    transform: rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-of-type(3) {
    transform: rotate(-45deg);
  }

  .site-header.nav-open .site-nav {
    position: fixed;
    inset: 75px 20px auto;
    display: grid;
    gap: 4px;
    justify-content: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav a {
    padding: 13px 8px;
  }

  .hero,
  .platform,
  .about,
  .page-hero.with-visual,
  .content-section.two-column,
  .link-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 42px;
  }

  .platform {
    gap: 44px;
  }

  .app-screen-carousel {
    width: min(330px, 100%);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 340px;
  }

  .hero-visual img {
    min-height: 0;
  }

  .split-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-band article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 34px;
    padding-left: 0;
  }

  .engine-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .engine-card,
  .engine-card + .engine-card,
  .practice,
  .practice + .practice {
    border-left: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .engine-card + .engine-card,
  .practice + .practice {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .hero,
  .page-hero,
  .content-section,
  .section {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    font-size: 15px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(36px, 10vw, 40px);
    line-height: 1;
  }

  h1,
  .contact-copy h1,
  .page-hero h1 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1;
  }

  .page-hero {
    min-height: auto;
    padding: 58px 0 52px;
  }

  .glp-hero {
    width: 100%;
    padding: 58px 14px 52px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .mini-visual img {
    max-height: 250px;
  }

  .mini-visual-app img {
    max-height: 520px;
  }

  .hero-visual,
  .mini-visual {
    padding: 48px 12px;
  }

  .mini-visual-app {
    min-height: auto;
    padding: 30px 0;
  }

  .app-screen-carousel {
    width: min(300px, 100%);
  }

  .hero-visual img,
  .mini-visual:not(.mini-visual-app) img {
    width: 106%;
    max-width: none;
  }

  .hero p {
    max-width: 32ch;
    font-size: 17px;
  }

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

  .hero-actions {
    max-width: 360px;
  }

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

  .metric-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .split-band,
  .platform,
  .contact {
    padding-inline: 14px;
  }

  .contact-card,
  .mission {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
