:root {
  --color-ink: #17211b;
  --color-muted: #5a665f;
  --color-surface: #ffffff;
  --color-band: #f4f7f1;
  --color-line: #d9e1d6;
  --color-action: #116a45;
  --color-action-dark: #0b4f34;
  --color-warning: #8a5a00;
  --color-danger: #8f1f1f;
  --color-ok: #116a45;
  --font-sans: Arial, Helvetica, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --radius: 8px;
}

.regulatory-profile {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-action);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.regulatory-heading,
.regulatory-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
  gap: 2rem;
  align-items: start;
}

.regulatory-heading .button {
  justify-self: end;
}

.regulatory-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2rem 0;
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.regulatory-facts > div {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.regulatory-facts dt {
  margin-bottom: 0.35rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.regulatory-facts dd {
  margin: 0;
  color: var(--color-night);
  overflow-wrap: anywhere;
}

.regulatory-facts dd small,
.regulatory-columns li span {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-muted);
}

.regulatory-fact-wide {
  grid-column: 1 / -1;
}

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

.regulatory-columns > section {
  padding: 1.25rem;
  background: var(--color-band);
}

.regulatory-columns ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.regulatory-columns li + li {
  margin-top: 0.75rem;
}

.regulatory-verification {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.content-list,
.policy-links {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.content-list li + li,
.policy-links li + li {
  margin-top: 0.65rem;
}

.form-privacy {
  margin: 1rem 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.operations-dashboard,
.dashboard-login,
.dashboard-table {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.dashboard-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.6fr) auto;
  gap: 1.25rem;
  align-items: end;
  margin: 0;
}

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

.metric {
  padding: 1.25rem;
  border-top: 3px solid var(--color-action);
  background: var(--color-band);
}

.metric span,
.metric small {
  display: block;
  color: var(--color-muted);
}

.metric strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--color-night);
  font-size: 2rem;
}

.dashboard-table > div {
  overflow-x: auto;
}

.dashboard-table table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  white-space: nowrap;
}

.pipeline-table {
  min-width: 1180px;
}

.pipeline-table td:first-child small,
.pipeline-table [data-row-status] {
  display: block;
  max-width: 15rem;
  margin-top: 0.35rem;
  color: var(--color-muted);
  white-space: normal;
}

.pipeline-table input,
.pipeline-table select {
  width: 9rem;
  min-height: 40px;
  padding: 0.45rem 0.55rem;
  font-size: 0.9rem;
}

.pipeline-table input[name="externalDealId"] {
  width: 11rem;
}

.button-compact {
  min-height: 40px;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .dashboard-login,
  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .regulatory-heading,
  .regulatory-columns,
  .regulatory-facts {
    grid-template-columns: 1fr;
  }

  .regulatory-heading .button {
    justify-self: stretch;
  }

  .regulatory-fact-wide {
    grid-column: auto;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-wrap: break-word;
}

a {
  color: var(--color-action-dark);
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #f2c94c;
  outline-offset: 3px;
}

[aria-invalid="true"] {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 1px var(--color-danger);
}

.field-error {
  margin: calc(var(--space-1) * -1) 0 var(--space-1);
  color: var(--color-danger);
  font-weight: 700;
}

.form-error-summary {
  border: 2px solid var(--color-danger);
  background: #fff7f7;
  padding: var(--space-2);
}

.form-error-summary h3,
.form-error-summary p,
.form-error-summary ul {
  margin-top: 0;
}

.form-error-summary:focus {
  outline: 3px solid #f2c94c;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--color-ink);
  color: #fff;
  padding: var(--space-1) var(--space-2);
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.site-footer {
  border-top: 1px solid var(--color-line);
  border-bottom: 0;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner,
.footer-inner {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 1.5rem;
  line-height: 1;
}

.brand {
  color: var(--color-ink);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero {
  background: var(--color-band);
  border-bottom: 1px solid var(--color-line);
  padding: var(--space-5) 0;
}

.eyebrow {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0.25rem 0 1rem;
  font-size: 4rem;
  line-height: 1.08;
}

h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.lead {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 1.2rem;
}

.main {
  padding: var(--space-4) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-2);
}

.panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.status {
  display: inline-flex;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.status[data-status="legal-review"] {
  border-color: var(--color-warning);
  color: var(--color-warning);
}

.breadcrumbs {
  margin-bottom: var(--space-2);
  font-size: 0.95rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--color-muted);
}

.notice {
  border-left: 4px solid var(--color-warning);
  background: #fff8e5;
  padding: var(--space-2);
  margin: var(--space-3) 0;
}

.notice.compact {
  margin: var(--space-2) 0;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--color-action);
  color: #fff;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.button:hover {
  background: var(--color-action-dark);
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-1);
  padding: 0;
  list-style: none;
}

.form-panel,
.commercial-band,
.process-block,
.faq-block,
.calculator-panel,
.tool-grid,
.cta-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  margin-top: var(--space-3);
  padding: var(--space-3);
}

