@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --aw-text: #111827;
  --aw-muted: #6b7280;
  --aw-accent: #4f46e5;
  --aw-accent-light: rgba(79,70,229,0.08);
  --aw-border: #e5e7eb;
  --aw-bg: #ffffff;
  --aw-bg-alt: #f9fafb;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--aw-text);
  background: var(--aw-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── Layout ── */
.aw-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.aw-section { padding: 6rem 0; }
.aw-section-alt { padding: 6rem 0; background: var(--aw-bg-alt); }

/* ── Typography ── */
h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--aw-text);
}

.aw-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--aw-accent);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: block;
}

.aw-sub {
  font-size: 1.05rem;
  color: var(--aw-muted);
  line-height: 1.8;
  max-width: 600px;
}

/* ── Nav ── */
.aw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.aw-nav-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aw-text);
}

.aw-nav-logo span { color: var(--aw-accent); }

.aw-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.aw-nav-links a {
  font-size: 0.9rem;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.15s;
}

.aw-nav-links a:hover { color: var(--aw-text); }
.aw-nav-links a.active { color: var(--aw-text); }

.aw-nav-links a.aw-nav-cta,
a.aw-nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  background: var(--aw-accent);
  color: #fff !important;
  border-radius: 6px;
  transition: opacity 0.15s;
  text-decoration: none;
}

.aw-nav-links a.aw-nav-cta:hover,
a.aw-nav-cta:hover { background: #4338ca; color: #fff !important; }

/* ── Hero ── */
.aw-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88vh;
  padding: 6rem 2rem 4rem;
}

.aw-hero h2 {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.aw-hero .aw-sub {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 560px;
}

/* ── Buttons ── */
.aw-cta-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.aw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--aw-accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.aw-btn:hover { opacity: 0.85; }
.aw-btn svg { width: 16px; height: 16px; }

.aw-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--aw-text);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1.5px solid #9ca3af;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.aw-btn-ghost:hover { background: var(--aw-bg-alt); border-color: var(--aw-text); }

/* ── Trust Strip ── */
.aw-trust {
  border-top: 1px solid var(--aw-border);
  border-bottom: 1px solid var(--aw-border);
  padding: 1.5rem 0;
}

.aw-trust .aw-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.aw-trust-item {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--aw-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.aw-trust-item strong {
  color: var(--aw-text);
  font-weight: 600;
}

/* ── Grids ── */
.aw-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; align-items: center; }
.aw-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.aw-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.aw-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

/* ── Cards ── */
.aw-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--aw-bg);
  border: 1px solid var(--aw-border);
}

.aw-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.aw-card p {
  font-size: 0.92rem;
  color: var(--aw-muted);
}

/* ── Images ── */
.aw-img-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--aw-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.aw-img-phone {
  max-width: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--aw-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* ── Steps ── */
.aw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.aw-step-num { font-size: 3rem; font-weight: 800; color: #f0f0f0; line-height: 1; margin-bottom: 1rem; }
.aw-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.aw-step p { font-size: 0.95rem; color: var(--aw-muted); }

/* ── Personas ── */
.aw-personas { margin-top: 2.5rem; }

.aw-persona {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--aw-border);
  align-items: start;
}

.aw-persona:last-child { border-bottom: none; }
.aw-persona-meta { font-size: 0.85rem; line-height: 1.5; }
.aw-persona-meta strong { display: block; font-weight: 700; }
.aw-persona-meta span { color: var(--aw-muted); font-size: 0.8rem; }
.aw-persona-quote { font-style: italic; margin-bottom: 0.4rem; font-size: 0.95rem; }
.aw-persona-result { font-size: 0.88rem; color: var(--aw-accent); font-weight: 500; }

/* ── Agent Cards ── */
.aw-agent-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--aw-bg);
  border: 1px solid var(--aw-border);
  text-align: center;
}

.aw-agent-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--aw-bg-alt);
  border: 1px solid var(--aw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.aw-agent-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.15rem; }
.aw-agent-role { font-size: 0.8rem; color: var(--aw-accent); font-weight: 600; margin-bottom: 0.75rem; }
.aw-agent-card p { font-size: 0.88rem; color: var(--aw-muted); text-align: left; }

/* ── Dataflow ── */
.aw-dataflow { margin-top: 2.5rem; }
.aw-dataflow h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.aw-dataflow-sub { font-size: 0.95rem; color: var(--aw-muted); margin-bottom: 1.5rem; }

/* ── Pipeline ── */
.aw-pipeline { margin-top: 2.5rem; max-width: 640px; }

.aw-pipeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--aw-border);
  align-items: start;
}

.aw-pipeline-step:last-child { border-bottom: none; }

.aw-pipeline-time {
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: #312e81;
  background: var(--aw-accent-light);
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
}

.aw-pipeline-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; }

