:root {
  --ink: #0b1220;
  --ink-soft: #172236;
  --paper: #f7f8f3;
  --paper-warm: #eeefe7;
  --white: #ffffff;
  --muted: #647083;
  --line: rgba(11, 18, 32, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --accent: #b7ff5f;
  --accent-deep: #8ee92f;
  --blue: #6f86ff;
  --coral: #ff7764;
  --max: 1240px;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --shadow: 0 24px 70px rgba(11, 18, 32, 0.11);
  --font: "Aptos", "Segoe UI Variable", "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

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

h1,
h2,
h3,
h4 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 620;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 650;
}

em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

::selection {
  color: var(--ink);
  background: var(--accent);
}

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

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.section-pad {
  padding-block: clamp(88px, 11vw, 156px);
}

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

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

.surface-accent {
  background: var(--accent);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 86px;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(11, 18, 32, 0.75), transparent);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(11, 18, 32, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 50px;
  height: 36px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 7px 13px 7px 13px;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: grid;
  gap: 5px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.primary-nav > a:not(.button) {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 520;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.primary-nav > a:hover {
  color: var(--white);
}

.primary-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.78rem;
}

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

.button-accent:hover {
  background: var(--accent-deep);
}

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

.button-outline {
  color: var(--ink);
  border-color: var(--line);
}

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

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding-block: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 650;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.text-link-light {
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(132px, 14vw, 190px);
}

.hero::before {
  position: absolute;
  width: 850px;
  height: 850px;
  top: -520px;
  left: 32%;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.16), transparent 66%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 710px;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  padding-bottom: 98px;
}

.eyebrow,
.kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 830px;
  margin: 28px 0 32px;
}

.hero-lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 46px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  list-style: none;
}

.hero-proof li {
  position: relative;
  padding-left: 17px;
}

.hero-proof li::before {
  position: absolute;
  width: 6px;
  height: 6px;
  top: 0.62em;
  left: 0;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.hero-visual {
  position: relative;
  width: min(100%, 580px);
  justify-self: end;
}

.network-visual {
  width: 100%;
  overflow: visible;
}

.network-lines {
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  opacity: 0.55;
  animation: dash 18s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -140; }
}

.orbit-one {
  transform-origin: 310px 310px;
  animation: spin 34s linear infinite;
  stroke-dasharray: 10 14;
}