.form-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: var(--space-3);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
}

.feature {
  border-left: 3px solid var(--color-action);
  padding-left: var(--space-2);
}

.feature h3 {
  margin: 0 0 0.35rem;
}

.tool-card {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  padding: var(--space-3);
}

.tool-card h3,
.tool-card p {
  margin: 0;
}

.text-link {
  font-weight: 700;
}

.process-block,
.commercial-band {
  background: #fbfcfa;
}

.calculator-panel {
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
  border-top: 4px solid var(--color-action);
  background: #fff;
  min-width: 0;
}

.calculator-intro {
  max-width: 780px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 1rem 0 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  list-style: none;
}

.trust-list li::before {
  margin-right: 0.4rem;
  color: var(--color-action);
  content: "\2713";
  font-weight: 800;
}

.calculator-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.45fr);
  gap: 0;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  overflow: hidden;
}

.calculator-panel > *,
.calculator-output,
.calculator-summary {
  min-width: 0;
}

.calculator-form {
  display: grid;
  align-content: start;
  gap: 1.4rem;
  background: #f2f7f4;
  padding: 1.6rem;
}

.calculator-field {
  gap: 0.6rem;
}

.field-heading {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  justify-content: space-between;
}

.field-heading label {
  font-size: 0.9rem;
}

.number-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid #aeb9b2;
  border-radius: 6px;
  background: #fff;
  padding: 0 0.75rem;
}

.number-control:focus-within {
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(8, 116, 82, 0.14);
}

.number-control span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.number-control input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.1rem;
  font-weight: 750;
  text-align: right;
}

.number-control input:focus {
  outline: 0;
}

.range-control {
  min-height: 20px;
  padding: 0;
  border: 0;
  accent-color: var(--color-action);
  cursor: pointer;
}

.calculator-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 0.25rem;
}

.calculator-advanced {
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  padding: 0.85rem;
}

.calculator-advanced summary {
  color: var(--color-night);
  cursor: pointer;
  font-weight: 800;
}

.calculator-advanced > p {
  margin: 0.65rem 0 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.calculator-advanced[open] {
  display: grid;
  gap: 1rem;
}

.calculator-summary.is-diagnostic {
  border-top: 1px solid var(--color-line);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.calculator-output {
  display: grid;
  align-content: start;
  min-height: 500px;
  background: #fff;
  padding: 1.6rem;
}

.result-hero {
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
}

.result-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-action);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-primary {
  display: block;
  color: var(--color-night);
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  line-height: 1;
}

.result-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--color-muted);
  font-weight: 700;
}

.result-hero p {
  max-width: 650px;
  margin: 0.8rem 0 0;
  color: var(--color-muted);
}

.result-hero[data-result-level="baixo"] .result-primary {
  color: var(--color-action);
}

