:root {
  color-scheme: light;
  --ink: #071a2e;
  --ink-soft: #27394a;
  --blue: #4f82ad;
  --blue-dark: #0a2038;
  --paper: #f3f0ea;
  --surface: #fbf8f1;
  --panel: #ebe6dc;
  --line: #c9c0b3;
  --line-dark: #8f8a82;
  --accent: #8a6848;
  --max: 1260px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  background:
    linear-gradient(rgba(7, 26, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 46, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::after {
  position: fixed;
  z-index: 0;
  display: block;
  content: "";
  pointer-events: none;
}

body::after {
  top: 92px;
  right: 0;
  width: min(34vw, 520px);
  height: min(60vh, 620px);
  background: rgba(79, 130, 173, 0.11);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 76%);
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible {
  outline: 3px solid rgba(79, 130, 173, 0.5);
  outline-offset: 4px;
}

.site-header,
.site-footer,
.hero,
.section,
.contact-band,
.legal-page {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(7, 26, 46, 0.22);
  border-radius: 2px;
}

.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
}

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

.nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 7vw, 112px);
  padding: clamp(58px, 7vw, 96px) 0 clamp(58px, 7vw, 94px);
}

.hero::before {
  position: absolute;
  top: clamp(34px, 5vw, 62px);
  left: -34px;
  width: 128px;
  height: 128px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  content: "";
}

.hero::after {
  position: absolute;
  right: 32%;
  bottom: 42px;
  width: 92px;
  height: 16px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  content: "";
  opacity: 0.42;
}

.hero-copy {
  position: relative;
  max-width: 720px;
  padding-left: clamp(0px, 1vw, 18px);
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.35rem, 6vw, 5.7rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
}

h3 {
  font-size: 1.35rem;
}

.lede {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 700;
}

.hero-summary {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-summary a,
.contact-band a,
.legal-page a {
  color: var(--blue-dark);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 8px 8px 0 rgba(79, 130, 173, 0.16);
}

.button:hover {
  background: var(--blue-dark);
  color: var(--surface);
}

.text-link {
  color: var(--blue-dark);
  font-weight: 750;
}

.growth-graphic {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.82), rgba(235, 230, 220, 0.9)),
    linear-gradient(90deg, transparent 0 48%, rgba(79, 130, 173, 0.1) 48% 100%);
  box-shadow: 12px 12px 0 rgba(7, 26, 46, 0.08);
}

.growth-graphic::before,
.growth-graphic::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.growth-graphic::before {
  top: -18px;
  right: -18px;
  width: 108px;
  height: 108px;
  border-top: 18px solid var(--ink);
  border-right: 18px solid var(--ink);
}

.growth-graphic::after {
  bottom: -20px;
  left: -20px;
  width: 128px;
  height: 58px;
  background: rgba(79, 130, 173, 0.24);
  clip-path: polygon(0 0, 100% 0, 74% 100%, 0 100%);
}

