:root {
  --ink: #17202a;
  --ink-strong: #0b1220;
  --muted: #617083;
  --line: #dce3ea;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --brand: #0073ea;
  --brand-dark: #005bb8;
  --magenta: #e2445c;
  --teal: #0f766e;
  --blue: #2563eb;
  --green: #16803c;
  --amber: #b7791f;
  --yellow: #ffcb00;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-inner,
.mobile-menu,
.hero-grid,
.section,
.trust-strip,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 115, 234, 0.22);
  border-radius: 8px;
  background: #edf6ff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.mobile-menu a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--brand);
}

.mobile-menu {
  padding: 0 0 18px;
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  margin-top: 12px;
}

.icon-button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink-strong);
}

.button-secondary:hover {
  border-color: #b9c4d0;
  background: #f8fafc;
}

.button-light {
  background: #ffffff;
  color: var(--brand);
}

.button-light:hover {
  background: #edf6ff;
}

.button-large {
  min-height: 50px;
  padding-inline: 22px;
}

.full-width {
  width: 100%;
}

.hero-section {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 24%, rgba(0, 115, 234, 0.12), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(226, 68, 92, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(90deg, rgba(11, 18, 32, 0.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(11, 18, 32, 0.04) 0 1px, transparent 1px 96px),
    #f7fbff;
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 64px;
  align-items: center;
  padding: 88px 0 72px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.proof-grid h2,
.cta-section h2 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: 56px;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4a5a6d;
  font-size: 20px;
}

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

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(23, 32, 42, 0.14);
}

.metric-row strong {
  display: block;
  color: var(--ink-strong);
  font-size: 28px;
  font-weight: 850;
}

.metric-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.hero-console {
  border: 1px solid rgba(185, 196, 208, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.console-header div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-strong);
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 128, 60, 0.12);
}

.workspace-board,
.transcript-lines {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.board-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 14px;
  color: var(--ink-strong);
  font-size: 14px;
}

.board-color,
.tile-accent,
.client-board-table i {
  display: inline-block;
  border-radius: 99px;
}

.board-color {
  width: 11px;
  height: 32px;
}

.board-color.blue,
.tile-accent.blue {
  background: var(--brand);
}

.board-color.green,
.tile-accent.green {
  background: #00c875;
}

.board-color.yellow,
.tile-accent.yellow {
  background: var(--yellow);
}

.board-color.magenta,
.tile-accent.magenta {
  background: var(--magenta);
}

.status-chip {
  display: inline-flex;
  min-width: 78px;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.status-chip.working {
  background: #e5f2ff;
  color: #005bb8;
}

.status-chip.done {
  background: #e5fff3;
  color: #087443;
}

.status-chip.review {
  background: #ffeef2;
  color: #b4233b;
}

.status-chip.planned {
  background: #fff8d8;
  color: #775300;
}

.transcript-lines p {
  margin: 0;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 14px;
  color: #405064;
  font-size: 14px;
}

.transcript-lines span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-strong);
  font-weight: 850;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px;
  background: #f8fafc;
}

.insight-grid div {
  border-left: 3px solid var(--brand);
  padding: 6px 0 6px 12px;
}

.insight-grid span,
.notes-meta,
.plan-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--ink-strong);
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 18px 0 0;
}

.trust-strip div {
  min-height: 64px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 18px 14px;
  text-align: center;
  color: #39485a;
  font-size: 13px;
  font-weight: 850;
}

.client-home-section {
  padding-top: 72px;
}

.client-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: 24px;
  align-items: stretch;
}

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

.action-tile,
.client-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.action-tile {
  display: grid;
  min-height: 170px;
  align-content: start;
  gap: 10px;
  padding: 22px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.action-tile:hover {
  border-color: #b9c4d0;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tile-accent {
  width: 38px;
  height: 8px;
}

.action-tile strong {
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 900;
}

.action-tile span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.client-board {
  overflow: hidden;
}

.client-board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 24px;
}

.client-board-header h3 {
  margin: 6px 0 0;
  color: var(--ink-strong);
  font-size: 28px;
  font-weight: 900;
}

.client-board-table {
  display: grid;
  padding: 12px 18px 20px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) 112px 90px 70px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #e8edf2;
  color: #405064;
  font-size: 14px;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-row span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-weight: 850;
}

.client-board-table i {
  width: 7px;
  height: 30px;
  flex: 0 0 7px;
}

.signup-panel {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
}

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

.full-span {
  grid-column: 1 / -1;
}

