:root {
  --font-geist-sans: "Segoe UI";
  --font-geist-mono: "Cascadia Mono";
  --brand: #4d56e8;
  --brand-strong: #353dca;
  --brand-soft: #ebeaff;
  --accent: #7559e8;
  --background: #f5f5f1;
  --surface: #ffffff;
  --surface-soft: #eeefea;
  --ink: #101113;
  --ink-soft: #24272c;
  --text: #15171a;
  --muted: #656a72;
  --muted-light: #979ca4;
  --border: #dcded8;
  --border-dark: #2d3036;
  --success: #16845b;
  --danger: #b73535;
  --shadow-sm: 0 8px 24px rgba(22, 24, 29, 0.06);
  --shadow-lg: 0 28px 80px rgba(22, 24, 29, 0.12);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --nav-height: 82px;
}

[data-theme="dark"] {
  --background: #111316;
  --surface: #181b20;
  --surface-soft: #202329;
  --ink: #f2f2ee;
  --text: #f2f2ee;
  --muted: #a2a7af;
  --border: #30343b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family:
    var(--font-geist-sans), "Noto Sans Thai", "Leelawadee UI", system-ui,
    sans-serif;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

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

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

::selection {
  background: var(--brand);
  color: white;
}

:focus-visible {
  outline: 3px solid rgba(77, 86, 232, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.section {
  padding: 116px 0;
}

.section--soft {
  background: var(--surface-soft);
}

.section--ink {
  background: var(--ink);
  color: #f5f5f1;
}

.section-heading,
.section-heading-grid {
  display: grid;
  align-items: end;
  gap: 48px;
  margin-bottom: 56px;
}

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

.section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-heading-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.section-heading h2,
.section-heading-grid h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section--ink .section-copy,
.section--ink .section-heading > p {
  color: #a9adb6;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--brand-strong);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section--ink .eyebrow,
.eyebrow--light {
  color: #afb4ff;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button svg,
.text-link svg {
  transition: transform 180ms ease;
}

.button:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  box-shadow: 0 10px 24px rgba(53, 61, 202, 0.2);
  transform: translateY(-2px);
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(3px);
}

.button--small {
  min-height: 43px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.button--secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.button--secondary:hover {
  border-color: var(--text);
  background: var(--surface);
  box-shadow: none;
}

.button--light {
  border-color: #f7f7f3;
  background: #f7f7f3;
  color: var(--ink);
}

.button--light:hover {
  border-color: white;
  background: white;
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
  color: white;
}

.button--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}

.text-link::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 220ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.tag-list--dark span {
  border-color: var(--border-dark);
  color: #c2c5cc;
}

/* Navigation */

.site-nav {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--nav-height);
  background: rgba(245, 245, 241, 0.84);
  transition:
    height 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-nav--scrolled {
  height: 68px;
  border-bottom: 1px solid rgba(209, 211, 205, 0.85);
  background: rgba(245, 245, 241, 0.92);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: grid;
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin-inline: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-logo {
  justify-self: start;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-symbol {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  overflow: hidden;
}

.brand-symbol span:first-child {
  width: 10px;
  height: 15px;
  border: 2px solid white;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.brand-symbol span:last-child {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 2px;
  height: 16px;
  background: #afb4ff;
  transform: rotate(16deg);
}

.brand-word {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: #50545a;
  font-size: 0.82rem;
  font-weight: 590;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link--active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  justify-self: end;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 17px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-3px);
}

.menu-toggle span:last-child {
  transform: translateY(3px);
}

.site-nav[data-open="true"] .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.site-nav[data-open="true"] .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  padding: 64px 0 86px;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(35, 40, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 40, 47, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, black, transparent 86%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  align-items: center;
  gap: 64px;
}

.hero-copy h1 {
  max-width: 750px;
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 6.7vw, 7.1rem);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.92;
}

.hero-copy h1 span {
  color: var(--brand);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  line-height: 1.68;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  color: #747980;
  font-size: 0.73rem;
  font-weight: 620;
  letter-spacing: 0.03em;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 40px 0 50px;
}

.hero-visual::before {
  position: absolute;
  inset: 6% -12% -2% 9%;
  border: 1px solid #d8d9d2;
  border-radius: 48% 30% 36% 52%;
  background: #e8e8e2;
  content: "";
  transform: rotate(-3deg);
}

.hero-interface {
  position: relative;
  z-index: 2;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(216, 218, 212, 0.9);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  animation: float-card 5s ease-in-out infinite;
}

.floating-card small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.62rem;
}

.floating-card strong {
  display: block;
  font-size: 0.74rem;
}

.floating-card--one {
  bottom: 17px;
  left: -16px;
}

.floating-card--two {
  top: 9px;
  right: -10px;
  display: block;
  min-width: 130px;
  animation-delay: -2.5s;
}

.floating-card--two strong {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border: 2px solid #c0edda;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(22, 132, 91, 0.08);
}

.mini-line {
  display: block;
  width: 100%;
  height: 20px;
  border-bottom: 2px solid var(--brand);
  clip-path: polygon(0 80%, 15% 45%, 30% 66%, 46% 30%, 62% 56%, 79% 15%, 100% 2%, 100% 100%, 0 100%);
  background: rgba(77, 86, 232, 0.1);
}

.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.trust-strip-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #73777e;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip-inner i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand);
}

/* Interface mockups */

.interface-preview {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.43 / 1;
  overflow: hidden;
  border: 1px solid #d8dbe0;
  border-radius: 19px;
  background: #f7f8fa;
  box-shadow: var(--shadow-lg);
  color: #17191e;
  font-family: var(--font-geist-sans), sans-serif;
}

.interface-preview--compact {
  border-radius: 15px;
  box-shadow: 0 18px 45px rgba(27, 30, 38, 0.12);
}

.interface-topbar {
  display: flex;
  height: 10%;
  min-height: 32px;
  align-items: center;
  gap: 14px;
  padding: 0 3.5%;
  border-bottom: 1px solid #e2e4e8;
  background: white;
}

.interface-logo {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: #20232a;
  color: white;
  font-size: 0.55rem;
  font-weight: 800;
}

.interface-search {
  width: 25%;
  height: 8px;
  border-radius: 99px;
  background: #eef0f3;
}

.interface-avatar {
  width: 18px;
  height: 18px;
  margin-left: auto;
  border-radius: 50%;
  background: #d6d8ff;
}

.interface-body {
  display: grid;
  height: 90%;
  grid-template-columns: 13% 1fr;
}

.interface-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9%;
  padding-top: 27%;
  border-right: 1px solid #e2e4e8;
  background: #fbfbfc;
}

.interface-sidebar span {
  width: 42%;
  height: 5px;
  border-radius: 99px;
  background: #d7d9de;
}

.interface-sidebar .active {
  height: 7px;
  background: var(--brand);
}

.interface-content {
  min-width: 0;
  padding: 5% 5.5%;
}

.interface-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4%;
}

.interface-heading small,
.interface-metric small {
  display: block;
  margin-bottom: 3px;
  color: #8c919a;
  font-size: clamp(0.38rem, 0.65vw, 0.58rem);
}

.interface-heading strong {
  display: block;
  font-size: clamp(0.58rem, 0.95vw, 0.85rem);
}

.interface-filter {
  padding: 5px 8px;
  border: 1px solid #e0e2e6;
  border-radius: 6px;
  background: white;
  color: #6e737c;
  font-size: clamp(0.34rem, 0.5vw, 0.48rem);
}

.interface-metrics {
  display: grid;
  height: 37%;
  margin-bottom: 4%;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3%;
}

.interface-metric,
.interface-chart {
  min-width: 0;
  padding: 9%;
  border: 1px solid #e3e5e9;
  border-radius: 9px;
  background: white;
}

.interface-metric strong {
  display: block;
  margin-bottom: 5%;
  font-size: clamp(0.72rem, 1.35vw, 1.25rem);
  letter-spacing: -0.04em;
}

.interface-metric em {
  display: inline-block;
  padding: 3px 5px;
  border-radius: 99px;
  background: #e5f6ef;
  color: #117653;
  font-size: clamp(0.35rem, 0.52vw, 0.48rem);
  font-style: normal;
  font-weight: 680;
}

.interface-chart {
  display: flex;
  align-items: flex-end;
  gap: 5%;
  padding: 10% 8% 8%;
}

.interface-chart span {
  width: 8%;
  min-height: 7%;
  border-radius: 3px 3px 1px 1px;
  background: #d7d9ff;
}

.interface-chart span:nth-child(4n + 1),
.interface-chart span:nth-child(4n) {
  background: var(--brand);
}

.interface-table {
  overflow: hidden;
  border: 1px solid #e3e5e9;
  border-radius: 9px;
  background: white;
}

.interface-table-head,
.interface-row {
  display: grid;
  grid-template-columns: 1.6fr 0.75fr 0.45fr;
  align-items: center;
  gap: 4%;
  padding: 2.1% 3.5%;
  color: #727780;
  font-size: clamp(0.34rem, 0.52vw, 0.5rem);
}

.interface-table-head {
  border-bottom: 1px solid #e8e9ec;
  background: #f9f9fa;
  font-weight: 650;
}

.interface-row + .interface-row {
  border-top: 1px solid #eff0f2;
}

.interface-row > span:first-child {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: #30343b;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.interface-row i {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #e3e4ff;
}

.interface-status {
  color: #16845b;
}

/* Homepage sections */

.company-intro .section-heading-grid {
  margin-bottom: 68px;
}

.icon-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.icon-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.icon-card {
  min-height: 215px;
  padding: 34px;
  background: var(--surface);
  transition: background 180ms ease;
}

.icon-card:hover {
  background: #fafaf7;
}

.icon-card svg {
  margin-bottom: 48px;
  color: var(--brand);
}

.feature-glyph {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 48px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.63rem;
  font-weight: 700;
}

.icon-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 660;
  letter-spacing: -0.02em;
}

.icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

.product-stack {
  display: grid;
  gap: 26px;
}

.product-feature {
  display: grid;
  min-height: 500px;
  grid-template-columns: 0.7fr 1.3fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.product-feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 48px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 18px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-meta span + span {
  display: flex;
  align-items: center;
  gap: 18px;
}

.card-meta span + span::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.product-index {
  margin: auto 0 12px;
  color: var(--muted-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.73rem;
}

.product-feature h3 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 3.6vw, 3.8rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1;
}

.product-feature-copy > p:not(.product-index) {
  max-width: 400px;
  margin-bottom: 26px;
  color: var(--muted);
  line-height: 1.66;
}

.product-feature-visual {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 52px 0 52px 52px;
  overflow: hidden;
}

.product-feature-visual .interface-preview {
  width: 106%;
  flex: 0 0 106%;
  transform: translateX(1.5%);
  transition: transform 320ms ease;
}

.product-feature:hover .interface-preview {
  transform: translateX(-1%);
}

.product-feature--blue .product-feature-visual {
  background: #e7e8ff;
}

.product-feature--violet .product-feature-visual {
  background: #eee8fa;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

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

.work-card-visual {
  display: block;
  padding: 46px 0 0 46px;
  overflow: hidden;
}

.work-card-visual--blue {
  background: #dedfff;
}

.work-card-visual--violet {
  background: #e7def4;
}

.work-card-visual .interface-preview {
  width: 108%;
  transform: translate(2%, 7%);
  transition: transform 260ms ease;
}

.work-card:hover .work-card-visual .interface-preview {
  transform: translate(0, 4%) scale(1.015);
}

.work-card-copy {
  padding: 34px;
}

.work-card h3 {
  margin: 22px 0 12px;
  font-size: 1.55rem;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.work-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.capability-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background 180ms ease;
}

.capability-card:hover {
  background: #191b20;
}

.capability-number {
  position: absolute;
  top: 34px;
  right: 34px;
  color: #60646c;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
}

.capability-card svg {
  margin-bottom: 58px;
  color: #afb4ff;
}

.capability-glyph {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 58px;
  border: 1px solid #858bef;
  border-radius: 7px;
  box-shadow:
    7px 7px 0 -4px var(--ink),
    7px 7px 0 -3px #545bdb;
  transform: rotate(-3deg);
}

.capability-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 620;
}

.capability-card p {
  max-width: 280px;
  margin: 0;
  color: #989da6;
  font-size: 0.84rem;
  line-height: 1.64;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.reason-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.reason-card svg {
  margin-bottom: 46px;
  color: var(--brand);
}

.reason-card .feature-glyph {
  margin-bottom: 46px;
}

.reason-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 650;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.62;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.process-track::before {
  position: absolute;
  top: 21px;
  right: 8.3%;
  left: 8.3%;
  height: 1px;
  background: #caccc6;
  content: "";
}

.process-step {
  position: relative;
  padding: 0 22px;
}

.process-step > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid #c7c9c4;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.65rem;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.process-step:hover > span {
  background: var(--brand);
  color: white;
}

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

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.58;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.leader-card {
  display: grid;
  min-height: 390px;
  grid-template-columns: 0.84fr 1.16fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.leader-portrait {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  background: #dfe0dc;
}

.leader-card:nth-child(2) .leader-portrait {
  background: #e4dff0;
}

.portrait-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(30, 33, 40, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 33, 40, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: scale(1.08);
  transition: transform 320ms ease;
}

.leader-card:hover .portrait-grid {
  transform: scale(1);
}

.leader-portrait span {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(25, 28, 33, 0.22);
  border-radius: 50%;
  color: #34373d;
  font-size: 1.4rem;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.leader-copy {
  align-self: end;
  padding: 40px;
}

.leader-copy h3 {
  margin-bottom: 16px;
  font-size: 1.55rem;
  font-weight: 580;
  letter-spacing: -0.04em;
}

.leader-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.68;
}

.leadership-message {
  padding: 110px 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.leadership-message-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: center;
  gap: 96px;
}

.statement-mark {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.statement-mark::before,
.statement-mark::after {
  position: absolute;
  border: 1px solid #393c43;
  border-radius: 50%;
  content: "";
}

.statement-mark::before {
  width: 72%;
  height: 72%;
}

.statement-mark::after {
  width: 42%;
  height: 42%;
}

.statement-mark span {
  z-index: 1;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.1em;
}

.leadership-message blockquote {
  max-width: 840px;
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 4.1vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.leadership-message-grid > div:last-child > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.72;
}

.statement-signature {
  display: grid;
  gap: 3px;
  margin-top: 34px;
  font-size: 0.85rem;
}

.statement-signature span {
  color: var(--muted);
}

.final-cta {
  padding: 36px;
  background: var(--background);
}

.final-cta-inner {
  padding: 82px;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: white;
}

.final-cta h2 {
  max-width: 830px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5.4vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.final-cta-inner > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 34px;
  color: #e4e5ff;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Page intros */

.page-intro {
  padding: 112px 0 90px;
  border-bottom: 1px solid var(--border);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 72px;
}

.page-intro h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(3.5rem, 7vw, 7.7rem);
  font-weight: 510;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

.page-intro-aside p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.page-section {
  padding-top: 82px;
}

/* Product and work listing */

.product-list-grid,
.work-list {
  display: grid;
  gap: 72px;
}

.product-list-card,
.work-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.product-list-card:nth-child(even),
.work-list-card:nth-child(even) {
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.25fr);
}

.product-list-card:nth-child(even) .product-list-visual,
.work-list-card:nth-child(even) .work-list-visual {
  order: 2;
}

.product-list-visual,
.work-list-visual {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 68px 0 68px 54px;
  overflow: hidden;
}

.product-list-card--blue .product-list-visual,
.work-list-visual--blue {
  background: #dfe1ff;
}

.product-list-card--violet .product-list-visual,
.work-list-visual--violet {
  background: #e9e1f5;
}

.product-list-visual .interface-preview,
.work-list-visual .interface-preview {
  width: 107%;
  flex: 0 0 107%;
  transform: translateX(2%);
  transition: transform 320ms ease;
}

.product-list-card:hover .interface-preview,
.work-list-card:hover .interface-preview {
  transform: translateX(-1%);
}

.product-list-copy,
.work-list-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 58px;
}

.product-list-copy h2,
.work-list-copy h2 {
  margin: 36px 0 12px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 1;
}

.product-tagline {
  color: var(--text) !important;
  font-size: 1.05rem !important;
  font-weight: 580;
}

.product-list-copy p,
.work-list-copy p {
  max-width: 450px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.product-list-copy .tag-list,
.work-list-copy .tag-list {
  margin: 4px 0 30px;
}

/* Detail pages */

.detail-hero,
.case-hero {
  padding: 46px 0 92px;
}

.detail-hero--blue,
.case-hero--blue {
  background: #e7e8ff;
}

.detail-hero--violet,
.case-hero--violet {
  background: #eee7f7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 58px;
  color: #5d626b;
  font-size: 0.78rem;
  font-weight: 620;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 78px;
}

.detail-hero h1,
.case-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(3.6rem, 7vw, 7.4rem);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.92;
}

.detail-tagline {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 1.35rem;
  font-weight: 570;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.detail-hero-grid > div:first-child > p:last-of-type {
  max-width: 580px;
  margin-bottom: 32px;
  color: #61666f;
  line-height: 1.72;
}

.detail-visual .interface-preview,
.case-hero-visual .interface-preview {
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}

.detail-story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.detail-story-grid article {
  min-height: 390px;
  padding: 54px;
  background: var(--surface);
}

.detail-label {
  display: block;
  margin-bottom: 80px;
  color: var(--brand-strong);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-story-grid h2,
.case-sections h2 {
  max-width: 500px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 530;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.detail-story-grid p,
.case-sections p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.feature-check-grid > div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 620;
}

.feature-check-grid svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.check-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.7rem;
  font-weight: 800;
}

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

.gallery-item {
  position: relative;
  padding: 34px 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #e9e9e4;
  cursor: zoom-in;
  text-align: left;
}

.gallery-item .interface-preview {
  width: 108%;
  transform: translate(2%, 7%);
  transition: transform 220ms ease;
}

.gallery-item:hover .interface-preview {
  transform: translate(0, 4%) scale(1.01);
}

.gallery-item > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #464a51;
  font-size: 0.68rem;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}

.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  padding: 36px;
  place-items: center;
  background: rgba(9, 10, 12, 0.84);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  width: min(1080px, 92vw);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 90px;
}

.benefits-grid h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.benefit-list {
  border-top: 1px solid var(--border-dark);
}

.benefit-list > div {
  display: grid;
  min-height: 78px;
  grid-template-columns: 55px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
}

.benefit-list span {
  color: #737780;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.67rem;
}

.benefit-list p {
  margin: 0;
  color: #e5e6e3;
  font-size: 0.94rem;
}

.technology-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
}

