/* ============================================================
   akuig.com marketing site — brand-forward, single-page
   Classes prefixed .ak- (from system) and .site- for this page.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--akuig-paper);
  color: var(--fg-1);
  font-family: var(--font-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Layout primitives ---------- */
.wrap  { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.wrap-md { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }
@media (max-width: 900px) { section { padding: 5rem 0; } .wrap, .wrap-md { padding: 0 1.25rem; } }

.section-head { max-width: 720px; margin: 0 0 4rem; }
.section-head.center { margin: 0 auto 4rem; text-align: center; }
.section-head.center .ak-lead { margin-left: auto; margin-right: auto; }
.section-head .ak-eyebrow { display: block; margin-bottom: 0.9rem; }
.section-head .ak-h2 { margin: 0 0 1rem; text-wrap: pretty; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,250,250,0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2);
}
.site-nav.is-scrolled { border-bottom-color: var(--line-1); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg-1);
  text-decoration: none;
  line-height: 1;
}
.nav-brand .wordmark { white-space: nowrap; }

/* akuig SVG logo mark — color via CSS */
.akuig-mark { display: inline-block; line-height: 0; }
.akuig-mark svg { height: 28px; width: auto; display: block; }
.akuig-mark .akuig-l-ink { fill: var(--fg-1); }
.akuig-mark .akuig-l-g   { fill: var(--akuig-red); }
.akuig-mark--lg svg { height: 44px; }
/* On dark surfaces (footer) */
.site-footer .akuig-mark .akuig-l-ink { fill: #FFFFFF; }
.site-footer .akuig-mark .akuig-l-g   { fill: var(--akuig-coral); }
.nav-brand .g {
  color: var(--akuig-red); font-style: italic;
}
.nav-brand .tag {
  font-family: var(--font-body); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--fg-3); font-weight: 500;
  border-left: 1px solid var(--line-2);
  padding-left: 0.75rem; margin-left: 0.25rem;
}
.nav-links {
  display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; align-items: center;
}
.nav-links a {
  color: var(--fg-2); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  transition: color var(--dur-2);
}
.nav-links a:hover { color: var(--fg-1); }

.nav-cta {
  background: var(--fg-1); color: var(--fg-inv);
  padding: 0.65rem 1.2rem; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.45rem;
  transition: background var(--dur-2), transform var(--dur-2);
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta .arrow { font-size: 0.9em; transition: transform var(--dur-2); }
.nav-cta:hover .arrow { transform: translateX(3px); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-brand { font-size: 1.6rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 9rem 0 6rem;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(232,90,79,0.12), transparent 60%),
    radial-gradient(900px 500px at 10% 95%, rgba(170,0,0,0.06), transparent 60%),
    linear-gradient(180deg, #FAFAFA 0%, #F5F2EC 100%);
  position: relative; overflow: hidden;
}
.hero-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 4rem; align-items: center;
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #fff; border: 1px solid var(--line-1);
  border-radius: var(--radius-pill); padding: 0.4rem 0.9rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2);
  box-shadow: var(--elev-1);
  text-decoration: none;
  transition: border-color var(--dur-2), color var(--dur-2), transform var(--dur-2);
}
a.hero-eyebrow:hover {
  border-color: var(--akuig-coral);
  color: var(--fg-1);
  transform: translateY(-1px);
}
.hero-eyebrow .arrow {
  font-size: 0.9em;
  opacity: 0.6;
  transition: transform var(--dur-2), opacity var(--dur-2);
}
a.hero-eyebrow:hover .arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--akuig-coral);
  box-shadow: 0 0 0 0 rgba(232,90,79,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0    rgba(232,90,79,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(232,90,79,0);    }
  100% { box-shadow: 0 0 0 0    rgba(232,90,79,0);    }
}
/* DTW promo panel (replaces old .hero-eyebrow pill) */
.hero-dtw {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line-1);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem 1rem 1rem;
  box-shadow: var(--elev-2);
  text-decoration: none;
  color: var(--fg-1);
  max-width: 42rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-2), box-shadow var(--dur-2), border-color var(--dur-2);
}
.hero-dtw:hover {
  transform: translateY(-2px);
  border-color: var(--akuig-coral);
  box-shadow: var(--elev-3);
}
.hero-dtw__accent {
  width: 4px;
  align-self: stretch;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--akuig-coral), var(--akuig-red));
}
.hero-dtw__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.hero-dtw__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}
.hero-dtw__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.hero-dtw__dates {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-1);
  padding: 0.2rem 0.55rem;
  background: var(--bg-3);
  border-radius: var(--radius-xs);
}
.hero-dtw__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg-1);
}
.hero-dtw__copy {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--fg-2);
  max-width: 32rem;
}
.hero-dtw__copy em {
  font-style: italic;
  color: var(--akuig-coral);
  font-weight: 500;
}
.hero-dtw__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--akuig-coral);
  white-space: nowrap;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-1);
  align-self: stretch;
  align-items: center;
  display: flex;
}
.hero-dtw__cta .arrow {
  transition: transform var(--dur-2);
  font-size: 0.95em;
}
.hero-dtw:hover .hero-dtw__cta .arrow {
  transform: translate(2px, -2px);
}
.hero-dtw .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--akuig-coral);
  box-shadow: 0 0 0 0 rgba(232,90,79,0.6);
  animation: pulse 1.8s infinite;
}
@media (max-width: 720px) {
  .hero-dtw {
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
  }
  .hero-dtw__cta {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--line-1);
    padding: 0.65rem 0 0 0;
    justify-content: flex-start;
  }
  .hero-dtw__headline { font-size: 1.15rem; }
}