.signup-step {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.signup-step h3 {
  margin: 6px 0 0;
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 900;
}

.tier-selector,
.feature-selector {
  display: grid;
  gap: 10px;
}

.tier-selector {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-selector {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tier-selector label,
.feature-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 12px;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 850;
}

.tier-selector input,
.feature-choice input {
  accent-color: var(--brand);
}

.feature-choice.required-feature {
  background: #edf6ff;
}

.feature-choice.standard-feature {
  border-color: rgba(0, 200, 117, 0.38);
  background: #e5fff3;
}

.feature-choice.disabled-choice {
  color: #9aa8b6;
  background: #f3f5f7;
}

.muted-row {
  opacity: 0.55;
}

.crm-dashboard-section {
  border-block: 1px solid var(--line);
  background: #ffffff;
}

.crm-dashboard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-shell {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.dashboard-header h3 {
  margin: 6px 0 0;
  color: var(--ink-strong);
  font-size: 30px;
  font-weight: 900;
}

.dashboard-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.metric-card-grid,
.module-chip-grid {
  display: grid;
  gap: 12px;
}

.metric-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card,
.module-chip,
.crm-widget {
  border: 1px solid #e8edf2;
  border-radius: 8px;
  background: #fbfcfd;
}

.metric-card {
  padding: 16px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 7px;
  color: var(--ink-strong);
  font-size: 24px;
  font-weight: 900;
}

.module-chip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 850;
}

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

.crm-widget {
  padding: 18px;
}

.crm-widget h4 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 900;
}

.whatsapp-setup-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(0, 200, 117, 0.28);
  border-radius: 8px;
  background: #f0fff8;
  padding: 12px;
  margin-bottom: 14px;
}

.whatsapp-setup-card strong {
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 900;
}

.whatsapp-setup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.crm-list li {
  display: grid;
  gap: 4px;
  border-top: 1px solid #e8edf2;
  padding-top: 10px;
  color: #405064;
  font-size: 13px;
}

.crm-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.crm-list strong {
  color: var(--ink-strong);
  font-size: 14px;
}

.crm-task-form,
.crm-inline-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.crm-task-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.crm-inline-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.crm-task-form input,
.crm-inline-form input {
  min-height: 42px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  padding: 10px 12px;
}

.empty-dashboard .empty-state {
  min-height: 440px;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.proof-grid h2,
.cta-section h2 {
  font-size: 42px;
}

.section-heading p:not(.eyebrow),
.proof-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.pricing-card,
.testimonial-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.service-card {
  padding: 26px;
}

.service-card h3,
.pricing-card h3,
.empty-state h3,
.modal-header h3 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 850;
  line-height: 1.15;
}

.service-card h3 {
  margin-top: 20px;
  font-size: 20px;
}

.service-card p,
.pricing-card p,
.empty-state p {
  color: var(--muted);
}

.service-card p {
  min-height: 96px;
  margin: 12px 0 18px;
  font-size: 15px;
}

.service-card ul,
.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #344054;
  font-size: 14px;
}

.service-card li,
.pricing-card li {
  position: relative;
  padding-left: 20px;
}

.service-card li::before,
.pricing-card li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.service-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf6ff;
  color: var(--brand);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.accent-blue {
  background: #eff6ff;
  color: var(--blue);
}

.accent-green {
  background: #ecfdf3;
  color: var(--green);
}

.accent-red {
  background: #ffeef2;
  color: var(--magenta);
}

.featured-service {
  border-color: rgba(0, 115, 234, 0.3);
  box-shadow: 0 18px 40px rgba(0, 115, 234, 0.1);
}

.notetaker-section {
  border-block: 1px solid var(--line);
  background: #ffffff;
}

.notetaker-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.notetaker-form,
.notes-output,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notetaker-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-row textarea {
  min-height: 260px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 115, 234, 0.1);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-status.error {
  color: var(--brand);
}

.notes-output {
  min-height: 644px;
  overflow: hidden;
}

.empty-state {
  display: flex;
  min-height: 644px;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.empty-state span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state h3 {
  max-width: 420px;
  margin-top: 12px;
  font-size: 34px;
}

.notes-document {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.notes-document header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.notes-document h3 {
  margin: 6px 0 0;
  color: var(--ink-strong);
  font-size: 24px;
  font-weight: 850;
}

.provider-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--teal);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.notes-section {
  display: grid;
  gap: 10px;
}

.notes-section h4 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 900;
}

.notes-section p,
.notes-section li {
  color: #405064;
  font-size: 14px;
}

.notes-section p {
  margin: 0;
}

