/* TNOA — The Network of Agents */
:root {
  --navy: #0b1220;
  --navy-2: #111a2e;
  --blue: #2563eb;
  --blue-bright: #1da1f2;
  --blue-grad: linear-gradient(135deg, #1db8f5 0%, #1e4fd8 100%);
  --text: #1a2233;
  --text-muted: #5a6678;
  --text-light: #aab4c4;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: #e2e8f1;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(11, 18, 32, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 36px; width: auto; }
.brand .brand-logo { height: 62px; width: auto; display: block; }
@media (max-width: 820px) { .brand .brand-logo { height: 48px; } }
.brand-name {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.brand-sub {
  display: block;
  color: var(--text-light);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.btn { color: #fff; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue-grad);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: rgba(37, 99, 235, 0.06); }
.btn-lg { padding: 16px 36px; font-size: 1.08rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 50% at 70% 10%, rgba(29, 161, 242, 0.18), transparent),
                    radial-gradient(ellipse 50% 60% at 20% 90%, rgba(30, 79, 216, 0.15), transparent);
  color: #fff;
  padding: 96px 0 104px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 820px;
  margin: 0 auto 24px;
}
.hero h1 .accent {
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.08); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
  font-size: 1.08rem;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 18px; }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-grad);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff; font-size: 1.3rem; font-weight: 700;
}
.card a.learn { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.card a.learn:hover { text-decoration: underline; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.08rem; }

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
@media (max-width: 600px) { .form-wrap { padding: 28px 20px; } }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 7px;
}
.field .req { color: var(--blue); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field .hint { font-size: 0.84rem; color: var(--text-muted); margin-top: 5px; }

.form-status { margin-top: 18px; font-weight: 600; display: none; }
.form-status.success { display: block; color: #15803d; }
.form-status.error { display: block; color: #b91c1c; }

/* ---------- Lead magnet ---------- */
.magnet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 820px) { .magnet-grid { grid-template-columns: 1fr; } }
.magnet-points { list-style: none; }
.magnet-points li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.magnet-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-grad);
  color: #fff;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.magnet-points li strong { color: var(--text); }

.download-box {
  text-align: center;
  padding: 32px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin-top: 8px;
}

/* ---------- Booking ---------- */
.booking-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.booking-frame {
  width: 100%;
  height: 720px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.booking-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 40px 0; text-align: left; }
.booking-cta {
  margin-top: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
}
.booking-cta h3 { font-size: 1.3rem; margin-bottom: 8px; }
.booking-cta p { color: var(--text-muted); margin-bottom: 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: var(--text-light); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Stats band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 48px auto 0;
  text-align: center;
}
.stat-band .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-band .stat-label { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Workflow grid ---------- */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.workflow-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.workflow-card .dot {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-grad);
  margin-top: 8px;
}
.workflow-card h4 { font-size: 1rem; margin-bottom: 4px; }
.workflow-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.45; }

/* ---------- Vetting funnel ---------- */
.vet-steps { max-width: 720px; margin: 0 auto; }
.vet-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.vet-step:last-child { border-bottom: none; }
.vet-step .num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-grad);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.vet-step h4 { font-size: 1.08rem; margin-bottom: 4px; }
.vet-step p { color: var(--text-muted); font-size: 0.95rem; }
.vet-step .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--blue);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 18px; color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Guarantee strip ---------- */
.guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 40px auto 0;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.guarantee .shield {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.guarantee p { color: var(--text-muted); font-size: 0.95rem; }
.guarantee p strong { color: var(--text); }

/* ---------- Interactive quiz ---------- */
.quiz { max-width: 720px; margin: 0 auto; }
.quiz-q {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
}
.quiz-q h4 { font-size: 1.05rem; margin-bottom: 4px; }
.quiz-q .sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }
.quiz-q label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.15s, background 0.15s;
}
.quiz-q label:hover { border-color: var(--blue); }
.quiz-q label:has(input:checked) {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.05);
}
.quiz-q input { margin-top: 3px; accent-color: var(--blue); }
.quiz-result {
  display: none;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  margin-top: 24px;
}
.quiz-result .score-num {
  font-size: 3rem;
  font-weight: 800;
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quiz-result h3 { font-size: 1.4rem; margin: 8px 0 12px; }
.quiz-result p { color: var(--text-light); max-width: 520px; margin: 0 auto 24px; }

/* ---------- Agent activity mockup ---------- */
.mockup {
  max-width: 660px;
  margin: 56px auto 0;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mockup-bar .dot-r, .mockup-bar .dot-y, .mockup-bar .dot-g {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup-bar .dot-r { background: #f87171; }
.mockup-bar .dot-y { background: #fbbf24; }
.mockup-bar .dot-g { background: #34d399; }
.mockup-bar span { color: var(--text-light); font-size: 0.8rem; margin-left: 8px; }
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.mockup-stats > div { background: var(--navy-2); padding: 16px; }
.mockup-stats .k { font-size: 1.3rem; font-weight: 800; color: #fff; }
.mockup-stats .l { font-size: 0.75rem; color: var(--text-light); }
.mockup table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.mockup th { text-align: left; color: var(--text-light); font-weight: 500; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mockup td { color: #d8dee9; padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mockup .ok { color: #34d399; }
.mockup .warn { color: #fbbf24; }
@media (max-width: 600px) { .mockup th:nth-child(4), .mockup td:nth-child(4) { display: none; } }

/* ---------- Checkmark microcopy ---------- */
.check-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 0.92rem;
}
.check-row span { display: inline-flex; align-items: center; gap: 7px; }
.check-row .c {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-grad);
  color: #fff;
  font-size: 0.65rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ---------- Integrations strip ---------- */
.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}
.integrations span {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .founder-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center; }
}
.founder-photo {
  width: 280px;
  height: 280px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
@media (max-width: 720px) { .founder-photo { width: 220px; height: 220px; } }
.founder-body h3 { font-size: 1.3rem; margin-bottom: 2px; }
.founder-body .role {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.founder-body p { color: var(--text-muted); margin-bottom: 16px; }
.founder-body .signature {
  font-weight: 700;
  color: var(--text);
}
.founder-social { margin-top: 18px; display: flex; gap: 18px; }
@media (max-width: 720px) { .founder-social { justify-content: center; } }
.founder-social a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.founder-social a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-light); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { font-size: 0.85rem; color: #6b7689; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; }