.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.8rem, 1.8rem + 4vw, 5rem);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 1.5rem 0 1.5rem;
  color: var(--fg-1);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic; color: var(--akuig-coral);
  font-weight: 600;
}
.hero-lead {
  font-size: 1.25rem; color: var(--fg-2); line-height: 1.55;
  max-width: 38rem; margin: 0 0 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.5rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  transition: transform var(--dur-2), box-shadow var(--dur-2), background var(--dur-2), border-color var(--dur-2);
  border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--akuig-coral); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(232,90,79,0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--akuig-coral-dk);
  box-shadow: 0 12px 28px -8px rgba(232,90,79,0.6);
}
.btn-ghost {
  background: transparent; color: var(--fg-1);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--fg-1); }
.btn .arrow { transition: transform var(--dur-2); }
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-1);
  display: flex; gap: 2.25rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--fg-3);
}
.hero-meta strong { color: var(--fg-1); font-weight: 600; display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.hero-meta span { display: block; }

/* ---------- Hero animated architecture ---------- */
.hero-viz {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}
@media (max-width: 1100px) { .hero-viz { justify-self: center; max-width: 480px; } }

.viz-stack {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 0.6rem;
  padding: 1rem;
}
.viz-layer {
  background: #fff; border: 1px solid var(--line-1);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--elev-2);
  display: flex; align-items: center; gap: 0.75rem;
  transform: translateY(16px); opacity: 0;
  animation: layerIn 0.7s var(--ease-out) forwards;
}
.viz-layer:nth-child(1){ animation-delay: 0.2s; }
.viz-layer:nth-child(2){ animation-delay: 0.5s; }
.viz-layer:nth-child(3){ animation-delay: 0.8s; }
.viz-layer:nth-child(4){ animation-delay: 1.1s; }
.viz-layer:nth-child(5){ animation-delay: 1.4s; }
@keyframes layerIn {
  to { transform: translateY(0); opacity: 1; }
}
.viz-layer .dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}
.viz-layer .label {
  flex: 1; display: flex; flex-direction: column; gap: 0.1rem;
}
.viz-layer .label .eyebrow {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.viz-layer .label .title {
  font-size: 0.95rem; font-weight: 600; color: var(--fg-1);
}
.viz-layer .chips {
  display: flex; gap: 0.3rem; flex-wrap: wrap; justify-content: flex-end;
}
.viz-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-xs);
  background: var(--bg-3); color: var(--fg-2);
}
.viz-chip.coral { background: rgba(232,90,79,0.12); color: var(--akuig-coral-dk); }
.viz-chip.ink   { background: var(--fg-1);   color: #fff; }

.viz-layer.lagent .dot   { background: #8B5CF6; }
.viz-layer.lbroker .dot  { background: var(--akuig-coral); }
.viz-layer.lserver .dot  { background: var(--info); }
.viz-layer.lapi .dot     { background: var(--warn); }
.viz-layer.loss .dot     { background: var(--ok); }

.viz-flow {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent);
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden;
}
.viz-flow::after {
  content: ''; position: absolute; left: -3px; top: -20%;
  width: 8px; height: 80px;
  background: linear-gradient(180deg, transparent, var(--akuig-coral), transparent);
  animation: flow 2.8s ease-in-out infinite 1.6s;
  opacity: 0.9;
}
@keyframes flow {
  0%   { top: -20%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- The problem (dark band) ---------- */
.problem {
  background: var(--n-900); color: #fff;
}
.problem .ak-h2 { color: #fff; }
.problem .ak-lead { color: var(--n-300); }
.problem .ak-eyebrow { color: var(--akuig-coral); }

.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
  margin-top: 3.5rem;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--n-800); border: 1px solid var(--n-700);
  border-radius: var(--radius-xl); padding: 2.25rem;
}
.problem-card.bad  { border-top: 3px solid var(--danger); }
.problem-card.good { border-top: 3px solid var(--ok); }
.problem-card h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  margin: 0 0 1rem; color: #fff; font-weight: 600; letter-spacing: -0.01em;
}
.problem-card p { color: var(--n-300); margin: 0 0 1.25rem; }
.problem-card ul { list-style: none; padding: 0; margin: 0; }
.problem-card li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--n-700);
  font-size: 0.95rem; color: var(--n-200);
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.problem-card li:last-child { border-bottom: none; }
.problem-card.bad li::before  { content: '✕'; color: var(--danger); font-weight: 700; flex-shrink: 0; }
.problem-card.good li::before { content: '→'; color: var(--akuig-coral); font-weight: 700; flex-shrink: 0; }

