:root {
  --navy: #0d1b2a;
  --navy-2: #13263b;
  --charcoal: #24313f;
  --muted: #667383;
  --gold: #b28a46;
  --gold-dark: #8e6c34;
  --gold-soft: #efe7d8;
  --line: #dfe5eb;
  --line-dark: rgba(255,255,255,.14);
  --surface: #f5f7f9;
  --surface-2: #eef2f5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 31, 48, .08);
  --shadow-sm: 0 10px 28px rgba(16, 31, 48, .06);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
  padding: 0;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
section[id] { scroll-margin-top: 90px; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--gold-dark);
  font-size: .78rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.03em;
}

h1 {
  font-size: clamp(2.65rem, 5vw, 5.15rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.55rem);
  max-width: 790px;
}

h3 { font-size: 1.25rem; }
p { margin: 0; }

.section-copy {
  margin-top: 20px;
  max-width: 790px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: 105px 0;
}

.section.soft {
  background: var(--surface);
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

.section.dark {
  color: rgba(255,255,255,.78);
  background:
    radial-gradient(circle at 80% 8%, rgba(178,138,70,.12), transparent 27%),
    linear-gradient(145deg, #0c1927, #12273b 65%, #0b1927);
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section.dark .eyebrow { color: #d2b77f; }
.section.dark .section-copy { color: rgba(255,255,255,.68); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 750;
  font-size: .95rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

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

.btn-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(13,27,42,.16);
}

.btn-primary:hover { background: #172c43; }

.btn-gold {
  color: #16130d;
  background: #c5a15e;
  box-shadow: 0 10px 22px rgba(178,138,70,.18);
}

.btn-gold:hover { background: #d0ae6b; }

.btn-secondary {
  color: var(--navy);
  background: transparent;
  border-color: #cfd7df;
}

.btn-secondary:hover {
  border-color: #9ba8b5;
  background: #f9fafb;
}

.btn-dark-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.04);
}

.btn-dark-secondary:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.36);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(218,224,230,.88);
}

.admin-bar .site-header {
  top: 32px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

footer .brand-mark {
  padding: 5px;
  border-radius: 10px;
  background: #fff;
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  line-height: 1.05;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.025em;
}

.brand-name span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
  min-width: 0;
  white-space: nowrap;
}

.main-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.main-nav .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.main-nav .sub-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
  white-space: normal;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.submenu-open > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.main-nav .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 10px);
}

.main-nav .sub-menu .menu-item-has-children > a {
  justify-content: space-between;
}

.main-nav .sub-menu .menu-item-has-children > a::after {
  transform: rotate(-45deg);
}

.main-nav .sub-menu a:not(.btn) {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  white-space: normal;
}

.main-nav .sub-menu a:not(.btn):hover,
.main-nav .sub-menu a:not(.btn):focus {
  background: var(--soft);
}

.submenu-toggle {
  display: none;
}

.main-nav li.btn > a,
.main-nav li.btn-primary > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(13,27,42,.16);
  font-weight: 750;
  font-size: .86rem;
}

.main-nav li.btn > a:hover,
.main-nav li.btn-primary > a:hover {
  background: #172c43;
}

.main-nav li {
  list-style: none;
  position: relative;
}

.footer-links li {
  list-style: none;
}

.main-nav a:not(.btn) {
  color: #40505f;
  font-size: .86rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: .86rem;
  white-space: nowrap;
}

