:root {
  color-scheme: light;
  --ink: #12151a;
  --muted: #5c6675;
  --line: #d8dde6;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --accent: #0e7c7b;
  --accent-dark: #075756;
  --gold: #d39b2a;
  --rose: #a8473d;
  --blue: #315f9f;
  --shadow: 0 18px 45px rgba(18, 21, 26, 0.11);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(18, 21, 26, 0.12);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 15px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a,
.button {
  min-height: 42px;
  border: 1px solid rgba(18, 21, 26, 0.13);
  border-radius: 8px;
  padding: 9px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76vh;
  padding: 58px 0 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero p {
  max-width: 710px;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.hero-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 21, 26, 0.12);
}

.hero-checks strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.92rem;
}

.hero-checks span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-media,
.home-triage-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #172023;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-triage-card {
  align-self: stretch;
  color: var(--ink);
  background: #fff;
}

.home-triage-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.home-triage-content {
  padding: 24px;
}

.home-triage-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.home-triage-content .eyebrow {
  margin-bottom: 10px;
}

.home-triage-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.home-triage-form label {
  margin-bottom: 0;
}

.home-triage-output {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.home-triage-output h2,
.home-triage-output h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.home-triage-output p,
.home-triage-output li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.home-triage-output ul {
  margin: 0;
  padding-left: 18px;
}

.home-router {
  border-top: 1px solid rgba(18, 21, 26, 0.1);
  border-bottom: 1px solid rgba(18, 21, 26, 0.1);
  background: var(--ink);
  color: #fff;
}

.home-router-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  gap: 28px;
  align-items: start;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.home-router .eyebrow {
  color: #83dad3;
}

.home-router h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
}

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

.problem-paths a {
  min-height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.problem-paths strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.problem-paths span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section.narrow {
  width: min(820px, calc(100% - 32px));
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

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

.article-hero {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 32px;
}

.article-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.article-image {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 48px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.article {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 80px;
  font-size: 1.08rem;
}

.article p {
  margin: 0 0 22px;
}

.faq {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.related-links {
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.related-links h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.related-links ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.related-links a {
  color: var(--accent-dark);
  font-weight: 800;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

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

.service-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.service-panel img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.form-panel,
.output-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

label {
  display: block;
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.lead-form {
  margin-top: 22px;
}

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

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.cluster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
}

.checklist-intro {
  position: sticky;
  top: 92px;
}

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

.checklist-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.checklist-card h2 {
  font-size: 1.45rem;
}

.checklist-card li {
  margin: 0 0 10px;
  padding-left: 4px;
}

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

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

@media (max-width: 820px) {
  .hero,
  .service-panel,
  .tool-shell,
  .home-router-inner,
  .checklist-layout {
    grid-template-columns: 1fr;
  }

  .checklist-intro {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .grid,
  .problem-paths,
  .cluster-grid,
  .hero-checks {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }
}