.notes-section ul,
.action-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notes-section li {
  border: 1px solid #e8edf2;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 10px 12px;
}

.action-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 120px;
  gap: 10px;
  align-items: start;
}

.action-list strong,
.action-list span {
  display: block;
}

.action-list span {
  color: var(--muted);
  font-size: 12px;
}

.followup-email {
  white-space: pre-wrap;
}

.notice-banner {
  border: 1px solid rgba(183, 121, 31, 0.28);
  border-radius: 8px;
  background: #fffbeb;
  color: #805b12;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

.pricing-section {
  background: #f7f9fb;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-grid.four-tier-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.pricing-card.highlighted {
  border-color: rgba(0, 115, 234, 0.4);
  box-shadow: var(--shadow);
}

.pricing-card h3 {
  margin-top: 8px;
  font-size: 24px;
}

.pricing-card p {
  margin: 12px 0 0;
  font-size: 15px;
}

.pricing-card ul {
  margin: 24px 0;
}

.pricing-card .button {
  margin-top: auto;
}

.price {
  margin-top: 18px;
  color: var(--ink-strong);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.price span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.proof-section {
  background: #ffffff;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  border-left: 3px solid var(--brand);
  background: #f8fafc;
  padding: 18px 20px;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  color: var(--ink-strong);
  font-weight: 900;
}

.proof-list span {
  margin-top: 4px;
  color: var(--muted);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.testimonial-grid figure {
  margin: 0;
  padding: 24px;
}

.testimonial-grid p {
  margin: 0;
  color: #344054;
  font-size: 15px;
}

.testimonial-grid figcaption {
  margin-top: 18px;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 900;
}

.cta-section {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 8px;
  background: var(--ink-strong);
  padding: 42px;
}

.cta-section .eyebrow {
  color: #8bd3ff;
}

.cta-section h2 {
  max-width: 780px;
  color: #ffffff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 18, 32, 0.62);
  padding: 20px;
}

.modal.hidden,
.hidden {
  display: none !important;
}

.modal-panel {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 24px;
}

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

.modal-header .eyebrow {
  margin-bottom: 6px;
}

.modal-header h3 {
  font-size: 26px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.site-footer {
  padding: 56px 0 28px;
  color: #c8d2dc;
}

footer.site-footer {
  width: 100%;
  max-width: none;
  background: #111827;
}

.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid h4 {
  margin: 14px 0 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.footer-grid p,
.footer-grid a,
.footer-grid span,
.footer-grid button {
  display: block;
  margin: 8px 0 0;
  border: 0;
  background: transparent;
  color: #c8d2dc;
  padding: 0;
  text-align: left;
  font-size: 14px;
}

.footer-grid a:hover,
.footer-grid button:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  color: #9aa8b6;
  font-size: 13px;
}

.site-footer .brand-mark {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

@media (max-width: 1024px) {
  .hero-grid,
  .notetaker-grid,
  .proof-grid,
  .client-home-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-console {
    max-width: 720px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid.four-tier-grid,
  .metric-card-grid,
  .module-chip-grid,
  .crm-widget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-inner,
  .mobile-menu,
  .hero-grid,
  .section,
  .trust-strip,
  .site-footer,
  .footer-grid,
  .footer-bottom,
  .cta-section {
    width: min(100% - 28px, 1180px);
  }

  .hero-grid {
    min-height: auto;
    padding: 56px 0;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow),
  .proof-grid p {
    font-size: 16px;
  }

  .section-heading h2,
  .proof-grid h2,
  .cta-section h2 {
    font-size: 32px;
  }

  .metric-row,
  .trust-strip,
  .client-actions,
  .signup-grid,
  .tier-selector,
  .feature-selector,
  .metric-card-grid,
  .module-chip-grid,
  .crm-widget-grid,
  .service-grid,
  .pricing-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .notetaker-form,
  .notes-document,
  .modal-panel {
    padding: 18px;
  }

  .form-footer,
  .notes-document header,
  .dashboard-header,
  .cta-section,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .notes-output,
  .empty-state {
    min-height: 420px;
  }

  .empty-state {
    padding: 28px;
  }

  .empty-state h3 {
    font-size: 28px;
  }

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

  .dashboard-header,
  .crm-task-form,
  .crm-inline-form {
    grid-template-columns: 1fr;
  }

  .client-board {
    overflow-x: auto;
  }

  .table-row {
    grid-template-columns: minmax(180px, 1.4fr) 112px 90px 70px;
    min-width: 520px;
  }
}
