/* Landing page + thanks page. The product pages (ai-account-guard/) still use styles.css,
   so this file stands on its own rather than overriding it. */
:root {
  --ink: #17072b;
  --text: #1d2433;
  --muted: #5b6475;
  --accent: #2e73ea;
  --accent-deep: #1d4fb8;
  --accent-tint: #e8f0fd;
  --warm: #f6a94a;
  --warm-tint: #fdf1e1;
  --cream: #fbf9f5;
  --surface: #ffffff;
  --border: rgba(23, 7, 43, 0.09);
  --shadow-sm: 0 1px 2px rgba(23, 7, 43, 0.05), 0 4px 14px rgba(23, 7, 43, 0.05);
  --shadow-lg: 0 2px 4px rgba(23, 7, 43, 0.04), 0 24px 48px rgba(23, 7, 43, 0.10);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(46, 115, 234, 0.28); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-soft { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-soft:hover { border-color: rgba(46, 115, 234, 0.4); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(46, 115, 234, 0.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -12%;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(246, 169, 74, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-tint);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.05; margin: 20px 0 20px; font-weight: 800; }
.hero h1 .hl { color: var(--accent); }
.hero-sub { font-size: 19px; color: var(--muted); margin: 0; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Hero illustration: a stack of friendly cards */
.hero-art { position: relative; min-height: 420px; }
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
}
.float-card .fc-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.float-card .fc-title { font-weight: 800; color: var(--ink); font-size: 16px; margin-top: 2px; }
.fc-main { top: 20px; left: 6%; right: 0; padding: 24px; }
.fc-main .fc-row { display: flex; align-items: center; gap: 14px; }
.fc-main .fc-logo { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); display: grid; place-items: center; flex: none; }
.fc-main .fc-logo img { height: 32px; }
.fc-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.fc-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.fc-checks .tick { width: 22px; height: 22px; border-radius: 50%; background: #e3f6ea; color: #1f8a4c; display: grid; place-items: center; flex: none; }
.fc-checks .tick svg { width: 13px; height: 13px; }
.fc-build { bottom: 18px; left: 0; width: 62%; }
.fc-build .bar { height: 8px; border-radius: 99px; background: #eef0f4; margin-top: 12px; overflow: hidden; }
.fc-build .bar span { display: block; height: 100%; width: 72%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #6aa0f5); }
.fc-heart { bottom: 64px; right: 0; width: 44%; background: var(--warm-tint); border-color: rgba(246, 169, 74, 0.3); }
.fc-heart .fc-title { font-size: 15px; }
.fc-heart svg { width: 22px; height: 22px; color: #e0892a; margin-bottom: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: bob 7s ease-in-out infinite; }
  .fc-build { animation-delay: -2.3s; }
  .fc-heart { animation-delay: -4.6s; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 900px) {
  .hero { padding: 44px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 380px; max-width: 520px; }
}
@media (max-width: 480px) {
  .hero-art { min-height: 0; display: grid; gap: 14px; }
  .float-card { position: static; width: auto; animation: none !important; }
  .fc-heart { display: none; }
}

/* Sections */
.section { padding: 96px 0; }
.section-white { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
@media (max-width: 720px) { .section { padding: 68px 0; } }

/* Who we help */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience-card { border-radius: 24px; padding: 34px; border: 1px solid var(--border); background: var(--cream); }
.audience-card.nonprofit { background: var(--warm-tint); border-color: rgba(246, 169, 74, 0.25); }
.audience-card .icon-badge { margin-bottom: 18px; }
.audience-card h3 { font-size: 22px; margin: 0 0 10px; }
.audience-card p { margin: 0 0 16px; color: var(--muted); }
.audience-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.audience-card li { display: flex; gap: 10px; font-weight: 600; font-size: 15px; }
.audience-card li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.audience-card.nonprofit li::before { background: var(--warm); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } .audience-card { padding: 26px; } }

.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.icon-badge.warm { background: #fff; color: #e0892a; }
.icon-badge svg { width: 24px; height: 24px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service h3 { font-size: 18px; margin: 18px 0 8px; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .services { grid-template-columns: 1fr; } }

/* Custom solutions */
.custom { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.custom::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -200px;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(46, 115, 234, 0.45), transparent 70%);
  pointer-events: none;
}
.custom .container { position: relative; }
.custom h2 { color: #fff; }
.custom .kicker { color: #8fb5f7; }
.custom .section-head p { color: rgba(255, 255, 255, 0.74); }
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.build-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.build-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.build-list svg { width: 22px; height: 22px; color: #8fb5f7; flex: none; margin-top: 2px; }
.build-list strong { display: block; color: #fff; }
.build-list span { color: rgba(255, 255, 255, 0.68); font-size: 15px; }
.showcase-label { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin: 0 0 14px; }
.showcase { display: grid; gap: 14px; }
.project {
  display: block;
  text-decoration: none;
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 22px 24px;
  transition: transform 0.2s ease;
}
.project:hover { transform: translateY(-3px); }
.project-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-deep); background: var(--accent-tint); padding: 3px 10px; border-radius: 999px; }
.project h3 { font-size: 19px; margin: 10px 0 6px; }
.project p { margin: 0; color: var(--muted); font-size: 15px; }
.project .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--accent); }
.project .more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.project:hover .more svg { transform: translateX(3px); }
.custom-cta { margin-top: 22px; color: rgba(255, 255, 255, 0.74); font-size: 15px; }
.custom-cta a { color: #fff; font-weight: 700; }
@media (max-width: 860px) { .custom-grid { grid-template-columns: 1fr; } }

/* Customers */
.customers { text-align: center; padding: 64px 0; border-bottom: 1px solid var(--border); }
.customers p { margin: 0 0 24px; font-weight: 700; color: var(--muted); }
.logo-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 28px 64px; }
.logo-row a { display: block; }
.logo-row img { max-height: 64px; max-width: 200px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s ease, opacity 0.2s ease; }
.logo-row a:hover img { filter: none; opacity: 1; }
.customers .fineprint { margin-top: 20px; font-size: 13px; font-weight: 500; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-intro h2 { margin-bottom: 14px; }
.contact-intro > p { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.contact-items { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.contact-item .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.contact-item .icon-badge svg { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-item strong { color: var(--ink); }
a.contact-item:hover strong { color: var(--accent); }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(23, 7, 43, 0.16);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(46, 115, 234, 0.15); }
textarea { resize: vertical; }
.form .btn { margin-top: 20px; }
.fineprint { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.hidden { display: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer .brand img { filter: brightness(0) invert(1); height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* Thanks page */
.thanks { min-height: calc(100vh - 180px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks .icon-badge { margin: 0 auto 20px; width: 64px; height: 64px; border-radius: 20px; }
.thanks .icon-badge svg { width: 30px; height: 30px; }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 12px; }
.thanks p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

/* Gentle reveal on scroll (only when JS has marked the page) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service, .project { transition: none; }
}
