/* ===========================================================
   SquirrelCRM — Landing system
   Brand: Navy (#1b2f5e) + Amber (#f7a81b) + White
   =========================================================== */

:root {
  /* Brand */
  --navy-950: #0f1c3d;
  --navy-900: #16244a;
  --navy-800: #1b2f5e;
  --navy-700: #24407a;
  --navy-600: #2f4f93;

  --amber-600: #d98a00;
  --amber-500: #f7a81b;
  --amber-400: #ffba3d;
  --amber-soft: #fff3df;

  --teal-500: #1fae7e;
  --teal-soft: #def4ec;
  --cyan-500: #2bb3c0;

  /* Neutrals */
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef2f8;
  --ink: #15213f;
  --muted: #5d6884;
  --line: #e3e8f1;
  --line-strong: #d3dbe8;

  --shadow-sm: 0 6px 18px rgba(18, 32, 64, 0.06);
  --shadow-md: 0 18px 44px rgba(18, 32, 64, 0.10);
  --shadow-lg: 0 34px 80px rgba(18, 32, 64, 0.18);
  --shadow-amber: 0 16px 34px rgba(247, 168, 27, 0.32);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --max: 1200px;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--amber-400); color: var(--navy-950); }

/* ---------- Typography ---------- */
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.32;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(247, 168, 27, 0.32);
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-500);
}

/* ---------- Layout ---------- */
.section { padding: 96px 0; }

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-muted { background: var(--surface-muted); }

.section-heading { max-width: 800px; margin-bottom: 40px; }
.section-heading.compact { max-width: 700px; }

