:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4ee;
  --primary: #0b4a8f;
  --primary-2: #0f6ccf;
  --success: #0f766e;
  --warning: #9a6700;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 500px at 80% -10%, rgba(15, 108, 207, 0.15), transparent), var(--bg);
  line-height: 1.6;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 34vw;
  height: 34vw;
  max-width: 420px;
  max-height: 420px;
  border-radius: 50%;
  filter: blur(36px);
}

body::before {
  top: -12vw;
  right: -8vw;
  background: rgba(15, 108, 207, 0.18);
}

body::after {
  bottom: -16vw;
  left: -10vw;
  background: rgba(16, 185, 129, 0.12);
}

body::before,
body::after {
  display: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(243, 247, 251, 0.8);
  border-bottom: 1px solid rgba(219, 228, 238, 0.8);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #202e2d;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.brand-name {
  font-family: "Arial Rounded MT Bold", "Avenir Next", "Nunito Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-sdk {
  font-family: "Avenir Next", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  color: #202e2d;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: #eaf4ff;
}

.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.nav-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-overlay { display: none; }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch button {
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #1e293b;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
  display: contents;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 20px rgba(11, 74, 143, 0.25);
}

.btn-secondary {
  color: var(--primary);
  border-color: #b9d3f1;
  background: #ecf5ff;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: #fff;
}

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