.result-hero[data-result-level="atencao"] .result-primary,
.result-hero[data-result-level="elevado"] .result-primary {
  color: #a45d10;
}

.calculator-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-2);
}

.calculator-summary div {
  border-left: 2px solid #b9ccc3;
  padding: 0.25rem 0 0.25rem 0.85rem;
}

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

.calculator-summary span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.calculator-summary strong {
  color: var(--color-night);
  font-size: 1.2rem;
}

.scenario-comparison,
.effort-meter {
  border-top: 1px solid var(--color-line);
  margin-top: 1.4rem;
  padding-top: 1.25rem;
}

.scenario-heading {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.scenario-heading h3,
.scenario-heading span {
  margin: 0;
}

.scenario-heading span {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.scenario-row {
  display: grid;
  grid-template-columns: 105px minmax(80px, 1fr) 90px;
  gap: 0.75rem;
  align-items: center;
  min-height: 34px;
  font-size: 0.85rem;
}

.scenario-row > div,
.break-even-visual > div {
  height: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #e4ece7;
}

.scenario-row i,
.break-even-visual i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #80ad9c;
}

.scenario-row.is-current {
  color: var(--color-action-dark);
  font-weight: 750;
}

.scenario-row.is-current i {
  background: var(--color-action);
}

.scenario-row strong {
  text-align: right;
}

.effort-track {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, #5aa987 0 25%, #e3b44d 25% 35%, #d47562 35% 100%);
}

.effort-track i {
  position: absolute;
  width: 0;
  height: 22px;
  border-right: 3px solid var(--color-night);
  bottom: -4px;
}

.effort-track .mark {
  position: absolute;
  top: 20px;
  color: var(--color-muted);
  font-size: 0.72rem;
}

.mark-25 { left: 25%; }
.mark-35 { left: 35%; }

.effort-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.break-even-visual {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid var(--color-line);
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

.result-details {
  border-top: 1px solid var(--color-line);
  margin-top: 1.4rem;
  padding-top: 1rem;
}

.result-details summary {
  cursor: pointer;
  color: var(--color-action-dark);
  font-weight: 750;
}

.result-limit {
  margin: 1.25rem 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.result-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin: 0 -1.6rem -1.6rem;
  background: var(--color-night);
  color: #fff;
  padding: 1.35rem 1.6rem;
}

.result-next-step h3,
.result-next-step p {
  margin: 0;
  color: #fff;
}

.result-next-step p {
  margin-top: 0.4rem;
  color: #cbdad4;
  font-size: 0.9rem;
}

.result-next-step .result-kicker {
  color: #9ed8c3;
}

.result-actions {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.result-actions .button {
  white-space: nowrap;
  background: var(--color-accent);
}

.result-actions .text-link {
  color: #dce9e4;
  font-size: 0.82rem;
}

.calculator-summary [data-level="baixo"] {
  color: var(--color-ok);
}

.calculator-summary [data-level="atencao"] {
  color: var(--color-warning);
}

.calculator-summary [data-level="elevado"] {
  color: var(--color-danger);
}

.calculator-sensitivity {
  margin-top: var(--space-2);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: var(--space-2);
  overflow-x: auto;
}

.table-wrap:focus {
  outline: 3px solid #f2c94c;
  outline-offset: 3px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--color-line);
  padding: 0.65rem;
  text-align: right;
}

th:first-child,
td:first-child {
  text-align: left;
}

.step-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding-left: 1.25rem;
}

.step-list li {
  padding-left: 0.25rem;
}

.step-list span {
  display: block;
  color: var(--color-muted);
}

.faq-block details {
  border-top: 1px solid var(--color-line);
  padding: var(--space-2) 0;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 700;
}

.cta-panel {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
  background: var(--color-ink);
  color: #fff;
}

.cta-panel p,
.cta-panel .eyebrow {
  color: #f2f5ef;
}

.cta-panel .button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--color-action-dark);
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

