:root {
  --paper: #f7f7f4;
  --panel: #ffffff;
  --ink: #141516;
  --muted: #5c5f62;
  --line: #d6d8d8;
  --soft: #ecece8;
  --deep: #292c2e;
  --bluegrey: #69747b;
  --warm: #b9b4aa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Aptos", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  padding: 10px 14px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 21, 22, 0.1);
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100vw - 40px));
  min-height: 68px;
  margin: 0 auto;
}

.brand {
  display: grid;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 10.5px;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.site-nav a {
  border: 1px solid transparent;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--line);
  background: var(--soft);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(41, 44, 46, 0.35);
  outline-offset: 3px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  padding: 3px;
  background: rgba(255, 255, 255, 0.58);
}

.language-switcher button {
  min-width: 36px;
  border: 0;
  padding: 7px 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--deep);
  color: #fff;
}

.lang {
  display: none;
}

body[data-lang="id"] .lang-id,
body[data-lang="zh"] .lang-zh,
body[data-lang="en"] .lang-en {
  display: block;
}

.site-nav .lang,
.button .lang,
.chip .lang,
.runtime-strip .lang,
.reason .lang,
.structure-child .lang,
.structure-main .lang,
.tile strong .lang,
.tile span .lang,
label .lang,
option .lang {
  display: none;
}

body[data-lang="id"] .site-nav .lang-id,
body[data-lang="zh"] .site-nav .lang-zh,
body[data-lang="en"] .site-nav .lang-en,
body[data-lang="id"] .button .lang-id,
body[data-lang="zh"] .button .lang-zh,
body[data-lang="en"] .button .lang-en,
body[data-lang="id"] .chip .lang-id,
body[data-lang="zh"] .chip .lang-zh,
body[data-lang="en"] .chip .lang-en,
body[data-lang="id"] .runtime-strip .lang-id,
body[data-lang="zh"] .runtime-strip .lang-zh,
body[data-lang="en"] .runtime-strip .lang-en,
body[data-lang="id"] .reason .lang-id,
body[data-lang="zh"] .reason .lang-zh,
body[data-lang="en"] .reason .lang-en,
body[data-lang="id"] .structure-child .lang-id,
body[data-lang="zh"] .structure-child .lang-zh,
body[data-lang="en"] .structure-child .lang-en,
body[data-lang="id"] .structure-main .lang-id,
body[data-lang="zh"] .structure-main .lang-zh,
body[data-lang="en"] .structure-main .lang-en,
body[data-lang="id"] .tile strong .lang-id,
body[data-lang="zh"] .tile strong .lang-zh,
body[data-lang="en"] .tile strong .lang-en,
body[data-lang="id"] .tile span .lang-id,
body[data-lang="zh"] .tile span .lang-zh,
body[data-lang="en"] .tile span .lang-en,
body[data-lang="id"] label .lang-id,
body[data-lang="zh"] label .lang-zh,
body[data-lang="en"] label .lang-en {
  display: inline;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#runtime-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100vw - 40px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 72px 0 92px;
}

.hero-media {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 12vh;
  z-index: 1;
  width: min(430px, 32vw);
  border: 1px solid rgba(214, 216, 216, 0.9);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  object-position: 58% 55%;
  filter: saturate(0.78) contrast(0.94);
  opacity: 0.9;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 12px solid rgba(247, 247, 244, 0.32);
  pointer-events: none;
}

.eyebrow {
  color: var(--bluegrey);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.96;
}

.hero-subtitle {
  margin-top: 22px;
  color: var(--deep);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 650;
}

.hero-logo {
  display: block;
  width: min(380px, 62vw);
  height: auto;
  margin-bottom: 28px;
}

.hero-line {
  margin-top: 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--ink);
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

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

