:root {
  --navy: #062f4e;
  --navy-deep: #04263f;
  --ink: #102f43;
  --ink-soft: #31566d;
  --teal: #0d8da4;
  --teal-light: #59c8d7;
  --surface: #f5f9fa;
  --surface-blue: #eaf5f7;
  --white: #ffffff;
  --muted: #6c8492;
  --line: #dce8ec;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--teal-light);
  color: var(--navy-deep);
}

a {
  color: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(16, 47, 67, 0.09);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand__mark {
  width: 32px;
  height: 32px;
  overflow: visible;
  fill: var(--teal);
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand__mark path {
  fill: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 650;
}

.primary-nav a {
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.primary-nav > a:not(.nav-contact):hover,
.primary-nav > a:not(.nav-contact):focus-visible {
  color: var(--teal);
}

.nav-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--teal);
  transform: translateY(-1px);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(89, 200, 215, 0.2), transparent 31%),
    var(--surface);
}

.hero__grid {
  display: grid;
  min-height: 680px;
  padding-block: clamp(64px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.hero__copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  padding-inline: 5px;
  color: #9bb0ba;
}

.hero h1,
.about-hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 6.2vw, 5.65rem);
  font-weight: 650;
  letter-spacing: -0.066em;
  line-height: 0.98;
}

.hero__lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 720;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button--primary {
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(13, 141, 164, 0.2);
  color: var(--white);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #087b91;
  box-shadow: 0 16px 34px rgba(13, 141, 164, 0.28);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 720;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: color 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--teal);
}

.hero__visual {
  position: relative;
  height: clamp(470px, 44vw, 590px);
  overflow: hidden;
  border: 1px solid rgba(16, 47, 67, 0.08);
  border-radius: 30px;
  background: var(--navy);
  box-shadow: 0 28px 70px rgba(6, 47, 78, 0.18);
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(4, 38, 63, 0.22));
  content: "";
  pointer-events: none;
}

.hero__visual picture,
.hero__visual img {
  width: 100%;
  height: 100%;
}

.hero__visual img {
  object-fit: cover;
  object-position: 68% center;
}

.section {
  padding-block: clamp(88px, 9vw, 124px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.64fr);
  align-items: end;
  gap: clamp(48px, 9vw, 130px);
}

.split-heading h2,
.section-heading h2,
.story-grid h2,
.partnership-card h2 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2.65rem, 4.6vw, 4.35rem);
  font-weight: 630;
  letter-spacing: -0.057em;
  line-height: 1.03;
}

.section-intro {
  max-width: 490px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-list {
  margin-top: clamp(55px, 7vw, 84px);
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 92px minmax(0, 1fr);
}

.service-list article > span,
.principle-list article > span {
  padding-top: 4px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.service-list article > div {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(35px, 7vw, 100px);
}

.service-list h3,
.platform-card h3,
.principle-list h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.service-list p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.platform-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  margin-bottom: clamp(46px, 6vw, 70px);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.platform-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(6, 47, 78, 0.07);
}

.platform-card__image {
  height: 310px;
  overflow: hidden;
  background: var(--navy);
}

.platform-card__image picture,
.platform-card__image img {
  width: 100%;
  height: 100%;
}

.platform-card__image img {
  object-fit: cover;
  transition: transform 500ms ease;
}

.platform-card__image--field img {
  object-position: 69% center;
}

.platform-card:hover .platform-card__image img {
  transform: scale(1.025);
}

.platform-card__body {
  padding: clamp(28px, 4vw, 42px);
}

.platform-card__label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.platform-card h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
}

.platform-card__body > p:not(.platform-card__label) {
  min-height: 84px;
  margin: 17px 0 25px;
  color: var(--muted);
  line-height: 1.7;
}

.partnership-section {
  background: var(--white);
}

.partnership-card {
  display: grid;
  padding: clamp(42px, 7vw, 80px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 15%, rgba(89, 200, 215, 0.3), transparent 30%),
    var(--surface-blue);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(50px, 9vw, 130px);
}

.partnership-card h2 {
  max-width: 580px;
}

.partnership-copy {
  align-self: end;
}

.partnership-copy p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-section {
  overflow: hidden;
  padding-block: clamp(86px, 9vw, 120px);
  background:
    radial-gradient(circle at 75% 15%, rgba(89, 200, 215, 0.15), transparent 35%),
    var(--navy);
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--teal-light);
}