.orbit-two {
  transform-origin: 310px 310px;
  animation: spin 55s linear infinite reverse;
  stroke-dasharray: 2 16;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.node rect {
  fill: #121d30;
  stroke: rgba(255, 255, 255, 0.2);
}

.node text {
  fill: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.node .node-caption {
  fill: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.node-mini circle {
  fill: var(--blue);
  opacity: 0.85;
}

.node-mini circle:last-child {
  fill: var(--coral);
}

.core > circle {
  fill: rgba(183, 255, 95, 0.13);
  stroke: var(--accent);
  stroke-width: 1.5;
}

.core .core-ring {
  fill: #121d30;
  stroke: rgba(255, 255, 255, 0.18);
}

.core text {
  fill: var(--accent);
  font-family: var(--font);
  font-size: 31px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.core .core-caption {
  fill: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.visual-label {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visual-label-top {
  top: 3%;
  right: 6%;
}

.visual-label-bottom {
  right: 0;
  bottom: 5%;
  border-radius: 14px;
}

.visual-label-bottom span {
  color: var(--accent);
}

.visual-label-bottom strong {
  color: var(--white);
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(183, 255, 95, 0.12);
}

.hero-ticker {
  overflow: hidden;
  padding-block: 16px;
  color: var(--ink);
  background: var(--accent);
  border-block: 1px solid var(--ink);
  white-space: nowrap;
}

.hero-ticker div {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  animation: ticker 34s linear infinite;
}

.hero-ticker span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-ticker i {
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.split-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 10vw, 150px);
}

.split-intro h2 {
  max-width: 560px;
  margin-top: 22px;
}

.intro-copy {
  padding-top: 40px;
}

.large-copy {
  margin-bottom: 30px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 520;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.intro-copy > p:last-child {
  max-width: 660px;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 84px);
}

.section-heading h2 {
  margin-top: 20px;
}

.section-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
}

.section-heading-light > p,
.section-heading-light .kicker {
  color: rgba(255, 255, 255, 0.54);
}

.kicker-light {
  color: rgba(255, 255, 255, 0.54);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 480px;
  padding: 32px;
  overflow: hidden;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-card-featured {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.service-card-featured::after {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(183, 255, 95, 0.22), transparent 70%);
  content: "";
}

.service-index {
  align-self: flex-end;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.service-card-featured .service-index {
  color: rgba(255, 255, 255, 0.42);
}

.service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 30px 0 48px;
  background: var(--accent);
  border-radius: 17px;
  place-items: center;
}

.service-icon svg {
  width: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.service-card h3 {
  margin-bottom: 18px;
}

.service-card > p {
  color: var(--muted);
}

.service-card-featured > p {
  color: rgba(255, 255, 255, 0.62);
}

.clean-list {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  list-style: none;
}

.clean-list li::before {
  margin-right: 10px;
  color: var(--accent);
  content: "↳";
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 700;
}

.card-link span {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.card-link:hover span {
  transform: translate(3px, -3px);
}

.knowledge-hub {
  position: relative;
  overflow: hidden;
}

.knowledge-hub::before {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -280px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.17), transparent 67%);
  border-radius: 50%;
  content: "";
}

.knowledge-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.knowledge-card {
  position: relative;
  display: flex;
  min-height: 540px;
  padding: 32px;
  overflow: hidden;
  flex-direction: column;
  border-radius: var(--radius);
  transition: transform 0.25s ease;
}

.knowledge-card:hover {
  transform: translateY(-6px);
}

.knowledge-card-rag {
  color: var(--ink);
  background: var(--accent);
}

.knowledge-card-wiki {
  color: var(--white);
  background: var(--blue);
}

.knowledge-card-aws {
  grid-column: 1 / -1;
  min-height: 380px;
  color: var(--white);
  background: #18243a;
}

.knowledge-meta {
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.64;
  text-transform: uppercase;
}

.knowledge-graphic {
  min-height: 175px;
  margin: 34px 0;
}

.mini-flow,
.cloud-lines {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.mini-flow span,
.cloud-lines span {
  display: grid;
  width: 72px;
  height: 72px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-flow i,
.cloud-lines i {
  position: relative;
  width: 58px;
  height: 1px;
  background: currentColor;
}

.mini-flow i::after,
.cloud-lines i::after {
  position: absolute;
  width: 6px;
  height: 6px;
  top: -3px;
  right: 0;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.wiki-dots {
  position: relative;
}

.wiki-dots::before,
.wiki-dots::after {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
  content: "";
  transform: rotate(19deg);
}

.wiki-dots::before {
  width: 53%;
  top: 51%;
  left: 22%;
}

.wiki-dots::after {
  width: 42%;
  top: 42%;
  left: 31%;
  transform: rotate(-27deg);
}

.wiki-dots span {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background-clip: padding-box;
}

.wiki-dots span:nth-child(1) { top: 4%; left: 18%; }
.wiki-dots span:nth-child(2) { top: 57%; left: 9%; }
.wiki-dots span:nth-child(3) { top: 31%; left: 47%; width: 60px; height: 60px; }
.wiki-dots span:nth-child(4) { top: 5%; right: 10%; }
.wiki-dots span:nth-child(5) { right: 17%; bottom: 3%; }

.cloud-lines {
  position: absolute;
  width: 43%;
  top: 50px;
  right: 35px;
  bottom: 35px;
}

.cloud-lines span {
  width: 86px;
  height: 86px;
  border-color: rgba(255, 255, 255, 0.34);
}

.cloud-lines span:last-child {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.cloud-lines i {
  width: 80px;
  background: rgba(255, 255, 255, 0.38);
}

.knowledge-card > div:last-child {
  margin-top: auto;
}

.knowledge-card-aws > div:last-child {
  width: 48%;
  margin-top: 65px;
}

.knowledge-card .tag {
  margin-bottom: 14px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.66;
  text-transform: uppercase;
}

.knowledge-card h3 {
  max-width: 640px;
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.knowledge-card > div:last-child > p:not(.tag) {
  max-width: 620px;
  margin-bottom: 25px;
  opacity: 0.7;
}

.knowledge-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 750;
}

.knowledge-link b {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.knowledge-card:hover .knowledge-link b {
  transform: translate(3px, -3px);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease, background 0.2s ease;
}

.process-list li:hover {
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.45);
}

.process-number {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.process-list h3 {
  margin-bottom: 9px;
}

.process-list p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.principles {
  position: relative;
  overflow: hidden;
}

.principles::after {
  position: absolute;
  width: 430px;
  height: 430px;
  right: -150px;
  bottom: -220px;
  border: 1px solid rgba(11, 18, 32, 0.2);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(11, 18, 32, 0.025), 0 0 0 140px rgba(11, 18, 32, 0.025);
}

.principles-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 10vw, 150px);
}

.principles h2 {
  margin-top: 22px;
}

.principle-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(11, 18, 32, 0.23);
}

.principle-stack article {
  display: grid;
  grid-template-columns: 45px 155px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid rgba(11, 18, 32, 0.23);
}

.principle-stack span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
}

.principle-stack h3,
.principle-stack p {
  margin-bottom: 0;
}

.principle-stack h3 {
  font-size: 1.1rem;
}

.principle-stack p {
  color: rgba(11, 18, 32, 0.68);
}

.cta-section {
  padding-block: clamp(90px, 12vw, 170px);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
}

.cta-grid h2 {
  margin: 24px 0 30px;
}

.cta-grid > div:first-child > p:last-child {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.1rem;
}

.cta-panel {
  padding: 36px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.cta-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.cta-note {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding-top: 72px;
  color: var(--white);
  background: #070c15;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding-bottom: 70px;
}

.brand-footer {
  align-self: start;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-nav > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-nav p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

/* Knowledge pages */
.subpage {
  padding-top: 86px;
}

.page-hero {
  position: relative;
  padding-block: clamp(90px, 10vw, 145px) clamp(70px, 9vw, 120px);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  width: 560px;
  height: 560px;
  top: -260px;
  right: -100px;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.22), transparent 68%);
  border-radius: 50%;
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.55fr;
  gap: 60px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.73rem;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 34px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

.page-hero-lead {
  max-width: 790px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
}

.page-index-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.page-index-card > p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-index-card nav {
  display: grid;
}

.page-index-card a {
  display: flex;
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.page-index-card a:last-child {
  border-bottom: 0;
}

.page-index-card a:hover {
  color: var(--accent);
}

.topic-intro {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(60px, 11vw, 160px);
}

.topic-intro h2 {
  margin-top: 20px;
}

.topic-copy > p:first-child {
  font-size: clamp(1.3rem, 2.2vw, 1.95rem);
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.topic-copy > p:not(:first-child) {
  color: var(--muted);
}

.source-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.diagram-section {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--paper-warm);
}

.diagram-shell {
  padding: clamp(22px, 4vw, 50px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(11, 18, 32, 0.06);
}

.diagram-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
}

.diagram-head h3 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.diagram-head p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.diagram-legend {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.7rem;
}

.diagram-legend span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.diagram-legend span:last-child::before {
  background: var(--blue);
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: stretch;
}

.flow-node {
  position: relative;
  display: flex;
  min-height: 176px;
  padding: 20px 15px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.flow-node:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  top: 50%;
  right: -16px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  content: "→";
  font-size: 0.72rem;
  line-height: 20px;
  text-align: center;
  transform: translateY(-50%);
}

.flow-node.flow-blue {
  color: var(--white);
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.flow-node.flow-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.flow-node-icon {
  display: grid;
  width: 42px;
  height: 42px;
  background: rgba(111, 134, 255, 0.12);
  border-radius: 11px;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 800;
}

.flow-blue .flow-node-icon {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.flow-node small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-blue small {
  color: rgba(255, 255, 255, 0.45);
}

.flow-node strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}

.flow-node p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.flow-blue p {
  color: rgba(255, 255, 255, 0.55);
}

.phase-labels {
  display: grid;
  grid-template-columns: 3fr 3fr;
  gap: 10px;
  margin-top: 12px;
}

.phase-labels span {
  padding: 9px 14px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 9px;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.guide-layout {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(50px, 9vw, 130px);
}

.guide-sticky {
  position: sticky;
  top: 110px;
  align-self: start;
}

.guide-sticky h2 {
  margin: 20px 0 28px;
}

.guide-sticky > p:last-child {
  color: var(--muted);
}

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

.step-list > li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.step-badge {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.step-list h3 {
  margin-bottom: 12px;
}

.step-list p {
  margin-bottom: 12px;
  color: var(--muted);
}

.step-list ul {
  display: grid;
  gap: 6px;
  margin-bottom: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.callout {
  padding: 28px;
  background: var(--accent);
  border-radius: var(--radius);
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.callout p {
  margin: 0;
  color: rgba(11, 18, 32, 0.72);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comparison-card {
  padding: clamp(28px, 4vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comparison-card.comparison-highlight {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.comparison-card .tag {
  color: var(--blue);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-highlight .tag {
  color: var(--accent);
}

.comparison-card h3 {
  margin: 18px 0 28px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.comparison-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.comparison-card dl > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 18px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}

.comparison-highlight dl > div {
  border-color: var(--line-light);
}

.comparison-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.comparison-highlight dt {
  color: rgba(255, 255, 255, 0.42);
}

.comparison-card dd {
  margin: 0;
  font-size: 0.88rem;
}

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

.wiki-layer {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wiki-layer:nth-child(2) {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.wiki-layer:nth-child(3) {
  background: var(--accent);
  border-color: var(--accent);
}

.wiki-layer-number {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
  opacity: 0.54;
}

.wiki-layer-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 40px 0 30px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.08);
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 800;
}

.wiki-layer:nth-child(2) .wiki-layer-icon {
  color: var(--blue);
}

.wiki-layer h3 {
  margin-bottom: 12px;
}

.wiki-layer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.wiki-layer:nth-child(2) p {
  color: rgba(255, 255, 255, 0.66);
}

.operations-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.operation {
  padding: 30px;
  background: var(--white);
}

.operation span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.operation h4 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
}

.operation p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.risk-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.risk-card span {
  display: inline-block;
  margin-bottom: 32px;
  padding: 5px 9px;
  color: #8b3a2d;
  background: #ffe1dc;
  border-radius: 99px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk-card h3 {
  font-size: 1.3rem;
}

.risk-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.source-panel {
  padding: clamp(30px, 5vw, 60px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.source-panel h2 {
  margin: 20px 0 40px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.source-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.source-list a {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  font-size: 0.82rem;
}

.source-list a:hover {
  color: var(--accent);
  border-color: rgba(183, 255, 95, 0.35);
}

/* AWS blueprint */
.aws-architecture {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1.25fr 1.1fr;
  gap: 12px;
  align-items: stretch;
}

.aws-column {
  display: grid;
  gap: 10px;
  padding: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aws-column > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aws-service {
  position: relative;
  display: flex;
  min-height: 83px;
  padding: 15px;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.aws-service strong {
  font-size: 0.82rem;
}

.aws-service small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
}

.aws-service.service-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.aws-service.service-blue {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.aws-service.service-blue small {
  color: rgba(255, 255, 255, 0.64);
}

.aws-cross-cutting {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.aws-cross-cutting span {
  padding: 12px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.decision-table {
  width: 100%;
  border-collapse: collapse;
}

.decision-table th,
.decision-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.decision-table th {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-table td {
  font-size: 0.85rem;
}

.decision-table td:first-child {
  font-weight: 750;
}

.tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tab-list {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.tab-list button {
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

.tab-list button[aria-selected="true"] {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 3px 12px rgba(11, 18, 32, 0.07);
}

.tab-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.tab-panel[hidden] {
  display: none;
}

.config-block {
  position: relative;
  padding: 24px;
  overflow-x: auto;
  color: #dfe9ff;
  background: #0a1020;
  border-radius: 16px;
}

.config-block pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.65rem;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 18px 18px 18px 50px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 0.84rem;
}

.checklist li::before {
  position: absolute;
  display: grid;
  width: 22px;
  height: 22px;
  top: 18px;
  left: 17px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  content: "✓";
  place-items: center;
  font-size: 0.67rem;
  font-weight: 900;
}

/* Legal pages */
.legal-page {
  min-height: 70vh;
  padding-block: 150px 100px;
}

.legal-wrap {
  width: min(calc(100% - 48px), 800px);
  margin-inline: auto;
}

.legal-wrap h1 {
  margin-bottom: 38px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.legal-wrap h2 {
  margin: 45px 0 16px;
  font-size: 1.55rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
}

.legal-placeholder {
  padding: 22px;
  background: #fff1d8;
  border: 1px solid #e7c987;
  border-radius: 14px;
}

.article-byline {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.73rem;
}

.article-byline a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.article-byline a:hover {
  color: var(--accent);
}

/* Service landing pages */
.service-page .page-hero::after {
  width: 760px;
  height: 760px;
  top: -360px;
  right: -220px;
  background:
    radial-gradient(circle at 44% 50%, rgba(183, 255, 95, 0.15), transparent 25%),
    radial-gradient(circle, rgba(111, 134, 255, 0.2), transparent 68%);
}

.knowledge-service-page .page-hero::after {
  background:
    radial-gradient(circle at 44% 50%, rgba(111, 134, 255, 0.28), transparent 24%),
    radial-gradient(circle, rgba(183, 255, 95, 0.13), transparent 68%);
}

.service-summary-card {
  padding: 30px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.service-summary-card > p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-summary-card dl {
  margin: 0;
}

.service-summary-card dl > div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-summary-card dl > div:first-child {
  padding-top: 0;
}

.service-summary-card dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-summary-card dt {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-summary-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.service-proof-strip {
  background: var(--accent);
}

.service-proof-strip .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-proof-strip span {
  padding: 26px 20px;
  border-right: 1px solid rgba(11, 18, 32, 0.14);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.service-proof-strip span:first-child {
  border-left: 1px solid rgba(11, 18, 32, 0.14);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(70px, 9vw, 110px);
}

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

.outcome-card > span {
  display: inline-block;
  margin-bottom: 85px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.outcome-card h3 {
  margin-bottom: 15px;
}

.outcome-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.outcome-card-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.outcome-card-accent > span,
.outcome-card-accent p {
  color: rgba(11, 18, 32, 0.66);
}

.delivery-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(65px, 10vw, 145px);
}

.delivery-heading {
  position: sticky;
  top: 115px;
  align-self: start;
}

.delivery-heading h2 {
  margin: 22px 0 28px;
}

.delivery-heading > p:last-child {
  max-width: 470px;
  color: var(--muted);
}

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

.service-process > li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-process > li > span {
  display: grid;
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 50%;
  place-items: center;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 800;
}

.service-process h3 {
  margin-bottom: 9px;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
}

.service-process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.modernization-section {
  position: relative;
  overflow: hidden;
}

.modernization-section::before {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -350px;
  bottom: -420px;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.2), transparent 68%);
  content: "";
}

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

.modernization-grid article {
  min-height: 330px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.modernization-grid span {
  display: inline-block;
  margin-bottom: 95px;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modernization-grid h3 {
  margin-bottom: 14px;
}

.modernization-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
}

.location-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(55px, 9vw, 120px);
  padding: clamp(36px, 7vw, 82px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(11, 18, 32, 0.07);
}

.location-card h2 {
  margin-top: 22px;
}

.location-card > div:last-child > p {
  color: var(--muted);
}

.location-card .text-link {
  margin-top: 12px;
}

.knowledge-system-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(70px, 9vw, 110px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.knowledge-system-layers article {
  min-height: 310px;
  padding: 28px;
  background: var(--white);
}

.knowledge-system-layers article:nth-child(2),
.knowledge-system-layers article:nth-child(4) {
  background: var(--paper-warm);
}

.knowledge-system-layers span {
  display: inline-block;
  margin-bottom: 90px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.knowledge-system-layers h3 {
  margin-bottom: 12px;
}

.knowledge-system-layers p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.related-guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-guides > a {
  display: flex;
  min-height: 340px;
  padding: 30px;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-guides > a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.related-guides span {
  margin-bottom: auto;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
}

.related-guides h3 {
  margin: 75px 0 14px;
}

.related-guides p {
  color: var(--muted);
  font-size: 0.86rem;
}

.related-guides strong {
  margin-top: 15px;
  font-size: 0.76rem;
}

/* About page */
.about-page .page-hero::after {
  width: 720px;
  height: 720px;
  top: -330px;
  right: -180px;
  background:
    radial-gradient(circle at 42% 48%, rgba(183, 255, 95, 0.2), transparent 26%),
    radial-gradient(circle, rgba(111, 134, 255, 0.2), transparent 68%);
}

.about-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.55fr);
  align-items: center;
}

.profile-signal-card {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.profile-signal-card::before {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(183, 255, 95, 0.17), transparent 70%);
  content: "";
}

.identity-orbit {
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  margin: 4px auto 32px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  place-items: center;
}

.identity-orbit::before,
.identity-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.identity-orbit::before {
  width: 132px;
  height: 132px;
}

.identity-orbit::after {
  width: 74px;
  height: 74px;
  border-color: rgba(183, 255, 95, 0.34);
}

.identity-monogram {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.identity-orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 3px solid var(--ink-soft);
  border-radius: 50%;
  box-sizing: content-box;
}

.identity-orbit i:nth-of-type(1) {
  top: 16px;
  right: 35px;
}

.identity-orbit i:nth-of-type(2) {
  right: -4px;
  bottom: 56px;
  background: var(--blue);
}

.identity-orbit i:nth-of-type(3) {
  bottom: 10px;
  left: 42px;
  background: var(--coral);
}

.profile-status {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
}

.profile-status span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(183, 255, 95, 0.09);
}

.profile-quickfacts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-quickfacts div {
  padding: 18px 12px 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-quickfacts div:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-quickfacts div:nth-child(even) {
  padding-left: 18px;
}

.profile-quickfacts dt {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-quickfacts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-metrics > div {
  min-height: 160px;
  padding: 28px 25px;
  border-right: 1px solid var(--line);
}

.about-metrics > div:first-child {
  padding-left: 0;
}

.about-metrics > div:last-child {
  border-right: 0;
}

.about-metrics strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-metrics span {
  display: block;
  max-width: 190px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.expertise-card {
  display: flex;
  min-height: 470px;
  padding: clamp(28px, 3vw, 38px);
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.expertise-card-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.expertise-card-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.expertise-number {
  align-self: flex-end;
  margin-bottom: auto;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.expertise-card-dark .expertise-number {
  color: rgba(255, 255, 255, 0.42);
}

.expertise-card h3 {
  margin: 65px 0 15px;
}

.expertise-card > p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.9rem;
}

.expertise-card-dark > p {
  color: rgba(255, 255, 255, 0.57);
}

.expertise-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.expertise-card-dark ul {
  border-color: rgba(255, 255, 255, 0.12);
}

.expertise-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.78rem;
}

.expertise-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
}

.expertise-card-dark li::before,
.expertise-card-accent li::before {
  background: var(--accent);
}

.expertise-card-accent li::before {
  background: var(--ink);
}

.career-section {
  position: relative;
  overflow: clip;
}

.career-section::before {
  position: absolute;
  width: 680px;
  height: 680px;
  bottom: -420px;
  left: -280px;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.18), transparent 68%);
  content: "";
}

.career-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(70px, 10vw, 150px);
}

.career-heading {
  position: sticky;
  top: 115px;
  align-self: start;
}

.career-heading h2 {
  margin: 22px 0 30px;
}

.career-heading > p:last-child {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.52);
}

.career-timeline {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.career-item {
  position: relative;
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 34px;
  padding: 6px 0 50px 42px;
}

.career-item::before {
  position: absolute;
  width: 11px;
  height: 11px;
  top: 10px;
  left: -6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(183, 255, 95, 0.08);
  content: "";
}

.career-item:last-child {
  padding-bottom: 0;
}

.career-period {
  margin: 1px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.71rem;
}

.career-sector {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.career-item h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.career-item div > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.91rem;
}

.stack-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(70px, 10vw, 150px);
}

.stack-layout h2 {
  margin: 22px 0 30px;
}

.stack-lead {
  max-width: 480px;
  color: var(--muted);
}

.tech-clusters {
  display: grid;
  gap: 12px;
}

.tech-cluster {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tech-cluster h3 {
  margin-bottom: 20px;
  font-size: 1rem;
}

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

.tech-tags span {
  padding: 8px 12px;
  color: var(--ink-soft);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
}

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

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

.credential-card > span {
  display: inline-flex;
  min-width: 58px;
  height: 32px;
  padding-inline: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 70px;
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.credential-card h3 {
  margin-bottom: 14px;
}

.credential-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.credential-card-wide {
  display: grid;
  min-height: auto;
  grid-column: 1 / -1;
  grid-template-columns: 90px minmax(210px, 0.7fr) 1.3fr;
  gap: 22px;
  align-items: center;
}

.credential-card-wide > span,
.credential-card-wide h3 {
  margin: 0;
}

.work-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(65px, 8vw, 100px);
  border-top: 1px solid var(--line);
}

.work-principles article {
  padding: 30px 24px 0;
  border-right: 1px solid var(--line);
}

.work-principles article:first-child {
  padding-left: 0;
}

.work-principles article:last-child {
  border-right: 0;
}

.work-principles span {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
}

.work-principles h3 {
  margin: 25px 0 12px;
  font-size: 1.1rem;
}

.work-principles p {
  color: var(--muted);
  font-size: 0.81rem;
}

[data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

@media (max-width: 1050px) {
  .primary-nav {
    gap: 19px;
  }

  .primary-nav > a:not(.button) {
    font-size: 0.8rem;
  }

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

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

  .service-card:last-child,
  .risk-card:last-child {
    grid-column: 1 / -1;
  }

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

  .flow-node:nth-child(3)::after {
    display: none;
  }

  .phase-labels {
    grid-template-columns: 1fr;
  }

  .wiki-layers {
    grid-template-columns: 1fr;
  }

  .wiki-layer {
    min-height: 250px;
  }

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

  .expertise-grid,
  .credentials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-card:last-child {
    grid-column: 1 / -1;
  }

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

  .work-principles article:nth-child(2) {
    border-right: 0;
  }

  .work-principles article:nth-child(n + 3) {
    padding-top: 42px;
  }

  .outcome-grid,
  .modernization-grid,
  .related-guides {
    grid-template-columns: 1fr 1fr;
  }

  .outcome-card:last-child,
  .modernization-grid article:last-child,
  .related-guides > a:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header,
  .site-header.is-scrolled {
    height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-last-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 70px 0 0;
    display: flex;
    padding: 42px 24px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(11, 18, 32, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.button) {
    font-size: 1.35rem;
  }

  .primary-nav .button {
    margin-top: 10px;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-grid,
  .split-intro,
  .section-heading,
  .principles-grid,
  .cta-grid,
  .page-hero-grid,
  .topic-intro,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 45px;
    padding-bottom: 75px;
  }

  .hero-visual {
    width: min(100%, 540px);
    justify-self: center;
  }

  .hero-proof {
    margin-top: 36px;
  }

  .section-heading {
    gap: 24px;
  }

  .section-heading > p {
    max-width: 600px;
  }

  .intro-copy {
    padding-top: 0;
  }

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

  .service-card:last-child,
  .risk-card:last-child {
    grid-column: auto;
  }

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

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

  .knowledge-card-aws {
    grid-column: auto;
    min-height: 540px;
  }

  .knowledge-card-aws > div:last-child {
    width: 100%;
    margin-top: auto;
  }

  .cloud-lines {
    position: static;
    width: 100%;
    height: 180px;
    margin: 25px 0;
  }

  .principle-stack article {
    grid-template-columns: 40px 140px 1fr;
  }

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

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

  .page-index-card {
    max-width: 500px;
  }

  .guide-sticky {
    position: static;
  }

  .comparison-grid,
  .source-list {
    grid-template-columns: 1fr;
  }

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

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

  .aws-cross-cutting {
    grid-template-columns: 1fr 1fr;
  }

  .profile-signal-card {
    width: min(100%, 610px);
  }

  .about-metrics {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-metrics > div:first-child,
  .about-metrics > div:nth-child(3) {
    padding-left: 0;
  }

  .expertise-grid,
  .career-layout,
  .stack-layout {
    grid-template-columns: 1fr;
  }

  .expertise-card:last-child {
    grid-column: auto;
  }

  .career-heading {
    position: static;
  }

  .credential-card-wide {
    grid-template-columns: 75px 1fr;
  }

  .credential-card-wide p {
    grid-column: 2;
  }

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

  .service-proof-strip span:nth-child(2) {
    border-right: 1px solid rgba(11, 18, 32, 0.14);
  }

  .delivery-layout,
  .location-card {
    grid-template-columns: 1fr;
  }

  .delivery-heading {
    position: static;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(3.1rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .brand-copy small {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    width: 112%;
    margin-left: -6%;
  }

  .visual-label-bottom {
    right: 4%;
  }

  .service-card,
  .knowledge-card {
    padding: 24px;
  }

  .knowledge-card {
    min-height: 500px;
  }

  .knowledge-card-aws {
    min-height: 570px;
  }

  .principle-stack article {
    grid-template-columns: 32px 1fr;
  }

  .principle-stack p {
    grid-column: 2;
  }

  .cta-panel {
    padding: 25px;
  }

  .cta-mail {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

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

  .footer-bottom {
    gap: 8px;
    flex-direction: column;
  }

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

  .flow-node {
    min-height: 140px;
  }

  .flow-node:not(:last-child)::after,
  .flow-node:nth-child(3)::after {
    display: block;
    top: auto;
    right: 50%;
    bottom: -16px;
    content: "↓";
    transform: translateX(50%);
  }

  .diagram-head {
    gap: 20px;
    flex-direction: column;
  }

  .diagram-legend {
    align-self: flex-start;
  }

  .step-list > li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .step-badge {
    width: 40px;
    height: 40px;
  }

  .comparison-card dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .operations-row {
    gap: 1px;
  }

  .source-list a {
    align-items: flex-start;
  }

  .aws-architecture,
  .aws-cross-cutting {
    grid-template-columns: 1fr;
  }

  .decision-table {
    display: block;
    overflow-x: auto;
  }

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

  .tab-list {
    overflow-x: auto;
  }

  .identity-orbit {
    width: 165px;
    height: 165px;
  }

  .identity-orbit::before {
    width: 116px;
    height: 116px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .about-metrics > div {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-metrics > div:last-child {
    border-bottom: 0;
  }

  .career-timeline {
    border-left: 0;
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 48px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .career-item::before {
    top: 3px;
    left: -6px;
  }

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

  .credential-card-wide {
    display: block;
    grid-column: auto;
  }

  .credential-card-wide > span {
    margin-bottom: 70px;
  }

  .work-principles article,
  .work-principles article:first-child,
  .work-principles article:nth-child(n + 3) {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-principles article:last-child {
    border-bottom: 0;
  }

  .article-byline {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .service-proof-strip .shell,
  .outcome-grid,
  .modernization-grid,
  .knowledge-system-layers,
  .related-guides {
    grid-template-columns: 1fr;
  }

  .service-proof-strip span,
  .service-proof-strip span:first-child,
  .service-proof-strip span:nth-child(2) {
    border-right: 1px solid rgba(11, 18, 32, 0.14);
    border-bottom: 1px solid rgba(11, 18, 32, 0.14);
    border-left: 1px solid rgba(11, 18, 32, 0.14);
  }

  .service-proof-strip span:last-child {
    border-bottom: 0;
  }

  .outcome-card:last-child,
  .modernization-grid article:last-child,
  .related-guides > a:last-child {
    grid-column: auto;
  }

  .outcome-card,
  .modernization-grid article,
  .knowledge-system-layers article,
  .related-guides > a {
    min-height: auto;
  }

  .outcome-card > span,
  .modernization-grid span,
  .knowledge-system-layers span {
    margin-bottom: 55px;
  }

  .service-process > li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .service-process > li > span {
    width: 40px;
    height: 40px;
  }
}

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

  [data-reveal].will-reveal {
    opacity: 1;
    transform: none;
  }
}