.growth-graphic svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid path,
.chart-axis {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.chart-grid path {
  stroke: rgba(7, 26, 46, 0.16);
  stroke-width: 1;
}

.chart-axis {
  stroke: rgba(7, 26, 46, 0.44);
  stroke-width: 2;
}

.chart-area {
  fill: url("#growth-fill");
  opacity: 0;
  animation: area-rise 1.2s ease 0.55s forwards;
}

.chart-line {
  fill: none;
  stroke: var(--blue);
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
  vector-effect: non-scaling-stroke;
  animation: draw-line 1.7s cubic-bezier(0.65, 0, 0.18, 1) forwards;
}

.line-shadow {
  stroke: rgba(7, 26, 46, 0.18);
  stroke-width: 14;
}

.chart-points circle {
  fill: var(--surface);
  opacity: 0;
  stroke: var(--ink);
  stroke-width: 4;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
  animation: pop-point 0.38s ease forwards;
}

.chart-points circle:nth-child(1) {
  animation-delay: 0.24s;
}

.chart-points circle:nth-child(2) {
  animation-delay: 0.72s;
}

.chart-points circle:nth-child(3) {
  animation-delay: 1.08s;
}

.chart-points circle:nth-child(4) {
  animation-delay: 1.48s;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes area-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop-point {
  from {
    opacity: 0;
    transform: scale(0.4);
  }

  70% {
    transform: scale(1.18);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chart-area,
  .chart-line,
  .chart-points circle {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }
}

.section {
  position: relative;
  padding: clamp(50px, 7vw, 82px) 0;
  border-top: 1px solid var(--line);
}

.section::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 5px;
  background: var(--ink);
  content: "";
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.section-heading > p:not(.eyebrow) {
  max-width: 320px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

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

.card,
.service {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: var(--surface);
  overflow: hidden;
}

.card::before,
.service::before,
.contact-band::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 86px;
  background: rgba(79, 130, 173, 0.13);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  content: "";
}

.card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: 10px 10px 0 rgba(7, 26, 46, 0.06);
}

.product-card {
  min-height: 430px;
}

.product-card::after {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border: 2px solid var(--product-accent);
  content: "";
  opacity: 0.9;
}

.product-card-modelcore {
  --product-accent: var(--blue);
}

.product-card-modelcore::after {
  border-left: 0;
  border-bottom: 0;
  transform: skew(-8deg);
}

.product-card-flatcircle {
  --product-accent: #5f796a;
}

.product-card-flatcircle::after {
  border: 0;
  background: var(--product-accent);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

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

.card p {
  margin: 14px 0 0;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px calc(clamp(20px, 2.6vw, 28px) * -1)
    calc(clamp(20px, 2.6vw, 28px) * -1);
  min-height: 56px;
  padding: 0 clamp(20px, 2.6vw, 28px);
  border-top: 1px solid var(--line-dark);
  background: color-mix(in srgb, var(--product-accent) 13%, var(--surface));
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.card-link::after {
  content: "->";
}

.card-link:hover {
  background: color-mix(in srgb, var(--product-accent) 22%, var(--surface));
  color: var(--ink);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service {
  min-height: 160px;
  padding: 22px 20px;
}

.service:nth-child(1) {
  --service-accent: #4f82ad;
}

.service:nth-child(2) {
  --service-accent: #8a6848;
}

.service:nth-child(3) {
  --service-accent: #5f796a;
}

.service:nth-child(4) {
  --service-accent: #7a6fa5;
}

.service:nth-child(5) {
  --service-accent: #b66b4f;
}

.service::before {
  background: var(--service-accent);
  opacity: 0.22;
}

.service::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 6px;
  background: var(--service-accent);
  content: "";
  opacity: 0.78;
}

.service h3 {
  font-size: 1.05rem;
}

.service p {
  margin: 10px 0 0;
  font-size: 0.96rem;
}

.contact-band {
  position: relative;
  margin-top: 18px;
  margin-bottom: 18px;
  padding: clamp(30px, 5vw, 44px);
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: var(--surface);
  overflow: hidden;
}

.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-band p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  max-width: 800px;
  position: relative;
  padding: clamp(50px, 8vw, 88px) 0;
}

.legal-page::before {
  position: absolute;
  top: 52px;
  right: -160px;
  z-index: -1;
  width: 220px;
  height: 220px;
  background: rgba(79, 130, 173, 0.12);
  clip-path: polygon(0 0, 100% 22%, 70% 100%, 0 72%);
  content: "";
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-page p {
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.legal-links {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.updated {
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .growth-graphic {
    justify-self: start;
    width: min(100%, 360px);
  }

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

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

@media (max-width: 680px) {
  body::after {
    width: 70vw;
    height: 360px;
  }

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

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

  .hero {
    padding-top: 34px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .growth-graphic {
    padding: 18px;
  }

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