.runtime-strip {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.runtime-strip span,
.chip {
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: rgba(247, 247, 244, 0.75);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section.compact {
  padding: 66px 0;
}

.statement {
  max-width: 980px;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.08;
}

.cn-note,
.lead {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.visual-band {
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.visual-band img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 12px;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.tile {
  min-height: 210px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}

.tile strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
}

.tile span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.brand-matrix {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-tile {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.brand-tile .product-logo,
.brand-tile.vlingo-tile img {
  width: min(220px, 100%);
  min-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand-tile .aeos-logo {
  width: min(205px, 100%);
}

.tile-link {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid var(--ink);
  padding-top: 24px;
  padding-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.tile-link .lang {
  display: none;
  margin: 0;
  color: inherit;
  font: inherit;
}

body[data-lang="id"] .tile-link .lang-id,
body[data-lang="zh"] .tile-link .lang-zh,
body[data-lang="en"] .tile-link .lang-en {
  display: inline;
}

.tile-link:hover {
  color: var(--bluegrey);
}

.solution-tile {
  grid-column: span 2;
  background: var(--deep);
  color: #fff;
}

.solution-tile span,
.solution-tile .tile-link {
  color: var(--soft);
}

.solution-tile .tile-link {
  border-bottom-color: var(--soft);
}

.vlingo-tile img,
.logo-showcase img {
  display: block;
  max-width: min(260px, 100%);
  height: auto;
}

.vlingo-tile img {
  width: min(320px, 100%);
  max-width: 100%;
}

.logo-showcase {
  display: grid;
  align-content: center;
  min-height: 260px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 34px;
}

.compact-logo {
  min-height: auto;
  padding: 22px;
}

.compact-logo img {
  width: min(360px, 100%);
  max-width: 100%;
}

.logo-on-dark {
  background: var(--deep);
}

.logo-on-dark img {
  content: url("vlingo-logo-bw-white.svg");
}

.logo-on-light img {
  content: url("vlingo-logo-bw.svg");
}

.kernel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.kernel-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  background: #fbfbf8;
  overflow: hidden;
}

.kernel-center,
.kernel-node {
  position: absolute;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 750;
}

.kernel-center {
  left: 50%;
  top: 50%;
  width: 230px;
  transform: translate(-50%, -50%);
  background: var(--deep);
  color: #fff;
  text-align: center;
}

.kernel-node:nth-child(2) {
  left: 32px;
  top: 42px;
}

.kernel-node:nth-child(3) {
  right: 32px;
  top: 58px;
}

.kernel-node:nth-child(4) {
  left: 54px;
  bottom: 54px;
}

.kernel-node:nth-child(5) {
  right: 42px;
  bottom: 42px;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.reason {
  border-top: 2px solid var(--deep);
  padding-top: 16px;
  color: var(--deep);
  font-size: 17px;
  font-weight: 750;
}

.structure {
  display: grid;
  gap: 14px;
  max-width: 740px;
  margin-top: 34px;
}

.structure-main,
.structure-child {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
}

.structure-main {
  background: var(--deep);
  color: #fff;
}

.structure-arrow {
  color: var(--muted);
  font-size: 28px;
  text-align: center;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cta {
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: #fff;
}

.cta .section {
  padding: 74px 0;
}

.cta p {
  margin-top: 12px;
  color: var(--soft);
}

.cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--deep);
}

.cta .button.secondary {
  background: transparent;
  color: #fff;
}

.strategy-manifesto {
  border-bottom: 1px solid var(--line);
}

.page-hero {
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  padding-top: 88px;
  padding-bottom: 72px;
}

.page-title {
  max-width: min(1080px, 100%);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
  text-wrap: balance;
}

.statement,
.hero-subtitle {
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
  text-wrap: balance;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.device-visual,
.product-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.device-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.product-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.78) contrast(0.97);
}

.product-gallery figcaption {
  border-top: 1px solid var(--line);
  padding: 13px 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stack {
  display: grid;
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}

.panel h3 {
  font-size: 19px;
}

.panel p,
.panel li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.panel p {
  margin-top: 10px;
}

.panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.capability-grid,
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.capabilities {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ip-capabilities {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability {
  min-height: 190px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}

.capability .number {
  display: block;
  color: var(--bluegrey);
  font-size: 11px;
  font-weight: 800;
}

.capability h3 {
  margin-top: 18px;
  font-size: 19px;
}

.capability p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.product-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fdfdfb;
}

.ip-section {
  border: 1px solid var(--line);
  padding: 48px;
  background: #fbfbf8;
}

.ip-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.ip-strip span {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

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

.flow-step {
  border: 1px solid var(--line);
  padding: 16px;
  background: var(--paper);
  color: var(--deep);
  font-size: 13px;
  font-weight: 750;
  min-height: 78px;
}

.meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.meaning-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}

.meaning-letter {
  display: block;
  color: var(--deep);
  font-size: 42px;
  font-weight: 850;
  line-height: 1;
}

.meaning-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.contact-link {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.company-contact .company-name {
  color: var(--ink);
  font-weight: 750;
}

.company-contact address {
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.75;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #8b2f2f;
  font-size: 12px;
}

.product-site-cta {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.product-site-cta .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 46px;
}

.product-site-cta .statement {
  max-width: 780px;
  font-size: clamp(22px, 3vw, 34px);
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  margin-top: 40px;
  font-size: 24px;
}

.legal-copy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.footer-meta,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 920px) {
  .nav-inner,
  .page-grid,
  .feature-split,
  .kernel {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .language-switcher {
    grid-column: 1 / -1;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-media {
    right: 20px;
    bottom: 28px;
    width: min(360px, calc(100vw - 40px));
    opacity: 0.55;
  }

  .matrix,
  .brand-matrix,
  .reasons,
    .structure-grid,
    .capability-grid,
    .capabilities,
    .ip-capabilities,
    .product-flow,
    .meaning-grid,
    .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-visual img {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .matrix,
  .brand-matrix,
  .reasons,
  .structure-grid,
  .capability-grid,
  .capabilities,
  .ip-capabilities,
  .product-flow,
  .meaning-grid,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .solution-tile {
    grid-column: auto;
  }

  .runtime-strip {
    left: 20px;
    right: 20px;
  }

  h1 {
    font-size: 42px;
  }

  .ip-section {
    padding: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-inner {
    display: grid;
  }

  .footer-meta,
  .footer-links {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .product-site-cta .section {
    grid-template-columns: 1fr;
  }
}
