:root {
  /* Big Stone navy — primary */
  --navy-900: #081f33;
  --navy-800: #0b2a43;
  --navy-700: #143552;
  --navy-600: #1f4a6e;
  --navy-100: #e4eef6;
  --navy-50:  #fbfeff;

  /* Orange — accent */
  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-50:  #fff7ed;

  --text: #0f172a;
  --text-soft: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;

  --primary: var(--navy-900);
  --primary-hover: var(--navy-800);
  --accent: var(--orange-600);
  --accent-hover: var(--orange-700);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(8, 31, 51, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(8, 31, 51, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(8, 31, 51, 0.35);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-transform: none;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 14px 22px; font-size: 15px; }

.btn-primary {
  background: var(--navy-900);
  color: #ffffff !important;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--orange-600);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(234, 88, 12, 0.5);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-outline {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(234, 88, 12, 0.12), transparent 60%),
    radial-gradient(1000px 600px at -10% 0%, rgba(8, 31, 51, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--navy-50) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--orange-50);
  padding: 6px 10px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 20px 0 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--navy-900);
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 14px;
}

/* Hero visual card */
.hero-visual { display: flex; justify-content: center; }

.card {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
}

.card-float { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(246, 249, 252, 0.7);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.card-title { margin-left: auto; font-size: 12px; color: var(--text-soft); font-weight: 600; }

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}
.pipeline .col h4 {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  font-weight: 700;
}
.deal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  color: var(--navy-900);
}
.deal span { color: var(--text-soft); font-weight: 500; }
.deal-won { border-color: var(--orange-400); background: var(--orange-50); }
.deal-won span { color: var(--orange-600); }

/* ---------- Section head ---------- */
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
  font-weight: 800;
  color: var(--navy-900);
}
.section-head p { color: var(--text-soft); font-size: 17px; margin: 0; }

/* ---------- Features ---------- */
.features { padding: 96px 0; background: var(--bg-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--orange-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; color: var(--navy-900); }
.feature p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ---------- AI section ---------- */
.ai-section {
  padding: 112px 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(234, 88, 12, 0.18), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(31, 74, 110, 0.6), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, #06182a 100%);
  color: #e6edf5;
  position: relative;
  overflow: hidden;
}

.section-head-dark h2 { color: #fff; }
.section-head-dark p { color: #9cabbd; }

.eyebrow-ai {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-400) 100%);
  box-shadow: 0 6px 20px -8px rgba(234, 88, 12, 0.6);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ai-card {
  grid-column: span 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
}
.ai-card:hover {
  transform: translateY(-3px);
  border-color: rgba(234, 88, 12, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.ai-card-featured {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.15) 0%, rgba(255, 255, 255, 0.04) 60%);
  border: 1px solid rgba(234, 88, 12, 0.3);
  padding: 32px;
}

.ai-head h3 { font-size: 26px; line-height: 1.2; margin: 14px 0 10px; letter-spacing: -0.02em; color: #fff; }
.ai-head p { color: #b9c4d3; font-size: 15px; margin: 0 0 20px; }

.ai-card h3 { color: #fff; font-size: 17px; margin: 10px 0 6px; letter-spacing: -0.01em; }
.ai-card p { color: #9cabbd; font-size: 14px; margin: 0; line-height: 1.55; }

.ai-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-400);
  background: rgba(234, 88, 12, 0.12);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.ai-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(234, 88, 12, 0.15);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ai-icon svg { width: 20px; height: 20px; }

.chat-mock {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}
.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.msg-user {
  align-self: flex-end;
  background: var(--orange-600);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #e6edf5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
}
.msg-ai em { color: var(--orange-400); font-style: normal; font-weight: 600; }

/* ---------- How it works ---------- */
.how { padding: 96px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: var(--orange-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.step h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy-900); letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 110%, rgba(234, 88, 12, 0.35), transparent 60%);
  pointer-events: none;
}

.cta-box {
  text-align: center;
  color: #fff;
  position: relative;
}
.cta-box h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; letter-spacing: -0.02em; color: #fff; }
.cta-box p { margin: 0 0 28px; opacity: 0.85; font-size: 17px; }

.cta-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1 1 240px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.cta-form .btn-primary { background: var(--accent); color: #fff; box-shadow: none; }
.cta-form .btn-primary:hover { background: var(--accent-hover); }

/* ---------- Support ---------- */
.support { padding: 96px 0; background: var(--bg-soft); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.support-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.support-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  text-decoration: none;
}

.support-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.support-icon svg { width: 20px; height: 20px; }

.support-card h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.01em; color: var(--navy-900); }
.support-card p { margin: 0 0 10px; color: var(--text-soft); font-size: 14px; }
.support-meta { font-size: 13px; color: var(--accent); font-weight: 600; }

.faq {
  max-width: 780px;
  margin: 0 auto 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 24px;
}
.faq h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq details:last-of-type { border-bottom: 0; }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.support-contact {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.support-contact h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy-900); }
.support-contact p { margin: 0; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #c9d3de;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer .brand { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { background: rgba(255,255,255,0.04); }

.footer-blurb {
  color: #8a95a7;
  max-width: 320px;
  margin: 12px 0 0;
  font-size: 14px;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { color: #c9d3de; font-size: 14px; }
.site-footer ul li a:hover { color: var(--orange-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #8a95a7;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: #c9d3de; }
.footer-bottom a:hover { color: var(--orange-400); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-card-featured { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.btn { border-bottom: 0; margin-top: 8px; justify-content: center; }
  .nav-toggle { display: flex; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .features, .how, .support, .ai-section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-card-featured { grid-column: span 1; }
}
