:root {
  --cloud-white: #f3f7ff;
  --cloud-soft: #eaf1fd;
  --cloud-deep: #dce8f8;
  --ink-navy: #061a42;
  --ink-blue: #0a2b65;
  --muted-blue: #526681;
  --quiet-blue: #74869d;
  --sunray-blue: #1558e8;
  --sunray-azure: #2589f5;
  --sunray-cyan: #20b9dd;
  --night-blue: #061838;
  --night-surface: #0a214b;
  --night-ink: #edf5ff;
  --night-muted: #a7b7ce;
  --line-light: rgba(6, 26, 66, 0.1);
  --line-dark: rgba(237, 245, 255, 0.12);
  --shadow-blue: 0 32px 80px rgba(17, 71, 144, 0.15);
  --radius-small: 18px;
  --radius-large: 36px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: min(1340px, calc(100vw - 72px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-navy);
  background: var(--cloud-white);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

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

p {
  text-wrap: pretty;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 18px;
  z-index: 300;
  padding: 12px 18px;
  color: var(--night-ink);
  background: var(--ink-navy);
  border-radius: 999px;
  transform: translateY(-90px);
  transition: transform 180ms var(--ease-out);
}

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

:focus-visible {
  outline: 3px solid var(--sunray-cyan);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 78px;
  border-bottom: 1px solid transparent;
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--line-light);
  background: rgba(243, 247, 255, 0.88);
  box-shadow: 0 12px 36px rgba(19, 61, 117, 0.07);
  backdrop-filter: blur(18px) saturate(1.18);
}

.header-inner {
  display: flex;
  width: var(--container);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  width: 156px;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.76;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.3vw, 42px);
  font-size: 13px;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 12px;
  color: var(--ink-blue);
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--sunray-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  color: var(--night-ink);
  background: var(--ink-navy);
  border-radius: 999px;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out);
}

.nav-cta:hover {
  background: var(--sunray-blue);
  transform: translateY(-2px);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 46px;
  height: 46px;
  cursor: pointer;
  padding: 13px 11px;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 5px 0;
  background: var(--ink-navy);
  transition: transform 240ms var(--ease-out), opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  padding: 118px 0 32px;
  background:
    radial-gradient(circle at 72% 38%, rgba(37, 137, 245, 0.17), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(32, 185, 221, 0.11), transparent 26%),
    linear-gradient(132deg, #f7faff 0%, var(--cloud-white) 46%, #e6f0fe 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(6, 26, 66, 0.045) 0),
    linear-gradient(transparent calc(100% - 1px), rgba(6, 26, 66, 0.035) 0);
  background-size: 10vw 100%, 100% 18vh;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.74), transparent 92%);
}

