
:root {
  --ag-bg: #070706;
  --ag-bg-deep: #050504;
  --ag-panel: #0d0c0b;
  --ag-panel-2: #11100f;
  --ag-card: #0f0e0d;
  --ag-text: #f5f0e8;
  --ag-text-soft: #d8d0c4;
  --ag-muted: #a79d91;
  --ag-dim: #746b62;
  --ag-copper: #c65f24;
  --ag-copper-2: #e27b35;
  --ag-copper-soft: rgba(198, 95, 36, .55);
  --ag-line: rgba(245,240,232,.12);
  --ag-line-strong: rgba(198,95,36,.46);
  --ag-radius: 22px;
  --ag-radius-lg: 30px;
  --ag-max: 1360px;
  --ag-display: "Playfair Display", "Freight Display Pro", Georgia, serif;
  --ag-body: "DM Sans", "Neue Haas Grotesk Text", Arial, sans-serif;
  --ag-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ag-text);
  background:
    radial-gradient(circle at 82% 4%, rgba(198,95,36,.15), transparent 30%),
    linear-gradient(180deg, #080807 0%, #070706 48%, #050504 100%);
  font-family: var(--ag-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

html, body { overflow-x: hidden; }
.platform-page {
  min-height: 100vh;
  position: relative;
}
.platform-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.07));
}
.wrap {
  width: min(var(--ag-max), calc(100% - 70px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 10, 9, 0.95);
}
.brand-logo img {
  width: 196px;
  height: auto;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--ag-text-soft);
  font-size: 14px;
}
.nav a {
  opacity: .9;
  padding: 6px 0 10px;
  border-bottom: 2px solid transparent;
}
.nav a.active {
  color: var(--ag-text);
  border-color: var(--ag-copper);
}
.actions {
  display: flex;
  gap: 12px;
}
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #e36d2d, #be4d1d);
  box-shadow: 0 12px 32px rgba(198,95,36,.22), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn.outline {
  border-color: rgba(198,95,36,.8);
  background: rgba(0,0,0,.16);
  color: var(--ag-text);
}
.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--ag-text);
  border-bottom: 2px solid var(--ag-copper);
  padding-bottom: 8px;
}

.hero {
  padding: 74px 0 52px;
}
.hero-grid {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  align-items: center;
  gap: 50px;
}
.eyebrow {
  color: var(--ag-copper-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}
h1, h2, h3 {
  font-family: var(--ag-display);
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 0;
  color: var(--ag-text);
}
h1 {
  font-size: clamp(52px, 6.2vw, 82px);
  line-height: .96;
  max-width: 660px;
}
.hero-copy {
  color: var(--ag-text-soft);
  font-size: 18px;
  line-height: 1.65;
  max-width: 610px;
  margin: 28px 0 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 38px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 26px 80px rgba(0,0,0,.52));
}

.panel {
  border: 1px solid rgba(245,240,232,.12);
  border-radius: var(--ag-radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(198,95,36,.08), transparent 48%),
    linear-gradient(180deg, rgba(245,240,232,.035), rgba(245,240,232,.012)),
    rgba(8,8,7,.82);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.section {
  padding: 28px 0;
}
.section-title {
  text-align: center;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.02;
}
.dgp-panel {
  padding: 24px 20px 28px;
}
.dgp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.dgp-card {
  border: 1px solid rgba(245,240,232,.13);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(245,240,232,.025), rgba(245,240,232,.006));
  padding: 22px 18px 16px;
  min-height: 420px;
  overflow: hidden;
}
.card-heading {
  font-family: var(--ag-display);
  text-transform: uppercase;
  color: var(--ag-copper-2);
  letter-spacing: .045em;
  font-size: 24px;
  text-align: center;
  margin-bottom: 12px;
}
.card-copy {
  color: var(--ag-text-soft);
  text-align: center;
  line-height: 1.52;
  font-size: 15px;
  min-height: 52px;
}
.card-visual {
  margin: 18px auto 0;
  border-radius: 14px;
  overflow: hidden;
}
.card-caption {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--ag-text-soft);
  font-size: 13px;
  margin-top: 14px;
}
.card-caption span + span::before {
  content: "•";
  color: var(--ag-copper-2);
  margin-right: 18px;
}

.capabilities {
  padding: 30px 28px 28px;
}
.capabilities h2 {
  text-align: center;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.flow-visual {
  margin: 0 auto 26px;
  max-width: 1120px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cap-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(245,240,232,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  padding: 20px;
}
.cap-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(198,95,36,.55);
  color: var(--ag-copper-2);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-family: var(--ag-mono);
  background: rgba(198,95,36,.06);
}
.cap-title {
  font-family: var(--ag-display);
  font-size: 23px;
  line-height: 1.08;
  margin: 0 0 7px;
}
.cap-card p {
  margin: 0;
  color: var(--ag-text-soft);
  font-size: 13px;
  line-height: 1.42;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(245,240,232,.13);
  border-radius: 16px;
  background: rgba(8,8,7,.82);
  overflow: hidden;
}
.metric {
  padding: 31px 20px;
  text-align: center;
  border-right: 1px solid rgba(245,240,232,.15);
}
.metric:last-child { border-right: 0; }
.metric-value {
  color: var(--ag-copper-2);
  font-family: var(--ag-display);
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.03em;
}
.metric-label {
  color: var(--ag-text-soft);
  font-size: 14px;
  line-height: 1.35;
  margin-top: 10px;
}

.cta {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 44px;
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
}
.cta p {
  color: var(--ag-text-soft);
  line-height: 1.55;
  font-size: 17px;
  max-width: 540px;
}
.cta-visual img {
  width: 100%;
}
.footer {
  padding: 40px 0 54px;
  border-top: 1px solid rgba(245,240,232,.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.footer-brand img { width: 178px; }
.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--ag-muted);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .hero-grid, .cta { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .dgp-grid, .cap-grid { grid-template-columns: 1fr; }
  .dgp-card { min-height: auto; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--ag-max)); }
  .site-header { height: auto; padding: 22px 0; align-items: flex-start; }
  .actions { display: none; }
  .brand-logo img { width: 168px; }
  .hero { padding: 44px 0 28px; }
  h1 { font-size: 44px; }
  .hero-copy { font-size: 16px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid rgba(245,240,232,.15); }
  .cta { padding: 24px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 24px; }
}
