/* ==========================================================
   Agile Flow — design tokens
   ========================================================== */
:root {
  --ink-900: #0f1420;
  --ink-800: #1a1f2e;
  --ink-700: #232a3d;
  --ink-600: #3a4258;
  --ink-500: #5a6480;
  --ink-400: #8a92a8;
  --ink-300: #b8bdcc;
  --paper:   #f4f2ec;
  --paper-2: #e8e6e1;
  --paper-3: #d8d5cc;
  --white:   #ffffff;
  --accent:        #4f7cff;
  --accent-strong: #3a64e6;
  --accent-soft:   rgba(79, 124, 255, 0.12);
  --warn:    #c97a3a;
  --line-dark:  rgba(255,255,255,0.10);
  --line-light: rgba(15,20,32,0.10);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-1: 0 1px 0 rgba(15,20,32,0.04), 0 1px 2px rgba(15,20,32,0.05);
  --shadow-2: 0 8px 24px -8px rgba(15,20,32,0.12), 0 2px 6px rgba(15,20,32,0.05);
  --shadow-3: 0 40px 80px -30px rgba(15,20,32,0.45), 0 16px 32px -16px rgba(15,20,32,0.30);

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--paper);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: white; }

/* ==========================================================
   Buttons
   ========================================================== */
.af-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1;
  letter-spacing: -0.005em;
  padding: 0.72em 1.1em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.af-btn-lg {
  font-size: 15.5px;
  padding: 0.95em 1.4em;
}
.af-btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 18px -8px rgba(79,124,255,0.55);
}
.af-btn-primary:hover { background: var(--accent-strong); color: white; transform: translateY(-1px); }
.af-btn-secondary {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.85;
}
.af-btn-secondary:hover { opacity: 1; background: rgba(255,255,255,0.06); }
.af-hero .af-btn-secondary:hover { background: rgba(255,255,255,0.06); }
.af-btn-ghost {
  background: transparent;
  color: inherit;
  border-color: transparent;
  opacity: 0.7;
}
.af-btn-ghost:hover { opacity: 1; }

/* ==========================================================
   Nav
   ========================================================== */
.af-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,242,236,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.af-logo-word {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.af-logo-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink-900);
  color: var(--paper);
  align-items: center;
  justify-content: center;
}
.af-logo-mark svg { width: 18px; height: 18px; }
.af-nav-links { list-style: none; }
.af-nav-links a {
  font-size: 14px;
  color: var(--ink-600);
  text-decoration: none;
  transition: color .15s ease;
}
.af-nav-links a:hover { color: var(--ink-900); }

.af-nav-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: 8px;
  display: inline-flex; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.af-nav-toggle span {
  display: block; width: 16px; height: 1.5px; background: var(--ink-900); border-radius: 1px;
}
.af-mobile-menu {
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line-light);
}
.af-mobile-menu a {
  text-decoration: none; color: var(--ink-800); font-size: 16px;
}
.af-mobile-menu[hidden] { display: none; }

/* ==========================================================
   Hero
   ========================================================== */
.af-hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(79,124,255,0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(79,124,255,0.10), transparent 60%),
    linear-gradient(180deg, #131826 0%, #1a1f2e 60%, #1a1f2e 100%);
  color: var(--paper-2);
  padding: 96px 0 120px;
  overflow: hidden;
}
.af-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
  pointer-events: none;
}
.af-hero .container-xl { position: relative; z-index: 1; }

.af-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  margin-bottom: 28px;
}
.af-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(79,124,255,0.18);
}

.af-h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 22px;
  text-wrap: balance;
}
.af-h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #c9d3ee;
  letter-spacing: -0.01em;
}
.af-lede {
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-300);
  max-width: 56ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}

.af-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}

.af-hero-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 20px 28px;
  font-size: 13.5px; color: var(--ink-300);
}
.af-hero-meta li {
  display: inline-flex; align-items: center; gap: 8px;
}
.af-hero-meta svg { color: var(--accent); }

