:root {
  color-scheme: light;
  --bg: #f5f8fd;
  --bg-soft: #dce9f9;
  --bg-elevated: rgba(255, 255, 255, 0.9);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-light: rgba(7, 29, 59, 0.04);
  --line: rgba(23, 60, 106, 0.12);
  --line-strong: rgba(23, 60, 106, 0.2);
  --text: #10213e;
  --text-soft: #425979;
  --text-muted: #6a7f9e;
  --brand: #5de0c2;
  --brand-strong: #11ba98;
  --brand-glow: rgba(93, 224, 194, 0.28);
  --accent: #bfe86b;
  --accent-deep: #8ab432;
  --warm: #ffd39a;
  --danger: #ff8e92;
  --shadow-xl: 0 28px 70px rgba(28, 60, 105, 0.16);
  --shadow-lg: 0 18px 40px rgba(28, 60, 105, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 32px));
  --ease: 240ms ease;
  --body-bg:
    radial-gradient(circle at top left, rgba(93, 224, 194, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(191, 232, 107, 0.18), transparent 26%),
    linear-gradient(180deg, #f9fcff 0%, #eef5fd 44%, #e6eef7 100%);
  --ambient-one-bg: radial-gradient(circle, rgba(93, 224, 194, 0.22), transparent 72%);
  --ambient-two-bg: radial-gradient(circle, rgba(191, 232, 107, 0.14), transparent 72%);
  --topbar-bg: rgba(255, 255, 255, 0.72);
  --header-bg: rgba(255, 255, 255, 0.76);
  --hero-accent-bg: rgba(191, 232, 107, 0.12);
  --hero-accent-border: rgba(191, 232, 107, 0.26);
  --hero-accent-text: #497528;
  --button-ghost-bg: rgba(255, 255, 255, 0.58);
  --progress-track: rgba(16, 33, 62, 0.09);
  --input-bg: rgba(247, 250, 255, 0.96);
  --input-placeholder: #7b8daa;
  --quote-summary-bg: rgba(93, 224, 194, 0.1);
  --quote-summary-text: #0f6655;
  --section-contrast-bg:
    radial-gradient(circle at top left, rgba(191, 232, 107, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.2));
  --section-gradient-bg:
    radial-gradient(circle at top right, rgba(93, 224, 194, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(233, 242, 251, 0.64));
  --mobile-cta-bg: linear-gradient(180deg, rgba(245, 248, 253, 0), rgba(245, 248, 253, 0.95) 34%);
  --chat-panel-bg:
    radial-gradient(circle at top right, rgba(93, 224, 194, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), transparent 18%),
    rgba(247, 250, 255, 0.98);
  --chat-form-bg: rgba(240, 246, 253, 0.86);
  --chat-user-bg: rgba(191, 232, 107, 0.22);
  --chat-user-border: rgba(191, 232, 107, 0.4);
  --chat-user-text: #556b16;
  --chat-assistant-bg: rgba(255, 255, 255, 0.82);
  --chat-assistant-border: rgba(23, 60, 106, 0.12);
  --chat-source-text: #0d6454;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #0f1d32;
  --bg-elevated: rgba(14, 27, 48, 0.82);
  --surface: rgba(16, 29, 52, 0.72);
  --surface-strong: rgba(13, 24, 43, 0.96);
  --surface-light: rgba(255, 255, 255, 0.08);
  --line: rgba(185, 209, 255, 0.16);
  --line-strong: rgba(185, 209, 255, 0.28);
  --text: #f4f8ff;
  --text-soft: #bfd0ea;
  --text-muted: #8ca0bf;
  --shadow-xl: 0 30px 80px rgba(3, 9, 20, 0.44);
  --shadow-lg: 0 18px 45px rgba(2, 10, 25, 0.32);
  --body-bg:
    radial-gradient(circle at top left, rgba(83, 150, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #091120 0%, #07101c 42%, #07121d 100%);
  --ambient-one-bg: radial-gradient(circle, rgba(93, 224, 194, 0.24), transparent 72%);
  --ambient-two-bg: radial-gradient(circle, rgba(191, 232, 107, 0.16), transparent 72%);
  --topbar-bg: rgba(4, 10, 19, 0.62);
  --header-bg: rgba(6, 12, 22, 0.66);
  --hero-accent-bg: rgba(191, 232, 107, 0.07);
  --hero-accent-border: rgba(191, 232, 107, 0.18);
  --hero-accent-text: #ecffd0;
  --button-ghost-bg: rgba(255, 255, 255, 0.05);
  --progress-track: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(7, 15, 28, 0.92);
  --input-placeholder: #7082a0;
  --quote-summary-bg: rgba(93, 224, 194, 0.08);
  --quote-summary-text: #ddfff7;
  --section-contrast-bg:
    radial-gradient(circle at top left, rgba(191, 232, 107, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  --section-gradient-bg:
    radial-gradient(circle at top right, rgba(93, 224, 194, 0.09), transparent 26%),
    linear-gradient(180deg, rgba(9, 19, 34, 0.86), rgba(8, 16, 31, 0.3));
  --mobile-cta-bg: linear-gradient(180deg, rgba(7, 14, 25, 0), rgba(7, 14, 25, 0.95) 34%);
  --chat-panel-bg:
    radial-gradient(circle at top right, rgba(93, 224, 194, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
    rgba(9, 18, 33, 0.96);
  --chat-form-bg: rgba(3, 9, 18, 0.54);
  --chat-user-bg: rgba(191, 232, 107, 0.14);
  --chat-user-border: rgba(191, 232, 107, 0.22);
  --chat-user-text: #efffcf;
  --chat-assistant-bg: rgba(255, 255, 255, 0.05);
  --chat-assistant-border: rgba(255, 255, 255, 0.07);
  --chat-source-text: #e6fff9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--body-bg);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.7;
  z-index: 0;
}

.ambient-one {
  top: 8%;
  left: -6%;
  width: 20rem;
  height: 20rem;
  background: var(--ambient-one-bg);
}

.ambient-two {
  right: -8%;
  top: 28%;
  width: 24rem;
  height: 24rem;
  background: var(--ambient-two-bg);
}

.container {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  z-index: 1;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--topbar-bg);
  backdrop-filter: blur(16px);
}

.topbar-inner,
.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-inner {
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.topbar-inner p {
  margin: 0;
}

.topbar-inner a {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(93, 224, 194, 0.32), rgba(17, 186, 152, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 30px rgba(6, 186, 152, 0.22);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-lockup strong {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.brand-lockup span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--text-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), rgba(191, 232, 107, 0.4));
  transition: transform var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    border-color var(--ease);
}

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

.button-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--accent) 0%, #d8ff94 100%);
  box-shadow: 0 18px 30px rgba(191, 232, 107, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 34px rgba(191, 232, 107, 0.24);
}

.button-secondary,
.button-ghost,
.button-tertiary {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--button-ghost-bg);
}

.button-tertiary {
  color: var(--text-soft);
}

.button-full {
  width: 100%;
}

.hero-section {
  position: relative;
  padding: 54px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 470px);
  gap: 34px;
  align-items: start;
}

.hero-copy {
  padding: 36px 0 16px;
}

.eyebrow-pill,
.privacy-chip,
.trust-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow-pill,
.privacy-chip {
  padding: 10px 14px;
  border: 1px solid var(--hero-accent-border);
  background: var(--hero-accent-bg);
  color: var(--hero-accent-text);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(191, 232, 107, 0.12);
}

.hero-copy h1,
.section-heading h2,
.quote-card h2,
.stats-copy h2 {
  margin: 18px 0 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  max-width: 11ch;
}

.hero-intro,
.section-heading p,
.benefit-card p,
.feature-card p,
.cover-card p,
.stats-copy p,
.faq-item p,
.quote-card p,
.insight-panel p {
  color: var(--text-soft);
  line-height: 1.68;
}

.hero-intro {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

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

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.signal-card,
.feature-card,
.benefit-card,
.cover-card,
.stat-box,
.faq-item,
.insight-panel,
.trust-strip-inner,
.quote-card,
.stats-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
    var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg);
}

.signal-card {
  padding: 18px;
  border-radius: var(--radius-md);
}

.signal-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.signal-card span {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.quote-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 24px;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(93, 224, 194, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%);
  pointer-events: none;
}

.quote-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.quote-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-kicker,
.trust-label {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
}

.progress-wrap {
  margin-bottom: 24px;
}

.progress-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--progress-track);
}

.progress-bar {
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  transition: width 320ms ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quote-form {
  position: relative;
  z-index: 1;
}

.form-step,
.form-success {
  display: none;
}

.form-step.is-active,
.form-success.is-active {
  display: block;
  animation: fade-slide-in 320ms ease;
}

.step-copy h3,
.success-mark + .section-kicker + h3,
.cover-card h3,
.benefit-card h3,
.feature-card h3,
.insight-panel h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.step-copy p {
  margin: 10px 0 0;
}

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

.field,
.check-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span,
.check-field span {
  font-weight: 700;
  color: var(--text);
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    background var(--ease);
}

.field input::placeholder {
  color: var(--input-placeholder);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(93, 224, 194, 0.8);
  box-shadow: 0 0 0 4px rgba(93, 224, 194, 0.12);
}

.field small {
  color: var(--text-muted);
  line-height: 1.45;
}

.field.has-error input,
.field.has-error select,
.check-field.has-error {
  border-color: rgba(255, 142, 146, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 142, 146, 0.12);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
}

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

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

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

.segmented-control label {
  position: relative;
}

.segmented-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-light);
  color: var(--text-soft);
  text-align: center;
  transition:
    border-color var(--ease),
    transform var(--ease),
    background var(--ease),
    color var(--ease);
}

.segmented-control input:checked + span {
  border-color: rgba(93, 224, 194, 0.86);
  color: var(--text);
  background: rgba(93, 224, 194, 0.14);
  transform: translateY(-1px);
}

.check-field {
  flex-direction: row;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-light);
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.step-footer,
.step-footer-split {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.step-footer {
  flex-direction: column;
}

.step-footer-split {
  justify-content: space-between;
}

.microcopy {
  margin: 0;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
}

.quote-summary {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--quote-summary-bg);
  border: 1px solid rgba(93, 224, 194, 0.2);
  color: var(--quote-summary-text);
  line-height: 1.6;
}

.eligibility-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-light);
  color: var(--text-soft);
}