label,
legend {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #aeb9b2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  font: inherit;
  padding: 0.65rem 0.75rem;
}

fieldset {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  margin: var(--space-2) 0;
  padding: var(--space-2);
}

.check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.6rem;
  align-items: start;
  margin-top: 0.75rem;
  font-weight: 400;
}

.check input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.2rem;
}

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

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner,
  .header-top,
  .site-header nav {
    width: 100%;
  }

  .nav-toggle:not([hidden]) {
    display: inline-flex;
  }

  .site-header .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--color-line);
  }

  .site-header .nav-list a {
    display: block;
    min-height: 44px;
    padding: 0.6rem 0;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.12;
  }

  .hero {
    padding: var(--space-4) 0;
  }

  .main {
    padding: var(--space-3) 0;
  }

  .form-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

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

  .calculator-workspace {
    grid-template-columns: 1fr;
  }

  .calculator-output {
    min-height: 0;
  }

  .result-next-step {
    grid-template-columns: 1fr;
  }

  .result-actions {
    justify-items: stretch;
  }

  .result-actions .button {
    white-space: normal;
    text-align: center;
  }

  .form-panel,
  .commercial-band,
  .process-block,
  .faq-block,
  .calculator-panel,
  .tool-grid,
  .cta-panel {
    padding: var(--space-2);
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(1120px, calc(100% - 1rem));
  }

  h1 {
    font-size: 2rem;
  }
}

/* 2026 visual system */
:root {
  --color-ink: #10231d;
  --color-muted: #52635d;
  --color-surface: #ffffff;
  --color-band: #eef4f0;
  --color-line: #d8e2dc;
  --color-action: #087452;
  --color-action-dark: #07583f;
  --color-accent: #e56852;
  --color-accent-soft: #fff1ed;
  --color-night: #0c2d24;
  --font-sans: "Segoe UI Variable", "Aptos", "Segoe UI", Arial, sans-serif;
  --shadow-sm: 0 8px 24px rgba(16, 35, 29, 0.07);
  --shadow-md: 0 20px 50px rgba(10, 43, 34, 0.13);
}

body {
  background: #f7faf8;
  font-size: 1rem;
}