/* Hero card */
.af-hero-card {
  background: linear-gradient(180deg, #1e2436 0%, #181d2b 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-3);
  position: relative;
}
.af-hc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-dark);
  margin-bottom: 18px;
}
.af-hc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
}
.af-hc-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,124,255,0.2);
  animation: af-pulse 1.8s ease-in-out infinite;
}
@keyframes af-pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(79,124,255,0.2); }
  50%     { box-shadow: 0 0 0 6px rgba(79,124,255,0.04); }
}
.af-hc-id {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-400); letter-spacing: 0.04em;
}
.af-hc-flow {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.af-hc-flow li {
  display: flex; align-items: flex-start; gap: 14px;
  position: relative;
}
.af-hc-flow li::before {
  content: ""; position: absolute;
  left: 6px; top: 18px; bottom: -16px; width: 1px;
  background: var(--line-dark);
}
.af-hc-flow li:last-child::before { display: none; }
.af-step-dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink-700);
  border: 2px solid var(--ink-600);
  flex-shrink: 0; margin-top: 4px;
  position: relative; z-index: 1;
}
.af-hc-flow li.done .af-step-dot {
  background: var(--accent); border-color: var(--accent);
}
.af-hc-flow li.active .af-step-dot {
  background: #f6c270; border-color: #f6c270;
  box-shadow: 0 0 0 4px rgba(246,194,112,0.18);
}
.af-hc-flow b {
  display: block; font-size: 14px; font-weight: 500; color: var(--paper-2);
}
.af-hc-flow small {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-400);
  letter-spacing: 0.01em;
}
.af-hc-foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed var(--line-dark);
}
.af-hc-foot > div {
  display: flex; flex-direction: column; gap: 4px;
}
.af-hc-foot span {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-400);
}
.af-hc-foot b {
  font-size: 22px; font-weight: 500;
  color: var(--white); letter-spacing: -0.015em;
}

.af-hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line-dark);
}

@media (max-width: 991px) {
  .af-hero { padding: 64px 0 80px; }
}

/* ==========================================================
   Section primitives
   ========================================================== */
.af-section {
  padding: 110px 0;
  position: relative;
}
@media (max-width: 991px) {
  .af-section { padding: 72px 0; }
}
.af-section-light {
  background: var(--paper);
  color: var(--ink-900);
}
.af-section-dark {
  background: var(--ink-800);
  color: var(--paper-2);
  background-image:
    radial-gradient(800px 400px at 90% 0%, rgba(79,124,255,0.10), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(79,124,255,0.06), transparent 60%);
}

.af-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 18px;
}
.af-section-dark .af-section-eyebrow { color: var(--ink-300); }

.af-h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  margin: 0;
  text-wrap: balance;
}
.af-h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-700);
  letter-spacing: -0.005em;
}
.af-h2-light { color: var(--white); }
.af-h2-light em { color: #c9d3ee; }

.af-section-lede {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-600);
  margin: 0;
  text-wrap: pretty;
}
.af-section-lede-light { color: var(--ink-300); }

.af-eyebrow-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 6px;
}

/* ==========================================================
   Trust strip
   ========================================================== */
.af-trust {
  background: var(--paper);
  padding: 36px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.af-trust-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  text-align: center;
  margin: 0 0 16px;
}
.af-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  font-size: 14.5px;
  color: var(--ink-700);
  font-weight: 500;
}
.af-trust-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-300);
}

/* ==========================================================
   Problem
   ========================================================== */
.af-pain {
  padding: 28px 0 0;
  border-top: 1px solid var(--ink-900);
  height: 100%;
}
.af-pain-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.af-pain h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.af-pain p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
}

.af-cost {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px 48px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.af-cost-stat {
  display: flex; flex-direction: column; gap: 10px;
}
.af-cost-num {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.af-cost-num span {
  font-size: 0.55em;
  color: var(--ink-500);
  margin-left: 0.05em;
  font-weight: 400;
}
.af-cost-label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-600);
  max-width: 28ch;
}
.af-cost-divider {
  width: 1px; align-self: stretch; background: var(--line-light);
}
@media (max-width: 991px) {
  .af-cost {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
  .af-cost-divider { width: 100%; height: 1px; }
}

/* ==========================================================
   Solution / services
   ========================================================== */
.af-service {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.af-service:hover {
  border-color: rgba(79,124,255,0.4);
  background: rgba(79,124,255,0.04);
  transform: translateY(-2px);
}
.af-service-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(79,124,255,0.25);
  margin-bottom: 6px;
}
.af-service h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.015em;
  margin: 0;
}
.af-service > p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-300);
  margin: 0;
}
.af-service-list {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 0;
  border-top: 1px dashed var(--line-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.af-service-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-300);
  letter-spacing: 0.005em;
  display: flex; align-items: center; gap: 6px;
}
.af-service-list li::before {
  content: "›";
  color: var(--accent);
  font-weight: 600;
}