.problem-stat {
  margin-top: 4rem;
  display: grid; grid-template-columns: auto 1fr; gap: 2rem;
  align-items: center;
  padding: 2rem 2.5rem;
  background: linear-gradient(120deg, rgba(232,90,79,0.12), rgba(232,90,79,0.02));
  border: 1px solid rgba(232,90,79,0.25);
  border-radius: var(--radius-xl);
}
@media (max-width: 700px) { .problem-stat { grid-template-columns: 1fr; text-align: center; } }
.problem-stat .num {
  font-family: var(--font-display); font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  font-weight: 700; color: var(--akuig-coral); line-height: 1;
  letter-spacing: -0.03em;
}
.problem-stat .txt {
  font-size: 1.05rem; color: var(--n-200); max-width: 520px;
}
.problem-stat .txt strong { color: #fff; }

/* ---------- Tiers ---------- */
.tiers {
  background: linear-gradient(180deg, #F5F2EC 0%, #FAFAFA 100%);
}
.tier-row {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 1000px) { .tier-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tier-row { grid-template-columns: 1fr; } }

.tier-axis {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-3);
  padding: 0 0.5rem; margin-bottom: 1.5rem;
}
.tier-axis::before, .tier-axis::after { content: ''; }
.tier-axis .axis-line {
  flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--akuig-coral));
  margin: 0 1rem;
}

.tier {
  background: #fff; border: 1px solid var(--line-1);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  transition: transform var(--dur-3), box-shadow var(--dur-3), border-color var(--dur-3);
  position: relative; overflow: hidden;
}
.tier::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--tier-color, var(--akuig-coral));
}
.tier:hover {
  transform: translateY(-4px); box-shadow: var(--elev-3);
  border-color: var(--line-2);
}
.tier .num {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  color: var(--tier-color, var(--akuig-coral));
  letter-spacing: 0.1em;
}
.tier h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  margin: 0.5rem 0 0.3rem; letter-spacing: -0.01em;
}
.tier .risk {
  font-size: 0.78rem; color: var(--fg-3); margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500;
}
.tier p {
  font-size: 0.92rem; color: var(--fg-2); margin: 0 0 1.25rem; line-height: 1.5;
}
.tier ul { list-style: none; padding: 0; margin: 0; }
.tier li {
  padding: 0.4rem 0; font-size: 0.85rem; color: var(--fg-1);
  display: flex; gap: 0.5rem;
}
.tier li::before {
  content: '→'; color: var(--tier-color, var(--akuig-coral));
  font-weight: 700;
}
.tier.t1 { --tier-color: var(--info); }
.tier.t2 { --tier-color: var(--ok); }
.tier.t3 { --tier-color: var(--akuig-coral); }
.tier.t4 { --tier-color: var(--violet); }