.shell {
  width: min(1180px, calc(100% - 3rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom-color: rgba(16, 35, 29, 0.1);
  box-shadow: 0 1px 0 rgba(16, 35, 29, 0.03);
}

.header-inner {
  min-height: 76px;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 1.2rem;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-night);
  color: #fff;
  font-weight: 800;
}

.site-header .nav-list {
  align-items: center;
  gap: 0.25rem;
}

.site-header .nav-list a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  color: #29473e;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header .nav-list a:hover {
  background: var(--color-band);
  color: var(--color-action-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero .shell {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 790px;
}

.hero--home {
  display: flex;
  min-height: min(610px, calc(100svh - 116px));
  align-items: center;
  border-bottom: 0;
  background-image: url("/assets/images/credint-home-hero.webp");
  background-image: image-set(
    url("/assets/images/credint-home-hero.avif") type("image/avif"),
    url("/assets/images/credint-home-hero.webp") type("image/webp")
  );
  background-position: center;
  background-size: cover;
}

.hero--home::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(7, 38, 30, 0.72);
  content: "";
}

.hero--home .hero-content {
  max-width: 720px;
  padding: 3rem 0;
}

.hero--home h1,
.hero--home .lead,
.hero--home .eyebrow {
  color: #fff;
}

.hero--home h1 {
  max-width: 700px;
  font-size: 4rem;
  line-height: 1.02;
}

.hero--home .lead {
  max-width: 650px;
  color: #dfeae5;
  font-size: 1.25rem;
}

.hero--home .status {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(7, 38, 30, 0.45);
  color: #edf7f2;
}

.hero--home .button {
  background: var(--color-accent);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.hero--home .button:hover {
  background: #c95240;
}

.hero--inner {
  min-height: 330px;
  display: flex;
  align-items: center;
  border-bottom: 0;
  background: var(--color-night);
  color: #fff;
}

.hero--inner h1,
.hero--inner .eyebrow {
  color: #fff;
}

.hero--inner .lead {
  color: #cbdad4;
}

.hero--inner .status {
  border-color: #46665c;
  color: #d9e6e1;
}

.hero--calculator {
  min-height: 245px;
}

.hero--calculator h1 {
  max-width: 960px;
  font-size: 3rem;
}

.hero--calculator .lead {
  max-width: 820px;
}

.hero--funnel {
  min-height: 285px;
}

.hero--funnel h1 {
  max-width: 880px;
  font-size: 3.15rem;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: var(--color-action);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 900px;
  font-size: 3.8rem;
  font-weight: 720;
  letter-spacing: 0;
}

h2 {
  color: #15382d;
  font-size: 1.45rem;
  line-height: 1.25;
}

.lead {
  line-height: 1.65;
}

.main {
  background: #f7faf8;
  padding: 3.5rem 0 5rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
}

.notice {
  border: 1px solid #ecd9a8;
  border-left: 4px solid #d49a24;
  border-radius: 6px;
  background: #fffbef;
  color: #5f4a1b;
}

.section-grid {
  gap: 1.25rem;
}

.panel {
  border: 0;
  border-top: 3px solid var(--color-action);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}

.panel p {
  color: var(--color-muted);
}

.button {
  border: 1px solid transparent;
  box-shadow: 0 6px 16px rgba(8, 116, 82, 0.16);
  font-weight: 700;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  box-shadow: 0 10px 24px rgba(8, 116, 82, 0.22);
  transform: translateY(-1px);
}

.status {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
}

.form-panel,
.commercial-band,
.process-block,
.faq-block,
.calculator-panel,
.cta-panel {
  border-color: rgba(16, 35, 29, 0.1);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tool-grid {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.tool-grid > h2 {
  margin-bottom: 1.35rem;
}

.tool-grid > .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.tool-card {
  min-height: 440px;
  align-content: start;
  gap: 1rem;
  border: 0;
  border-top: 4px solid var(--color-action);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}

.tool-card[data-tool-card="2"] {
  border-top-color: #d4a63b;
}

.tool-card[data-tool-card="3"] {
  border-top-color: var(--color-accent);
}

.tool-card-top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.tool-index {
  color: #9db0a8;
  font-size: 0.78rem;
  font-weight: 800;
}

.tool-tag {
  border-radius: 999px;
  background: #edf5f1;
  color: var(--color-action-dark);
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 750;
}

.tool-widget {
  position: relative;
  display: flex;
  height: 94px;
  gap: 7px;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 6px;
  background: #eef4f0;
  padding: 1rem;
}

.tool-widget::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  height: 1px;
  background: #cbd9d2;
  content: "";
}

.tool-widget span {
  position: relative;
  z-index: 1;
  width: 18%;
  border-radius: 3px 3px 0 0;
  background: #6aa58f;
}

.tool-widget span:nth-child(1) { height: 35%; }
.tool-widget span:nth-child(2) { height: 63%; }
.tool-widget span:nth-child(3) { height: 84%; }

.tool-card[data-tool-card="2"] .tool-widget span {
  background: #c69a31;
}

.tool-card[data-tool-card="2"] .tool-widget span:nth-child(1) { height: 72%; }
.tool-card[data-tool-card="2"] .tool-widget span:nth-child(2) { height: 48%; }
.tool-card[data-tool-card="2"] .tool-widget span:nth-child(3) { height: 60%; }

.tool-card[data-tool-card="3"] .tool-widget span {
  background: #d96e5b;
}

.tool-card[data-tool-card="3"] .tool-widget span:nth-child(1) { height: 28%; }
.tool-card[data-tool-card="3"] .tool-widget span:nth-child(2) { height: 78%; }
.tool-card[data-tool-card="3"] .tool-widget span:nth-child(3) { height: 52%; }

.tool-widget strong {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  color: var(--color-muted);
  font-size: 0.72rem;
}

.tool-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.tool-benefits {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  list-style: none;
}

.tool-benefits li::before {
  margin-right: 0.45rem;
  color: var(--color-action);
  content: "\2713";
  font-weight: 800;
}

.tool-action {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.feature {
  border-left-color: var(--color-accent);
}

.process-block,
.commercial-band {
  background: #f0f6f2;
}

.calculator-panel {
  border-top: 4px solid var(--color-action);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.calculator-summary div {
  border: 0;
  background: var(--color-band);
}

.calculator-summary strong {
  color: var(--color-night);
  font-size: 1.65rem;
}

.form-panel {
  border-top: 4px solid var(--color-action);
  box-shadow: var(--shadow-md);
}

input,
select,
textarea {
  border-color: #b9c9c1;
  background: #fbfdfc;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--color-action);
}

.cta-panel {
  border: 0;
  background: var(--color-night);
  box-shadow: var(--shadow-md);
}

.site-footer {
  border: 0;
  background: #081f19;
  color: #dce8e3;
}

.site-footer a {
  color: #dce8e3;
}

.site-footer .nav-list {
  justify-content: flex-end;
}

.funnel-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  overflow: hidden;
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 8px;
  margin-top: 2rem;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.funnel-value {
  background: var(--color-night);
  color: #fff;
  padding: 2rem;
}

.funnel-value h2,
.funnel-value p {
  color: #fff;
}

.funnel-value > p:not(.eyebrow):not(.funnel-trust) {
  color: #cbdad4;
}

.funnel-value .eyebrow {
  color: #9ed8c3;
}

.funnel-promise {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.funnel-promise li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.55rem;
  color: #e5efeb;
}

.funnel-promise li::before {
  color: #9ed8c3;
  content: "\2713";
  font-weight: 800;
}

.funnel-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  color: #cbdad4 !important;
  font-size: 0.84rem;
}

.funnel-panel form {
  min-width: 0;
  padding: 2rem;
}

.funnel-progress {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.funnel-progress > div {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #e2ebe6;
}

.funnel-progress i {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-action);
  transition: width 180ms ease;
}

.funnel-progress span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.funnel-step {
  border: 0;
  margin: 0;
  padding: 0;
}

.funnel-step[hidden] {
  display: none;
}

.funnel-step legend {
  width: 100%;
  margin-bottom: 0.4rem;
  color: var(--color-heading);
  font-size: 1.5rem;
  font-weight: 750;
}

.funnel-step > p {
  margin-top: 0;
  color: var(--color-muted);
}

.funnel-step .field {
  margin-top: 1.25rem;
}

.funnel-next {
  width: 100%;
  min-height: 50px;
  margin-top: 1.5rem;
}

.funnel-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.text-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--color-action-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.funnel-confirmation {
  border-left: 3px solid var(--color-action);
  background: #f0f6f2;
  margin-bottom: 1.25rem;
  padding: 1rem;
}

.funnel-confirmation p {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
}

.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;
}

.preparation-tool {
  scroll-margin-top: 88px;
  margin-top: 2rem;
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--color-action);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.preparation-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.preparation-heading h2,
.preparation-heading p {
  margin-bottom: 0.6rem;
}

.preparation-score {
  flex: 0 0 auto;
  min-width: 130px;
  border-left: 3px solid #ef6a55;
  padding-left: 1rem;
}

.preparation-score strong,
.preparation-score span {
  display: block;
}

.preparation-score strong {
  color: var(--color-heading);
  font-size: 1.35rem;
}

.preparation-score span {
  color: var(--color-body-soft);
  font-size: 0.86rem;
}

.preparation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 2rem;
  align-items: start;
}

.preparation-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.preparation-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  min-height: 72px;
  border-top: 1px solid var(--color-line);
  cursor: pointer;
  padding: 1rem 0.25rem;
}

.preparation-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.preparation-item input {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--color-action);
}

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

