/* ============================================================
   ANCI — Shared Styles
   Extracted from index.html
   ============================================================ */

:root {
  --blue: #1e90ff;
  --blue-pale: #e3f2fe;
  --blue-surface: #f0f7ff;
  --ink: #1a1a1a;
  --ink-soft: #2a2a2a;
  --muted: #7a92ab;
  --muted-cool: #8ba8c4;
  --rule: #d6e8f5;
  --white: #ffffff;
  --cream: #faf8f4;
  --navy: #0a1929;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --container: 1200px;
  --content: 720px;
  --space-section: 140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.7; }

/* Guarantee callouts */
.hero-guarantee {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.card-guarantee {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
}
.guarantee-callout {
  max-width: 720px;
  margin: 60px auto 0;
  padding: 32px 40px;
  background: rgba(30, 144, 255, 0.08);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  text-align: left;
}
.guarantee-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.guarantee-statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0;
}
@media (max-width: 640px) {
  .guarantee-callout { padding: 24px 24px; margin-top: 40px; }
  .guarantee-statement { font-size: 16px; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  width: 200px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.nav-cta:hover { background: var(--blue); opacity: 1 !important; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: block; }
}

/* ============ SECTION DEFAULTS ============ */
section {
  padding: var(--space-section) 32px;
}
.wrap {
  max-width: var(--container);
  margin: 0 auto;
}
.narrow {
  max-width: var(--content);
  margin: 0 auto;
}

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 24px;
}

h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 40px;
}

/* ============ HERO ============ */
.hero {
  padding-top: 100px;
  padding-bottom: 120px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  right: calc(50% - 705px);
  top: 50px;
  width: 700px;
  height: 700px;
  opacity: 0.12;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.hero h1 {
  max-width: 1000px;
}
.hero h1 .accent {
  color: var(--blue);
  font-style: italic;
}
.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--white) !important;
}
.btn-primary:hover {
  background: var(--blue);
  opacity: 1 !important;
}
.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--white) !important;
  opacity: 1 !important;
}
.btn-blue {
  background: var(--blue);
  color: var(--white) !important;
}
.btn-blue:hover {
  background: var(--ink);
  opacity: 1 !important;
}

.hero-meta {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 900px;
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
.hero-meta-item .lbl {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ============ AGENTS ============ */
.agents {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.agents-header {
  max-width: var(--content);
  margin-bottom: 80px;
}

.agent-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .agent-grid { grid-template-columns: 1fr; }
}

.agent-card {
  background: var(--white);
  padding: 48px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30, 144, 255, 0.08);
}

.agent-card.featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.agent-card.featured h3,
.agent-card.featured p { color: var(--white); }

.agent-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.status-live { background: var(--blue); color: var(--white); }
.status-soon { background: var(--blue-pale); color: var(--blue); }
.agent-card.featured .status-live { background: var(--blue); color: var(--white); }

.agent-name {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.agent-role {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 24px;
}
.agent-card.featured .agent-role { color: var(--muted-cool); }

.agent-desc {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--ink-soft);
}
.agent-card.featured .agent-desc { color: rgba(255,255,255,0.85); }

.agent-price {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 24px;
}
.agent-card .agent-price .per { font-size: 14px; color: var(--muted); font-family: var(--sans); }
.agent-card.featured .agent-price { color: var(--white); }
.agent-card.featured .agent-price .per { color: var(--muted-cool); }

.agent-card.featured .btn-primary {
  background: transparent;
  border-color: var(--blue);
  color: var(--white) !important;
}
.agent-card.featured .btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.agents-more {
  margin-top: 80px;
}
.agents-more h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.other-agents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .other-agents { grid-template-columns: repeat(2, 1fr); }
}
.other-agent {
  background: var(--white);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.other-agent .name {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 4px;
}
.other-agent .role {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ ENGINE ============ */
.engine {
  background: var(--blue-surface);
  border-bottom: 1px solid var(--rule);
}
.engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .engine-grid { grid-template-columns: 1fr; gap: 48px; }
}
.engine-points {
  display: grid;
  gap: 32px;
}
.engine-point {
  padding-left: 28px;
  border-left: 3px solid var(--blue);
}
.engine-point h4 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.engine-point p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============ TEAM SECTION (homepage) ============ */
.team-section {
  background: var(--white);
  padding: 100px 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.team-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.team-section h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  margin: 12px 0 24px;
  letter-spacing: -0.01em;
}
.team-lead {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 820px;
  margin-bottom: 64px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}
.team-stake {
  padding: 28px 24px;
  background: var(--blue-pale);
  border-radius: 4px;
  border-top: 3px solid var(--blue);
}
.team-stake-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.team-stake p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.team-math {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 32px;
}
.team-math-col {
  padding: 40px 36px;
}
.team-math-before {
  background: var(--blue-surface);
  border-right: 1px solid var(--rule);
}
.team-math-after {
  background: var(--navy);
  color: var(--white);
}
.team-math-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.team-math-before .team-math-kicker { color: var(--muted-cool); }
.team-math-after .team-math-kicker { color: rgba(255,255,255,0.6); }
.team-math-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.7;
}
.team-math-before .team-math-list { color: var(--ink); }
.team-math-after .team-math-list { color: rgba(255,255,255,0.85); }
.team-math-list li {
  padding-left: 0;
  margin-bottom: 4px;
}
.team-math-result {
  padding-top: 24px;
  border-top: 1px solid;
}
.team-math-before .team-math-result { border-color: var(--rule); }
.team-math-after .team-math-result { border-color: rgba(255,255,255,0.15); }
.team-math-label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}
.team-math-before .team-math-label { color: var(--muted); }
.team-math-after .team-math-label { color: rgba(255,255,255,0.7); }
.team-math-figure {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  display: block;
}
.team-math-before .team-math-figure { color: var(--ink); }
.team-math-after .team-math-figure { color: var(--blue); }
.team-math-unit {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  margin-left: 6px;
  color: var(--muted);
  display: inline;
}
.team-math-after .team-math-unit { color: rgba(255,255,255,0.55); }
.team-scaling-note {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 40px;
}
.team-differentiator {
  padding: 32px 40px;
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
}
.team-differentiator p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}
.team-differentiator strong {
  color: var(--ink);
}
@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .team-section { padding: 64px 20px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-math { grid-template-columns: 1fr; }
  .team-math-before { border-right: none; border-bottom: 1px solid var(--rule); }
  .team-math-col { padding: 32px 24px; }
  .team-differentiator { padding: 24px 24px; }
}