/* ---------- Architecture (full stack) ---------- */
.arch {
  background: #0A0A0A; color: #fff;
  position: relative; overflow: hidden;
}
.arch::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(232,90,79,0.1), transparent 60%),
    radial-gradient(700px 400px at 80% 80%, rgba(139,92,246,0.08), transparent 60%);
  pointer-events: none;
}
.arch .ak-h2 { color: #fff; }
.arch .ak-lead { color: var(--n-300); }
.arch .ak-eyebrow { color: var(--akuig-coral); }

.arch-stack {
  position: relative; z-index: 1;
  max-width: 900px; margin: 3.5rem auto 0;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.arch-layer {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--layer-color, var(--akuig-coral));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: transform var(--dur-3), background var(--dur-3);
  opacity: 0; transform: translateY(20px);
}
.arch-layer.is-visible { opacity: 1; transform: translateY(0); }
.arch-layer:hover { background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)); }

.arch-layer .head {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.arch-layer .head .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--layer-color, var(--akuig-coral));
  box-shadow: 0 0 12px var(--layer-color, var(--akuig-coral));
  flex-shrink: 0;
}
.arch-layer .head .eyebrow {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--layer-color, var(--akuig-coral));
}
.arch-layer h4 {
  margin: 0; font-family: var(--font-display); font-size: 1.25rem;
  color: #fff; font-weight: 600; letter-spacing: -0.01em;
}
.arch-layer .chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.arch-chip {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  padding: 0.35rem 0.7rem; border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--n-200);
}
.arch-chip.accent { background: rgba(232,90,79,0.15); border-color: rgba(232,90,79,0.3); color: #FCA5A5; }

.arch-layer.l1 { --layer-color: #8B5CF6; }
.arch-layer.l2 { --layer-color: var(--akuig-coral); }
.arch-layer.l3 { --layer-color: var(--info); }
.arch-layer.l4 { --layer-color: var(--warn); }
.arch-layer.l5 { --layer-color: var(--ok); }

/* ---------- Servers grid ---------- */
.servers {
  background: #fff;
}
.servers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 980px) { .servers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .servers-grid { grid-template-columns: 1fr; } }
.server {
  background: var(--bg-3); border: 1px solid var(--line-1);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: transform var(--dur-3), box-shadow var(--dur-3), border-color var(--dur-3);
}
.server:hover {
  transform: translateY(-3px); box-shadow: var(--elev-3);
  border-color: var(--akuig-coral);
}
.server .tag {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  color: var(--akuig-coral-dk); background: rgba(232,90,79,0.1);
  padding: 0.25rem 0.55rem; border-radius: var(--radius-xs);
  display: inline-block; letter-spacing: 0.04em;
}
.server h4 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  margin: 0.75rem 0 0.4rem; letter-spacing: -0.01em;
}
.server p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--fg-2); line-height: 1.55; }
.server .tools {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line-1); padding-top: 0.85rem;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--fg-3);
}
.server .tools li { padding: 0.2rem 0; display: flex; gap: 0.5rem; align-items: center; }
.server .tools li::before { content: '→'; color: var(--akuig-coral); }

/* ---------- Security pillars ---------- */
.security { background: var(--bg-3); }
.sec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: 1fr; } }
.pillar {
  background: #fff; border: 1px solid var(--line-1);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color var(--dur-2);
}
.pillar:hover { border-color: var(--akuig-coral); }
.pillar .icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--akuig-coral), var(--akuig-coral-dk));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
  margin-bottom: 1rem;
}
.pillar h4 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  margin: 0 0 0.35rem;
}
.pillar p { margin: 0; font-size: 0.88rem; color: var(--fg-2); line-height: 1.5; }

/* ---------- Standards / API strip ---------- */
.standards { background: #fff; }
.std-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-top: 3rem;
}
.std {
  background: var(--bg-3); border: 1px solid var(--line-1);
  border-radius: var(--radius-md); padding: 1.1rem 1.25rem;
}
.std .title {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-3); margin-bottom: 0.6rem;
}
.std .tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.std .tag {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-xs);
  background: var(--fg-1); color: #fff;
}
.std .tag.camara { background: var(--violet); }
.std .tag.net { background: var(--akuig-coral); }
.std .tag.itsm { background: var(--info); }