.preparation-item strong {
  color: var(--color-heading);
}

.preparation-item small {
  margin-top: 0.3rem;
  color: var(--color-body-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.preparation-item:has(input:checked) strong {
  color: var(--color-action);
}

.preparation-result {
  position: sticky;
  top: 96px;
  background: #edf5f1;
  padding: 1.4rem;
}

.preparation-result h3 {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.35rem;
}

.preparation-result > p:not(.eyebrow) {
  min-height: 96px;
  color: var(--color-body-soft);
}

.preparation-progress {
  height: 8px;
  margin: 1.2rem 0;
  overflow: hidden;
  background: #d5e3dc;
}

.preparation-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-action);
  transition: width 180ms ease;
}

.preparation-result .button,
.preparation-result .text-button {
  width: 100%;
  text-align: center;
}

.preparation-result .text-button {
  margin-top: 0.75rem;
}

.fine-comparison {
  margin-top: 2rem;
  border: 1px solid var(--color-line);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.fine-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.fine-heading h2 {
  margin: 0.2rem 0 0.65rem;
}

.fine-heading > div:first-child {
  max-width: 720px;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 auto;
  min-width: 240px;
  border: 1px solid var(--color-line);
  background: #f2f5f3;
  padding: 3px;
}

.segmented-control button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--color-body-soft);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.segmented-control button[aria-pressed="true"] {
  background: #ffffff;
  color: var(--color-heading);
  box-shadow: 0 2px 8px rgba(16, 35, 29, 0.1);
}

