:root {
  --ink: #12313a;
  --muted: #526873;
  --subtle: #e7eef0;
  --paper: #f7fbfb;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --blue: #2563eb;
  --green: #15803d;
  --amber: #b7791f;
  --coral: #c2410c;
  --shadow: 0 18px 45px rgba(18, 49, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28rem),
    linear-gradient(180deg, #edf7f8 0%, #f8fbfb 42%, #ffffff 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.top-banner {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: #12313a;
  box-shadow: 0 8px 24px rgba(18, 49, 58, 0.18);
}

.top-banner span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: center;
  padding: 5rem 0 3rem;
}

.hero-copy {
  position: relative;
  padding: 2rem 0;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto auto -2rem;
  width: 0.35rem;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), var(--blue), var(--green));
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 0.75rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.hero-badges,
.feature-list,
.boundary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hero-badges span,
.feature-list span,
.boundary-grid span {
  border: 1px solid var(--subtle);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(18, 49, 58, 0.06);
}

.hero-card,
.note-panel,
.care-callout,
.question-card {
  border: 1px solid var(--subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
  border-top: 5px solid var(--teal);
}

.hero-card p:last-child,
.note-panel p:last-child,
.care-callout p:last-child,
.question-card ul {
  margin-bottom: 0;
}

.section {
  padding: 3.8rem 0;
}

.intro-grid,
.feedback-section,
.dashboard-link,
.care-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 1.5rem;
  align-items: start;
}

.intro-grid p,
.care-section p,
.feedback-section p,
.dashboard-link p {
  color: var(--muted);
  font-size: 1.03rem;
}

.note-panel {
  padding: 1.25rem;
  border-left: 5px solid var(--blue);
}

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

.problem-grid article,
.role-grid article,
.flow-card {
  border: 1px solid var(--subtle);
  border-radius: 8px;
  padding: 1.1rem;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 49, 58, 0.07);
}

.problem-grid article:nth-child(1) {
  border-top: 4px solid var(--coral);
}

.problem-grid article:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.problem-grid article:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.icon-mark,
.flow-card span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  color: #ffffff;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.problem-grid p,
.role-grid p,
.flow-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.flow-section {
  width: calc(100% + 2rem);
  margin-left: -1rem;
  padding: 3.8rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 49, 58, 0.96), rgba(15, 118, 110, 0.92));
  color: #ffffff;
}

.flow-section .section-kicker,
.flow-section p {
  color: rgba(255, 255, 255, 0.82);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 0.75rem;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.flow-card {
  min-width: 150px;
  color: var(--ink);
}

.flow-arrow {
  display: none;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}

.timeline li {
  position: relative;
  min-height: 5.5rem;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  padding: 1rem;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 49, 58, 0.06);
  counter-increment: stage;
}

.timeline li::before {
  content: counter(stage, decimal-leading-zero);
  display: block;
  margin-bottom: 0.65rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline span {
  font-weight: 800;
}

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

.role-grid article:nth-child(4n + 1) {
  border-top: 4px solid var(--teal);
}

.role-grid article:nth-child(4n + 2) {
  border-top: 4px solid var(--blue);
}

.role-grid article:nth-child(4n + 3) {
  border-top: 4px solid var(--green);
}

.role-grid article:nth-child(4n + 4) {
  border-top: 4px solid var(--amber);
}

.care-section {
  border-top: 1px solid var(--subtle);
  border-bottom: 1px solid var(--subtle);
}

.care-callout {
  padding: 1.25rem;
  border-top: 5px solid var(--coral);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.85rem 0.85rem 0.85rem 2.3rem;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  background: var(--white);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.08rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 49, 58, 0.06);
}

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

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

th {
  color: #ffffff;
  background: #12313a;
  font-size: 0.86rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

td:first-child {
  color: var(--ink);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.feedback-section {
  align-items: stretch;
}

.feedback-button,
.dashboard-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.75rem;
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  color: #ffffff;
  background: var(--teal);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.2);
}

.feedback-button:hover,
.dashboard-link a:hover {
  background: var(--teal-dark);
}

.package-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.fine-print {
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.question-card {
  padding: 1.25rem;
}

.question-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.question-card li + li {
  margin-top: 0.45rem;
}

.dashboard-link {
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  background: var(--paper);
}

.dashboard-link a {
  justify-self: end;
  white-space: nowrap;
}

.boundary-section {
  padding-bottom: 5rem;
}

.boundary-grid span {
  border-color: rgba(194, 65, 12, 0.25);
  color: #7c2d12;
  background: #fff7ed;
}

@media (max-width: 920px) {
  .hero,
  .intro-grid,
  .feedback-section,
  .dashboard-link,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

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

  .process-flow {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .dashboard-link a,
  .package-links {
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 1rem, 1180px);
  }

  .top-banner {
    position: static;
  }

  .hero-copy::before {
    left: 0;
    height: 0.35rem;
    width: 5.5rem;
  }

  .hero-copy {
    padding-top: 1.4rem;
  }

  .problem-grid,
  .role-grid,
  .timeline,
  .process-flow {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.5rem 0;
  }

  .flow-section {
    margin-left: -0.5rem;
    width: calc(100% + 1rem);
  }

  .dashboard-link {
    padding: 1.2rem;
  }
}
