:root {
  --paper: #f7f6f2;
  --paper-2: #ece9e2;
  --surface: #ffffff;
  --surface-soft: #f1efe9;
  --ink: #231f20;
  --ink2: #494443;
  --muted: #6b6662;
  --brand: #ed1c24;
  --brand-dark: #bd151d;
  --brand-soft: rgba(237, 28, 36, 0.1);
  --line: rgba(35, 31, 32, 0.18);
  --line-strong: rgba(35, 31, 32, 0.34);
  --shadow: 0 24px 60px -38px rgba(35, 31, 32, 0.52);
  --shadow-small: 0 15px 34px -26px rgba(35, 31, 32, 0.45);
  --ok: #397647;
  --warn: #a7761f;
  --err: #b5432f;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --radius: 12px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 12% 0%, #fff 0, transparent 72%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  font: 16px/1.58 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 31, 32, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 31, 32, 0.025) 1px, transparent 1px);
  background-size: 16px 16px;
}

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin-top: 0;
  text-wrap: pretty;
}

.accent { color: var(--brand-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 66px;
  padding: 9px clamp(18px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.91);
  box-shadow: 0 12px 30px -28px rgba(35, 31, 32, 0.8);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 40px;
  height: 40px;
}

.brand b { font-weight: 850; }

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(167, 118, 31, 0.12);
}

.service-status.online .status-dot {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(57, 118, 71, 0.12);
}

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

.hero {
  max-width: 920px;
  padding: clamp(62px, 8vw, 96px) 0 clamp(42px, 6vw, 66px);
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 5.4vw, 61px);
  font-weight: 850;
}

.hero > p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ink2);
  font-size: clamp(17px, 2vw, 19px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
}

.hero-points span {
  position: relative;
  padding-left: 21px;
  color: var(--ink2);
  font-size: 14px;
  font-weight: 650;
}

.hero-points span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  align-items: start;
}

.panel,
.results-section,
.handoff-section {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
}

.panel-heading,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading h2,
.section-heading h2,
.handoff-section h2 {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 830;
}

.ai-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-label {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.panel-intro {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.comparison-table-wrap {
  max-height: 555px;
  margin-top: 22px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  scrollbar-color: rgba(35, 31, 32, 0.26) transparent;
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  table-layout: fixed;
  border-spacing: 0;
  border-collapse: separate;
  color: var(--ink2);
  font-size: 12px;
}

.comparison-table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 11px 9px;
  border-bottom: 1px solid var(--line-strong);
  background: #eeece6;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
}

.comparison-table thead th:first-child {
  width: 47%;
  left: 0;
  z-index: 3;
  text-align: left;
}

.comparison-table thead th:nth-child(2),
.comparison-table thead th:nth-child(3),
.comparison-table thead th:nth-child(4) { width: 12%; }

.comparison-table thead th:last-child { width: 17%; }

.comparison-table thead small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0;
}

.comparison-table tbody th,
.comparison-table tbody td {
  padding: 9px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: 0; }

.comparison-table tbody tr:hover th,
.comparison-table tbody tr:hover td { background: var(--brand-soft); }

.comparison-table tbody th {
  position: sticky;
  z-index: 1;
  left: 0;
  min-width: 0;
  text-align: left;
}

.comparison-table tbody th strong,
.comparison-table tbody th small { display: block; }

.comparison-table tbody th strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.comparison-table tbody th small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.42;
}

.comparison-table input {
  width: 100%;
  max-width: 72px;
  padding: 7px 6px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
}

.comparison-table input[data-field="workbench"] {
  border-color: rgba(237, 28, 36, 0.36);
  background: #fff9f8;
}

.comparison-saving {
  min-width: 0;
  color: var(--ok);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.comparison-saving.negative,
.comparison-summary strong.negative { color: var(--err); }

.comparison-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.comparison-summary > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
}

.comparison-summary > div.highlight {
  border-color: rgba(237, 28, 36, 0.38);
  background: var(--brand-soft);
}

.comparison-summary span,
.comparison-summary strong { display: block; }

.comparison-summary span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.comparison-summary strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.comparison-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.messages {
  height: 440px;
  margin: 26px -4px 18px 0;
  padding-right: 8px;
  overflow-y: auto;
  scrollbar-color: rgba(35, 31, 32, 0.26) transparent;
}