/* ============ WHY NOW ============ */
.whynow {
  background: var(--white);
  text-align: left;
}
.whynow .narrow {
  max-width: 760px;
}
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.3;
  color: var(--ink);
  padding-left: 32px;
  border-left: 4px solid var(--blue);
  margin: 48px 0;
}
.pullquote-attr {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: block;
  margin-top: 16px;
}
.whynow p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.whynow .read-more {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
}

/* ============ PRICING ============ */
.pricing {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.pricing .kicker { color: var(--blue); }
.pricing h2 {
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
}
.pricing p.lead {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 24px;
  text-align: center;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.5;
  max-width: 760px;
}
.pricing p.lead-secondary {
  color: rgba(255,255,255,0.55);
  margin: 0 auto 60px;
  text-align: center;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.6;
}
.price-anchor {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  margin: -20px auto 56px;
  line-height: 1.5;
}
.price-display {
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 180px);
  line-height: 1;
  margin-bottom: 24px;
  color: var(--white);
}
.price-display .dollar {
  font-size: 0.5em;
  vertical-align: top;
  margin-right: 4px;
  color: var(--blue);
}
.price-display .per {
  font-family: var(--sans);
  font-size: 0.16em;
  color: rgba(255,255,255,0.6);
  display: block;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 16px;
}
.price-includes {
  max-width: 720px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
@media (max-width: 768px) {
  .price-includes { grid-template-columns: repeat(2, 1fr); }
}
.price-includes div {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.price-includes div strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}
.pricing .btn-primary {
  background: var(--blue);
}
.pricing .btn-primary:hover {
  background: var(--white);
  color: var(--ink) !important;
}

/* ============ HERITAGE / TEAMCAL AI ============ */
.heritage {
  background: var(--white);
}
.heritage-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .heritage-inner { grid-template-columns: 1fr; gap: 48px; }
}
.heritage h2 {
  font-size: clamp(32px, 4vw, 48px);
}
.heritage p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.heritage-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.heritage-stat .num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}
.heritage-stat .lbl {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--blue-pale);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 {
  font-size: clamp(32px, 4vw, 44px);
}
.newsletter .lead {
  margin: 24px auto 40px;
  text-align: center;
}
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 8px;
}
@media (max-width: 600px) {
  .newsletter-form { flex-direction: column; }
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  font-size: 15px;
  font-family: var(--sans);
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
}
.newsletter-form button {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 16px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--blue); }

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 32px 40px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-logo {
  margin-bottom: 16px;
  display: block;
}
.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.footer-col a:hover { color: var(--blue); opacity: 1; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.7);
}
.footer-views {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  padding: 12px 0 0;
  min-height: 20px;
}

