:root {
  --ink: #132033;
  --ink-soft: #516071;
  --navy: #071728;
  --navy-2: #0d263f;
  --paper: #ffffff;
  --mist: #f5f7fb;
  --line: #dfe6ee;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #14b8c6;
  --green: #16a34a;
  --amber: #f59e0b;
  --red: #dc2626;
  --shadow: 0 24px 60px rgba(10, 24, 43, 0.16);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 23, 40, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100% - 40px, var(--container));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: var(--radius);
  font-weight: 800;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  color: var(--paper);
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.74);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-links .nav-cta {
  color: var(--paper);
  background: var(--blue);
  margin-left: 4px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--blue-dark);
}

.section-band {
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 18%, rgba(20, 184, 198, 0.26), transparent 30%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
}

.hero {
  padding: 86px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 52px;
}

.hero-copy,
.product-preview,
.demo-copy,
.lead-form,
.pilot-card,
.insight-card,
.workflow-step,
.benefit-grid article {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #93f0ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
}

.button-primary {
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
  outline: none;
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.button-light {
  color: var(--ink);
  background: #eef3f8;
  border: 1px solid #d5e0ec;
}

.button-light:hover,
.button-light:focus-visible {
  background: #e2ebf5;
  outline: none;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.proof-row span {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 0.88rem;
}

.product-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.preview-topbar,
.metric-grid,
.lead-card,
.mini-pipeline {
  position: relative;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.preview-topbar strong {
  margin-left: auto;
  color: var(--paper);
  font-size: 0.92rem;
  text-align: right;
}

.preview-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.metric-card,
.lead-card,
.mini-pipeline {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.metric-card {
  padding: 14px;
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.metric-card strong {
  display: block;
  margin: 2px 0;
  font-size: 1.7rem;
  line-height: 1;
}

.metric-card.accent-green {
  border-bottom: 4px solid var(--green);
}

.metric-card.accent-amber {
  border-bottom: 4px solid var(--amber);
}

.lead-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  margin-top: 10px;
}

.lead-card.active {
  border-left: 4px solid var(--blue);
}

.lead-card strong,
.lead-card span {
  display: block;
}

.lead-card span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.lead-card em {
  color: var(--blue-dark);
  background: #e7efff;
  border-radius: var(--radius);
  padding: 5px 8px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.mini-pipeline {
  height: 126px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
}

.mini-pipeline span {
  flex: 1;
  min-height: 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.section-light {
  padding: 86px 0;
  background: var(--paper);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.split-section p,
.demo-copy p,
.pricing-grid p,
.site-footer p,
.thank-you-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.insight-card,
.workflow-step,
.benefit-grid article,
.pilot-card,
.lead-form,
.thank-you-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.insight-card {
  padding: 20px;
  box-shadow: 0 10px 24px rgba(10, 24, 43, 0.06);
}

.insight-card span,
.workflow-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--paper);
  background: var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
}

.insight-card p,
.workflow-step p,
.benefit-grid p,
.pilot-card p,
.form-note {
  color: var(--ink-soft);
  margin: 0;
}

.workflow-section {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 690px;
}

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

.workflow-step {
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.demo-section {
  background: linear-gradient(180deg, var(--paper), #f7fafe);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: start;
  gap: 44px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 999px;
}

.lead-form {
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.form-head span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-head strong {
  color: var(--ink);
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
}

.form-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.lead-form label {
  display: block;
  margin: 14px 0 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd6e2;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-button {
  width: 100%;
  margin-top: 18px;
}

.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
}

.benefits-section {
  padding-top: 80px;
}

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

.benefit-grid article {
  padding: 22px;
}

.benefit-grid article:hover {
  border-color: #b8c8dc;
  box-shadow: 0 14px 34px rgba(10, 24, 43, 0.08);
}

.pricing-section {
  padding: 82px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}

.pilot-card {
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.pilot-card span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.pilot-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.pilot-card .button {
  margin-top: 18px;
}

.site-footer {
  padding: 34px 0;
  background: #06111f;
  color: var(--paper);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-grid p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid a {
  color: #93f0ff;
  font-weight: 800;
}

.thank-you-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 20%, rgba(20, 184, 198, 0.22), transparent 30%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
}

.thank-you-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 42px 0;
}

.thank-you-card {
  margin-top: 60px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  color: var(--ink);
  font-size: 2.8rem;
}

.thank-you-card .button {
  margin-top: 12px;
}

.admin-auth-page,
.admin-page {
  min-height: 100vh;
  background: #f4f7fb;
}

.admin-auth-page {
  background:
    radial-gradient(circle at 76% 16%, rgba(20, 184, 198, 0.18), transparent 30%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
}

.admin-auth-shell {
  width: min(100% - 40px, 520px);
  margin: 0 auto;
  padding: 42px 0;
}

.admin-auth-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.admin-auth-card {
  margin-top: 42px;
  padding: 28px;
}

.admin-auth-card h1,
.admin-panel h1 {
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.12;
}

.admin-auth-card label {
  display: block;
  margin: 16px 0 7px;
  color: var(--ink);
  font-weight: 800;
}

.admin-auth-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd6e2;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

.admin-auth-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.info-alert {
  color: #1e3a8a;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.success-alert {
  color: #14532d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.admin-topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  background: var(--navy);
}

.admin-topbar nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.admin-main {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.admin-heading > * {
  min-width: 0;
}

.admin-heading h1 {
  color: var(--ink);
  font-size: 2.5rem;
}

.admin-heading p {
  max-width: 680px;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.admin-metrics article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(10, 24, 43, 0.06);
}

.admin-metrics span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.1;
  margin-top: 8px;
}

.admin-panel {
  padding: 28px;
  min-width: 0;
}

.admin-panel p {
  max-width: 720px;
  color: var(--ink-soft);
}

.admin-panel h2 {
  color: var(--ink);
  font-size: 1.55rem;
  margin: 0;
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head .button {
  flex: 0 0 auto;
}

.panel-head p {
  margin: 6px 0 0;
}

.lead-filters {
  display: grid;
  grid-template-columns: auto 180px auto minmax(220px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.lead-filters label {
  color: var(--ink);
  font-weight: 800;
  padding-bottom: 12px;
}

.lead-filters select,
.lead-filters input {
  min-height: 46px;
  width: 100%;
  border: 1px solid #ccd6e2;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.lead-filters select:focus,
.lead-filters input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: var(--paper);
}

.lead-table th,
.lead-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.lead-table th {
  color: var(--ink-soft);
  background: #f8fbff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lead-table tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: var(--radius);
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-new {
  color: #1d4ed8;
  background: #dbeafe;
}

.status-contacted {
  color: #0f766e;
  background: #ccfbf1;
}

.status-followup {
  color: #92400e;
  background: #fef3c7;
}

.status-won {
  color: #166534;
  background: #dcfce7;
}

.status-lost {
  color: #991b1b;
  background: #fee2e2;
}

.table-action {
  color: var(--blue-dark);
  font-weight: 900;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #c8d6e6;
  border-radius: var(--radius);
  background: #f8fbff;
}

.empty-state h3 {
  margin-bottom: 6px;
}

.detail-preview {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.detail-preview p {
  margin: 0;
}

.settings-panel {
  max-width: 620px;
}

.settings-panel h1 {
  color: var(--ink);
  font-size: 2.2rem;
}

.pilot-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.pilot-business-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(10, 24, 43, 0.06);
}

.pilot-business-grid span,
.pilot-business-grid small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.pilot-business-grid h2 {
  margin: 8px 0;
  color: var(--ink);
  font-size: 1.25rem;
}

.pilot-business-grid p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.pilot-progress-panel {
  margin-bottom: 18px;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 180ms ease;
}

.pilot-checklist {
  display: grid;
  gap: 18px;
}

.checklist-section h2 {
  margin-bottom: 14px;
}

.checklist-items {
  display: grid;
  gap: 10px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  cursor: pointer;
}

.checklist-item input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.checklist-item span {
  color: var(--ink);
  font-weight: 700;
}

.lead-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 22px;
}

.lead-detail-header h1 {
  color: var(--ink);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-weight: 900;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.lead-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.lead-side {
  display: grid;
  gap: 18px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-list div,
.message-box,
.template-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.detail-list div {
  padding: 14px;
}

.detail-list span,
.message-box span,
.note-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.95rem;
}

.message-box {
  margin-top: 14px;
  padding: 16px;
}

.message-box p {
  margin: 8px 0 0;
  color: var(--ink);
}

.admin-form label {
  display: block;
  margin: 14px 0 7px;
  color: var(--ink);
  font-weight: 800;
}

.admin-form select,
.admin-form input,
.admin-form textarea,
.template-card textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd6e2;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

.admin-form textarea,
.template-card textarea {
  resize: vertical;
}

.admin-form select:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.template-card textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.template-card {
  padding: 18px;
}

.template-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.template-card textarea {
  margin-bottom: 14px;
  min-height: 190px;
  color: var(--ink-soft);
}

.note-list {
  display: grid;
  gap: 12px;
}

.note-card {
  padding: 16px;
}

.note-card p {
  margin: 0 0 10px;
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .demo-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-preview,
  .lead-form,
  .pilot-card {
    max-width: 720px;
  }

  .insight-grid,
  .workflow-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .pilot-business-grid {
    grid-template-columns: 1fr;
  }

  .admin-heading,
  .panel-head,
  .lead-detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-heading > div {
    width: 100%;
  }

  .lead-detail-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .lead-actions {
    justify-content: flex-start;
  }

  .lead-filters {
    grid-template-columns: 1fr 1fr;
  }

  .lead-filters label {
    padding-bottom: 0;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 720px) {
  .container,
  .nav-shell,
  .thank-you-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-light,
  .workflow-section,
  .pricing-section {
    padding: 56px 0;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2,
  .thank-you-card h1 {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-row span {
    width: 100%;
  }

  .preview-topbar {
    align-items: flex-start;
  }

  .preview-topbar strong {
    max-width: 180px;
    white-space: normal;
  }

  .metric-grid,
  .insight-grid,
  .workflow-grid,
  .benefit-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead-form,
  .thank-you-card {
    padding: 20px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 14px;
  }

  .admin-topbar nav {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar nav .button {
    width: auto;
  }

  .admin-main {
    width: calc(100% - 28px);
    max-width: var(--container);
    padding: 34px 0;
  }

  .admin-metrics,
  .lead-filters {
    grid-template-columns: 1fr;
  }

  .admin-heading h1 {
    max-width: 100%;
    font-size: 1.95rem;
  }

  .admin-heading p {
    max-width: 100%;
  }

  .lead-detail-header h1 {
    font-size: 2rem;
  }

  .admin-panel {
    padding: 18px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