section { padding: 74px 0; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding-top: 54px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eaf4ff;
  color: var(--primary);
  border: 1px solid #cfe4fb;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

h1, h2, h3 { margin: 0 0 14px; line-height: 1.25; }
h1, h2, h3, p, strong, span, a, div {
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(31px, 4.6vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }

.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: #334155;
  margin-bottom: 22px;
}

.lead-en,
.en-line,
.cta-en {
  display: none;
  color: #5f6f83;
  font-size: 14px;
  line-height: 1.6;
}

.lead-en {
  max-width: 760px;
  margin: -10px 0 20px;
  font-size: 16px;
}

.en-line {
  margin: -8px 0 16px;
}

.card .en-line,
.faq-item .en-line,
.docs-item .en-line {
  margin: 8px 0 0;
}

.cta-en {
  color: rgba(255, 255, 255, 0.78);
  margin-top: -8px;
}

.hero-points {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  color: #1e293b;
  font-size: 15px;
}

.hero-panel, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel { padding: 22px; }

.metric {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid #e5edf5;
  margin-bottom: 10px;
}

.metric strong { font-size: 22px; }

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

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

.card {
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.icon-card,
#contact .card {
  display: flex;
  flex-direction: column;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #0f766e;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.pain-grid .card-icon {
  background: #fff7ed;
  color: #b45309;
}

.privacy-section .card-icon,
.risk-section .card-icon {
  background: #eff6ff;
  color: #2563eb;
}

.dashboard-section .card-icon {
  background: #f0fdf4;
  color: #15803d;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
  border-color: #bdd5ee;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 760px;
}

.kpi strong { font-size: 28px; display: block; margin-bottom: 6px; }

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

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover { border-color: #a9c9ec; transform: translateY(-2px); }

.step-id {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf4ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

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

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ok { background: #e7f9f4; color: var(--success); }
.pending { background: #fff6e5; color: var(--warning); }

.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
}

.faq-item + .faq-item { margin-top: 10px; }

.cta {
  text-align: center;
  background:
    radial-gradient(540px 180px at 50% -10%, rgba(106, 189, 255, 0.45), transparent),
    linear-gradient(145deg, #0d3257, #104f8f);
  color: #fff;
  border-radius: 20px;
  padding: 38px 22px;
  border: 1px solid rgba(190, 222, 255, 0.32);
  box-shadow: 0 22px 42px rgba(8, 36, 66, 0.35);
}

.cta p { color: rgba(255, 255, 255, 0.86); }

.footer {
  padding: 26px 0 42px;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

.ag-hero {
  padding: 0;
  background:
    linear-gradient(125deg, rgba(255, 231, 127, 0.66) 0%, rgba(244, 250, 252, 0.92) 36%, rgba(72, 190, 158, 0.78) 100%);
}

.ag-hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: center;
  padding: 72px 0 62px;
}

.ag-hero-copy h1,
.section-head h2,
.problem-section h2,
.method-list h2,
.faq-section h2 {
  max-width: 820px;
  font-family: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
  letter-spacing: 0;
  color: #1f2433;
}

.ag-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
}

.ag-hero-copy .lead {
  max-width: 620px;
  color: #283242;
}

.main-visual-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 50px rgba(14, 71, 90, 0.16);
  overflow: hidden;
}

.hero-image-card {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-dashboard-img {
  display: block;
  width: min(100%, 620px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 28px 42px rgba(15, 23, 42, 0.2));
}

.mini-chart {
  height: 118px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #18263a;
}

.mini-chart span {
  flex: 1;
  min-width: 22px;
  border-radius: 10px 10px 2px 2px;
  background: linear-gradient(180deg, #f6d34d, #30b891);
}

.mini-chart span:nth-child(1) { height: 38%; }
.mini-chart span:nth-child(2) { height: 58%; }
.mini-chart span:nth-child(3) { height: 45%; }
.mini-chart span:nth-child(4) { height: 72%; }
.mini-chart span:nth-child(5) { height: 88%; }

.visual-layer {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.visual-layer-soft {
  background: #fff;
  border: 1px solid #e8dba9;
}

.visual-layer-primary {
  background: #ffe07a;
  border: 2px solid #f2c52a;
}

.visual-layer-result {
  color: #fff;
  background: #0f766e;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.hero-stat-row div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.hero-stat-row span {
  display: block;
  color: #5d6b7a;
  font-size: 12px;
  font-weight: 800;
}

.hero-stat-row strong {
  display: block;
  margin-top: 4px;
  color: #1f2937;
  font-size: 16px;
}

.compact-band {
  padding: 28px 0;
  background: #fff;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-strip article {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.feature-strip span {
  color: #f2c52a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 900;
  font-size: 28px;
}

.problem-grid,
.stack-grid,
.consent-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.problem-section .section-head {
  margin-bottom: 28px;
}

.pain-grid .card,
.privacy-section .card,
.risk-section .card,
.dashboard-section .card {
  min-height: 190px;
}

.section-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 4px solid #f3c934;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px #fff;
  background: #0f766e;
}

.accordion-preview,
.faq-accordion {
  display: grid;
  gap: 14px;
}

.accordion-preview details,
.faq-accordion details {
  border: 1px solid #cda53d;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

.accordion-preview summary,
.faq-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  color: #202635;
  font-size: 18px;
  font-weight: 800;
}

.accordion-preview summary::-webkit-details-marker,
.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.accordion-preview summary::after,
.faq-accordion summary::after {
  content: "⌄";
  float: right;
  color: #64748b;
}

.accordion-preview p,
.faq-accordion p {
  margin: -4px 22px 18px;
  color: var(--muted);
}

.section-head.center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-head.center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

.solution-callout {
  width: min(820px, 100%);
  display: grid;
  gap: 6px;
  margin: 24px auto 58px;
  padding: 22px 26px;
  border: 1px solid #d2e8e2;
  border-left: 5px solid #0f766e;
  border-radius: 12px;
  background: #f4fffb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.solution-callout strong {
  color: #111827;
  font-size: 22px;
}

.solution-callout span {
  color: var(--muted);
}

.revenue-copy {
  margin-top: 30px;
}

.data-points {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px auto 0;
}

.data-points span {
  display: grid;
  align-content: center;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.revenue-board {
  max-width: 980px;
  margin: 34px auto 0;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(105deg, #d9f1eb, #fff9df);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.revenue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 56px 1fr;
  gap: 4px;
  align-items: stretch;
}

.revenue-grid .cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 800;
}

.revenue-grid .label {
  justify-content: flex-start;
  text-align: left;
  color: #1f2937;
}

.revenue-grid .head {
  font-size: 22px;
}

.revenue-grid .highlight {
  background: #ffdf58;
}

.plus-sign {
  grid-column: 3;
  grid-row: 1 / span 5;
  align-self: center;
  justify-self: center;
  color: #0b0f19;
  font-size: 72px;
  font-weight: 900;
}

.revenue-grid .cell:nth-child(4),
.revenue-grid .cell:nth-child(7),
.revenue-grid .cell:nth-child(10),
.revenue-grid .cell:nth-child(13),
.revenue-grid .cell:nth-child(16) {
  grid-column: 4;
}

.total-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 4px;
  margin-top: 20px;
}

.total-row > * {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fff;
  text-align: center;
}

.total-row strong {
  justify-content: start;
  text-align: left;
}

.total-row span {
  display: block;
  font-weight: 900;
}

.total-row b {
  display: block;
  color: #0b0f19;
  font-size: clamp(23px, 3vw, 34px);
}

.total-highlight {
  border: 3px dotted #0b0f19;
  background: #ffc800 !important;
}

.fine-print {
  width: min(980px, 100%);
  margin: 16px auto 0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.method-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  margin-top: 22px;
}

.method-item span {
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border: 3px solid #111827;
  transform: rotate(30deg);
}

.method-item p {
  margin: 0;
  color: #3f4a59;
  font-size: 17px;
}

.method-item em {
  font-style: normal;
}

.monetization-stack {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.stack-pill {
  min-height: 62px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: #1f2433;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.stack-pill.top {
  width: 62%;
  background: #ffda45;
  border: 4px solid #f1b92e;
}

.stack-pill.small {
  width: 74%;
  border: 3px solid #f2df91;
}

.stack-pill.mid {
  width: 88%;
  border: 3px solid #72cbb8;
}

.stack-pill.wide {
  width: 100%;
  border: 4px solid #14a07f;
}

.flow-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.flow-cards article {
  min-height: 250px;
  padding: 34px 28px;
  border: 1px solid #e3e9f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.flow-cards h3 {
  margin-top: 26px;
  font-size: 24px;
}

.flow-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #fff1b8;
  color: #0f766e;
}

.flow-icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.center-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.dashboard-visual {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.dash-chart {
  height: 220px;
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 28px;
  border-radius: 16px;
  background: #172538;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.dash-chart span {
  flex: 1;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, #ffde59, #37b890);
}

.dash-chart span:nth-child(1) { height: 34%; }
.dash-chart span:nth-child(2) { height: 52%; }
.dash-chart span:nth-child(3) { height: 46%; }
.dash-chart span:nth-child(4) { height: 72%; }
.dash-chart span:nth-child(5) { height: 88%; }

.privacy-section {
  background: #fff;
}

.risk-section {
  background: #f6fafc;
}

.scenario-section {
  background: linear-gradient(125deg, #f8edac 0%, #d9eff1 48%, #70c8af 100%);
}

.scenario-tags {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px auto 0;
}

.scenario-tags span {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 16px;
  border: 2px solid rgba(31, 36, 51, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: #202635;
  font-weight: 900;
}

.estimator-section {
  padding-top: 0;
}

.estimator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d3257, #0f766e);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.estimator-panel h2 {
  color: #fff;
}

.estimator-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.estimator-actions {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.consent-dialog {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 26px;
  padding: 42px;
  border: 1px solid #e0e6ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.consent-dialog h3 {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(21px, 2.8vw, 34px);
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.dialog-actions button {
  min-height: 50px;
  border-radius: 999px;
  border: 2px solid #1f2937;
  background: #fff;
  font-weight: 900;
}

.dialog-actions button:last-child {
  color: #fff;
  background: #050505;
}

.consent-tags {
  display: grid;
  gap: 28px;
}

.consent-tags div {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 24px 34px;
  border: 5px solid #68cdb5;
  border-right-color: #ffe065;
  border-radius: 14px;
  background: #fff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.geo-table {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px auto 0;
}

.geo-head {
  text-align: center;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 26px;
  font-weight: 900;
}

.geo-cell {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px;
  border: 5px solid #60c6b2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.geo-cell strong,
.geo-cell b {
  color: #202635;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
}

.geo-cell span {
  color: #344054;
  font-weight: 700;
}

.tier-hot {
  background: #fff4b8;
  border-color: #ffdb42;
}

.tier-cool {
  background: #f4fffb;
  border-color: #0aa179;
}

.platform-band {
  background: linear-gradient(125deg, #f7eaa1 0%, #d7edf2 45%, #4dbb9d 100%);
}

.platform-cloud {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 28px;
  margin: 48px auto 0;
  padding: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.platform-cloud span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 2px solid rgba(31, 36, 51, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 20px;
  font-weight: 900;
}

.faq-section h2 {
  margin: 0 auto 46px;
  text-align: center;
  font-size: clamp(36px, 6vw, 64px);
}

.faq-accordion {
  width: min(900px, 100%);
  margin: 0 auto;
}

.cta-ghost {
  background: #fff;
  color: #0f172a;
}

.page-hero {
  padding-top: 48px;
}

.beta-page {
  background:
    radial-gradient(760px 360px at 82% 10%, rgba(15, 108, 207, 0.18), transparent),
    linear-gradient(180deg, #f7fbff 0%, #eef6f3 54%, #f7fafc 100%);
}

.beta-hero {
  padding: 58px 0 42px;
}

.beta-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: center;
}

.beta-hero h1 {
  max-width: 740px;
  font-size: clamp(34px, 4.2vw, 50px);
}

.beta-hero .lead {
  max-width: 760px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #d5e0eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.contact-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  background: #f8fbfe;
}

.contact-row > i,
.contact-row > svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: #0f766e;
  stroke-width: 2.2;
}

.contact-row span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.contact-row a,
.contact-row strong {
  color: #0b4a8f;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.beta-info-section {
  padding-top: 26px;
}

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

.info-card h2 {
  font-size: clamp(23px, 2.6vw, 31px);
}

.company-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.company-list div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  background: #f8fbfe;
}

.company-list dt {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.company-list dd {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
}

.next-steps {
  margin-top: 28px;
}

.docs-page {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef4f8 42%, #f6f8fb 100%);
}

.docs-page::before,
.docs-page::after {
  display: none;
}

.docs-hero {
  padding: 54px 0 34px;
}

.docs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: end;
}

.docs-hero-copy {
  max-width: 760px;
}

.docs-page h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.18;
}

.docs-page .lead {
  max-width: 780px;
  color: #334155;
}

.doc-summary {
  padding: 18px 18px 16px;
  border: 1px solid #d6e0ea;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.doc-summary strong {
  display: block;
  margin-bottom: 10px;
  color: #102033;
  font-size: 15px;
}

.doc-summary strong span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.doc-summary ol {
  margin: 0;
  padding-left: 22px;
  color: #405064;
  font-size: 14px;
}

.doc-summary li {
  margin: 7px 0;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.doc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #d3dde8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.doc-meta span svg {
  width: 15px;
  height: 15px;
  color: #0f766e;
  stroke-width: 2.2;
}

.docs-section {
  padding-top: 10px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid #d8e2ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.docs-toc strong {
  margin: 0 0 8px 8px;
  color: #0f172a;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.docs-toc a {
  color: #506174;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  padding: 8px 9px;
  border-radius: 8px;
}

.docs-toc a:hover {
  color: #0b4a8f;
  background: #edf5fd;
}

.docs-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.doc-notice {
  padding: 16px 18px;
  border: 1px solid #bcd8d1;
  border-left: 4px solid #0f766e;
  border-radius: 12px;
  background: #f1fbf8;
}

.doc-notice strong {
  display: block;
  margin-bottom: 4px;
  color: #134e4a;
}

.doc-notice p {
  margin: 0;
  color: #30544f;
}

.doc-block {
  padding: 28px;
  border: 1px solid #d8e2ec;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  scroll-margin-top: 92px;
}

.section-kicker {
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-block h2 {
  font-size: clamp(22px, 2.4vw, 29px);
}

.doc-block h3 {
  margin-top: 24px;
  font-size: 18px;
  color: #1e293b;
}

.doc-block p {
  color: var(--muted);
}

code {
  border-radius: 6px;
  padding: 2px 5px;
  background: #eef5fb;
  color: #0f3f70;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid #193653;
  border-radius: 0 0 11px 11px;
  background: #092033;
  color: #eaf6ff;
  line-height: 1.55;
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
}

.code-panel {
  overflow: hidden;
  margin: 12px 0 20px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #193653;
}

.code-caption {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #193653;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #0f2c44;
  color: #dbeafe;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.compact-code {
  max-width: 520px;
}

.check-list,
.ordered-doc-list {
  margin: 0;
  padding-left: 21px;
  color: #334155;
}

.check-list li,
.ordered-doc-list li {
  margin: 8px 0;
  padding-left: 2px;
}

.callout {
  margin: 16px 0;
  padding: 15px 16px;
  border: 1px solid #c8d8ec;
  border-left: 4px solid #0f6ccf;
  border-radius: 12px;
  background: #f6faff;
}

.callout p {
  margin: 6px 0 0;
}

.warning-callout {
  border-color: #ead49c;
  border-left-color: var(--warning);
  background: #fffaf0;
}

.doc-table-wrap {
  overflow-x: auto;
  border: 1px solid #d8e2ec;
  border-radius: 12px;
}

.doc-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.doc-table th,
.doc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3eaf2;
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  background: #f7fafc;
  color: #1e293b;
  font-size: 13px;
}

.doc-table tr:last-child td {
  border-bottom: 0;
}

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

.docs-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
}

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero, .grid-3, .platform, .docs-layout, .docs-hero-grid, .beta-hero-grid, .info-grid,
  .grid-4, .ag-hero-grid, .feature-strip, .trust-strip, .problem-grid, .stack-grid, .flow-cards, .consent-grid,
  .data-points, .scenario-tags, .estimator-panel {
    grid-template-columns: 1fr;
  }
  .ag-hero-grid { min-height: auto; padding: 48px 0; }
  .main-visual-card { min-height: auto; }
  .feature-strip article { min-height: 76px; }
  .monetization-stack { justify-items: stretch; }
  .stack-pill.top,
  .stack-pill.small,
  .stack-pill.mid,
  .stack-pill.wide { width: 100%; }
  .revenue-grid { grid-template-columns: 1fr 1fr; }
  .revenue-grid .label { grid-column: 1 / -1; min-height: 48px; }
  .revenue-grid .head,
  .revenue-grid .cell:nth-child(4),
  .revenue-grid .cell:nth-child(7),
  .revenue-grid .cell:nth-child(10),
  .revenue-grid .cell:nth-child(13),
  .revenue-grid .cell:nth-child(16) {
    grid-column: auto;
  }
  .plus-sign { display: none; }
  .total-row { grid-template-columns: 1fr; }
  .platform-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px; }
  .estimator-actions { min-width: 0; }
  .docs-toc { position: static; }
  .docs-hero-grid { gap: 18px; }
  .doc-summary { max-width: 620px; }
  .contact-panel { max-width: 620px; }
  .nav {
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  .menu-toggle { display: inline-flex; margin-left: auto; }

  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 55;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 40px rgba(2, 6, 23, 0.18);
    padding: 78px 16px 20px;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 60;
  }

  body.menu-open .mobile-menu { transform: translateX(0); }
  body.menu-open .mobile-overlay { opacity: 1; visibility: visible; }

  .nav-links {
    width: 100%;
    order: 1;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    padding: 10px 12px;
    border: 1px solid var(--line);
  }

  .nav-actions {
    width: 100%;
    order: 2;
    display: grid;
    gap: 8px;
  }

  .nav-actions .btn { width: 100%; }
  .language-switch { width: 100%; justify-content: center; }
  .language-switch button { flex: 1; }
}

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .container { width: calc(100vw - 32px); }
  .ag-hero .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .ag-hero-grid,
  .ag-hero-copy,
  .hero-visual,
  .main-visual-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .ag-hero-copy h1 { font-size: 29px; line-height: 1.14; }
  .ag-hero-copy .lead { font-size: 15px; }
  .ag-hero-copy h1,
  .section-head h2,
  .problem-section h2,
  .method-list h2,
  .faq-section h2 {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .main-visual-card { padding: 18px; }
  .hero-image-card { padding: 0; }
  .visual-layer { font-size: 18px; }
  .mini-chart { padding: 12px; gap: 8px; }
  .mini-chart span { min-width: 0; }
  .hero-stat-row, .geo-table, .platform-cloud { grid-template-columns: 1fr; }
  .revenue-board { padding: 14px; }
  .revenue-grid .cell { min-height: 62px; }
  .consent-dialog { min-height: auto; padding: 28px 20px; }
  .consent-tags div { min-height: 86px; padding: 20px; font-size: 25px; }
  .flow-cards article { min-height: auto; }
  .btn { width: 100%; }
  .nav-actions { width: 100%; }
  .hero-actions { display: grid; gap: 10px; }
  .beta-hero { padding: 42px 0 30px; }
  .beta-hero h1 { font-size: 31px; }
  .contact-panel { padding: 18px; }
  .contact-row a,
  .contact-row strong,
  .company-list dd { font-size: 17px; }
  .docs-hero { padding: 42px 0 26px; }
  .docs-page h1 { font-size: 30px; }
  .doc-block { padding: 20px; }
  .doc-meta span { width: 100%; }
  .docs-toc { padding: 12px; }
  pre { padding: 14px; }
  .doc-table { min-width: 560px; }
}