.message {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.message.user { justify-content: flex-end; }

.avatar {
  flex: 0 0 auto;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--paper) url("./logo.svg?v=20260715-6") center / 27px 27px no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: var(--shadow-small);
}

.bubble {
  max-width: min(82%, 620px);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 5px 12px 12px;
  background: var(--surface);
  color: var(--ink2);
  box-shadow: var(--shadow-small);
  white-space: pre-wrap;
}

.user .bubble {
  border-color: rgba(237, 28, 36, 0.28);
  border-radius: 12px 5px 12px 12px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  color: var(--ink);
  box-shadow: none;
}

.message.loading .bubble {
  color: var(--muted);
  font-style: italic;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.quick-actions button,
.text-button {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 8px 11px;
  color: var(--ink2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.quick-actions button:hover,
.text-button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.chat-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  padding: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.chat-form textarea {
  flex: 1;
  min-height: 50px;
  max-height: 150px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px;
  color: var(--ink);
}

.send-button,
.primary-button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(180deg, #343132, #231f20);
  padding: 11px 18px;
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(35, 31, 32, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.send-button::before,
.primary-button::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 4px;
  height: 2px;
  border-radius: 3px;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(237, 28, 36, 0.65);
}

.send-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(35, 31, 32, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.send-button:disabled,
.primary-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.privacy-note,
.disclaimer,
.form-error,
.lead-message {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.audit-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.audit-group {
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.audit-group h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.audit-form label,
.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--ink2);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

textarea {
  min-height: 112px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

input[readonly] {
  border-style: dashed;
  background: var(--surface-soft);
  color: var(--muted);
}

.field-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.audit-group > .form-grid:first-of-type { margin-top: 0; }
.audit-group > label + .form-grid:first-of-type { margin-top: 14px; }

.calculated-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.input-suffix {
  position: relative;
  display: block;
}

.input-suffix input { padding-right: 42px; }

.input-suffix > span {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  transform: translateY(-50%);
}

.form-grid .full-row { grid-column: 1 / -1; }

[data-cost-field][hidden] { display: none; }

.consent {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
}

.check input,
.consent input {
  width: auto;
  accent-color: var(--brand);
}

.form-error {
  min-height: 18px;
  color: var(--err);
}

.software-section {
  margin-top: 20px;
}

.software-section .panel-intro { max-width: 860px; }

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.software-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.software-card.selected {
  border-color: rgba(237, 28, 36, 0.52);
  background: var(--brand-soft);
  box-shadow: inset 3px 0 0 var(--brand);
}

.software-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.software-toggle input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--brand);
}

.software-toggle strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.results-section {
  margin-top: 20px;
  padding: 36px;
}

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

.result-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.result-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 86px;
  height: 86px;
  background: rgba(35, 31, 32, 0.04);
  transform: rotate(45deg);
}

.result-card.realistic {
  border-color: var(--brand);
  border-top-color: var(--brand);
  background: linear-gradient(180deg, #fff, var(--surface-soft));
}

.result-card.realistic::after { background: var(--brand-soft); }

.result-card h3 {
  margin-bottom: 20px;
  font-size: 16px;
}

.result-main {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(27px, 3.5vw, 38px);
  font-weight: 880;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.result-main small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0;
}

.result-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.result-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  text-align: right;
}

.handoff-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 6vw, 70px);
  margin: 20px 0 70px;
  padding: 40px;
  border-left: 4px solid var(--brand);
  border-radius: 0 15px 15px 0;
  background: rgba(255, 255, 255, 0.76);
}

.handoff-section p {
  margin-top: 16px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.optional-label {
  margin-left: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
}

.consent-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.consent-wrap .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 0;
  padding: 4px 0;
}

.consent-wrap .consent > input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  padding: 0;
}

.consent-wrap > a {
  flex: 0 0 auto;
  padding-top: 5px;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form .consent-wrap,
.lead-form .full-row,
.lead-form .primary-button,
.lead-feedback { grid-column: 1 / -1; }

.lead-form.is-complete {
  grid-template-columns: 1fr;
}

.lead-form.is-complete > label:not(.hp),
.lead-form.is-complete > .consent-wrap,
.lead-form.is-complete > .primary-button {
  display: none;
}

.lead-feedback {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(41, 125, 74, 0.38);
  border-radius: 12px;
  outline: none;
  background: rgba(41, 125, 74, 0.08);
}

.lead-feedback[hidden] { display: none; }

.lead-feedback.is-error {
  border-color: rgba(181, 67, 47, 0.4);
  background: rgba(181, 67, 47, 0.08);
}

.lead-feedback-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.lead-feedback.is-error .lead-feedback-icon { background: var(--err); }

.lead-feedback-kicker {
  margin: 0 0 5px !important;
  color: var(--ok) !important;
  font-family: var(--mono);
  font-size: 10px !important;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-feedback.is-error .lead-feedback-kicker { color: var(--err) !important; }

.lead-feedback h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.lead-feedback .lead-message {
  margin: 8px 0 0;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.5;
}

.lead-reference {
  display: inline-flex;
  gap: 7px;
  margin: 14px 0 0 !important;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted) !important;
  font-family: var(--mono);
  font-size: 10px !important;
}

.lead-reference strong { color: var(--ink); }

.lead-steps-title {
  margin: 16px 0 0 !important;
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 800;
}

.lead-next-steps {
  display: grid;
  gap: 6px;
  margin: 8px 0 16px;
  padding-left: 20px;
  color: var(--ink2);
  font-size: 12px;
  line-height: 1.45;
}

.secondary-button {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  padding: 9px 13px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.secondary-button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(235, 232, 224, 0.88);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
}

.footer-brand,
.footer-links,
.footer-linkedin {
  color: inherit;
  text-decoration: none;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  white-space: nowrap;
}

.footer-brand img { width: 30px; height: 30px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-brand:hover { color: var(--brand-dark); }

.footer-linkedin {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
}

.footer-linkedin:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  text-wrap: pretty;
}

.cc-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  border-top: 1px solid var(--line);
  background: rgba(247, 246, 242, 0.97);
  box-shadow: 0 -10px 30px -24px rgba(35, 31, 32, 0.8);
  backdrop-filter: blur(10px);
  animation: cc-in 0.3s ease;
}

@keyframes cc-in {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

.cc-banner.cc-hide {
  visibility: hidden;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.cc-in {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cc-text {
  flex: 1 1 420px;
  margin: 0;
  color: var(--ink2);
  font-size: 13px;
}

.cc-text a {
  color: var(--brand-dark);
  text-decoration: underline;
}

.cc-btns {
  display: flex;
  gap: 10px;
}

.cc-btns button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.cc-btns .cc-accept {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.cc-btns button:hover { border-color: var(--brand); }
.cc-btns .cc-accept:hover { background: var(--brand-dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .workspace,
  .handoff-section { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .messages { height: 360px; }
}

@media (max-width: 860px) {
  .software-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 62px; }
  .brand span { font-size: 14px; }
  .brand img { width: 36px; height: 36px; }
  .service-status { font-size: 0; }
  main { width: min(var(--max), calc(100% - 24px)); }
  .hero { padding: 46px 0 38px; }
  .hero h1 { font-size: clamp(34px, 11vw, 48px); }
  .hero > p { font-size: 16px; }
  .hero-points { display: grid; gap: 7px; }
  .panel,
  .results-section,
  .handoff-section { padding: 22px 18px; }
  .form-grid,
  .lead-form { grid-template-columns: 1fr; }
  .calculated-grid { grid-template-columns: 1fr; }
  .lead-form > * { grid-column: 1; }
  .consent-wrap { align-items: stretch; flex-direction: column; gap: 2px; }
  .consent-wrap > a { padding: 0 0 0 26px; }
  .lead-feedback { grid-template-columns: 1fr; }
  .lead-feedback-icon { width: 42px; height: 42px; }
  .software-grid { grid-template-columns: 1fr; }
  .comparison-summary { grid-template-columns: 1fr 1fr; }
  .comparison-table-wrap { margin-right: -4px; }
  .chat-form {
    align-items: stretch;
    flex-direction: column;
  }
  .send-button { width: 100%; }
  .section-heading { flex-direction: column; }
  .footer-inner {
    width: min(var(--max), calc(100% - 32px));
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .footer-meta { flex-direction: column; }
  .cc-in { width: min(var(--max), calc(100% - 32px)); }
  .cc-btns { width: 100%; }
  .cc-btns button { flex: 1 1 0; }
}