.technology-row > span {
  color: #777b84;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-cta {
  padding: 90px 0;
  background: var(--surface);
}

.detail-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.detail-cta h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 1;
}

/* Case studies */

.case-hero-copy {
  max-width: 940px;
  margin-bottom: 64px;
}

.case-hero-copy > p:last-child {
  max-width: 650px;
  color: #626770;
  font-size: 1.06rem;
  line-height: 1.7;
}

.case-hero-visual {
  max-width: 1100px;
  margin-inline: auto;
}

.case-facts {
  display: grid;
  margin-top: 72px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(40, 44, 52, 0.18);
}

.case-facts > div {
  min-height: 110px;
  padding: 26px 24px 0 0;
  border-right: 1px solid rgba(40, 44, 52, 0.18);
}

.case-facts > div + div {
  padding-left: 24px;
}

.case-facts > div:last-child {
  border-right: 0;
}

.case-facts span,
.case-facts strong {
  display: block;
}

.case-facts span {
  margin-bottom: 10px;
  color: #717680;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.case-facts strong {
  font-size: 0.87rem;
  font-weight: 620;
}

.case-narrative {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  gap: 90px;
}

.case-narrative aside {
  position: sticky;
  top: 100px;
}

.case-narrative aside > span {
  display: block;
  margin-bottom: 22px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-tech {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.case-sections {
  display: grid;
}

.case-sections article {
  padding: 0 0 90px;
  border-bottom: 1px solid var(--border);
}

.case-sections article + article {
  padding-top: 90px;
}

.case-sections .detail-label {
  margin-bottom: 42px;
}

.case-sections p {
  max-width: 760px;
  font-size: 1.04rem;
}

/* Company */

.company-story-grid {
  display: grid;
  grid-template-columns: 80px 1fr 0.8fr;
  align-items: start;
  gap: 54px;
}

.company-story-number {
  color: var(--muted-light);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
}

.company-story h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.5rem, 4.7vw, 4.9rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 1;
}

.company-story-copy p {
  color: var(--muted);
  line-height: 1.76;
}

.company-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.company-service-grid article {
  min-height: 250px;
  padding: 34px;
  background: var(--surface);
}

.company-service-grid span,
.values-grid span {
  display: block;
  margin-bottom: 78px;
  color: var(--brand);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
}

.company-service-grid h3,
.values-grid h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 620;
}