.segmented-control button:focus-visible {
  outline: 3px solid rgba(8, 116, 82, 0.25);
  outline-offset: 1px;
}

.fine-summary {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1fr) minmax(220px, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin: 1.5rem 0;
  border-left: 4px solid #ef6a55;
  background: #f3f7f5;
  padding: 1.25rem;
}

.fine-summary > p {
  margin: 0;
}

.fine-summary > p:first-child {
  color: var(--color-heading);
  font-weight: 700;
}

.fine-summary > p:last-child {
  color: var(--color-body-soft);
}

.fine-summary > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.fine-summary span {
  color: var(--color-body-soft);
  font-size: 0.82rem;
}

.fine-summary strong {
  margin-top: 0.2rem;
  color: var(--color-heading);
  font-size: 1.4rem;
}

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

.fine-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.fine-table th,
.fine-table td {
  border-bottom: 1px solid var(--color-line);
  padding: 0.85rem 1rem;
  vertical-align: top;
}

.fine-table thead th {
  background: #123a2f;
  color: #ffffff;
  font-size: 0.86rem;
}

.fine-table tbody th {
  width: 23%;
  color: var(--color-heading);
}

.fine-table tbody td:nth-child(2),
.fine-table tbody td:nth-child(3) {
  width: 15%;
  color: var(--color-heading);
  font-weight: 700;
  white-space: nowrap;
}

.fine-table tbody td:last-child {
  color: var(--color-body-soft);
  font-size: 0.9rem;
}

.fine-table tbody tr:last-child th,
.fine-table tbody tr:last-child td {
  border-bottom: 0;
  background: #f4f7f5;
}

.fine-insight {
  margin: 1.25rem 0;
  border-left: 3px solid var(--color-action);
  padding-left: 1rem;
}

.fine-insight strong {
  color: var(--color-heading);
}

.fine-insight p {
  margin: 0.35rem 0 0;
  color: var(--color-body-soft);
}