.af-solution-band {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border: 1px dashed var(--line-dark);
  border-radius: var(--r-md);
  background: rgba(0,0,0,0.12);
}
.af-solution-band-text {
  margin: 0;
  font-size: 16px;
  color: var(--paper-2);
  max-width: 60ch;
}
.af-solution-band .af-btn-secondary {
  color: var(--paper-2);
  border-color: rgba(255,255,255,0.4);
}
@media (max-width: 767px) {
  .af-solution-band { flex-direction: column; align-items: flex-start; padding: 22px; }
}

/* ==========================================================
   How it works — steps
   ========================================================== */
.af-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.af-step {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 40px 0;
  border-top: 1px solid var(--line-light);
  align-items: flex-start;
}
.af-step:last-child { border-bottom: 1px solid var(--line-light); }
.af-step-meta {
  display: flex; flex-direction: column; gap: 8px;
}
.af-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.af-step-time {
  font-size: 14px;
  color: var(--ink-500);
}
.af-step-body h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.af-step-body > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-600);
  margin: 0 0 18px;
  max-width: 62ch;
}
.af-step-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.af-step-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-700);
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line-light);
}
@media (max-width: 767px) {
  .af-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  .af-step-meta { flex-direction: row; gap: 16px; align-items: center; }
}

/* ==========================================================
   Results — metrics + quotes
   ========================================================== */
.af-metrics {
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.af-metric {
  padding: 36px 32px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.015);
}
.af-metric-num {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.af-metric-unit {
  font-size: 0.45em;
  color: var(--accent);
  font-weight: 400;
}
.af-metric-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-300);
  max-width: 24ch;
}

.af-quote-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.af-quote {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.af-quote blockquote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--paper-2);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: pretty;
}
.af-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  margin-top: auto;
}
.af-quote-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #4f7cff, #2a4eb8 70%);
  flex-shrink: 0;
}
.af-quote figcaption b {
  display: block;
  color: var(--paper-2);
  font-weight: 500;
}
.af-quote figcaption span {
  color: var(--ink-400);
  font-size: 12.5px;
}
@media (max-width: 767px) {
  .af-quote-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.af-faq {
  display: flex;
  flex-direction: column;
}
.af-faq details {
  border-top: 1px solid var(--line-light);
  padding: 22px 0;
}
.af-faq details:last-child { border-bottom: 1px solid var(--line-light); }
.af-faq summary {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.af-faq summary::-webkit-details-marker { display: none; }
.af-faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-500);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.af-faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}
.af-faq-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-600);
  padding: 12px 32px 4px 0;
  max-width: 64ch;
}

/* ==========================================================
   CTA / Contact
   ========================================================== */
.af-cta-section { padding-bottom: 130px; }
.af-cta-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--paper-2);
}
.af-cta-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.af-cta-list svg { color: var(--accent); }

.af-cta-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  margin-top: 8px;
}
.af-cta-trust > div {
  display: flex; flex-direction: column; gap: 4px;
}
.af-cta-trust span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.af-cta-trust b {
  font-size: 15px;
  font-weight: 500;
  color: var(--paper-2);
  letter-spacing: -0.005em;
}
@media (max-width: 767px) {
  .af-cta-trust { grid-template-columns: 1fr 1fr; }
}

/* Form */
.af-form {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 36px;
  color: var(--ink-900);
  box-shadow: var(--shadow-3);
}
.af-form-head { margin-bottom: 22px; }
.af-form-head h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--ink-900);
}
.af-form-head p {
  font-size: 14px;
  color: var(--ink-600);
  margin: 0;
}
.af-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 6px;
}
.af-label span {
  text-transform: none;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--ink-400);
}
.af-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.af-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,124,255,0.15);
}
textarea.af-input { resize: vertical; min-height: 96px; }
select.af-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%235a6480' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
.af-form-submit {
  width: 100%;
  margin-top: 22px;
}
.af-form-fine {
  font-size: 12px;
  color: var(--ink-500);
  margin: 14px 0 0;
  text-align: center;
}
.af-form-status {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(79,124,255,0.08);
  border: 1px solid rgba(79,124,255,0.3);
  color: var(--accent-strong);
  border-radius: var(--r-sm);
  font-size: 14px;
}