.company-service-grid p,
.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.vision-card {
  min-height: 480px;
  padding: 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.vision-card--primary {
  background: var(--brand);
  color: white;
}

.vision-card > svg {
  margin-bottom: 145px;
  color: var(--brand);
}

.vision-glyph {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 145px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
}

.vision-card--primary .vision-glyph {
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
}

.vision-card--primary > svg {
  color: #c5c8ff;
}

.vision-card--primary .eyebrow {
  color: #d3d5ff;
}

.vision-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

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

.company-why-grid article {
  min-height: 290px;
  padding: 34px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
}

.company-why-grid svg {
  margin-bottom: 70px;
  color: #afb4ff;
}

.company-why-grid h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-weight: 620;
}

.company-why-grid p {
  margin: 0;
  color: #999ea7;
  font-size: 0.84rem;
  line-height: 1.65;
}

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

.values-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.company-contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.company-contact-line p {
  margin: 0;
  color: var(--muted);
}

/* Forms and contact */

.form-page {
  padding: 96px 0 120px;
}

.form-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
  gap: 90px;
}

.form-page-intro {
  position: sticky;
  top: 108px;
}

.form-page-intro h1 {
  margin-bottom: 26px;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.form-page-intro > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.72;
}

.form-expectations {
  display: grid;
  gap: 15px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.form-expectations h2 {
  margin-bottom: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-expectations > div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-expectations svg {
  color: var(--brand);
}

.form-note {
  margin-top: 28px;
  font-size: 0.75rem;
}

.form-surface {
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.project-form {
  display: grid;
  gap: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-form label,
.project-form legend {
  color: #34373d;
  font-size: 0.78rem;
  font-weight: 650;
}

.project-form label > span[aria-hidden="true"],
.project-form legend > span {
  color: var(--brand);
}

.project-form input[type="text"],
.project-form input[type="email"],
.project-form input[type="tel"],
.project-form textarea,
.project-form select {
  display: block;
  width: 100%;
  min-height: 51px;
  margin-top: 9px;
  padding: 12px 14px;
  border: 1px solid #d7d9d5;
  border-radius: 9px;
  outline: none;
  background: #fbfbf9;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 450;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.project-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.project-form input:focus,
.project-form textarea:focus,
.project-form select:focus {
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px rgba(77, 86, 232, 0.1);
}

.project-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.project-form legend {
  margin-bottom: 12px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.choice-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #d7d9d5;
  border-radius: 8px;
  background: #fbfbf9;
  color: #5a5f67;
  font-size: 0.73rem;
  text-align: center;
  transition:
    border 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.choice-card input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(77, 86, 232, 0.25);
  outline-offset: 2px;
}

.file-field input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 12px;
  border: 1px dashed #c9cbc7;
  border-radius: 9px;
  background: #fbfbf9;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.file-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 0.68rem;
  font-weight: 500;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.consent-field input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.button--submit {
  justify-self: start;
  border: 0;
}

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

.form-error {
  margin: -6px 0 0;
  color: var(--danger);
  font-size: 0.82rem;
}

.form-success {
  display: flex;
  min-height: 410px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.form-success > svg {
  margin-bottom: 28px;
  color: var(--success);
}

.success-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: #e5f6ef;
  color: var(--success);
  font-size: 1rem;
  font-weight: 800;
}

.form-success h2 {
  max-width: 500px;
  margin-bottom: 14px;
  font-size: 2.4rem;
  font-weight: 540;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.form-success p {
  max-width: 480px;
  margin-bottom: 26px;
  color: var(--muted);
  line-height: 1.65;
}

.form-success .text-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 80px;
}

.contact-details > h2 {
  margin-bottom: 7px;
  font-size: 1.5rem;
  font-weight: 620;
  letter-spacing: -0.04em;
}

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

.contact-list {
  display: grid;
  gap: 0;
  margin: 42px 0;
  border-top: 1px solid var(--border);
}

.contact-list > div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-list svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.contact-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.56rem;
  font-weight: 700;
}

.contact-list span {
  display: grid;
  gap: 4px;
}

.contact-list small {
  color: var(--muted-light);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-list a:hover {
  color: var(--brand);
}

.map-placeholder {
  position: relative;
  display: flex;
  min-height: 310px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #e7e7e1;
}

.map-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.7;
  background-image:
    linear-gradient(37deg, transparent 47%, rgba(56, 59, 65, 0.1) 48%, rgba(56, 59, 65, 0.1) 51%, transparent 52%),
    linear-gradient(-28deg, transparent 47%, rgba(56, 59, 65, 0.1) 48%, rgba(56, 59, 65, 0.1) 51%, transparent 52%);
  background-size: 62px 62px;
}

.map-pin {
  position: relative;
  width: 18px;
  height: 18px;
  margin-bottom: 20px;
  border: 5px solid var(--brand);
  border-radius: 50% 50% 50% 0;
  background: white;
  transform: rotate(-45deg);
  box-shadow: 0 7px 18px rgba(53, 61, 202, 0.24);
}

.map-placeholder strong,
.map-placeholder small {
  position: relative;
}

.map-placeholder strong {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.map-placeholder small {
  color: var(--muted);
}

.contact-form-surface > h2 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.contact-form-surface > p {
  margin-bottom: 34px;
  color: var(--muted);
  line-height: 1.62;
}

/* Legal */

.legal-content {
  max-width: 820px;
  padding-block: 76px 120px;
}

.legal-updated {
  margin-bottom: 54px !important;
  color: var(--muted-light) !important;
  font-size: 0.76rem;
}

.legal-content h2 {
  margin: 44px 0 14px;
  font-size: 1.4rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.78;
}

.error-page {
  min-height: 70vh;
}

.error-page .container {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.error-copy {
  max-width: 520px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.responsive-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

/* Footer */

.site-footer {
  padding: 78px 0 28px;
  background: var(--ink);
  color: #f4f4f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 0.55fr);
  gap: 60px;
  padding-bottom: 72px;
}

.site-footer .brand-symbol {
  background: #f4f4f0;
}

.site-footer .brand-symbol span:first-child {
  border-color: var(--ink);
}

.site-footer .brand-symbol span:last-child {
  background: var(--brand);
}

.site-footer .brand-word {
  color: white;
}

.footer-brand > p {
  max-width: 390px;
  margin: 28px 0;
  color: #999ea7;
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #bec1c8;
  font-size: 0.76rem;
  font-weight: 600;
}

.footer-socials a:hover,
.footer-group a:hover {
  color: white;
}

.footer-group {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
}

.footer-group h2 {
  margin-bottom: 12px;
  color: #71757e;
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-group a {
  color: #b5b8bf;
  font-size: 0.8rem;
  transition: color 160ms ease;
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--border-dark);
  color: #747881;
  font-size: 0.68rem;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1120px) {
  .container,
  .nav-inner {
    width: min(calc(100% - 40px), var(--container));
  }

  .desktop-nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.76rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(3.7rem, 7vw, 6rem);
  }

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

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 48px;
  }

  .process-track::before {
    display: none;
  }

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

  .leader-portrait {
    min-height: 280px;
  }

  .product-list-card,
  .work-list-card,
  .product-list-card:nth-child(even),
  .work-list-card:nth-child(even) {
    grid-template-columns: 1fr 0.85fr;
  }

  .product-list-copy,
  .work-list-copy {
    padding: 42px;
  }

  .detail-hero-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
  }

  .form-page-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
  }
}

@media (max-width: 880px) {
  :root {
    --nav-height: 70px;
  }

  .section {
    padding: 84px 0;
  }

  .site-nav--scrolled {
    height: 62px;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 2px;
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(245, 245, 241, 0.98);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav[data-open="true"] .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav > a:not(.button) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
  }

  .mobile-nav .button {
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 84px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 12vw, 6.5rem);
  }

  .hero-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .trust-strip-inner {
    min-height: 88px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-heading,
  .section-heading-grid,
  .page-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2,
  .section-heading-grid h2 {
    font-size: clamp(2.7rem, 8vw, 4.4rem);
  }

  .section-heading-grid .section-copy {
    max-width: 650px;
  }

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

  .product-feature {
    grid-template-columns: 1fr;
  }

  .product-feature-copy {
    min-height: 350px;
  }

  .product-feature-visual {
    padding: 50px 0 50px 50px;
  }

  .work-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .leader-card {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .leadership-message-grid {
    grid-template-columns: 0.55fr 1.45fr;
    gap: 52px;
  }

  .final-cta {
    padding: 20px;
  }

  .final-cta-inner {
    padding: 62px 42px;
  }

  .page-intro {
    padding: 88px 0 70px;
  }

  .page-intro h1 {
    font-size: clamp(4rem, 12vw, 6.7rem);
  }

  .page-intro-aside {
    max-width: 640px;
  }

  .product-list-card,
  .work-list-card,
  .product-list-card:nth-child(even),
  .work-list-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .product-list-card:nth-child(even) .product-list-visual,
  .work-list-card:nth-child(even) .work-list-visual {
    order: 0;
  }

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

  .detail-hero-grid > div:first-child {
    max-width: 720px;
  }

  .detail-visual {
    max-width: 760px;
  }

  .detail-story-grid,
  .benefits-grid,
  .contact-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .feature-check-grid,
  .gallery-grid,
  .company-service-grid,
  .company-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .case-facts > div:nth-child(2) {
    border-right: 0;
  }

  .case-narrative {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .case-narrative aside {
    position: static;
  }

  .case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .company-story-grid {
    grid-template-columns: 60px 1fr;
  }

  .company-story-copy {
    grid-column: 2;
  }

  .form-page-grid {
    grid-template-columns: 1fr;
  }

  .form-page-intro {
    position: static;
    max-width: 720px;
  }

  .contact-details {
    max-width: 680px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 0.7fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .container,
  .nav-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .brand-word {
    font-size: 0.94rem;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(3.55rem, 17vw, 5.2rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero .button-row,
  .final-cta .button-row,
  .detail-hero .button-row {
    display: grid;
  }

  .hero .button,
  .final-cta .button,
  .detail-hero .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .hero-visual {
    padding: 20px 0 34px;
  }

  .hero-interface {
    transform: none;
  }

  .floating-card--one {
    bottom: 4px;
    left: -6px;
  }

  .floating-card--two {
    top: 0;
    right: -4px;
  }

  .floating-card {
    transform: scale(0.88);
  }

  .trust-strip-inner {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-block: 26px;
    text-align: center;
  }

  .trust-strip-inner i {
    display: none;
  }

  .section-heading,
  .section-heading-grid {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .section-heading-grid h2 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .icon-grid--four,
  .capability-grid,
  .reasons-grid,
  .feature-check-grid,
  .gallery-grid,
  .company-service-grid,
  .company-why-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .icon-card,
  .reason-card {
    min-height: 195px;
  }

  .icon-card svg,
  .reason-card svg {
    margin-bottom: 36px;
  }

  .product-feature {
    min-height: 0;
    border-radius: var(--radius);
  }

  .product-feature-copy {
    min-height: 330px;
    padding: 32px;
  }

  .product-feature h3 {
    font-size: 2.5rem;
  }

  .product-feature-visual,
  .product-list-visual,
  .work-list-visual {
    padding: 36px 0 36px 28px;
  }

  .work-card-visual,
  .gallery-item {
    padding: 28px 0 0 28px;
  }

  .work-card-copy {
    padding: 28px;
  }

  .capability-card {
    min-height: 230px;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 24px;
    border-left: 1px solid #caccC6;
  }

  .process-step {
    padding: 0 0 38px 28px;
  }

  .process-step > span {
    position: absolute;
    top: 0;
    left: -46px;
  }

  .process-step h3,
  .process-step p {
    padding-left: 18px;
  }

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

  .leader-copy {
    padding: 30px;
  }

  .leadership-message {
    padding: 70px 0;
  }

  .leadership-message-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .statement-mark {
    max-width: 250px;
  }

  .leadership-message blockquote {
    font-size: 2.4rem;
  }

  .final-cta {
    padding: 12px;
  }

  .final-cta-inner {
    width: 100%;
    padding: 52px 26px;
    border-radius: 20px;
  }

  .page-intro {
    padding: 74px 0 58px;
  }

  .page-intro h1 {
    font-size: clamp(3.4rem, 17vw, 5.3rem);
  }

  .product-list-grid,
  .work-list {
    gap: 34px;
  }

  .product-list-card,
  .work-list-card {
    border-radius: var(--radius);
  }

  .product-list-copy,
  .work-list-copy {
    padding: 32px;
  }

  .product-list-copy h2,
  .work-list-copy h2 {
    margin-top: 26px;
    font-size: 2.7rem;
  }

  .detail-hero,
  .case-hero {
    padding: 30px 0 68px;
  }

  .back-link {
    margin-bottom: 42px;
  }

  .detail-hero h1,
  .case-hero h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .detail-visual .interface-preview,
  .case-hero-visual .interface-preview {
    transform: none;
  }

  .detail-story-grid article {
    min-height: 330px;
    padding: 34px;
  }

  .detail-label {
    margin-bottom: 58px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-content {
    width: 100%;
  }

  .benefits-grid {
    gap: 52px;
  }

  .technology-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .detail-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-facts > div,
  .case-facts > div + div,
  .case-facts > div:nth-child(2) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(40, 44, 52, 0.18);
  }

  .case-sections article {
    padding-bottom: 64px;
  }

  .case-sections article + article {
    padding-top: 64px;
  }

  .company-story-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .company-story-copy {
    grid-column: 1;
  }

  .company-story h2 {
    font-size: 2.8rem;
  }

  .vision-card {
    min-height: 420px;
    padding: 34px;
  }

  .vision-card > svg {
    margin-bottom: 120px;
  }

  .company-contact-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-page {
    padding: 70px 0 84px;
  }

  .form-page-intro h1 {
    font-size: 3.5rem;
  }

  .form-surface {
    padding: 26px;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 26px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 28px;
  }
}

@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;
  }
}