@media (max-width: 760px) {
  .shell {
    width: min(1180px, calc(100% - 1.5rem));
  }

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

  .site-header .nav-list a {
    border-bottom: 1px solid var(--color-line);
    border-radius: 0;
    padding: 0.75rem 0.25rem;
  }

  .hero--home {
    min-height: min(540px, calc(100svh - 96px));
    background-position: 65% center;
  }

  .hero--home::before {
    background: rgba(7, 38, 30, 0.78);
  }

  .hero--home h1,
  .hero--inner h1 {
    font-size: 2.6rem;
  }

  .hero--inner {
    min-height: 280px;
  }

  .hero--calculator {
    min-height: 0;
    padding: 2.25rem 0;
  }

  .hero--calculator h1 {
    font-size: 2rem;
  }

  .hero--home .hero-content {
    padding: 2.25rem 0;
  }

  .main {
    padding-bottom: 3rem;
  }

  .panel,
  .tool-card {
    padding: 1.25rem;
  }

  .tool-grid > .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .funnel-panel {
    grid-template-columns: 1fr;
  }

  .funnel-value,
  .funnel-panel form {
    padding: 1.35rem;
  }

  .preparation-heading {
    display: block;
  }

  .preparation-score {
    margin-top: 1rem;
  }

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

  .preparation-result {
    position: static;
  }

  .preparation-result > p:not(.eyebrow) {
    min-height: 0;
  }

  .fine-heading {
    display: block;
  }

  .segmented-control {
    width: 100%;
    margin-top: 1rem;
  }

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

  .hero--funnel {
    min-height: 0;
    padding: 2.5rem 0;
  }

  .hero--funnel h1 {
    font-size: 2.15rem;
  }

  .site-footer .nav-list {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .hero--home h1,
  .hero--inner h1 {
    font-size: 2.2rem;
  }

  .hero--calculator h1 {
    font-size: 1.9rem;
  }
}

/* Semantic typography colors: inherited by every current and future page. */
:root {
  --color-heading: #123a2f;
  --color-subheading: #27614f;
  --color-body-soft: #52635d;
  --color-kicker: #087452;
  --color-heading-on-dark: #ffffff;
  --color-subheading-on-dark: #c8dbd3;
  --color-kicker-on-dark: #9ed8c3;
}

h1,
h2 {
  color: var(--color-heading);
}

h3,
h4,
summary {
  color: var(--color-subheading);
}

.lead,
.panel p,
.tool-card p,
.feature p {
  color: var(--color-body-soft);
}

.eyebrow {
  color: var(--color-kicker);
}

.hero--home h1,
.hero--inner h1,
.cta-panel h2 {
  color: var(--color-heading-on-dark);
}

.hero--home .lead,
.hero--inner .lead,
.cta-panel p {
  color: var(--color-subheading-on-dark);
}

.hero--home .eyebrow,
.hero--inner .eyebrow,
.cta-panel .eyebrow {
  color: var(--color-kicker-on-dark);
}

.calculator-summary span,
.breadcrumbs {
  color: var(--color-body-soft);
}

.continuation-block {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-3);
}

.continuation-block > h2 {
  max-width: 22ch;
  margin-bottom: var(--space-2);
}

.continuation-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.continuation-list li {
  border-top: 3px solid var(--color-action);
  padding-top: var(--space-2);
}

.continuation-list a {
  color: var(--color-heading);
  font-size: 1.1rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.continuation-list p {
  max-width: 52ch;
  margin: 0.65rem 0 0;
  color: var(--color-body-soft);
}

.source-note {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(260px, 1.4fr) minmax(180px, 0.8fr);
  gap: var(--space-2);
  align-items: start;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-2);
  color: var(--color-body-soft);
  font-size: 0.9rem;
}

.source-note h2 {
  margin: 0;
  font-size: 1.15rem;
}

.source-note p,
.source-note ul {
  margin: 0;
}

.source-note ul {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  list-style: none;
}

@media (max-width: 720px) {
  .source-note {
    grid-template-columns: 1fr;
  }
}