.aw-pipeline-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--aw-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aw-pipeline-step p { font-size: 0.88rem; color: var(--aw-muted); margin-top: 0.25rem; }

/* ── Tags ── */
.aw-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

.aw-tag {
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--aw-bg-alt);
  color: var(--aw-text);
  border: 1px solid var(--aw-border);
}

/* ── HPAT ── */
.aw-hpat {
  background: var(--aw-bg-alt);
  border: 1px solid var(--aw-border);
  color: var(--aw-text);
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 16px;
  margin-top: 2.5rem;
}

.aw-hpat .aw-num { color: var(--aw-accent); }

.aw-hpat h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: var(--aw-text);
}

.aw-hpat .aw-hpat-sub {
  font-size: 1rem;
  color: var(--aw-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.aw-hpat-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.aw-hpat-stat { text-align: center; }
.aw-hpat-stat-val { font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 0.25rem; color: var(--aw-accent); }
.aw-hpat-stat-label { font-size: 0.78rem; color: var(--aw-muted); }

/* ── Governance ── */
.aw-gov-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }

.aw-gov-card {
  padding: 1.75rem;
  border-radius: 12px;
  border: 2px solid var(--aw-border);
}

.aw-gov-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--aw-text); }
.aw-gov-card p { font-size: 0.88rem; color: var(--aw-muted); }

/* ── Founder ── */
.aw-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.aw-founder-creds {
  font-size: 0.92rem;
  line-height: 2;
}

.aw-founder-creds li { color: var(--aw-muted); }
.aw-founder-creds li strong { color: var(--aw-text); }

.aw-founder-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  background: var(--aw-text);
  color: #fff;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity 0.15s;
}

.aw-founder-btn:hover { opacity: 0.85; }

/* ── Vision Flow ── */
.aw-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.aw-flow-step {
  padding: 2rem;
  border-radius: 12px;
  background: var(--aw-bg);
  border: 1px solid var(--aw-border);
}

.aw-flow-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--aw-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.aw-flow-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.aw-flow-step p { font-size: 0.92rem; color: var(--aw-muted); }

/* ── FAQ ── */
.aw-faq { margin-top: 2.5rem; max-width: 720px; }
.aw-faq details { border-bottom: 1px solid var(--aw-border); }

.aw-faq summary {
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aw-faq summary::-webkit-details-marker { display: none; }
.aw-faq summary::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--aw-muted); }
.aw-faq details[open] summary::after { content: '\2212'; }

.aw-faq-body {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--aw-muted);
  line-height: 1.7;
}

/* ── Footer CTA ── */
.aw-footer-cta {
  text-align: center;
  padding: 8rem 2rem;
}

.aw-footer-cta h2 { margin-bottom: 0.5rem; }
.aw-footer-cta .aw-sub { text-align: center; margin: 0 auto 2.5rem; }
.aw-footer-cta .aw-cta-row { justify-content: center; }

.aw-email { margin-top: 1.5rem; font-size: 0.9rem; color: var(--aw-muted); }
.aw-email a { color: var(--aw-accent); }
.aw-email a:hover { text-decoration: underline; }

/* ── Footer ── */
.aw-footer {
  border-top: 1px solid var(--aw-border);
  padding: 2rem 0;
  font-size: 0.82rem;
  color: var(--aw-muted);
}

.aw-footer .aw-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aw-footer a { color: #4b5563; }
.aw-footer a:hover { color: var(--aw-text); }

/* ── Status badge (module cards) ── */
.aw-status-live {
  font-size: 0.72rem;
  font-weight: 600;
  color: #15803d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .aw-hero { min-height: 75vh; padding: 4rem 1.5rem 3rem; }
  .aw-hero h2 { font-size: 2.75rem; }
  .aw-inner { padding: 0 1.5rem; }
  .aw-section, .aw-section-alt { padding: 4rem 0; }
  h2 { font-size: 1.75rem; }

  .aw-grid-2, .aw-grid-3, .aw-grid-4, .aw-grid-5,
  .aw-steps, .aw-flow, .aw-founder-grid, .aw-gov-cards {
    grid-template-columns: 1fr;
  }

  .aw-persona { grid-template-columns: 1fr; gap: 0.25rem; }
  .aw-trust .aw-inner { flex-direction: column; gap: 0.75rem; }
  .aw-cta-row { flex-direction: column; width: 100%; }
  .aw-btn, .aw-btn-ghost { width: 100%; justify-content: center; }
  .aw-footer-cta { padding: 5rem 1.5rem; }
  .aw-img-phone { max-width: 220px; margin: 0 auto; }
  .aw-hpat { padding: 3rem 1.5rem; border-radius: 12px; }
  .aw-hpat h3 { font-size: 1.5rem; }
  .aw-hpat-stats { gap: 1.5rem; }
  .aw-nav { flex-wrap: wrap; gap: 1rem; }
  .aw-nav-links { gap: 1rem; }
}