/* ---------- Final CTA ---------- */
.cta {
  background: #0A0A0A;
  padding: 6rem 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 50% 120%, rgba(232,90,79,0.2), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  max-width: 900px; margin: 0 auto; padding: 0 2rem;
  text-align: center; position: relative; z-index: 1;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  line-height: 1.05; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 1.25rem;
  text-wrap: balance;
}
.cta h2 em { color: var(--akuig-coral); font-style: italic; }
.cta p { color: var(--n-300); font-size: 1.15rem; margin: 0 0 2.25rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: inline-flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.cta .btn-primary { padding: 1.1rem 1.8rem; font-size: 1.02rem; }
.cta .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,0.25);
}
.cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0A0A0A; color: var(--n-400);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--n-800);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .wordmark {
  font-family: var(--font-display); font-size: 2.25rem; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  color: #fff;
}
.footer-brand .wordmark .g { color: var(--akuig-coral); font-style: italic; }
.footer-brand p {
  color: var(--n-400); font-size: 0.9rem; line-height: 1.5;
  margin: 1rem 0 1.5rem; max-width: 22rem;
}
.footer-brand .tmf-chip {
  display: inline-flex; align-items: center;
  background: #F3EFE6; border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
}
.footer-brand .tmf-chip img { height: 40px; width: auto; display: block; }

.footer-col h5 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  color: #fff; text-transform: uppercase; letter-spacing: 0.12em;
  margin: 0.5rem 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0.3rem 0; }
.footer-col a { color: var(--n-400); text-decoration: none; font-size: 0.9rem; transition: color var(--dur-2); }
.footer-col a:hover { color: #fff; }

.footer-bar {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--n-800);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ VIDEO SECTION ============ */
.video-section {
  background: linear-gradient(180deg, #FAFAFA 0%, #F5F2EC 100%);
  padding: 6rem 0 5rem;
  position: relative;
}
.video-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(232,90,79,0.06), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(10,10,10,0.04), transparent 40%);
  pointer-events: none;
}
.section-head--center { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.section-head--center .ak-lead { margin-left: auto; margin-right: auto; }

.video-player {
  position: relative;
  max-width: 1040px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(10,10,10,0.06),
    0 24px 60px -12px rgba(10,10,10,0.25),
    0 8px 24px -8px rgba(232,90,79,0.15);
  background: #0A0A0A;
  isolation: isolate;
}

/* Poster */
.video-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  cursor: pointer;
  background: radial-gradient(ellipse at 30% 40%, #1a1a1a 0%, #0A0A0A 70%);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 2rem 2.5rem;
  transition: transform 0.4s var(--ease-out);
  z-index: 2;
}
.video-poster:hover { transform: scale(1.005); }
.video-poster:focus-visible { outline: 2px solid var(--akuig-coral); outline-offset: -4px; }

/* Decorative stack preview in the poster */
.video-poster-stack {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  display: flex; flex-direction: column;
  gap: 10px;
  width: 60%;
  max-width: 440px;
  opacity: 0.8;
}
.vps-row {
  display: flex; align-items: center; gap: 12px;
  height: 38px;
  padding: 0 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}
.vps-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--d);
  box-shadow: 0 0 12px var(--d);
  flex: 0 0 auto;
}
.vps-line {
  flex: 1; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
}
.video-poster-stack .vps-row:nth-child(2) {
  background: rgba(232,90,79,0.08);
  border-color: rgba(232,90,79,0.25);
}

/* Play button */
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--akuig-coral);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px; /* optical center on triangle */
  box-shadow:
    0 0 0 12px rgba(232,90,79,0.15),
    0 0 0 24px rgba(232,90,79,0.08),
    0 16px 40px -8px rgba(232,90,79,0.5);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.video-poster:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 0 0 16px rgba(232,90,79,0.18),
    0 0 0 32px rgba(232,90,79,0.08),
    0 24px 60px -8px rgba(232,90,79,0.6);
}

.video-label {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  text-align: left;
}
.video-label-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.video-label-meta {
  font-family: var(--font-mono, var(--font-body));
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* Frame (injected iframe goes here) */
.video-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: #0A0A0A;
}
.video-frame iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}
.video-player.is-playing .video-poster { display: none; }

@media (max-width: 720px) {
  .video-section { padding: 4rem 0 3rem; }
  .video-poster { padding: 1.25rem 1.5rem; }
  .video-play { width: 64px; height: 64px; }
  .video-label-title { font-size: 1rem; }
  .video-poster-stack { width: 80%; gap: 6px; }
  .vps-row { height: 28px; }
}