.main-nav a:not(.btn):hover { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: .2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 86px;
  border-bottom: 1px solid #e8ecef;
  background:
    radial-gradient(circle at 76% 23%, rgba(178,138,70,.1), transparent 28%),
    linear-gradient(#fff, #fbfcfd);
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -160px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(178,138,70,.11);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
  gap: 68px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy .lead {
  margin-top: 25px;
  max-width: 760px;
  color: #566575;
  font-size: clamp(1.12rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-copy .detail {
  margin-top: 19px;
  max-width: 800px;
  color: var(--muted);
  font-size: 1rem;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 26px;
  margin-top: 34px;
  color: #586776;
  font-size: .88rem;
  font-weight: 650;
}

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

.hero-proof i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(178,138,70,.1);
}

.architecture-card {
  position: relative;
  min-height: 520px;
  border: 1px solid #dce2e8;
  border-radius: 24px;
  background:
    linear-gradient(rgba(13,27,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,42,.035) 1px, transparent 1px),
    #f8fafb;
  background-size: 32px 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.architecture-card::before {
  content: "APPLICATION INFRASTRUCTURE";
  position: absolute;
  top: 18px;
  left: 22px;
  color: #8090a0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.arch-node {
  position: absolute;
  z-index: 2;
  padding: 13px 15px;
  min-width: 122px;
  border: 1px solid #d6dde4;
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(20,37,54,.08);
  color: #293847;
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}

.arch-node small {
  display: block;
  margin-top: 3px;
  color: #84909c;
  font-weight: 600;
}

.arch-node.accent {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.arch-node.gold {
  background: #fbf7ee;
  border-color: #dbc89e;
}

.arch-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.arch-svg line {
  stroke: #b9c4ce;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .95;
}

.arch-svg circle {
  fill: #c7d1db;
  opacity: .95;
}

.n1 { top: 18%; left: 50%; transform: translate(-50%, -50%); }
.n2 { top: 40%; left: 20%; transform: translate(-50%, -50%); }
.n3 { top: 40%; left: 80%; transform: translate(-50%, -50%); }
.n4 { top: 64%; left: 20%; transform: translate(-50%, -50%); }
.n5 { top: 64%; left: 50%; transform: translate(-50%, -50%); }
.n6 { top: 64%; left: 80%; transform: translate(-50%, -50%); }
.n7 { top: 86%; left: 50%; transform: translate(-50%, -50%); }

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 75px;
  align-items: start;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.process-line .item {
  position: relative;
  padding: 24px 18px;
  min-height: 135px;
  border-right: 1px solid var(--line);
}

.process-line .item:last-child { border-right: none; }

.process-line .num {
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.process-line strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  line-height: 1.35;
}

.cards {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(17,32,48,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #cad2da;
  box-shadow: 0 18px 40px rgba(17,32,48,.08);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border: 1px solid #ded6c5;
  border-radius: 10px;
  background: #fbf8f1;
  color: var(--gold-dark);
}

.icon-box svg { width: 22px; height: 22px; }

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: .95rem;
}

.service-card {
  min-height: 100%;
  padding: 31px;
}

.service-card .meta {
  margin-bottom: 14px;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.service-card h3 { font-size: 1.35rem; }
.service-card p { margin-top: 14px; }

.architecture-section-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-top: 28px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .92rem;
}

.feature-list span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #c6a15e;
}

.quote-note {
  margin-top: 29px;
  padding: 21px 23px;
  border-left: 3px solid #c6a15e;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.87);
  font-size: .96rem;
}

.stack-visual {
  position: relative;
  min-height: 510px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(198,161,94,.12), transparent 28%),
    rgba(255,255,255,.035);
  overflow: hidden;
}

.stack-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.r1 { width: 170px; height: 170px; }
.r2 { width: 300px; height: 300px; }
.r3 { width: 430px; height: 430px; }

.stack-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198,161,94,.45);
  border-radius: 50%;
  background: #0f2235;
  box-shadow: 0 0 0 18px rgba(198,161,94,.045);
  color: #fff;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.25;
}

.stack-badge {
  position: absolute;
  min-width: 135px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(12,25,39,.92);
  color: #e7edf2;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 22px rgba(0,0,0,.15);
}

.sb1 { top: 49px; left: 50%; transform: translateX(-50%); }
.sb2 { top: 133px; right: 37px; }
.sb3 { bottom: 111px; right: 50px; }
.sb4 { bottom: 40px; left: 50%; transform: translateX(-50%); }
.sb5 { bottom: 111px; left: 50px; }
.sb6 { top: 133px; left: 37px; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 45px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 28px 23px;
  border-top: 2px solid #d4b87f;
  background: #fff;
  box-shadow: 0 9px 24px rgba(16,31,48,.045);
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 19px;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
}

.step p {
  margin-top: 11px;
  color: var(--muted);
  font-size: .9rem;
}

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

.capability {
  min-height: 225px;
  padding: 29px;
  background: #fff;
}

.capability .small-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--gold-dark);
  font-weight: 850;
}

.capability p {
  margin-top: 11px;
  color: var(--muted);
  font-size: .9rem;
}

.case-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  margin-top: 46px;
}