.eligibility-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.disclosure-page {
  padding: 40px 0 64px;
}

.disclosure-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.disclosure-main,
.disclosure-side {
  display: grid;
  gap: 18px;
}

.disclosure-summary-card p,
.disclosure-section p {
  margin: 0;
}

.disclosure-section p + p {
  margin-top: 12px;
}

.disclosure-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  line-height: 1.6;
}

.disclosure-action-card {
  position: sticky;
  top: 24px;
}

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

.disclosure-success {
  display: grid;
  gap: 12px;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(93, 224, 194, 0.28), rgba(17, 186, 152, 0.92));
  box-shadow: 0 18px 32px rgba(17, 186, 152, 0.22);
  font-size: 1.8rem;
  font-weight: 800;
}

.form-success p {
  margin-top: 14px;
}

.trust-strip {
  padding: 18px 0 0;
}

.trust-strip-inner,
.stats-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-strip-inner p {
  margin: 10px 0 0;
  max-width: 46rem;
  color: var(--text-soft);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.trust-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-light);
  border: 1px solid var(--line);
  color: var(--text-soft);
  white-space: nowrap;
}

.content-section {
  padding: 100px 0 0;
}

.content-section-contrast .container,
.content-section-gradient .container {
  position: relative;
}

.content-section-contrast .container::before,
.content-section-gradient .container::before {
  content: "";
  position: absolute;
  inset: 22px 0 0;
  border-radius: 36px;
  z-index: -1;
}

