:root {
  --ink: #18212f;
  --muted: #657184;
  --line: #dce2ea;
  --soft: #f4f7fa;
  --paper: #ffffff;
  --accent: #0f8b8d;
  --accent-dark: #0a6466;
  --gold: #c9932f;
  --navy: #26364f;
  --shadow: 0 18px 48px rgba(20, 32, 48, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links .active {
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--accent-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(17, 25, 35, 0.9) 0%, rgba(17, 25, 35, 0.76) 42%, rgba(17, 25, 35, 0.08) 100%),
    url("assets/advertex-hero.png");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-inner,
.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  min-height: 620px;
  display: grid;
  align-content: center;
  padding: 72px 0 86px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin: 0 0 30px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-item {
  padding: 24px;
  background: white;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

section {
  padding: 76px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.section-head p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 18px;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: white;
  box-shadow: 0 10px 24px rgba(20, 32, 48, 0.05);
}

.card h3 {
  margin: 0 0 10px;
}

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

.card ul,
.content ul {
  padding-left: 20px;
}

.band {
  background: var(--soft);
}

.facts {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

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

.facts th {
  width: 260px;
  color: var(--navy);
  background: #f9fbfd;
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 74px 0;
}

.content {
  max-width: 900px;
}

.content h2 {
  margin-top: 36px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #edfafa;
  padding: 18px 20px;
  color: #24464a;
}

.footer {
  background: #111923;
  color: white;
  padding: 48px 0 28px;
}

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

.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.footer p,
.footer small {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-inner {
    min-height: 560px;
  }

  .trust-grid,
  .grid-3,
  .grid-2,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .facts th,
  .facts td {
    display: block;
    width: 100%;
  }
}

/* Visual refinement layer */
:root {
  --cyan-soft: #e8f7f7;
  --shadow-soft: 0 12px 30px rgba(20, 32, 48, 0.08);
}

body {
  background:
    radial-gradient(circle at 10% -10%, rgba(15, 139, 141, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
}

.brand span:last-child {
  line-height: 1.15;
}

.brand-mark {
  box-shadow: 0 10px 22px rgba(15, 139, 141, 0.22);
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links .active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.button {
  box-shadow: 0 14px 28px rgba(15, 139, 141, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 139, 141, 0.25);
}

.button.secondary {
  box-shadow: none;
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, rgba(17, 25, 35, 0.5));
  content: "";
  z-index: -1;
}

.hero h1 {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.trust-strip {
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.trust-grid {
  gap: 16px;
  padding: 22px 0;
}

.trust-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.trust-item::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

section {
  padding: 86px 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 139, 141, 0.35);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--cyan-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, white, #fbfcfd);
  box-shadow: var(--shadow-soft);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 30px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.band {
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.08), transparent 45%),
    var(--soft);
}

.facts {
  box-shadow: var(--shadow-soft);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.12), transparent 40%),
    var(--soft);
}

.notice {
  border-radius: 0 8px 8px 0;
}

.footer {
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.22), transparent 42%),
    #111923;
}

@media (max-width: 860px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Full technology-company layout */
.hero-product {
  background:
    linear-gradient(90deg, rgba(17, 25, 35, 0.94) 0%, rgba(17, 25, 35, 0.78) 46%, rgba(17, 25, 35, 0.2) 100%),
    url("assets/advertex-hero.png");
  background-position: center;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 46px;
}

.hero-copy {
  min-width: 0;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(12, 18, 27, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.hero-panel > strong {
  display: block;
  margin-bottom: 16px;
  color: white;
  font-size: 18px;
}

.flow-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.flow-line span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(15, 139, 141, 0.24);
  color: #c8ffff;
  font-size: 12px;
  font-weight: 900;
}

.flow-line p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.signal-band {
  padding: 0;
  background: #111923;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-grid div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.signal-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.signal-grid strong {
  color: white;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.wide-head {
  max-width: 900px;
}

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

.stack-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.stack-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.stack-item span {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  margin: 0 0 10px;
}

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

.process .section-head {
  max-width: 860px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.timeline div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.dark-section {
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.26), transparent 44%),
    #111923;
  color: white;
}

.dark-section .section-head p,
.dark-section p {
  color: rgba(255, 255, 255, 0.74);
}

.dark-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-map div {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
  text-align: center;
}

.light-map .system-map div {
  border-color: var(--line);
  background: white;
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.raised {
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .feature-grid,
  .timeline,
  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-layout,
  .split,
  .dark-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .feature-grid,
  .timeline,
  .signal-grid,
  .system-map {
    grid-template-columns: 1fr;
  }

  .timeline div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline div:last-child {
    border-bottom: 0;
  }

  .hero-panel {
    padding: 18px;
  }
}