.hero-subtitle,
.section-heading p,
.split p,
.lead-grid > div > p,
.final-cta p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 14px auto 0;
  padding: 11px 12px 11px 18px;
  border: 1px solid rgba(227, 232, 241, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 40px rgba(18, 32, 64, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(18, 32, 64, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  padding: 5px;
  border-radius: 11px;
  background: #fff;
  object-fit: contain;
  box-shadow: inset 0 0 0 1.5px rgba(247, 168, 27, 0.55);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a { text-decoration: none; transition: color 0.18s ease; }
.site-nav a:not(.button):hover { color: var(--navy-800); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-800);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  box-shadow: var(--shadow-amber);
}
.button-primary:hover { box-shadow: 0 20px 40px rgba(247, 168, 27, 0.42); }

.button-secondary {
  color: var(--navy-800);
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.button-secondary:hover { border-color: var(--navy-700); color: var(--navy-900); }

.button-small { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.button-full { width: 100%; }

/* On dark surfaces */
.section-accent .button-secondary,
.final-cta .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(90vh - 74px);
  padding-top: 78px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 520px at 88% 6%, rgba(247, 168, 27, 0.16), transparent 60%),
    radial-gradient(820px 480px at 6% 96%, rgba(36, 64, 122, 0.10), transparent 55%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 47, 94, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 47, 94, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.hero-copy, .hero-visual { min-width: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 22px;
}

.trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin-top: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.trust-strip::before {
  content: "★★★★★";
  color: var(--amber-500);
  font-size: 0.82rem;
  letter-spacing: 1px;
}

/* ---------- Hero product mockup (CSS only) ---------- */
.hero-visual { margin: 0; position: relative; }

.app-mock {
  position: relative;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.app-mock:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }

.app-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.app-topbar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--line-strong); display: block;
}
.app-topbar i:nth-child(1) { background: #ff5f57; }
.app-topbar i:nth-child(2) { background: #febc2e; }
.app-topbar i:nth-child(3) { background: #28c840; }
.app-topbar .app-url {
  margin-left: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.app-body { display: grid; grid-template-columns: 132px 1fr; min-height: 360px; }

.app-side {
  background: linear-gradient(180deg, var(--amber-500), var(--amber-600));
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.app-side .app-logo {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
}
.app-side .app-logo img {
  width: 24px; height: 24px; padding: 2px;
  border-radius: 7px; background: #fff;
  object-fit: contain;
}
.app-side a {
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(15, 28, 61, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
}
.app-side a.active { background: var(--navy-900); color: #fff; }

.app-main { padding: 16px 18px; background: #f8fafd; }
.app-main .app-h {
  height: 12px; width: 120px; border-radius: 4px;
  background: var(--navy-800); margin-bottom: 14px;
}

.app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.app-kpi {
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px;
}
.app-kpi .dot { width: 22px; height: 22px; border-radius: 7px; margin-bottom: 8px; }
.app-kpi:nth-child(1) .dot { background: var(--navy-800); }
.app-kpi:nth-child(2) .dot { background: var(--amber-500); }
.app-kpi:nth-child(3) .dot { background: var(--teal-500); }
.app-kpi:nth-child(4) .dot { background: var(--cyan-500); }
.app-kpi b { display: block; color: var(--navy-900); font-family: var(--font-display); font-size: 1.02rem; }
.app-kpi span { display: block; color: var(--muted); font-size: 0.6rem; margin-top: 2px; }

.app-charts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.app-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px;
}
.app-card .lbl { font-size: 0.62rem; font-weight: 800; color: var(--navy-700); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }

.app-bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.app-bars span {
  flex: 1; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--teal-500), #9fe0c8);
}
.app-bars span:nth-child(even) { background: linear-gradient(180deg, var(--navy-700), #9fb0d6); }

.app-donut {
  width: 96px; height: 96px; margin: 6px auto 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--navy-800) 0 22%,
    var(--amber-500) 22% 52%,
    var(--teal-500) 52% 70%,
    var(--cyan-500) 70% 84%,
    #c2cbdc 84% 100%
  );
  -webkit-mask: radial-gradient(circle 30px at 50% 50%, transparent 98%, #000 100%);
  mask: radial-gradient(circle 30px at 50% 50%, transparent 98%, #000 100%);
}

/* floating badges */
.mock-badge {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-900);
  animation: float 5s ease-in-out infinite;
}
.mock-badge em {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  font-style: normal; font-size: 0.9rem;
}
.mock-badge.b1 { top: -22px; left: -26px; }
.mock-badge.b1 em { background: var(--teal-soft); color: var(--teal-500); }
.mock-badge.b2 { bottom: -20px; right: -22px; animation-delay: 1.4s; }
.mock-badge.b2 em { background: var(--amber-soft); color: var(--amber-600); }
.mock-badge small { display: block; color: var(--muted); font-weight: 600; font-size: 0.66rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Split (problema) ---------- */
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pain-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pain-grid article:hover { transform: translateY(-4px); border-color: rgba(247,168,27,0.4); box-shadow: var(--shadow-md); }
.pain-grid span {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  margin-bottom: 12px;
  background: var(--amber-soft);
  color: var(--amber-600);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
}
.pain-grid strong { display: block; margin-bottom: 6px; color: var(--navy-900); font-size: 1rem; }
.pain-grid p, .card p, .feature-list p, .use-case-grid p, .differentiator-grid p, .steps p, details p {
  margin-bottom: 0;
  color: var(--muted);
}

/* ---------- Solution / workflow ---------- */
.solution { display: grid; gap: 30px; }

.workflow-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.workflow-panel div { padding: 30px; background: var(--surface); position: relative; }
.workflow-panel div:nth-child(2) { background: var(--navy-900); }
.workflow-panel div:nth-child(2) span { color: var(--amber-400); }
.workflow-panel div:nth-child(2) strong { color: #fff; }
.workflow-panel span {
  display: block; margin-bottom: 12px;
  color: var(--amber-600); font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.workflow-panel strong { color: var(--navy-900); font-family: var(--font-display); font-size: 1.16rem; line-height: 1.35; }

/* ---------- Cards / benefits ---------- */
.benefit-grid, .feature-list, .use-case-grid, .confidence-grid, .differentiator-grid, .plan-grid, .steps {
  display: grid; gap: 18px;
}
.benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(247,168,27,0.42); box-shadow: var(--shadow-md); }

.icon {
  display: grid; width: 44px; height: 44px;
  margin-bottom: 18px; place-items: center;
  border-radius: 12px;
  color: var(--navy-800);
  background: linear-gradient(135deg, var(--amber-soft), #fff);
  border: 1px solid rgba(247, 168, 27, 0.32);
  font-size: 1.2rem;
}
.card small { display: block; margin-top: 14px; color: var(--amber-600); font-weight: 800; font-size: 0.84rem; }

/* ---------- Features ---------- */
.feature-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-list article:hover { transform: translateY(-4px); border-color: rgba(36,64,122,0.32); box-shadow: var(--shadow-md); }
.feature-list h3::before {
  content: "";
  display: block;
  width: 28px; height: 3px;
  margin-bottom: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-400));
}

/* ---------- Metrics band ---------- */
.metrics-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric { text-align: center; }
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--amber-400);
  margin-bottom: 8px;
}
.metric span { color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 0.95rem; }

/* ---------- Section accent (steps) ---------- */
.section-accent {
  color: #fff;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(247,168,27,0.16), transparent 60%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.section-accent h2, .section-accent h3, .section-accent .eyebrow { color: #fff; }
.section-accent .eyebrow { background: rgba(247, 168, 27, 0.16); border-color: rgba(247,168,27,0.4); color: var(--amber-400); }
.section-accent p { color: rgba(255, 255, 255, 0.78); }

.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.steps span {
  display: grid; width: 38px; height: 38px;
  margin-bottom: 18px; place-items: center;
  border-radius: 11px;
  color: var(--navy-950);
  font-family: var(--font-display); font-weight: 800;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
}

/* ---------- Use cases ---------- */
.use-case-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.use-case-grid article, .differentiator-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.use-case-grid article:hover, .differentiator-grid article:hover {
  transform: translateY(-4px); border-color: rgba(247,168,27,0.4); box-shadow: var(--shadow-md);
}
.use-case-grid p + p { margin-top: 10px; }
.use-case-grid strong, .differentiator-grid strong { color: var(--navy-800); }

/* ---------- Confidence / trust badges ---------- */
.confidence { display: grid; gap: 28px; }
.confidence-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.confidence-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
}
.confidence-grid article::before {
  content: "✓";
  display: grid; place-items: center;
  width: 32px; height: 32px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: var(--teal-soft);
  color: var(--teal-500);
  font-weight: 900;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trust-badges span {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.9rem;
}
.trust-badges span::before {
  content: "";
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
}

/* ---------- Differentiators ---------- */
.differentiator-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Plans ---------- */
.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.highlighted {
  border-color: rgba(247, 168, 27, 0.5);
  box-shadow: var(--shadow-md);
}
.plan.highlighted::after {
  content: "Más elegido";
  position: absolute; top: 18px; right: 18px;
  padding: 5px 11px; border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  color: var(--navy-950); font-size: 0.7rem; font-weight: 800;
}
.plan a {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 18px;
  color: var(--navy-800); font-weight: 800; text-decoration: none;
}
.plan a::after { content: "→"; transition: transform 0.18s ease; }
.plan a:hover::after { transform: translateX(4px); }

/* ---------- Lead form ---------- */
.lead-section { background: var(--surface); }
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: 46px; align-items: start;
}

.check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--navy-800); font-weight: 600; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--teal-soft); color: var(--teal-500);
  font-size: 0.74rem; font-weight: 900;
}

.lead-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

label { display: grid; gap: 7px; color: var(--navy-800); font-size: 0.86rem; font-weight: 700; }
label.full { grid-column: 1 / -1; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(247, 168, 27, 0.16);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note, .form-status { color: var(--muted); font-size: 0.88rem; }
.form-status.is-error { color: #c0392b; }
.form-status.is-ok { color: var(--teal-500); }
.form-note { margin: 18px 0; }
.form-status { min-height: 22px; margin: 12px 0 0; font-weight: 600; color: var(--teal-500); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
details {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease;
}
details[open] { border-color: rgba(247, 168, 27, 0.42); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--navy-900); font-family: var(--font-display); font-weight: 700;
  cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--surface-muted); color: var(--navy-700);
  font-size: 1.1rem; font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}
details[open] summary::after { content: "−"; background: var(--amber-soft); color: var(--amber-600); }
details p { padding-top: 14px; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(640px 380px at 84% 30%, rgba(247,168,27,0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.final-cta h2, .final-cta p { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, 0.82); }
.final-cta-inner {
  display: grid; justify-items: center;
  max-width: 820px; margin: 0 auto;
  text-align: center;
}
.final-cta .button { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 30px; color: rgba(255, 255, 255, 0.72); background: var(--navy-950); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-about { margin-top: 14px; max-width: 38ch; color: rgba(255,255,255,0.66); font-size: 0.92rem; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--amber-400); }
.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: rgba(255,255,255,0.6);
}

/* ---------- Scroll reveal (only when JS is active, avoids FOUC) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .app-mock { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 14px; font-size: 0.86rem; }
  .feature-list, .steps, .confidence-grid, .trust-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-case-grid, .differentiator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .app-mock { transform: none; }
  .mock-badge.b1 { left: 6px; }
  .mock-badge.b2 { right: 6px; }
}

@media (max-width: 860px) {
  .site-header { align-items: center; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.button) { padding: 8px 6px; }

  .hero, .section { padding: 70px 0; }
  .hero { min-height: auto; }

  .split, .lead-grid { grid-template-columns: 1fr; }
  .workflow-panel { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-header, .section-inner, .footer-bottom { width: min(100% - 28px, var(--max)); }
  .hero-actions, .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .button, .hero-actions .button { width: 100%; }
  .pain-grid, .benefit-grid, .feature-list, .steps, .use-case-grid,
  .confidence-grid, .trust-badges, .differentiator-grid, .plan-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .lead-form { padding: 22px; }
  .mock-badge { display: none; }
}