.content-section-contrast .container::before {
  background: var(--section-contrast-bg);
}

.content-section-gradient .container::before {
  background: var(--section-gradient-bg);
}

.section-heading {
  max-width: 52rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading p {
  margin: 18px 0 0;
  max-width: 42rem;
}

.steps-grid,
.cover-grid,
.stats-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

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

.feature-card,
.cover-card,
.stat-box,
.faq-item {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.card-index {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: #ddfff7;
  background: rgba(93, 224, 194, 0.1);
  border: 1px solid rgba(93, 224, 194, 0.2);
}

.feature-card h3,
.cover-card h3 {
  font-size: 1.35rem;
}

.benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
  margin-top: 30px;
}

.benefit-stack {
  display: grid;
  gap: 16px;
}

.benefit-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(93, 224, 194, 0.14), rgba(93, 224, 194, 0.05));
  border: 1px solid rgba(93, 224, 194, 0.18);
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.insight-panel {
  padding: 28px;
  border-radius: 28px;
}

.insight-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.insight-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
}

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

.privacy-panel {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-light);
  border: 1px solid var(--line);
}

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

.cover-card-featured {
  background:
    radial-gradient(circle at top right, rgba(191, 232, 107, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    var(--surface-strong);
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.stats-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

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

.stat-box strong {
  display: block;
  font-size: 1.03rem;
}

.stat-box span {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.faq-item summary {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 14px 0 0;
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.breadcrumb-trail a {
  color: var(--text-soft);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.article-page {
  padding-top: 36px;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.article-hero-quote {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.article-main,
.article-side {
  min-width: 0;
}

.answer-card,
.copy-card,
.article-side-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.answer-card {
  padding: 22px 24px;
  margin: 26px 0 0;
}

.answer-card p:last-child {
  margin-bottom: 0;
  font-size: 1.03rem;
}

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

.article-section .section-heading {
  max-width: 760px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.76fr);
  gap: 22px;
}

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

.copy-card {
  padding: 26px 28px;
}

.copy-card p:first-child {
  margin-top: 0;
}

.copy-card p:last-child {
  margin-bottom: 0;
}

.article-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.article-list li + li {
  margin-top: 10px;
}

.article-side-card {
  padding: 24px;
  position: sticky;
  top: 108px;
}

.article-side-card .button {
  margin-top: 14px;
}

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

.site-footer {
  padding: 96px 0 118px;
}

.footer-inner {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
}

.footer-inner-site {
  align-items: start;
  gap: 28px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 520px;
}

.footer-links a {
  color: var(--text-soft);
}

.brand-footer .brand-lockup span {
  color: var(--text-soft);
}

.mobile-cta {
  position: sticky;
  bottom: 0;
  z-index: 18;
  display: none;
  padding: 12px 16px 16px;
  background: var(--mobile-cta-bg);
}

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

.chatbot-shell {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 14px;
}

.chatbot-toggle {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(191, 232, 107, 0.2);
  background: linear-gradient(135deg, var(--brand) 0%, #8ef4dd 100%);
  color: #041018;
  font-weight: 800;
  box-shadow: 0 22px 40px rgba(17, 186, 152, 0.24);
}

.chatbot-panel {
  width: min(420px, calc(100vw - 24px));
  max-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: var(--chat-panel-bg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.chatbot-panel[hidden] {
  display: none !important;
}

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

.chatbot-header h2 {
  margin: 10px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.chatbot-close {
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-light);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 10px;
  overflow-y: auto;
}

.chatbot-message {
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.chatbot-message-user {
  align-self: end;
  background: var(--chat-user-bg);
  border: 1px solid var(--chat-user-border);
  color: var(--chat-user-text);
}

.chatbot-message-assistant,
.chatbot-message-system {
  align-self: start;
  background: var(--chat-assistant-bg);
  border: 1px solid var(--chat-assistant-border);
  color: var(--text);
}

.chatbot-message-system {
  color: var(--text-soft);
}

.chatbot-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chatbot-source {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--chat-source-text);
  background: rgba(93, 224, 194, 0.1);
  border: 1px solid rgba(93, 224, 194, 0.2);
}

.chatbot-form {
  margin-top: auto;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--chat-form-bg);
}

.chatbot-input {
  width: 100%;
  min-height: 56px;
  max-height: 120px;
  padding: 16px;
  border-radius: 18px;
  resize: none;
  border: 1px solid transparent;
  background: var(--input-bg);
  color: var(--text);
}

.theme-toggle {
  min-height: 48px;
  padding: 0 16px;
}

.theme-toggle-icon {
  font-size: 1rem;
}

.theme-toggle-label {
  white-space: nowrap;
}

.chatbot-input:focus {
  outline: none;
  border-color: rgba(93, 224, 194, 0.8);
  box-shadow: 0 0 0 4px rgba(93, 224, 194, 0.12);
}

.chatbot-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.chatbot-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.chatbot-send {
  min-width: 96px;
}

.chatbot-toggle.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .benefit-layout,
  .stats-panel,
  .cover-grid,
  .steps-grid,
  .stats-grid,
  .article-hero,
  .article-hero-quote,
  .article-grid,
  .related-grid,
  .article-highlights,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .quote-card {
    max-width: 680px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .article-side-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 74px;
  }

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

  .hero-copy {
    padding-top: 12px;
  }

  .hero-signals,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .segmented-control,
  .segmented-control-two,
  .segmented-control-three {
    grid-template-columns: 1fr;
  }

  .quote-card-header,
  .trust-strip-inner,
  .step-footer-split,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .desktop-cta {
    display: none;
  }

  .mobile-cta {
    display: block;
  }

  .content-section {
    padding-top: 84px;
  }

  .chatbot-shell {
    right: 12px;
    bottom: 88px;
    left: 12px;
    align-items: stretch;
  }

  .chatbot-panel {
    width: 100%;
  }

  .chatbot-form-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 20px, 100%);
  }

  .quote-card,
  .trust-strip-inner,
  .feature-card,
  .benefit-card,
  .cover-card,
  .stat-box,
  .faq-item,
  .insight-panel,
  .copy-card,
  .answer-card,
  .article-side-card {
    border-radius: 22px;
  }

  .copy-card,
  .answer-card,
  .article-side-card {
    padding: 20px;
  }

  .site-footer {
    padding-bottom: 100px;
  }

  .hero-copy h1 {
    max-width: 9.8ch;
  }
}

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

.quote-form-status {
  min-height: 1.4rem;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.quote-form-status.is-error {
  color: #c33c4a;
}

.quote-form-status.is-success {
  color: #1d7f54;
}

.crm-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(78, 220, 202, 0.16), transparent 28%),
    linear-gradient(180deg, #f3f8ff 0%, #edf3fb 48%, #e8eef7 100%);
  color: #183053;
  font-family: "Manrope", sans-serif;
}

.crm-shell {
  min-height: 100vh;
}

.crm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 250, 255, 0.84);
  border-bottom: 1px solid rgba(24, 48, 83, 0.09);
}

.crm-header-inner,
.crm-main {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.crm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.crm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.crm-brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #4edcca 0%, #c8ff62 100%);
  color: #0f2340;
  font-weight: 800;
  font-family: "Sora", sans-serif;
}

.crm-brand strong,
.crm-brand span {
  display: block;
}

.crm-brand strong {
  font-family: "Sora", sans-serif;
}

.crm-brand span span,
.crm-user {
  color: rgba(24, 48, 83, 0.7);
  font-size: 0.92rem;
}

.crm-header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.crm-main {
  padding: 2rem 0 3rem;
}

.crm-login-section {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
}

.crm-login-card,
.crm-toolbar-card,
.crm-stat-card,
.crm-lead-card,
.crm-panel,
.crm-alert,
.crm-empty-state {
  border: 1px solid rgba(24, 48, 83, 0.09);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(22, 41, 73, 0.09);
  backdrop-filter: blur(18px);
}

.crm-login-card {
  width: min(520px, 100%);
  padding: 2rem;
  border-radius: 1.8rem;
}

.crm-login-card h1,
.crm-page-header h1,
.crm-panel h2,
.crm-list-heading h2 {
  font-family: "Sora", sans-serif;
  line-height: 1.08;
}

.crm-form {
  display: grid;
  gap: 1rem;
}

.crm-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.35rem;
}

.crm-page-header p {
  max-width: 60ch;
  color: rgba(24, 48, 83, 0.75);
}

.crm-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.crm-stat-card {
  border-radius: 1.3rem;
  padding: 1.1rem 1.2rem;
}

.crm-stat-card span {
  display: block;
  color: rgba(24, 48, 83, 0.68);
  font-size: 0.92rem;
}

.crm-stat-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.7rem;
  color: #112746;
}

.crm-toolbar-card,
.crm-panel,
.crm-lead-card,
.crm-alert,
.crm-empty-state {
  border-radius: 1.5rem;
}

.crm-toolbar-card,
.crm-panel,
.crm-empty-state {
  padding: 1.3rem;
}

.crm-filter-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
}

.crm-filter-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.crm-list-section {
  margin-top: 1.2rem;
}

.crm-list-heading {
  margin-bottom: 1rem;
}

.crm-lead-grid {
  display: grid;
  gap: 1rem;
}

.crm-lead-card {
  padding: 1.3rem;
}

.crm-lead-card-top,
.crm-lead-title-row,
.crm-page-header-split,
.crm-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.crm-lead-title-row h3,
.crm-panel-heading h2 {
  margin: 0;
}

.crm-lead-title-row a {
  color: inherit;
  text-decoration: none;
}

.crm-lead-title-row a:hover {
  color: #2067a0;
}

.crm-lead-subtitle,
.crm-lead-meta,
.crm-lead-summary p,
.crm-detail-list dt,
.crm-timeline-meta {
  color: rgba(24, 48, 83, 0.72);
}

.crm-lead-meta,
.crm-lead-summary {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.crm-lead-actions {
  margin-top: 1rem;
}

.crm-badge,
.crm-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.crm-badge-new,
.crm-priority-normal {
  background: rgba(78, 220, 202, 0.14);
  color: #147a71;
}

.crm-badge-attempting-contact,
.crm-badge-follow-up,
.crm-priority-high {
  background: rgba(255, 214, 102, 0.2);
  color: #8d5f02;
}

.crm-badge-contacted,
.crm-badge-qualified,
.crm-badge-quoted {
  background: rgba(32, 103, 160, 0.12);
  color: #215f93;
}

.crm-badge-won,
.crm-priority-low {
  background: rgba(114, 216, 132, 0.16);
  color: #1d7f54;
}

.crm-badge-lost,
.crm-badge-archived,
.crm-priority-urgent {
  background: rgba(195, 60, 74, 0.14);
  color: #b22b3c;
}

.crm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
  gap: 1rem;
}

.crm-detail-main,
.crm-detail-side {
  display: grid;
  gap: 1rem;
}

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

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

.crm-detail-list div {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(237, 244, 251, 0.72);
}

.crm-detail-list dt {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.crm-detail-list dd {
  margin: 0;
  color: #102847;
}

.crm-timeline {
  display: grid;
  gap: 1rem;
}

.crm-timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.8rem;
}

.crm-timeline-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, #4edcca 0%, #c8ff62 100%);
  box-shadow: 0 0 0 6px rgba(78, 220, 202, 0.12);
}

.crm-timeline-copy p {
  margin: 0;
}

.crm-timeline-copy p + p {
  margin-top: 0.3rem;
  color: #183053;
}

.crm-alert {
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}

.crm-alert-success {
  color: #1d7f54;
}

.crm-alert-error {
  color: #b22b3c;
}

.crm-empty-state {
  text-align: center;
}

.crm-check-inline {
  display: flex;
  align-items: center;
}

.crm-disclosure-note,
.crm-inline-link {
  color: rgba(24, 48, 83, 0.72);
}

.crm-link-box {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.crm-inline-link {
  margin: 0;
  word-break: break-word;
}

@media (max-width: 980px) {
  .disclosure-layout,
  .crm-stats-grid,
  .crm-filter-grid,
  .crm-detail-grid,
  .crm-detail-list {
    grid-template-columns: 1fr;
  }

  .crm-page-header,
  .crm-page-header-split,
  .crm-header-inner,
  .crm-header-actions,
  .crm-filter-actions,
  .crm-lead-card-top,
  .crm-panel-heading {
    align-items: stretch;
    flex-direction: column;
  }
}