.case-main,
.case-side {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.case-main { padding: 40px; }
.case-side { padding: 33px; }

.case-kicker {
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.case-main h3 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.case-main p,
.case-side p {
  margin-top: 17px;
  color: var(--muted);
}

.solution-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.solution-flow span {
  padding: 9px 12px;
  border: 1px solid #d9e0e6;
  border-radius: 999px;
  background: #fafbfc;
  color: #4d5b68;
  font-size: .78rem;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 70px;
  align-items: center;
}

.why-points {
  display: grid;
  gap: 13px;
  margin-top: 29px;
}

.why-point {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.why-point strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
}

.why-point p {
  margin-top: 5px;
  color: var(--muted);
  font-size: .92rem;
}

.system-map {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(rgba(13,27,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,42,.035) 1px, transparent 1px),
    #f9fafb;
  background-size: 30px 30px;
  overflow: hidden;
}

.system-map .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(13,27,42,.18);
}

.sys {
  position: absolute;
  min-width: 122px;
  padding: 12px 14px;
  border: 1px solid #d6dde4;
  border-radius: 9px;
  background: #fff;
  color: #465565;
  font-size: .78rem;
  font-weight: 720;
  text-align: center;
  box-shadow: 0 9px 22px rgba(17,32,48,.07);
}

.s1 { top: 38px; left: 50%; transform: translateX(-50%); }
.s2 { top: 112px; right: 36px; }
.s3 { bottom: 70px; right: 48px; }
.s4 { bottom: 35px; left: 50%; transform: translateX(-50%); }
.s5 { bottom: 70px; left: 48px; }
.s6 { top: 112px; left: 36px; }

.compare-wrap {
  margin-top: 45px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 21px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare tr:last-child td { border-bottom: none; }
.compare th:last-child,
.compare td:last-child { border-right: none; }

.compare th {
  color: var(--navy);
  background: #f7f9fa;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.compare th.featured {
  color: #fff;
  background: var(--navy);
}

.compare td {
  color: #5d6b79;
  font-size: .92rem;
}

.compare td.featured {
  color: #263747;
  background: #fbfaf7;
  font-weight: 650;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  color: rgba(255,255,255,.72);
  background: var(--navy);
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(198,161,94,.16);
  border-radius: 50%;
}

.final-cta::before {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -210px;
}

.final-cta::after {
  width: 280px;
  height: 280px;
  right: 25px;
  bottom: -160px;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 55px;
  align-items: center;
}

.final-cta h2 {
  color: #fff;
  max-width: 720px;
}

.final-cta p {
  margin-top: 17px;
  max-width: 730px;
  font-size: 1.03rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 235px;
}

footer {
  padding: 65px 0 30px;
  color: #74818d;
  background: #08131f;
}

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

.footer-brand p {
  margin-top: 18px;
  max-width: 410px;
  color: #84909b;
  font-size: .9rem;
}

.footer-title {
  margin-bottom: 17px;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-menu {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #99a3ad;
  font-size: .88rem;
  transition: color .2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #77838e;
  font-size: .8rem;
}

.content-wrap {
  max-width: 860px;
}

.archive-header {
  margin-bottom: 42px;
}

.entry-card {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.entry-card:first-child {
  padding-top: 0;
}

.entry-card:last-child {
  border-bottom: none;
}

.entry-title a {
  color: inherit;
}

.entry-content {
  margin-top: 20px;
  color: var(--muted);
}

.entry-content > * + * {
  margin-top: 1.1em;
}

.entry-thumbnail {
  margin-top: 24px;
}

.entry-thumbnail img {
  display: block;
  border-radius: var(--radius);
}

.pagination,
.post-navigation {
  margin-top: 42px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .architecture-section-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 48px; }
  .architecture-card { max-width: 760px; width: 100%; margin: 0 auto; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .case-layout { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-wrap { height: 70px; }

  .main-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    white-space: normal;
  }

  .main-nav-list {
    display: grid;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .main-nav.open { display: flex; }

  .main-nav .menu-item-has-children > a {
    padding-right: 48px;
  }

  .main-nav .menu-item-has-children > a::after {
    display: none;
  }

  .main-nav .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 6px 12px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
    visibility: visible;
  }

  .main-nav .sub-menu .sub-menu {
    margin-left: 12px;
  }

  .main-nav li.submenu-open > .sub-menu {
    display: grid;
  }

  .main-nav .sub-menu a:not(.btn) {
    padding: 11px 12px;
  }

  .submenu-toggle {
    position: absolute;
    top: 3px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
  }

  .submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
  }

  .submenu-open > .submenu-toggle::before {
    transform: translateY(2px) rotate(225deg);
  }

  .main-nav a:not(.btn) {
    display: block;
    padding: 13px 12px;
    border-radius: 8px;
    font-size: .92rem;
  }

  .main-nav .btn {
    margin-top: 8px;
    min-height: 48px;
    font-size: .9rem;
  }

  .nav-toggle { display: block; }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .hero { padding: 65px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .architecture-card {
    min-height: 465px;
  }

  .arch-node { min-width: 108px; padding: 11px; font-size: .7rem; }

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

  .process-line .item {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .process-line .item:last-child { border-bottom: none; }

  .cards.three,
  .cards.two,
  .steps,
  .capabilities,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .capabilities {
    gap: 1px;
  }

  .stack-visual { min-height: 440px; }
  .r3 { width: 360px; height: 360px; }
  .r2 { width: 260px; height: 260px; }
  .sb2 { right: 16px; }
  .sb3 { right: 22px; }
  .sb5 { left: 22px; }
  .sb6 { left: 16px; }

  .case-main { padding: 30px; }
  .case-side { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

@media (max-width: 520px) {
  .brand-name span { display: none; }
  .architecture-card { min-height: 430px; }
  .arch-node { min-width: 92px; font-size: .64rem; }
  .stack-badge { min-width: 112px; padding: 10px; font-size: .69rem; }
  .r3 { width: 320px; height: 320px; }
  .stack-core { width: 125px; height: 125px; font-size: .88rem; }
  .system-map { min-height: 390px; }
  .sys { min-width: 105px; font-size: .7rem; }
  .s2 { right: 16px; }
  .s3 { right: 20px; }
  .s5 { left: 20px; }
  .s6 { left: 16px; }
}
