:root {
  --black: #05070c;
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --blue: #2463eb;
  --cyan: #66d9ff;
  --navy: #0c1d3b;
  --paper: #ffffff;
  --soft: #f6f8fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(24px, 7vw, 96px);
  color: #fff;
  background: rgba(5, 7, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, #2e6cf6, #66d9ff);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: -3px;
  color: rgba(255, 255, 255, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

nav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 770px;
  padding: 154px clamp(24px, 7vw, 96px) 88px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.52), rgba(5, 7, 12, 0.16)),
    url("./assets/neural-ribbon-dark.png") center / cover;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(5, 7, 12, 0.94), rgba(5, 7, 12, 0));
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
}

.eyebrow,
.kicker,
.section-title p {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
li,
a,
strong {
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

h1 {
  margin-bottom: 36px;
  font-size: clamp(52px, 8.2vw, 118px);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero h1 span:nth-child(2) {
  color: rgba(255, 255, 255, 0.62);
}

.lead {
  max-width: 760px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
}

.lead span,
.sublead span {
  display: block;
}

.sublead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.button.light {
  color: var(--black);
  background: #fff;
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(24px, 7vw, 96px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.cred-strip div {
  display: grid;
  min-height: 86px;
  place-items: center;
  color: #111827;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.overview,
.solutions,
.process {
  padding: 104px clamp(24px, 7vw, 96px);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  width: min(1180px, 100%);
  margin: 0 auto 52px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-title p {
  color: var(--blue);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 76px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.mock-window {
  overflow: hidden;
  width: 100%;
  min-height: 520px;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  box-shadow: 0 32px 90px rgba(17, 24, 39, 0.14);
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  background: #f7f8fb;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  background: #d3d8e0;
  border-radius: 50%;
}

.window-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 474px;
}

.window-body aside {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px 22px;
  background: #111827;
  color: #fff;
}

.window-body aside small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.workspace {
  min-width: 0;
  padding: 34px;
}

.field {
  height: 18px;
  width: 68%;
  margin-bottom: 16px;
  background: #e8edf4;
  border-radius: 999px;
}

.field.wide {
  width: 88%;
}

.field.short {
  width: 42%;
}

.preview-card {
  min-width: 0;
  margin-top: 34px;
  padding: 28px;
  background: linear-gradient(135deg, #f7fbff, #eef7ff);
  border: 1px solid #d8e7f5;
  border-radius: 14px;
}

.preview-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
}

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

.flow-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.flow-row span {
  min-width: 0;
  padding: 14px 10px;
  text-align: center;
  color: var(--navy);
  background: #f3f7fb;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.service-logo {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.overview-copy h3 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.35;
}

.overview-copy p:not(.service-logo) {
  margin-bottom: 34px;
  color: var(--muted);
}

.overview-copy a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  color: #fff;
  background: #000;
  border-radius: 8px;
  font-weight: 800;
}

.field-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
  padding: 0 clamp(24px, 7vw, 96px) 112px;
  background: #fff;
}

.field-photo {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 18px;
  background: #0d1628;
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.16);
}

.field-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0), rgba(5, 7, 12, 0.05)),
    linear-gradient(135deg, rgba(35, 103, 235, 0.08), transparent 52%);
  content: "";
}

.field-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  object-position: 50% 50%;
  filter: saturate(0.98) contrast(1.02);
  padding: 18px;
}

.field-copy {
  max-width: 600px;
}

.field-copy h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.18;
  letter-spacing: 0;
}

.field-copy p:not(.kicker) {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
}

.field-points {
  display: grid;
  gap: 12px;
}

.field-points span {
  display: block;
  padding: 16px 18px;
  color: var(--navy);
  background: #f5f8fb;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.solutions {
  background: #fff;
}

.solution-list {
  display: grid;
  gap: 92px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.solution-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.solution-list article:nth-child(even) {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.solution-list h3 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.32;
}

.solution-list p:not(.kicker) {
  color: var(--muted);
}

.kicker {
  color: var(--blue);
}

.solution-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  min-height: 320px;
  background: #0d1628;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.14);
}

.solution-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process {
  background: var(--soft);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process li {
  min-height: 250px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.process span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.process strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 18px;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 72px;
  align-items: start;
  padding: 104px clamp(24px, 7vw, 96px);
  color: #fff;
  background: #05070c;
}

.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.2;
}

.contact p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

address {
  display: grid;
  gap: 14px;
  font-style: normal;
}

address a {
  display: block;
  padding: 18px 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-weight: 800;
}

@media (max-width: 940px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding: 128px 22px 76px;
    background-position: 56% center;
  }

  .lead {
    font-size: 17px;
  }

  .cred-strip {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .cred-strip div {
    min-height: 58px;
    border-bottom: 1px solid var(--line);
  }

  .overview,
  .solutions,
  .process,
  .contact {
    padding: 72px 22px;
  }

  .section-title,
  .overview-grid,
  .field-section,
  .contact {
    display: block;
  }

  .solution-list article,
  .solution-list article:nth-child(even) {
    display: flex;
    flex-direction: column;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .overview-grid,
  .solution-list,
  .process ol {
    width: 100%;
  }

  .overview-copy,
  .field-copy,
  .solution-list article > div,
  .contact > div,
  address {
    max-width: calc(100vw - 44px);
    min-width: 0;
  }

  .mock-window {
    min-height: 440px;
    margin-bottom: 38px;
  }

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

  .window-body aside {
    display: none;
  }

  .workspace {
    padding: 24px;
  }

  .preview-card {
    padding: 22px;
  }

  .overview-copy h3,
  .field-copy h2,
  .solution-list h3 {
    font-size: 27px;
    line-height: 1.42;
    word-break: keep-all;
  }

  .field-section {
    padding: 0 22px 72px;
  }

  .field-photo {
    min-height: 320px;
    margin-bottom: 30px;
  }

  .field-photo img {
    min-height: 320px;
    padding: 10px;
  }

  .solution-list {
    gap: 56px;
  }

  .solution-image {
    min-height: 0;
    margin-bottom: 26px;
  }

  .solution-image img {
    object-fit: contain;
    background: #0d1628;
  }

  .solution-list article:nth-child(even) .solution-image {
    order: -1;
    margin-top: 0;
    margin-bottom: 26px;
  }

  .process ol {
    grid-template-columns: 1fr;
  }

  .process li {
    min-height: auto;
  }

  .contact address {
    margin-top: 32px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 40px;
  }

  .hero-copy,
  .lead,
  .sublead {
    max-width: calc(100vw - 44px);
  }

  .lead {
    font-size: 15px;
  }

  .sublead {
    font-size: 14px;
  }

  .overview-copy h3,
  .solution-list h3 {
    font-size: 25px;
  }

  .lead,
  .sublead,
  .overview-copy p,
  .field-copy p,
  .solution-list p,
  .contact p,
  .process p {
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

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