/* Agent photos */
.agent-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
  display: block;
  max-width: 280px;
}
.agent-photo.featured-photo {
  max-width: none;
  width: 400px;
  height: 400px;
  object-fit: cover;
  margin-bottom: 0;
  margin-right: 0;
  flex-shrink: 0;
  align-self: center;
}
.agent-card.featured {
  display: flex;
  gap: 40px;
  align-items: stretch;
  padding: 40px;
}
.agent-card.featured .card-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
  width: 400px;
  align-items: flex-start;
}
.agent-card.featured .card-left .agent-photo {
  margin-bottom: 8px;
}
.agent-card.featured .card-left .price-tag {
  margin-bottom: 4px;
}
.agent-card.featured .card-left .btn {
  margin-top: auto;
}
.agent-card.featured .card-content { flex: 1; }

.agent-highlights {
  list-style: none;
  padding: 0;
  margin: 28px 0 24px;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}
.agent-highlights li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 20px;
  position: relative;
}
.agent-highlights li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.agent-highlights li strong {
  color: var(--white);
  font-weight: 600;
}

.card-readmore {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue) !important;
  border-bottom: 1px solid rgba(30, 144, 255, 0.4);
  padding-bottom: 2px;
}
.card-readmore:hover {
  border-bottom-color: var(--blue);
  opacity: 1 !important;
}
@media (max-width: 900px) {
  .agent-photo.featured-photo {
    width: 320px;
    height: 320px;
  }
}
@media (max-width: 700px) {
  .agent-card.featured { flex-direction: column; align-items: stretch; padding: 32px; gap: 28px; }
  .agent-card.featured .card-left {
    width: 100%;
    align-items: stretch;
  }
  .agent-photo.featured-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    align-self: stretch;
  }
}

.agent-traits {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.agent-card.featured .agent-traits { color: var(--blue); }

.price-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--rule);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.agent-card.featured .price-tag {
  background: rgba(30, 144, 255, 0.15);
  color: var(--blue);
}

/* Specialist cards grid */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .specialists-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .specialists-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .specialists-grid { grid-template-columns: 1fr; }
}

.specialist-card {
  background: var(--white);
  padding: 22px 20px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.specialist-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 10px 32px rgba(30, 144, 255, 0.08);
}
.specialist-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  background: var(--ink);
}
.specialist-card .spec-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--ink);
}
.specialist-card .spec-role {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 10px;
}
.specialist-card .spec-traits {
  font-size: 11px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.specialist-card .spec-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 16px;
  flex: 1;
}
.specialist-card .spec-price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--blue);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.specialist-card .spec-price span {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}
.spec-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue) !important;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
  align-self: flex-start;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero .lead, .hero .cta-row, .hero .hero-meta {
  animation: fadeUp 0.7s ease-out both;
}
.hero .lead { animation-delay: 0.15s; }
.hero .cta-row { animation-delay: 0.3s; }
.hero .hero-meta { animation-delay: 0.5s; }

/* ============ RESPONSIVE: TABLET ============ */
@media (max-width: 900px) {
  :root { --space-section: 100px; }
  .nav-inner { padding: 16px 24px 16px 0; gap: 16px; }
  section { padding: var(--space-section) 28px; }
  .hero { padding-top: 70px; padding-bottom: 90px; }
  .hero-bg { width: 480px; height: 480px; right: -100px; top: 20px; }
  .agents-header { margin-bottom: 56px; }
  .agent-card { padding: 36px 32px; }
  .agent-name { font-size: 48px; }
  .agents-more { margin-top: 56px; }
  .engine-grid { gap: 56px; }
  .heritage-inner { gap: 56px; }
  .price-display { font-size: clamp(72px, 14vw, 140px); }
}