.hero-orbit {
  position: absolute;
  top: 13%;
  right: -10vw;
  z-index: 0;
  width: min(65vw, 1000px);
  aspect-ratio: 1;
  border: 1px solid rgba(21, 88, 232, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(37, 137, 245, 0.025), 0 0 0 144px rgba(37, 137, 245, 0.018);
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: calc(100dvh - 210px);
  grid-template-columns: minmax(560px, 0.98fr) minmax(560px, 1.02fr);
  gap: clamp(18px, 2.2vw, 34px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-bottom: 4vh;
}

.hero-kicker,
.section-index {
  color: var(--sunray-blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-kicker i {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 780px;
  padding: 0.08em 0 0.12em;
  font-size: clamp(46px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-summary {
  max-width: 660px;
  margin-top: 26px;
  color: var(--muted-blue);
  font-size: clamp(16px, 1.28vw, 19px);
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-width: 152px;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 999px;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

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

.button-primary {
  color: var(--night-ink);
  background: var(--sunray-blue);
}

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

.button-secondary {
  color: var(--ink-navy);
  border: 1px solid rgba(6, 26, 66, 0.16);
  background: rgba(243, 247, 255, 0.68);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  border-color: rgba(21, 88, 232, 0.32);
  color: var(--sunray-blue);
  background: rgba(243, 247, 255, 0.92);
}

.hero-visual {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: relative;
  width: min(58vw, 820px);
  aspect-ratio: 4 / 3;
  justify-self: end;
  isolation: isolate;
  perspective: 1200px;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 42px 44px rgba(18, 65, 132, 0.17));
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}

.hero-flow {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(37, 137, 245, 0.16);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.flow-one {
  top: 14%;
  right: 5%;
  width: 76%;
  height: 61%;
}

.flow-two {
  right: 9%;
  bottom: 12%;
  width: 62%;
  height: 42%;
  border-style: dashed;
}

.visual-node {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(243, 247, 255, 0.8);
  background: rgba(236, 244, 255, 0.78);
  border-radius: var(--radius-small);
  box-shadow: 0 16px 38px rgba(17, 71, 144, 0.14), inset 0 1px 0 rgba(243, 247, 255, 0.84);
  backdrop-filter: blur(12px);
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: transform 760ms var(--ease-out);
}

.visual-node img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.node-profile { top: 12%; left: 17%; }
.node-security { top: 28%; right: 3%; }
.node-module { right: 14%; bottom: 14%; }
.node-analytics { bottom: 22%; left: 7%; }

.hero-footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: var(--quiet-blue);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero-footer span:not(:first-child) {
  padding-left: 22px;
  border-left: 1px solid var(--line-light);
}

.service-overview {
  position: relative;
  overflow: hidden;
  padding: 132px 0 140px;
  color: var(--night-ink);
  background:
    radial-gradient(circle at 88% 18%, rgba(37, 137, 245, 0.24), transparent 25%),
    linear-gradient(135deg, var(--night-blue) 0%, #071f49 56%, #082855 100%);
}

.service-grid {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(237, 245, 255, 0.045) 0),
    linear-gradient(transparent calc(100% - 1px), rgba(237, 245, 255, 0.04) 0);
  background-size: 8.333vw 100%, 100% 120px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 92%);
}

.service-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  padding-bottom: 66px;
  border-bottom: 1px solid var(--line-dark);
}

.service-intro .section-index,
.cloud-section .section-index,
.contact-section .section-index {
  color: #69c6ff;
}

.service-intro h2,
.software-section h2,
.cloud-section h2,
.process-section h2,
.contact-section h2 {
  padding: 0.08em 0 0.12em;
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.1;
}

.service-intro > p:last-child {
  color: var(--night-muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-rows {
  position: relative;
  z-index: 2;
}

.service-row {
  display: grid;
  min-height: 470px;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
}

.service-row-copy {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
}

.service-symbol {
  color: #69c6ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.service-row h3 {
  margin-bottom: 22px;
  font-size: clamp(34px, 3.3vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.service-row p {
  max-width: 540px;
  color: var(--night-muted);
  font-size: 16px;
  line-height: 1.75;
}

.service-row a {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  margin-top: 30px;
  color: #9edcff;
  font-size: 13px;
  font-weight: 600;
  transition: gap 220ms var(--ease-out), color 220ms ease;
}

.service-row a:hover {
  gap: 42px;
  color: var(--night-ink);
}

.service-figure {
  position: relative;
  height: 390px;
  overflow: hidden;
  border: 1px solid rgba(237, 245, 255, 0.1);
  background: linear-gradient(145deg, rgba(237, 245, 255, 0.07), rgba(37, 137, 245, 0.045));
  border-radius: var(--radius-large);
}

.service-figure::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 60% 48%, rgba(50, 155, 255, 0.2), transparent 42%);
}

.service-figure img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 28px 30px rgba(0, 12, 38, 0.3));
  transition: transform 700ms var(--ease-out);
}

.service-row:hover .service-figure img {
  transform: translate(-50%, -52%) scale(1.025);
}

.service-row-cloud {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-row-cloud .service-row-copy {
  grid-column: 2;
  grid-row: 1;
}

.service-row-cloud .service-figure {
  grid-column: 1;
  grid-row: 1;
  height: 350px;
}

.software-section {
  position: relative;
  overflow: hidden;
  padding: 136px 0 148px;
  background:
    radial-gradient(circle at 13% 78%, rgba(32, 185, 221, 0.08), transparent 26%),
    var(--cloud-white);
}

.section-heading {
  max-width: 860px;
}

.section-heading h2 {
  margin-top: 0;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted-blue);
  font-size: 17px;
  line-height: 1.8;
}

.software-types {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
  margin-top: 72px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.software-types article {
  position: relative;
  min-height: 292px;
  padding: 30px clamp(20px, 2.5vw, 42px) 34px;
}

.software-types article:not(:last-child) {
  border-right: 1px solid var(--line-light);
}

.software-types article:nth-child(2),
.software-types article:nth-child(3) {
  background: rgba(222, 233, 249, 0.34);
}

.software-types img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 42px;
  filter: drop-shadow(0 12px 16px rgba(18, 65, 132, 0.12));
  transition: transform 380ms var(--ease-out);
}

.software-types article:hover img {
  transform: translateY(-7px) rotate(-3deg);
}

.software-types span {
  position: absolute;
  top: 30px;
  right: 28px;
  color: var(--quiet-blue);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.software-types h3 {
  margin-bottom: 14px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.software-types p {
  color: var(--muted-blue);
  font-size: 14px;
  line-height: 1.7;
}

.scenario-figure {
  position: relative;
  min-height: 520px;
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid rgba(6, 26, 66, 0.08);
  background:
    radial-gradient(circle at 54% 58%, rgba(37, 137, 245, 0.14), transparent 42%),
    linear-gradient(135deg, #e8f1fd 0%, #f6f9ff 55%, #e8f4fc 100%);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-blue);
}

.scenario-figure::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 1px 0 rgba(243, 247, 255, 0.9);
  border-radius: inherit;
}

.scenario-caption {
  position: absolute;
  top: 38px;
  left: 42px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.scenario-caption span {
  color: var(--muted-blue);
  font-size: 13px;
}

.scenario-caption strong {
  font-size: 23px;
}

.scenario-figure img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(92%, 1180px);
  height: 88%;
  object-fit: contain;
  transform: translate(-50%, -44%);
}

.cloud-section {
  position: relative;
  overflow: hidden;
  padding: 136px 0 120px;
  color: var(--night-ink);
  background:
    radial-gradient(circle at 15% 42%, rgba(32, 185, 221, 0.12), transparent 25%),
    linear-gradient(150deg, #061733 0%, var(--night-blue) 48%, #092957 100%);
}

.cloud-trace {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image: radial-gradient(circle, rgba(105, 198, 255, 0.36) 1px, transparent 1.2px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 68% 40%, rgba(0, 0, 0, 0.9), transparent 65%);
}

.cloud-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(350px, 0.75fr) minmax(580px, 1.25fr);
  gap: clamp(54px, 7vw, 110px);
  align-items: start;
}

.cloud-copy {
  position: sticky;
  top: 128px;
}

.cloud-copy h2 {
  margin-top: 0;
}

.cloud-copy > p:last-of-type {
  max-width: 560px;
  margin-top: 22px;
  color: var(--night-muted);
  font-size: 16px;
  line-height: 1.82;
}

.cloud-principle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.cloud-principle span {
  padding: 9px 13px;
  color: #c9d9ed;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 12px;
}

.cloud-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
  border-radius: var(--radius-large);
}

.cloud-item {
  display: flex;
  min-height: 168px;
  align-items: center;
  gap: 24px;
  padding: 26px;
  background: rgba(6, 24, 56, 0.92);
  transition: background 260ms ease;
}

.cloud-item:hover {
  background: rgba(10, 43, 101, 0.94);
}

.cloud-item-featured,
.cloud-item-wide {
  grid-column: 1 / -1;
}

.cloud-item-featured {
  min-height: 184px;
  background: linear-gradient(118deg, rgba(21, 88, 232, 0.45), rgba(7, 31, 73, 0.94));
}

.cloud-item img {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 12, 38, 0.26));
}

.cloud-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.cloud-item p {
  color: var(--night-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cloud-composition {
  position: relative;
  z-index: 2;
  min-height: 440px;
  margin-top: 72px;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.cloud-composition img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(96%, 1240px);
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.process-section {
  position: relative;
  padding: 142px 0 150px;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(6, 26, 66, 0.035) 0),
    linear-gradient(155deg, #f3f7ff, #eaf2fd);
  background-size: 12.5vw 100%, 100% 100%;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.72fr) minmax(600px, 1.28fr);
  gap: clamp(68px, 8vw, 132px);
  align-items: start;
}

.process-heading {
  position: sticky;
  top: 128px;
}

.process-heading h2 {
  margin-top: 0;
}

.process-heading > p:last-child {
  max-width: 500px;
  margin-top: 22px;
  color: var(--muted-blue);
  font-size: 16px;
  line-height: 1.82;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.process-list li {
  display: grid;
  min-height: 176px;
  grid-template-columns: 86px 44px 1fr;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}

.process-list img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform 380ms var(--ease-out);
}

.process-list li:hover img {
  transform: translateY(-6px) rotate(3deg);
}

.process-list > li > span {
  align-self: start;
  padding-top: 55px;
  color: var(--sunray-blue);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.process-list h3 {
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.process-list p {
  color: var(--muted-blue);
  font-size: 14px;
  line-height: 1.7;
}

.contact-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  padding: 134px 0 220px;
  color: var(--night-ink);
  background:
    radial-gradient(circle at 76% 42%, rgba(37, 137, 245, 0.35), transparent 32%),
    linear-gradient(145deg, #05152f 0%, #071d43 50%, #0a3265 100%);
}

.contact-rings {
  position: absolute;
  top: 5%;
  right: -14%;
  width: min(76vw, 1050px);
  aspect-ratio: 1;
  border: 1px solid rgba(105, 198, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(37, 137, 245, 0.025), 0 0 0 160px rgba(37, 137, 245, 0.018);
}

.contact-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
}

.contact-copy h2 {
  max-width: 820px;
  margin-top: 28px;
  padding: 0.06em 0 0.12em;
  font-size: clamp(48px, 5.4vw, 82px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-copy > p:last-of-type {
  max-width: 620px;
  margin-top: 24px;
  color: var(--night-muted);
  font-size: 17px;
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
}

.button-light {
  color: var(--ink-navy);
  background: var(--night-ink);
}

.button-light:hover {
  color: var(--night-ink);
  background: var(--sunray-blue);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 24px;
  color: #b9cbe1;
  font-size: 13px;
  transition: gap 220ms var(--ease-out), color 220ms ease;
}

.text-link:hover {
  gap: 30px;
  color: var(--night-ink);
}

.contact-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-bottom: 18px;
  text-align: right;
}

.contact-mark span {
  color: #b9cbe1;
  font-size: 14px;
}

.contact-mark strong {
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -0.04em;
}

.contact-mark small {
  margin-top: 18px;
  color: #79bfff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.skyline {
  position: absolute;
  right: 0;
  bottom: -3%;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.78;
  filter: brightness(1.25) saturate(0.8);
}

.site-footer {
  color: #aebed1;
  background: #041127;
}

.footer-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(237, 245, 255, 0.09);
  font-size: 11px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-legal a {
  color: #8fa3bc;
}

.footer-inner nav {
  display: flex;
  gap: 28px;
}

.footer-inner a {
  transition: color 180ms ease;
}

.footer-inner a:hover {
  color: var(--night-ink);
}

.copy-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 140;
  padding: 13px 18px;
  color: var(--night-ink);
  background: var(--ink-navy);
  border: 1px solid rgba(237, 245, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(6, 26, 66, 0.24);
  font-size: 13px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 780ms var(--ease-out), transform 780ms var(--ease-out);
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root { --container: min(100% - 48px, 1040px); }
  .main-nav { gap: 20px; }
  .hero-layout { grid-template-columns: minmax(430px, 0.96fr) minmax(470px, 1.04fr); }
  .hero h1 { font-size: clamp(44px, 4.8vw, 54px); }
  .service-intro { grid-template-columns: 1.3fr 0.7fr; }
  .software-types { grid-template-columns: repeat(2, 1fr); }
  .software-types article:nth-child(2) { border-right: 0; }
  .software-types article:nth-child(-n + 2) { border-bottom: 1px solid var(--line-light); }
  .cloud-layout,
  .process-layout { grid-template-columns: 0.82fr 1.18fr; gap: 56px; }
}

@media (max-width: 980px) {
  :root { --container: calc(100% - 36px); --radius-large: 28px; }
  html { scroll-padding-top: 70px; }
  .site-header { height: 70px; }
  .brand { width: 142px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 96px 24px 42px;
    background: rgba(243, 247, 255, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 260ms;
  }

  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > a:not(.nav-cta) { font-size: 24px; }
  .nav-cta { min-width: 180px; justify-content: space-between; margin-top: 8px; }
  .hero { min-height: auto; padding: 112px 0 28px; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: 720px; font-size: clamp(40px, 7vw, 54px); }
  .hero-summary { max-width: 620px; }
  .hero-visual { width: min(96%, 700px); justify-self: center; }
  .hero-footer { grid-template-columns: repeat(3, 1fr); row-gap: 12px; margin-top: 18px; }
  .hero-footer span:not(:first-child) { padding-left: 12px; }
  .hero-footer span:nth-child(4) { padding-left: 0; border-left: 0; }
  .service-overview,
  .software-section,
  .cloud-section,
  .process-section { padding: 104px 0 112px; }
  .service-intro { grid-template-columns: 1fr; gap: 24px; }
  .service-intro > p:last-child { max-width: 620px; }
  .service-row,
  .service-row-cloud { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .service-row-cloud .service-row-copy,
  .service-row-cloud .service-figure { grid-column: 1; grid-row: auto; }
  .service-row-cloud .service-row-copy { order: 1; }
  .service-row-cloud .service-figure { order: 2; }
  .scenario-figure { min-height: 440px; }
  .cloud-layout,
  .process-layout { grid-template-columns: 1fr; gap: 64px; }
  .cloud-copy,
  .process-heading { position: static; }
  .cloud-copy > p:last-of-type,
  .process-heading > p:last-child { max-width: 660px; }
  .contact-section { min-height: 680px; padding: 112px 0 210px; }
  .contact-inner { grid-template-columns: 1fr; gap: 70px; }
  .contact-mark { align-items: flex-start; text-align: left; }
}

@media (max-width: 580px) {
  :root { --container: calc(100% - 30px); --radius-large: 24px; }
  .hero { padding-top: 100px; }
  .hero-kicker { margin-bottom: 20px; font-size: 10px; }
  .hero h1 { padding-block: 0.1em 0.14em; font-size: clamp(34px, 9vw, 38px); letter-spacing: -0.035em; line-height: 1.1; }
  .hero-summary { margin-top: 24px; font-size: 15px; line-height: 1.7; }
  .hero-actions { margin-top: 28px; }
  .button { min-width: 0; flex: 1; }
  .hero-visual { width: 112%; margin-left: -6%; }
  .visual-node { width: 50px; height: 50px; border-radius: 15px; }
  .visual-node img { width: 35px; height: 35px; }
  .hero-footer { grid-template-columns: repeat(2, 1fr); gap: 9px 0; font-size: 8px; }
  .hero-footer span,
  .hero-footer span:not(:first-child) { min-height: 24px; padding-left: 9px; border-left: 1px solid var(--line-light); }
  .hero-footer span:nth-child(odd) { padding-left: 0; border-left: 0; }
  .service-overview,
  .software-section,
  .cloud-section,
  .process-section { padding: 84px 0 92px; }
  .service-intro h2,
  .software-section h2,
  .cloud-section h2,
  .process-section h2 { font-size: clamp(32px, 9vw, 40px); letter-spacing: -0.032em; line-height: 1.12; }
  .service-intro { padding-bottom: 46px; }
  .service-row { padding: 52px 0; }
  .service-row-copy { grid-template-columns: 30px 1fr; gap: 12px; }
  .service-row h3 { font-size: 34px; }
  .service-figure,
  .service-row-cloud .service-figure { height: 270px; }
  .section-heading h2,
  .cloud-copy h2,
  .process-heading h2 { margin-top: 0; }
  .software-types { grid-template-columns: 1fr; margin-top: 50px; }
  .software-types article { min-height: 225px; border-right: 0 !important; border-bottom: 1px solid var(--line-light); }
  .software-types article:last-child { border-bottom: 0; }
  .software-types img { margin-bottom: 24px; }
  .scenario-figure { min-height: 350px; margin-top: 52px; }
  .scenario-caption { top: 24px; left: 24px; }
  .scenario-figure img { width: 130%; max-width: none; transform: translate(-50%, -39%); }
  .cloud-layout,
  .process-layout { gap: 48px; }
  .cloud-catalog { grid-template-columns: 1fr; }
  .cloud-item,
  .cloud-item-featured,
  .cloud-item-wide { grid-column: 1; min-height: 128px; padding: 20px; }
  .cloud-item img { width: 52px; height: 52px; }
  .cloud-composition { min-height: 320px; margin-top: 54px; }
  .cloud-composition img { width: 135%; max-width: none; }
  .process-list li { min-height: 156px; grid-template-columns: 66px 1fr; gap: 16px; }
  .process-list img { width: 62px; height: 62px; }
  .process-list > li > span { display: none; }
  .contact-section { min-height: 680px; padding: 90px 0 200px; }
  .contact-copy h2 { margin-top: 22px; font-size: clamp(42px, 13vw, 56px); letter-spacing: -0.04em; line-height: 1.08; }
  .contact-copy > p:last-of-type { margin-top: 28px; font-size: 15px; }
  .contact-actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 32px; }
  .contact-actions .button { flex: 0 0 auto; }
  .contact-mark { gap: 0; }
  .contact-mark span { font-size: 12px; }
  .contact-mark small { max-width: 260px; line-height: 1.6; }
  .skyline { height: 180px; }
  .footer-inner { min-height: 142px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 20px; }
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-inner nav { flex-wrap: wrap; gap: 14px 22px; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-art,
  .visual-node { transform: none !important; }
}