.contact-section h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 630;
  letter-spacing: -0.063em;
  line-height: 1;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  color: var(--teal-light);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 680;
  text-decoration: none;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer__inner {
  display: grid;
  min-height: 170px;
  grid-template-columns: auto minmax(230px, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.site-footer__inner > p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer nav {
  display: flex;
  gap: 25px;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 640;
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--teal);
}

.site-footer__copyright {
  grid-column: 1 / -1;
  padding: 16px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

/* About */

.about-hero {
  padding-block: clamp(100px, 12vw, 160px);
  background:
    radial-gradient(circle at 78% 18%, rgba(89, 200, 215, 0.18), transparent 32%),
    var(--navy);
  color: var(--white);
}

.about-hero__inner {
  max-width: 1180px;
}

.about-hero .eyebrow {
  color: var(--teal-light);
}

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

.about-hero__inner > p:last-child {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(400px, 1.22fr);
  gap: clamp(65px, 11vw, 160px);
}

.story-grid h2 {
  font-size: clamp(2.5rem, 4.3vw, 4rem);
}

.story-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.story-copy .story-lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 570;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.principles-section {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.principle-list {
  display: grid;
  margin-top: clamp(55px, 7vw, 80px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-list article {
  padding: 30px clamp(24px, 4vw, 48px) 6px 0;
}

.principle-list article + article {
  padding-left: clamp(24px, 4vw, 48px);
  border-left: 1px solid var(--line);
}

.principle-list h3 {
  margin-top: 38px;
}

.principle-list p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Legal pages */

.legal-page {
  min-height: 100vh;
  background: var(--surface) !important;
  color: var(--ink) !important;
}

.legal-header {
  padding: 48px 0 55px;
  background: var(--navy);
  color: var(--white);
}

.legal-header .brand {
  margin-bottom: 55px;
  color: var(--white);
}

.legal-header h1 {
  max-width: 900px;
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 640;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.legal-header .last-updated {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.legal-container {
  width: min(820px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 72px 0 100px;
  background: transparent;
  color: var(--ink);
  line-height: 1.75;
}

.legal-container .legal-back {
  display: inline-flex;
  margin-bottom: 42px;
  padding: 0;
  border: 0;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.legal-container .legal-back:hover,
.legal-container .legal-back:focus-visible {
  background: transparent;
  color: var(--navy);
}

.legal-page .legal-container h2 {
  margin: 44px 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.legal-page .legal-container h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
}

.legal-page .legal-container p,
.legal-page .legal-container li {
  color: var(--ink-soft);
}

.legal-page .legal-container a {
  color: var(--teal);
}

.legal-page .legal-container strong {
  color: var(--ink);
}

.legal-page .contact-box {
  margin: 42px 0 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-blue);
}

.legal-page .contact-box h2 {
  margin-top: 0;
}

.legal-note {
  margin-top: 42px !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

@media (max-width: 960px) {
  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    height: min(540px, 65vw);
  }

  .split-heading,
  .partnership-card,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-intro {
    max-width: 680px;
  }

  .service-list article > div {
    gap: 35px;
  }

  .platform-card__image {
    height: 270px;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list article,
  .principle-list article + article {
    display: grid;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    grid-template-columns: 70px minmax(210px, 0.7fr) 1fr;
    gap: 22px;
  }

  .principle-list h3,
  .principle-list p {
    margin: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand {
    font-size: 1.16rem;
  }

  .brand__mark {
    width: 29px;
    height: 29px;
  }

  .primary-nav {
    gap: 10px;
  }

  .primary-nav > a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero__grid {
    padding-block: 62px 72px;
    gap: 45px;
  }

  .hero h1,
  .about-hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.25rem);
  }

  .hero__lede {
    margin-top: 24px;
    font-size: 1rem;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
    margin-top: 31px;
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero__visual {
    height: 360px;
    border-radius: 22px;
  }

  .hero__visual img {
    object-position: 69% center;
  }

  .section {
    padding-block: 78px;
  }

  .split-heading h2,
  .section-heading h2,
  .story-grid h2,
  .partnership-card h2 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .service-list {
    margin-top: 46px;
  }

  .service-list article {
    grid-template-columns: 46px 1fr;
  }

  .service-list article > div {
    display: block;
  }

  .service-list p {
    margin-top: 12px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card__image {
    height: 240px;
  }

  .platform-card__body > p:not(.platform-card__label) {
    min-height: 0;
  }

  .partnership-card {
    padding: 36px 27px;
    border-radius: 22px;
  }

  .contact-section h2 {
    font-size: clamp(2.9rem, 14vw, 4rem);
  }

  .site-footer__inner {
    display: flex;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding-block: 48px 0;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .site-footer__copyright {
    width: 100%;
    margin-top: 12px;
  }

  .about-hero {
    padding-block: 86px;
  }

  .story-grid {
    gap: 45px;
  }

  .principle-list article,
  .principle-list article + article {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 18px;
  }

  .principle-list p {
    grid-column: 2;
  }

  .legal-header {
    padding: 36px 0 42px;
  }

  .legal-header .brand {
    margin-bottom: 42px;
  }

  .legal-container {
    width: calc(100vw - 32px);
    padding: 55px 0 80px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
