:root {
  --ink: #071827;
  --ink-soft: #102a3c;
  --paper: #f4f7f8;
  --white: #ffffff;
  --line: rgba(7, 24, 39, 0.14);
  --line-dark: rgba(255, 255, 255, 0.13);
  --blue: #16a5ff;
  --blue-deep: #0878bd;
  --lime: #c8ff3d;
  --muted: #5f717d;
  --shadow: 0 24px 70px rgba(5, 27, 43, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(244, 247, 248, 0.9);
  border-bottom: 1px solid rgba(7, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.brand-mark img {
  position: absolute;
  top: -2px;
  left: -21px;
  width: 84px;
  max-width: none;
  height: auto;
  display: block;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}

.brand-name small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #344b59;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--white);
}

.nav-links .nav-cta {
  margin-left: 8px;
  padding-inline: 18px;
  color: var(--white);
  background: var(--ink);
}

.nav-links .nav-cta:hover {
  color: var(--ink);
  background: var(--lime);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 19px;
  height: 2px;
  display: block;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  margin-block: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  background:
    radial-gradient(circle at 82% 14%, rgba(22, 165, 255, 0.2), transparent 26%),
    var(--paper);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 500px;
  height: 500px;
  content: "";
  border: 1px solid rgba(7, 24, 39, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(7, 24, 39, 0.025), 0 0 0 140px rgba(7, 24, 39, 0.02);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: var(--blue);
  border-radius: 99px;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.2vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h1 .accent {
  color: var(--blue-deep);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: #49606e;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button::after {
  content: "↗";
  font-size: 17px;
}

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

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--lime);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover {
  background: var(--white);
}

.system-card {
  position: relative;
  padding: 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 28px 28px 28px 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.system-card::before {
  position: absolute;
  top: -13px;
  right: 34px;
  width: 82px;
  height: 26px;
  content: "";
  background: var(--lime);
  border-radius: 99px 99px 0 0;
}

.system-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 8px 18px;
  border-bottom: 1px solid var(--line-dark);
}

.system-top strong {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.system-status {
  color: #d5e1e7;
  font-size: 12px;
}

.system-status i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 255, 61, 0.12);
}

.system-body {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 12px;
  padding-top: 14px;
}

.system-menu,
.system-panel {
  min-height: 260px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.system-menu span {
  display: block;
  margin-bottom: 7px;
  padding: 10px 11px;
  color: #a9bbc6;
  border-radius: 9px;
  font-size: 12px;
}

.system-menu span:first-child {
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
}

.system-panel small {
  color: #94aab7;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.metric b {
  font-size: 13px;
}

.metric em {
  color: var(--lime);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-bars {
  height: 74px;
  display: flex;
  align-items: end;
  gap: 7px;
  margin-top: 16px;
  padding: 10px 9px 0;
  border-bottom: 1px solid var(--line-dark);
}

.mini-bars i {
  flex: 1;
  min-width: 6px;
  background: var(--blue);
  border-radius: 4px 4px 0 0;
}

.mini-bars i:nth-child(2),
.mini-bars i:nth-child(5) {
  background: var(--lime);
}

.trust-strip {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--ink);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid {
  min-height: 94px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item {
  padding: 0 28px;
  border-right: 1px solid var(--line-dark);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
  border: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
}

.trust-item span {
  color: #a8bac5;
  font-size: 13px;
}

.section {
  padding: 110px 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--lime);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-intro {
  max-width: 690px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-dark .section-intro {
  color: #a9bbc5;
}

.cards-3,
.cards-2,
.solution-grid,
.value-grid {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  min-height: 260px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 7px;
}

.card-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  color: var(--blue-deep);
  background: #e2f4ff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: stretch;
  gap: 20px;
}

.split-copy {
  padding: 18px 50px 18px 0;
  align-self: center;
}

.project-card {
  position: relative;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 255, 61, 0.23), transparent 26%),
    linear-gradient(145deg, #0a273b, #071827 64%);
  border: 1px solid var(--line-dark);
  border-radius: 30px 30px 30px 9px;
}

.project-card::after {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 300px;
  height: 300px;
  content: "";
  border: 54px solid rgba(22, 165, 255, 0.15);
  border-radius: 50%;
}

.project-label {
  position: relative;
  z-index: 1;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.petcare-wordmark {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.petcare-wordmark span {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.petcare-wordmark h3 {
  margin: 8px 0 16px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.petcare-wordmark p {
  max-width: 460px;
  margin-bottom: 0;
  color: #b9c9d1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--blue-deep);
  font-weight: 800;
}

.text-link::after {
  content: "→";
}

.section-dark .text-link,
.project-card .text-link {
  position: relative;
  z-index: 1;
  color: var(--lime);
}

.cta-band {
  padding: 48px 0;
  background: var(--lime);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.page-hero {
  padding: 92px 0 72px;
  background:
    linear-gradient(rgba(7, 24, 39, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 39, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}

.page-hero .hero-copy {
  margin-bottom: 0;
}

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

.custom-solution {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  margin-bottom: 64px;
  padding: 44px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 255, 61, 0.19), transparent 26%),
    var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 28px 28px 28px 8px;
}

.custom-solution .solution-code {
  color: var(--lime);
}

.custom-solution h2 {
  max-width: 520px;
  margin: 60px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.custom-solution p {
  max-width: 570px;
  margin-bottom: 28px;
  color: #b7c7cf;
  font-size: 1.08rem;
}

.custom-solution .tag-list li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
}

.examples-kicker {
  margin-bottom: 22px;
}

.solution-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.solution-card:nth-child(2) {
  background: #e9f7ff;
}

.solution-card:nth-child(3) {
  background: #efffca;
}

.solution-card:nth-child(4) {
  color: var(--white);
  background: var(--ink);
}

.solution-code {
  margin-bottom: auto;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.solution-card:nth-child(4) .solution-code {
  color: var(--lime);
}

.solution-card h2 {
  margin: 60px 0 16px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.solution-card p {
  max-width: 520px;
  margin-bottom: 20px;
  color: var(--muted);
}

.solution-card:nth-child(4) p {
  color: #afc0c9;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  background: rgba(7, 24, 39, 0.06);
  border: 1px solid rgba(7, 24, 39, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.solution-card:nth-child(4) .tag-list li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 7px;
}

.process-step {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.process-step b {
  display: block;
  margin-bottom: 66px;
  color: var(--blue-deep);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.architecture {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 46px;
}

.architecture-node {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
}

.architecture-node strong {
  display: block;
  font-size: 1.12rem;
}

.architecture-node span {
  display: block;
  margin-top: 5px;
  color: #a9bbc5;
  font-size: 13px;
}

.architecture-arrow {
  color: var(--lime);
  font-size: 24px;
}

.case-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: var(--white);
  background: var(--ink);
}

.case-hero::before {
  position: absolute;
  top: -210px;
  right: -120px;
  width: 580px;
  height: 580px;
  content: "";
  border: 95px solid rgba(22, 165, 255, 0.13);
  border-radius: 50%;
}

.case-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 80px;
}

.case-title span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-title h1 {
  margin: 18px 0 0;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
}

.case-copy {
  padding-bottom: 8px;
}

.case-copy p {
  max-width: 570px;
  color: #b4c5ce;
  font-size: 1.18rem;
}

.case-copy .button {
  margin-top: 10px;
  color: var(--ink);
  background: var(--lime);
}

.value-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.value-large,
.value-stack > div {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 8px;
}

.value-large {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.value-large blockquote {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.value-large span,
.value-stack span {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.value-stack {
  display: grid;
  gap: 18px;
}

.value-stack h3 {
  margin: 34px 0 8px;
  font-size: 1.55rem;
}

.value-stack p {
  margin: 0;
  color: var(--muted);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.audience-list div {
  min-height: 165px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 17px;
}

.audience-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-list span {
  color: #b1c2cb;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: 30px 30px 30px 9px;
}

.contact-copy {
  padding: 56px;
}

.contact-copy h2 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.contact-copy p {
  max-width: 540px;
  color: #b3c4cd;
}

.contact-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  color: var(--ink);
  background: var(--lime);
}

.contact-side small {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-email {
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contact-email:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.site-footer {
  padding: 54px 0 26px;
  color: #b0c0c9;
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.85fr 1.15fr;
  gap: 40px;
  padding-bottom: 54px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-name small {
  color: #7f96a3;
}

.footer-logo-link {
  display: inline-block;
  overflow: hidden;
  background: var(--white);
  border-radius: 12px;
}

.footer-logo-full {
  width: 210px;
  height: auto;
  display: block;
}

.footer-about {
  max-width: 390px;
  margin: 22px 0 0;
  color: #8499a5;
  font-size: 14px;
}

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-company address {
  margin: 0;
  color: #91a2ab;
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.footer-company address span {
  display: block;
}

.footer-company .company-name {
  margin-bottom: 8px;
  color: #dce4e8;
  font-weight: 700;
}

.footer-company .company-detail {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #718895;
  font-size: 13px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.contact-open {
  overflow: hidden;
}

.contact-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(calc(100% - 28px), 760px);
  max-width: none;
  max-height: calc(100vh - 28px);
  margin: 0;
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 26px 26px 26px 8px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.contact-dialog::backdrop {
  background: rgba(0, 8, 15, 0.72);
  backdrop-filter: blur(5px);
}

.contact-dialog__panel {
  overflow: hidden;
}

.contact-dialog__intro {
  position: relative;
  padding: 42px 48px 38px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 12%, rgba(22, 165, 255, 0.24), transparent 30%),
    var(--ink);
}

.contact-dialog__intro h2 {
  max-width: 590px;
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.contact-dialog__intro > p:last-child {
  max-width: 610px;
  margin-bottom: 0;
  color: #b8c9d2;
}

.contact-dialog__eyebrow {
  margin-bottom: 16px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 27px;
  line-height: 1;
}

.contact-dialog__close:hover {
  color: var(--ink);
  background: var(--lime);
}

.contact-form {
  position: relative;
  padding: 38px 48px 42px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field > span {
  font-size: 13px;
  font-weight: 800;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f7f9fa;
  border: 1px solid rgba(7, 24, 39, 0.2);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--blue-deep);
  outline: 3px solid rgba(22, 165, 255, 0.16);
}

.contact-field--message {
  margin-top: 20px;
}

.contact-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  accent-color: var(--blue-deep);
}

.contact-consent a,
.contact-direct a {
  color: var(--blue-deep);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.contact-submit {
  flex: 0 0 auto;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.contact-form__status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-form__status--success {
  color: #087647;
}

.contact-form__status--error {
  color: #ad2e24;
}

.contact-direct {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-page {
  padding: 76px 0 100px;
}

.legal-content {
  max-width: 820px;
  padding: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 8px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #49606e;
}

.legal-content a {
  color: var(--blue-deep);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    min-height: calc(100vh - 82px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 28px 20px;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 16px;
    font-size: 18px;
  }

  .nav-links .nav-cta {
    margin: 14px 0 0;
    text-align: center;
  }

  .menu-open .menu-toggle span {
    opacity: 0;
  }

  .menu-open .menu-toggle::before {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-open .menu-toggle::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-grid,
  .split,
  .case-grid,
  .contact-panel,
  .value-grid,
  .custom-solution {
    grid-template-columns: 1fr;
  }

  .custom-solution {
    gap: 30px;
  }

  .custom-solution h2 {
    margin-top: 36px;
  }

  .hero-grid {
    gap: 54px;
  }

  .system-card {
    max-width: 620px;
    margin-inline: auto;
    transform: none;
  }

  .trust-grid,
  .cards-3,
  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border: 0;
  }

  .trust-item:nth-child(3) {
    display: none;
  }

  .split-copy {
    padding-right: 0;
  }

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

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

  .architecture-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .case-grid {
    gap: 38px;
  }

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

  .footer-main {
    grid-column: 1 / -1;
  }

  .contact-dialog__intro,
  .contact-form {
    padding-inline: 36px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 14px;
  }

  .nav-links {
    inset: 72px 0 auto;
    min-height: calc(100vh - 72px);
  }

  .hero,
  .page-hero {
    padding: 64px 0 58px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

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

  .system-body {
    grid-template-columns: 1fr;
  }

  .system-menu {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .system-menu span {
    margin: 0;
  }

  .system-panel {
    min-height: 245px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding-block: 16px;
  }

  .trust-item {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .trust-item:nth-child(2) {
    border: 0;
  }

  .section {
    padding: 76px 0;
  }

  .cards-3,
  .cards-2,
  .solution-grid,
  .process,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 240px;
  }

  .project-card {
    min-height: 450px;
    padding: 30px;
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .solution-card {
    min-height: 350px;
  }

  .process-step {
    min-height: 220px;
  }

  .process-step b {
    margin-bottom: 44px;
  }

  .value-large,
  .value-stack > div,
  .contact-copy,
  .contact-side,
  .custom-solution {
    padding: 30px;
  }

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

  .footer-main {
    grid-column: auto;
  }

  .contact-dialog {
    width: min(calc(100% - 18px), 760px);
    max-height: calc(100vh - 18px);
    border-radius: 20px 20px 20px 7px;
  }

  .contact-dialog__intro {
    padding: 34px 24px 28px;
  }

  .contact-dialog__intro h2 {
    padding-right: 24px;
  }

  .contact-dialog__close {
    top: 12px;
    right: 12px;
  }

  .contact-form {
    padding: 28px 24px 32px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-field--message {
    margin-top: 16px;
  }

  .contact-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .legal-page {
    padding: 56px 0 76px;
  }

  .legal-content {
    padding: 28px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