/* ==========================================================
   Footer
   ========================================================== */
.af-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  border-top: 1px solid var(--line-dark);
}
.af-footer .af-logo-mark {
  background: var(--paper);
  color: var(--ink-900);
}
.af-footer .af-logo-word { color: var(--white); }
.af-footer-blurb {
  font-size: 14px;
  color: var(--ink-400);
  max-width: 40ch;
  margin: 0;
}
.af-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 14px;
}
.af-footer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.af-footer ul a {
  text-decoration: none;
  color: var(--paper-2);
  font-size: 14px;
}
.af-footer ul a:hover { color: var(--white); }
.af-footer ul li {
  font-size: 14px;
  color: var(--paper-2);
}
.af-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-400);
}
@media (max-width: 767px) {
  .af-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ==========================================================
   Industries
   ========================================================== */
.af-industry {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.af-industry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: rgba(79,124,255,0.4);
}
.af-industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ink-900);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.af-industry h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0;
}
.af-industry > p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
}
.af-industry-tags {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 0;
  border-top: 1px dashed var(--line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.af-industry-tags li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-700);
  padding: 5px 9px;
  background: var(--paper-2);
  border-radius: 6px;
  letter-spacing: 0.005em;
}

/* ==========================================================
   Engagement tiers
   ========================================================== */
.af-section-tinted { background: var(--paper-2); }

.af-tier {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.af-tier:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.af-tier-featured {
  background: var(--ink-900);
  color: var(--paper-2);
  border-color: var(--ink-900);
  box-shadow: var(--shadow-3);
  position: relative;
}
.af-tier-head { display: flex; flex-direction: column; gap: 10px; }
.af-tier-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.af-tier-featured .af-tier-tag { color: var(--ink-300); }
.af-tier-tag-accent { color: var(--accent) !important; }
.af-tier h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0;
}
.af-tier-featured h3 { color: var(--white); }
.af-tier-blurb {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-600);
  margin: 0;
}
.af-tier-featured .af-tier-blurb { color: var(--ink-300); }

.af-tier-price {
  padding: 16px 0;
  border-top: 1px dashed var(--line-light);
  border-bottom: 1px dashed var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.af-tier-featured .af-tier-price {
  border-color: var(--line-dark);
}
.af-tier-price-num {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  line-height: 1;
}
.af-tier-price-num span {
  color: var(--ink-400);
  font-weight: 300;
  margin: 0 2px;
}
.af-tier-featured .af-tier-price-num { color: var(--white); }
.af-tier-featured .af-tier-price-num span { color: var(--ink-400); }
.af-tier-price-unit {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
}
.af-tier-featured .af-tier-price-unit { color: var(--ink-300); }

.af-tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.af-tier-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.45;
}
.af-tier-featured .af-tier-list li { color: var(--paper-2); }
.af-tier-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.af-tier-cta {
  margin-top: auto;
  width: 100%;
}
.af-tier-featured .af-btn-secondary {
  color: var(--paper-2);
  border-color: rgba(255,255,255,0.4);
}

.af-tier-foot {
  text-align: center;
  margin: 40px 0 0;
  font-size: 14px;
  color: var(--ink-600);
}
.af-tier-foot a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.af-tier-foot a:hover { text-decoration: underline; }

/* ==========================================================
   Team
   ========================================================== */
.af-team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.af-team-card image-slot {
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line-light);
}
.af-team-info { display: flex; flex-direction: column; gap: 4px; }
.af-team-info b {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.af-team-info span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.005em;
}

.af-creds {
  margin-top: 24px;
  padding: 32px;
  background: var(--ink-900);
  color: var(--paper-2);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.af-cred { display: flex; flex-direction: column; gap: 6px; }
.af-cred-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.af-cred-label {
  font-size: 13.5px;
  color: var(--ink-300);
  line-height: 1.4;
  max-width: 26ch;
}
@media (max-width: 767px) {
  .af-creds { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
}
