:root {
  --ink: #0a1b33;
  --ink-2: #142b4c;
  --blue: #1b57d6;
  --blue-hover: #1649b7;
  --sky: #eaf1fd;
  --sky-2: #f5f8fe;
  --mint: #0b9f88;
  --mint-soft: #e2f7f2;
  --amber: #b77906;
  --amber-soft: #fff4da;
  --paper: #ffffff;
  --text: #1b2c44;
  --muted: #607089;
  --muted-2: #8290a5;
  --line: #dfe6f0;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 12px 32px rgba(10, 27, 51, 0.09);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.client-mode {
  background: var(--sky-2);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(27, 87, 214, 0.25);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.skip-link:focus {
  transform: none;
}

.content {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1220px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.brand-blue {
  color: var(--blue);
}

.brand-node {
  width: 7px;
  height: 7px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(11, 159, 136, 0.12);
}

.brand-inverse {
  color: #fff;
}

.brand-inverse .brand-blue {
  color: #82aaf5;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav button,
.mobile-menu button,
.site-footer button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.desktop-nav button {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav button:hover,
.desktop-nav button.active {
  color: var(--blue);
  background: var(--sky-2);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  margin-right: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button {
  min-height: 42px;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

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

.button-primary {
  color: #fff;
  background: var(--blue);
}

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

.button-secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid #cdd9ee;
}

.button-secondary:hover {
  border-color: var(--blue);
  background: var(--sky-2);
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.96);
}

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

.button-mint {
  color: var(--ink);
  background: #59dcc6;
}

.button-mint:hover {
  background: #7ae6d4;
}

.button-large {
  min-height: 50px;
  padding: 13px 20px;
  font-size: 15px;
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
}

.icon-button:hover {
  background: var(--sky);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
}

.mobile-menu {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  padding: 12px 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-menu > button {
  width: 100%;
  min-height: 44px;
  padding: 10px;
  text-align: left;
  font-weight: 600;
}

.mobile-menu .button {
  margin-top: 8px;
  color: #fff;
  text-align: center;
}

.page {
  animation: page-in 220ms ease;
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero {
  min-height: min(720px, calc(100svh - 110px));
  display: flex;
  align-items: center;
  background-color: #f7f9fc;
  background-image: url("assets/hero-pme-eti.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 70px;
}

.hero-content > * {
  max-width: 590px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(205, 217, 238, 0.9);
  border-radius: 999px;
}

.eyebrow span,
.connected-status > span,
.sync-chip > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.hero h1,
.product-page h1,
.quote-step h1,
.client-topbar h1,
.panel-title h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 5vw, 66px);
}

.hero h1 strong {
  color: var(--blue);
  font-weight: 800;
}

.hero-copy {
  margin: 22px 0 0;
  color: #41536e;
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #334760;
  font-size: 13px;
  font-weight: 600;
}

.hero-proof svg {
  width: 16px;
  color: var(--mint);
}

.partner-strip {
  min-height: 76px;
  display: flex;
  align-items: center;
  background: var(--sky-2);
  border-bottom: 1px solid var(--line);
}

.partner-inner {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.partner-inner > span {
  width: 168px;
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.partner-marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.partner-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 44px;
  animation: partner-scroll 28s linear infinite;
}

.partner-marquee:hover .partner-track,
.partner-marquee:focus-within .partner-track {
  animation-play-state: paused;
}

.partner-logo {
  width: 118px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-logo-square {
  width: 58px;
}

.partner-logo-hiscox {
  overflow: hidden;
}

.partner-logo-hiscox img {
  width: 87px;
  height: auto;
  align-self: start;
}

.partner-logo-mma {
  width: 104px;
  height: 36px;
  overflow: hidden;
}

.partner-logo-mma img {
  width: 122px;
  max-width: none;
  object-position: left center;
}

@keyframes partner-scroll {
  to { transform: translateX(calc(-50% - 22px)); }
}

.section {
  padding-top: 78px;
  padding-bottom: 86px;
}

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

.section-heading > div:first-child {
  max-width: 700px;
}

.section-heading h2,
.process-band h2,
.connected-band h2,
.cta-band h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.section-heading p:not(.section-label),
.process-band .section-heading > p {
  max-width: 610px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading.compact {
  align-items: flex-end;
}

.section-heading.compact > p {
  max-width: 430px;
  margin: 0;
}

.segmented {
  display: inline-flex;
  flex-shrink: 0;
  gap: 3px;
  padding: 4px;
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.segmented button {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--muted);
  border: 0;
  border-radius: 5px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.segmented button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(10, 27, 51, 0.08);
}

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

.solution-card {
  position: relative;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.solution-card:hover,
.solution-card:focus-within,
.solution-card:focus {
  transform: translateY(-3px);
  border-color: #9cb9ee;
  box-shadow: var(--shadow);
  outline: 0;
}

.solution-card.featured {
  border-top: 4px solid var(--blue);
  padding-top: 19px;
}

.solution-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--sky);
  border-radius: 8px;
}

.solution-code {
  position: absolute;
  top: 22px;
  right: 20px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
}

.solution-card h3 {
  min-height: 48px;
  margin: 18px 0 6px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.25;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.text-link svg {
  width: 15px;
}

.process-band {
  padding: 76px 0 82px;
  background: #f1f4f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.process-list li {
  min-height: 210px;
  padding: 24px;
  background: #fff;
}

.process-list > li > span {
  display: block;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
}

.process-list h3 {
  margin: 50px 0 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.connected-band {
  padding: 84px 0;
  color: #fff;
  background: var(--ink);
}

.connected-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 72px;
}

.connected-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #60d9c5;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.connected-band h2 {
  color: #fff;
}

.connected-band > .content > div:first-child > p:not(.connected-status) {
  max-width: 570px;
  margin: 18px 0 0;
  color: #a9bad2;
  font-size: 16px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 13px;
}

.feature-list li > svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #60d9c5;
}

.feature-list b,
.feature-list span {
  display: block;
}

.feature-list b {
  color: #fff;
  font-size: 14px;
}

.feature-list span {
  color: #92a5c0;
  font-size: 13px;
}

.dashboard-preview {
  padding: 18px;
  color: var(--text);
  border: 1px solid #294363;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.preview-head,
.preview-contract {
  display: flex;
  align-items: center;
}

.preview-head {
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.sync-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.preview-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--line);
}

.preview-stat-row div {
  padding: 13px;
  background: var(--sky-2);
}

.preview-stat-row small,
.preview-stat-row strong {
  display: block;
}

.preview-stat-row small {
  color: var(--muted-2);
  font-size: 10px;
}

.preview-stat-row strong {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
}

.preview-contract {
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.preview-contract > svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.preview-contract > div {
  min-width: 0;
  flex: 1;
}

.preview-contract b,
.preview-contract small {
  display: block;
}

.preview-contract b {
  color: var(--ink);
  font-size: 13px;
}

.preview-contract small {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-contract > span {
  padding: 4px 7px;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
}

.reviews-band {
  padding: 76px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: 54px;
  align-items: start;
}

.reviews-intro h2 {
  max-width: 420px;
  margin-top: 9px;
  font-size: clamp(28px, 3.5vw, 44px);
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 26px 0 22px;
}

.reviews-score > strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 44px;
}

.reviews-score > span,
.reviews-score small {
  display: block;
}

.reviews-score small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-stars svg.empty {
  fill: none;
  opacity: 0.35;
}

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

.review-item {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--sky-2);
}

.review-item > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.review-item b,
.review-item small {
  display: block;
}

.review-item b {
  color: var(--ink);
  font-size: 13px;
}

.review-item small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10px;
}

.review-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 17px 0 0;
  color: #40536d;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.button svg[data-lucide="loader-circle"] {
  animation: loading-spin 900ms linear infinite;
}

@keyframes loading-spin {
  to { transform: rotate(360deg); }
}

.cta-band {
  padding: 54px 0;
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-band h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.product-hero {
  padding: 46px 0 72px;
  background: var(--sky-2);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 34px;
  color: var(--muted-2);
  font-size: 12px;
}

.breadcrumb button {
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.breadcrumb svg {
  width: 14px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.75fr);
  align-items: start;
  gap: 70px;
}

.product-page h1 {
  margin-top: 18px;
  font-size: clamp(46px, 6vw, 74px);
}

.product-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-top: 34px;
}

.coverage-list > div {
  display: flex;
  gap: 11px;
}

.coverage-list > div > svg {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 3px;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 5px;
}

.coverage-list p {
  margin: 0;
}

.coverage-list b,
.coverage-list span {
  display: block;
}

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

.coverage-list span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.estimator {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 15px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.estimator h2 {
  margin: 5px 0 2px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
}

.estimator > div:first-child > span {
  color: var(--muted);
  font-size: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #43546b;
  font-size: 12px;
  font-weight: 700;
}

.optional-label {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 500;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd9e7;
  border-radius: 6px;
}

input:focus,
select:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(27, 87, 214, 0.1);
}

.input-suffix {
  position: relative;
}

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

.input-suffix > span {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-weight: 600;
}

.estimate-result {
  padding: 14px;
  background: var(--sky);
  border-radius: 7px;
}

.estimate-result span,
.estimate-result strong,
.estimate-result small {
  display: block;
}

.estimate-result span,
.estimate-result small {
  color: var(--muted);
  font-size: 11px;
}

.estimate-result strong {
  margin: 2px 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 22px;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 9px;
}

.form-note svg {
  width: 14px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-row > div {
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.metric-row > div:last-child {
  border: 0;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  color: var(--blue);
  font-family: var(--display);
  font-size: 34px;
}

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

.quote-page {
  min-height: calc(100svh - var(--header-height));
  padding: 34px 0 60px;
  background: var(--sky-2);
}

.quote-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}

.quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.save-status,
.reassurance-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
}

.save-status svg,
.reassurance-row svg {
  width: 14px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.stepper > div {
  min-width: 0;
  text-align: center;
}

.stepper span {
  display: block;
  height: 5px;
  margin-bottom: 7px;
  overflow: hidden;
  background: #d5deeb;
  border-radius: 5px;
}

.stepper div.completed span,
.stepper div.active span {
  background: var(--blue);
}

.stepper small {
  display: block;
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.stepper div.completed small,
.stepper div.active small {
  color: var(--ink);
}

.quote-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-step h1 {
  margin-top: 6px;
  font-size: clamp(28px, 5vw, 38px);
}

.quote-step > p:not(.section-label) {
  margin: 8px 0 26px;
  color: var(--muted);
}

.field-grid,
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.choice-grid {
  margin-bottom: 22px;
}

.choice {
  position: relative;
  min-height: 92px;
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #ccd7e6;
  border-radius: 7px;
  cursor: pointer;
}

.choice:hover,
.choice:has(input:checked) {
  border-color: var(--blue);
  background: var(--sky-2);
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
}

.choice > svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 9px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 7px;
}

.choice b,
.choice small {
  display: block;
}

.choice b {
  color: var(--ink);
  font-size: 14px;
}

.choice small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 500;
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.quote-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-error {
  margin-top: 18px;
  padding: 10px 12px;
  color: var(--danger);
  background: var(--danger-soft);
  border-radius: 6px;
  font-size: 12px;
}

.quote-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.quote-summary div {
  min-height: 75px;
  padding: 14px;
  background: var(--sky-2);
}

.quote-summary small,
.quote-summary b {
  display: block;
}

.quote-summary small {
  color: var(--muted-2);
  font-size: 10px;
}

.quote-summary b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.preview-warning {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  color: #775511;
  background: var(--amber-soft);
  border-radius: 7px;
}

.preview-warning p {
  margin: 0;
}

.preview-warning b,
.preview-warning span {
  display: block;
}

.preview-warning span {
  margin-top: 2px;
  font-size: 11px;
}

.reassurance-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
}

.reassurance-row span {
  color: var(--muted);
}

.demo-banner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 20px;
  color: #705008;
  background: var(--amber-soft);
  border-bottom: 1px solid #efd493;
  font-size: 11px;
}

.demo-banner svg {
  width: 15px;
}

.demo-banner button {
  margin-left: 10px;
  padding: 0;
  color: var(--blue);
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.client-app {
  min-height: calc(100svh - var(--header-height) - 40px);
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}

.client-sidebar {
  display: flex;
  flex-direction: column;
  padding: 24px 14px;
  color: #fff;
  background: var(--ink);
}

.client-sidebar > .brand {
  margin: 0 10px 28px;
}

.client-sidebar nav {
  display: grid;
  gap: 4px;
}

.client-sidebar nav button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  color: #a6b6cd;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
}

.client-sidebar nav button:hover,
.client-sidebar nav button.active {
  color: #fff;
  background: var(--blue);
}

.advisor-block {
  margin-top: auto;
  padding: 13px;
  border: 1px solid #294363;
  border-radius: 7px;
}

.advisor-block > small {
  color: #8296b3;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.advisor-block > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
}

.advisor-block p {
  min-width: 0;
  margin: 0;
}

.advisor-block b,
.advisor-block a {
  display: block;
}

.advisor-block b {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-block a {
  color: #91a5c0;
  font-size: 10px;
  text-decoration: none;
}

.client-main {
  min-width: 0;
  background: var(--sky-2);
}

.client-topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.client-topbar h1,
.panel-title h1 {
  font-size: 26px;
}

.client-topbar p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.client-content {
  padding: 24px 28px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-item {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.stat-item small,
.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.stat-item strong {
  margin-top: 9px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 28px;
}

.stat-item span {
  margin-top: 2px;
  color: var(--mint);
  font-size: 11px;
}

.stat-item span.due {
  color: var(--amber);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.tool-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.tool-panel > header,
.panel-title,
.claim-detail > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tool-panel > header {
  margin-bottom: 14px;
}

.tool-panel h2,
.claim-detail h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
}

.tool-panel > header button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.tool-panel > header button svg {
  width: 14px;
}

.contract-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 11px;
  border-top: 1px solid var(--line);
}

.contract-row:first-child {
  border-top: 0;
}

.contract-row > i,
.contract-row > svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 9px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 7px;
}

.contract-row > div {
  min-width: 0;
  flex: 1;
}

.contract-row b,
.contract-row small {
  display: block;
}

.contract-row b {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-row small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.contract-row > p {
  margin: 0;
  text-align: right;
}

.contract-row > p strong,
.contract-row > p span {
  display: block;
}

.contract-row > p strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.contract-row > p span {
  color: var(--muted);
  font-size: 9px;
}

.status-badge {
  padding: 4px 8px;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
}

.claim-timeline {
  display: grid;
  gap: 0;
}

.claim-step {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding-bottom: 17px;
}

.claim-step:last-child {
  padding-bottom: 0;
}

.claim-step::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: var(--line);
}

.claim-step:last-child::before {
  display: none;
}

.claim-dot {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.claim-step.ok .claim-dot {
  border-color: var(--mint);
  background: var(--mint);
}

.claim-step.current .claim-dot {
  border-color: var(--blue);
}

.claim-step b,
.claim-step span,
.claim-step small {
  display: block;
}

.claim-step b {
  color: var(--ink);
  font-size: 12px;
}

.claim-step span {
  color: var(--muted);
  font-size: 10px;
}

.claim-step small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.dashboard-docs {
  grid-column: 1;
}

.document-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.document-item {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}

.document-item:hover {
  border-color: var(--blue);
  background: var(--sky-2);
}

.document-item > svg:first-child {
  flex: 0 0 auto;
  color: var(--blue);
}

.document-item > div {
  min-width: 0;
  flex: 1;
}

.document-item b,
.document-item small {
  display: block;
}

.document-item b {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-item small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
}

.document-item > svg:last-child {
  width: 15px;
  color: var(--muted-2);
}

.advisor-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: #fff;
  background: var(--ink-2);
  border-radius: 7px;
}

.advisor-cta > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.advisor-cta p {
  margin: 0;
}

.advisor-cta small,
.advisor-cta b {
  display: block;
}

.advisor-cta small {
  color: #8fa2bd;
  font-size: 9px;
}

.advisor-cta b {
  font-size: 12px;
}

.panel-title {
  margin-bottom: 18px;
}

.list-panel {
  padding-top: 6px;
  padding-bottom: 6px;
}

.document-grid-large {
  grid-template-columns: repeat(3, 1fr);
}

.claim-detail {
  max-width: 760px;
}

.claim-detail > header {
  align-items: flex-start;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.claim-detail > header h2 {
  margin-top: 8px;
}

.claim-detail > header > b {
  font-family: var(--mono);
  font-size: 11px;
}

.message-layout {
  min-height: 480px;
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.conversation-list {
  padding: 10px;
  border-right: 1px solid var(--line);
}

.conversation-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: var(--sky);
  text-align: left;
}

.conversation-list p,
.conversation-head p {
  margin: 0;
}

.conversation-list b,
.conversation-list small,
.conversation-head b,
.conversation-head small {
  display: block;
}

.conversation-list b,
.conversation-head b {
  color: var(--ink);
  font-size: 12px;
}

.conversation-list small,
.conversation-head small {
  color: var(--muted);
  font-size: 9px;
}

.conversation {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.conversation-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.messages {
  padding: 20px;
}

.messages p {
  width: fit-content;
  max-width: 72%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 12px;
}

.messages .received {
  background: var(--sky-2);
}

.messages .sent {
  margin-left: auto;
  color: #fff;
  background: var(--blue);
}

.conversation form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.conversation form input {
  min-width: 0;
  flex: 1;
}

.site-footer {
  padding: 50px 0 20px;
  color: #94a5bd;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 42px;
}

.footer-grid p {
  max-width: 260px;
  margin: 14px 0 7px;
  font-size: 13px;
}

.footer-grid small,
.footer-grid span {
  font-size: 11px;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid b {
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid button {
  width: fit-content;
  padding: 0;
  color: #94a5bd;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #263c5a;
  font-family: var(--mono);
  font-size: 9px;
}

.legal-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  padding: 28px;
  color: var(--text);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 27, 51, 0.25);
}

.legal-dialog::backdrop {
  background: rgba(10, 27, 51, 0.64);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.legal-dialog h2 {
  margin: 0 0 16px;
  font-family: var(--display);
}

.legal-dialog p {
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 12px 15px;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
  box-shadow: var(--shadow);
  font-size: 12px;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    background-position: center;
  }

  .hero-content > * {
    max-width: 520px;
  }

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

  .connected-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .dashboard-preview {
    max-width: 680px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .estimator {
    position: static;
    max-width: 560px;
  }

  .client-app {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .client-sidebar {
    padding: 18px 10px;
  }

  .client-sidebar > .brand,
  .client-sidebar nav span,
  .advisor-block {
    display: none;
  }

  .client-sidebar nav button {
    justify-content: center;
    padding: 10px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .content,
  .hero-content {
    width: min(100% - 32px, 1160px);
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    font-size: 20px;
  }

  .header-phone,
  .desktop-action {
    display: none;
  }

  .hero {
    min-height: 0;
    display: block;
    padding-top: 260px;
    background-position: 68% top;
    background-size: auto 340px;
  }

  .hero-content {
    width: 100%;
    padding: 26px 16px 30px;
    background: rgba(255, 255, 255, 0.94);
  }

  .hero h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    font-size: 15px;
  }

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

  .hero-proof {
    gap: 10px 16px;
  }

  .partner-inner,
  .section-heading,
  .section-heading.compact,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-inner {
    padding: 18px 0;
  }

  .partner-inner > span {
    width: auto;
  }

  .partner-marquee {
    width: 100%;
  }

  .partner-track {
    gap: 30px;
  }

  .reviews-layout,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-layout {
    gap: 32px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .solution-grid,
  .process-list,
  .coverage-list,
  .metric-row,
  .field-grid,
  .choice-grid,
  .stats-grid,
  .dashboard-grid,
  .document-grid-large,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 0;
  }

  .solution-card h3 {
    min-height: 0;
  }

  .process-list li {
    min-height: 150px;
  }

  .process-list h3 {
    margin-top: 26px;
  }

  .connected-band {
    padding: 62px 0;
  }

  .connected-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-stat-row {
    grid-template-columns: 1fr;
  }

  .preview-stat-row div {
    min-height: 64px;
  }

  .cta-inner > div:last-child,
  .cta-inner .button {
    width: 100%;
  }

  .product-hero {
    padding-top: 28px;
  }

  .product-page h1 {
    font-size: 46px;
  }

  .metric-row > div {
    min-height: 110px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-row > div:last-child {
    border-bottom: 0;
  }

  .quote-top {
    align-items: flex-start;
  }

  .save-status {
    max-width: 170px;
    text-align: right;
  }

  .stepper small {
    font-size: 7px;
  }

  .quote-form {
    padding: 24px 18px;
  }

  .quote-summary {
    grid-template-columns: 1fr;
  }

  .reassurance-row {
    gap: 10px;
  }

  .client-app {
    grid-template-columns: 1fr;
  }

  .client-sidebar {
    position: sticky;
    z-index: 20;
    top: var(--header-height);
    display: block;
    padding: 7px 10px;
    overflow-x: auto;
  }

  .client-sidebar nav {
    display: flex;
    min-width: max-content;
  }

  .client-sidebar nav button {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

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

  .client-content {
    padding: 16px;
  }

  .document-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-docs {
    grid-column: auto;
  }

  .advisor-cta,
  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .advisor-cta .button,
  .panel-title .button {
    width: 100%;
  }

  .message-layout {
    grid-template-columns: 1fr;
  }

  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    padding-top: 40px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 0;
    padding-top: 245px;
    background-position: 70% top;
    background-size: auto 320px;
  }

  .hero-content {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-proof li {
    width: 100%;
  }

  .quote-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quote-actions .button {
    width: 100%;
  }

  .reassurance-row {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 10px;
  }

  .demo-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contract-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contract-row > p {
    width: 100%;
    padding-left: 50px;
    text-align: left;
  }
}

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