/* ============ RESPONSIVE: PHONE ============ */
@media (max-width: 640px) {
  :root { --space-section: 72px; }
  section { padding: var(--space-section) 20px; }

  .nav-inner { padding: 14px 18px 14px 0; }
  .nav-logo img { width: 140px; }
  .nav-links { display: none; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }

  .hero { padding-top: 56px; padding-bottom: 70px; }
  .hero-bg {
    width: 340px;
    height: 340px;
    right: -90px;
    top: 30px;
    opacity: 0.06;
  }
  .hero h1 { margin-bottom: 24px; }
  .lead { font-size: 17px; margin-bottom: 32px; }

  .cta-row { gap: 12px; flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; justify-content: center; padding: 15px 24px; }

  .hero-meta {
    margin-top: 56px;
    padding-top: 28px;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .hero-meta-item .num { font-size: 28px; }
  .hero-meta-item .lbl { font-size: 12px; }

  .agents-header { margin-bottom: 48px; }
  .agent-card { padding: 32px 24px; }
  .agent-name { font-size: 42px; }
  .agent-card .agent-desc { font-size: 15px; }
  .other-agents { grid-template-columns: 1fr 1fr; gap: 12px; }
  .other-agent { padding: 16px 14px; }
  .other-agent .name { font-size: 20px; }

  .engine-grid { gap: 40px; }
  .engine-point { padding-left: 20px; }

  .developers .wrap { gap: 40px !important; }
  .developers h2 { font-size: 32px !important; }

  .whynow p { font-size: 17px; }
  .pullquote { padding-left: 20px; margin: 36px 0; }

  .price-display { font-size: 80px; margin-bottom: 16px; }
  .price-display .per { font-size: 11px; letter-spacing: 3px; }
  .price-includes {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 44px;
    padding-top: 24px;
  }
  .pricing .cta-row { flex-direction: column; }

  .heritage-inner { gap: 40px; }
  .heritage-stats { gap: 24px; grid-template-columns: 1fr 1fr; }
  .heritage-stat .num { font-size: 40px; }

  .newsletter-form { flex-direction: column; gap: 12px; }
  .newsletter-form button { padding: 15px 24px; }

  footer { padding: 60px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-logo img { height: 36px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============ RESPONSIVE: SMALL PHONE ============ */
@media (max-width: 380px) {
  section { padding: 60px 16px; }
  .nav-inner { padding: 12px 14px 12px 0; }
  .price-display { font-size: 72px; }
  .price-includes { grid-template-columns: 1fr; }
  .other-agents { grid-template-columns: 1fr; }
}

/* ============ MODAL ============ */
.anci-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 25, 41, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: anciModalFadeIn 0.18s ease-out;
}
.anci-modal-overlay.is-open { display: flex; }
@keyframes anciModalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes anciModalSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.anci-modal-card {
  background: #ffffff;
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
  animation: anciModalSlideIn 0.22s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", system-ui, sans-serif;
}

.anci-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a92ab;
  transition: background 0.15s ease, color 0.15s ease;
}
.anci-modal-close:hover { background: #f0f7ff; color: #1a1a1a; }
.anci-modal-close svg { width: 18px; height: 18px; }

.anci-modal-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1e90ff;
  margin-bottom: 10px;
}
.anci-modal-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.anci-modal-subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: #3d3d3d;
  margin: 0 0 24px;
}

.anci-form-group { margin-bottom: 16px; }
.anci-form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7a92ab;
  margin-bottom: 6px;
}
.anci-form-input,
.anci-form-textarea {
  width: 100%;
  border: 1px solid #d6e8f5;
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}
.anci-form-input:focus,
.anci-form-textarea:focus {
  outline: none;
  border-color: #1e90ff;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}
.anci-form-textarea {
  min-height: 88px;
  resize: vertical;
  font-family: inherit;
}
.anci-form-honeypot {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.anci-form-submit {
  width: 100%;
  background: #1e90ff;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s ease;
  font-family: inherit;
}
.anci-form-submit:hover { background: #1576d8; }
.anci-form-submit:disabled { background: #8ba8c4; cursor: not-allowed; }

.anci-form-error {
  background: #fff5f5;
  border-left: 3px solid #d44a4a;
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a1a;
  margin-top: 14px;
  display: none;
}
.anci-form-error.is-visible { display: block; }

.anci-modal-success {
  display: none;
  text-align: left;
}
.anci-modal-success.is-visible { display: block; }
.anci-modal-success-icon {
  width: 48px; height: 48px;
  background: #e3f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #1e90ff;
}
.anci-modal-success-icon svg { width: 24px; height: 24px; }
.anci-modal-success h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.anci-modal-success p {
  font-size: 15px;
  line-height: 1.6;
  color: #3d3d3d;
  margin: 0 0 22px;
}
.anci-modal-success button {
  background: transparent;
  border: 1px solid #d6e8f5;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.anci-modal-success button:hover { border-color: #1e90ff; background: #f0f7ff; }

body.anci-modal-locked { overflow: hidden; }

@media (max-width: 540px) {
  .anci-modal-card { padding: 28px 24px 24px; max-height: 100vh; border-radius: 0; max-width: 100%; }
  .anci-modal-overlay { padding: 0; align-items: flex-start; }
  .anci-modal-title { font-size: 22px; }
}
