:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #5e6d73;
  --line: #d8e0dc;
  --paper: #f6f3ea;
  --panel: #ffffff;
  --green: #126b57;
  --teal: #13918a;
  --gold: #d49b2a;
  --coral: #c75b47;
  --blue: #315f9f;
  --shadow: 0 22px 60px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(18, 107, 87, 0.12), transparent 36%),
    linear-gradient(245deg, rgba(212, 155, 42, 0.16), transparent 34%),
    var(--paper);
}

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

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(216, 224, 220, 0.9);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-weight: 800;
}

.brand small,
small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

nav a,
nav button {
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-pill,
.icon-btn,
.secondary-action {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 14px;
  min-height: 42px;
}

.hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 0.92;
  max-width: 820px;
}

.split-page h1,
.page-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  max-width: 760px;
}

.hero p,
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--green);
}

.help-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-weight: 800;
}

.help-line a {
  color: var(--green);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  background: var(--green);
  color: white;
}

.secondary-action {
  color: var(--green);
}

.signal-panel,
.form-card,
.policy-result {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px;
}

.signal-panel {
  min-height: 320px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.signal-line {
  height: 18px;
  width: 100%;
  background: var(--line);
}

.signal-line.active {
  background: var(--teal);
}

.signal-line.short {
  width: 68%;
  background: var(--gold);
}

.feature-band,
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0;
}

.feature-band article,
.metric-row div,
.customer-card,
.timeline-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 22px;
}

.feature-band span {
  color: var(--gold);
  font-weight: 900;
}

.feature-band h2,
.customer-card h2 {
  margin: 8px 0;
}

.feature-band p,
.customer-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.6;
}

.split-page,
.page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: start;
  padding: 54px 0 26px;
}

.form-card {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.date-picker {
  display: flex;
  gap: 10px;
}

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

.metric-row strong {
  display: block;
  font-size: 2.2rem;
}

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

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

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

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  background: rgba(49, 95, 159, 0.12);
  color: var(--blue);
  font-weight: 800;
  text-transform: capitalize;
}

.badge.claim {
  background: rgba(199, 91, 71, 0.14);
  color: var(--coral);
}

.badge.registration {
  background: rgba(18, 107, 87, 0.13);
  color: var(--green);
}

.status-form {
  min-width: 135px;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.customer-card span {
  color: var(--green);
  font-weight: 900;
}

.customer-card div {
  display: flex;
  gap: 14px;
  color: var(--muted);
}

.customer-card strong {
  color: var(--ink);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  gap: 10px;
}

.timeline-item div {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.policy-result {
  margin: 20px 0;
}

.policy-result h2 {
  margin: 0;
  font-size: 2.1rem;
}

.empty {
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.wide {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.flash-stack {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
}

.flash {
  background: white;
  border-left: 5px solid var(--coral);
  padding: 12px 16px;
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .split-page,
  .page-heading {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 28px;
  }

  .feature-band,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .date-picker {
    flex-direction: column;
  }
}
