:root {
  --ink: #1f2937;
  --muted: #5f6b7a;
  --line: #e5e9f0;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --blue: #2f6df6;
  --blue-dark: #1e4eb8;
  --teal: #13a892;
  --green: #22a35a;
  --amber: #f4a62a;
  --shadow: 0 12px 36px rgba(31, 41, 55, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 0.8rem;
  color: #ffffff;
  background: var(--ink);
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(229, 233, 240, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.nav-wrap,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.56rem 0.72rem;
  color: #344054;
  border-radius: 6px;
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-dark);
  background: #eef4ff;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.menu-toggle span {
  transform: translate(-50%, -50%);
}

.menu-toggle::before {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-toggle::after {
  transform: translate(-50%, calc(-50% + 6px));
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
}

.button:hover,
button.button:hover {
  background: var(--blue-dark);
  color: #ffffff;
  text-decoration: none;
}

.nav-links a.button {
  color: #ffffff;
  background: var(--blue);
  border-color: transparent;
}

.nav-links a.button:hover {
  color: #ffffff;
  background: var(--blue-dark);
}

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

.button.secondary:hover {
  color: var(--blue-dark);
  background: #f8fbff;
}

.button.ghost {
  color: var(--blue-dark);
  background: #eef4ff;
}

.hero {
  padding: 58px 0 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(47, 109, 246, 0.11), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.26rem 0.52rem;
  color: #126b60;
  background: #e9f8f5;
  border: 1px solid #caeee8;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 760;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #101828;
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.section {
  padding: 54px 0;
}

.section.soft {
  background: var(--soft);
}

.section.accent {
  background:
    linear-gradient(135deg, rgba(47, 109, 246, 0.1), rgba(19, 168, 146, 0.1)),
    #ffffff;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.section-header.align-left {
  margin-left: 0;
  text-align: left;
}

.section-header h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(31, 41, 55, 0.02);
}

.card h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.mini-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue-dark);
  background: #eef4ff;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 850;
}

.mini-icon.teal {
  color: #087467;
  background: #e9f8f5;
  border-color: #caeee8;
}

.mini-icon.green {
  color: #177245;
  background: #ecf8f0;
  border-color: #d4f0dd;
}

.mini-icon.amber {
  color: #8a5600;
  background: #fff7e8;
  border-color: #fde8bc;
}

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

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

.form-row {
  display: grid;
  gap: 0.42rem;
}

label {
  color: #344054;
  font-weight: 750;
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.72rem 0.78rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ccd5e1;
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.result-box {
  min-height: 280px;
  padding: 1.25rem;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.result-box h3 {
  margin-top: 0;
}

.result-box ul,
.content ul,
.content ol {
  padding-left: 1.25rem;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}

.score-item {
  padding: 0.78rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.score-item strong {
  display: block;
  color: #101828;
}

.notice {
  padding: 1rem;
  border: 1px solid #caeee8;
  border-radius: 8px;
  background: #eefbf8;
  color: #214d48;
}

.answer-box {
  padding: 1rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #eefbf8;
}

.page-hero {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.last-updated {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.content {
  display: grid;
  gap: 1.35rem;
  max-width: 880px;
}

.content h2 {
  margin: 1rem 0 0;
  font-size: 1.75rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.content h3 {
  margin-bottom: 0.2rem;
}

.content p {
  margin: 0;
}

.content-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

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

th {
  color: #344054;
  background: #f8fafc;
  font-size: 0.9rem;
}

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

.faq-list {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 760;
}

details p {
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.related {
  margin-top: 1.5rem;
}

.related .card p {
  font-size: 0.95rem;
}

.resource-filter {
  display: flex;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
}

.resource-filter .form-row {
  flex: 1;
}

.site-footer {
  padding: 34px 0;
  color: #d6dce6;
  background: #1f2937;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .small {
  color: #b7c0cd;
}

.hero {
  padding: 74px 0 62px;
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.75rem, 6.4vw, 4.55rem);
}

.hero-visual.elevated {
  border-color: #dbe7ff;
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.14);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.trust-row span {
  padding: 0.42rem 0.62rem;
  color: #344054;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.compact-section {
  padding-top: 46px;
}

.feature-grid .card,
.guide-grid .card,
.link-card {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-grid .card:hover,
.guide-grid .card:hover,
.link-card:hover {
  border-color: #bfd0ff;
  box-shadow: 0 14px 36px rgba(31, 41, 55, 0.09);
  transform: translateY(-2px);
}

.link-card a,
.compact-card a {
  font-weight: 760;
}

.compact-card {
  min-height: 168px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 1.25rem;
  align-items: center;
}

.split-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.08;
}

.checklist-card {
  box-shadow: var(--shadow);
}

.result-container {
  margin-top: 1rem;
}

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

.result-heading .eyebrow {
  margin-bottom: 0.45rem;
}

.result-heading h3 {
  margin: 0;
}

.result-section {
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.result-section h4 {
  margin: 0 0 0.35rem;
  color: #101828;
}

.copy-button {
  flex: 0 0 auto;
}

.faq-block h2 {
  margin-top: 0;
}

.site-footer {
  padding: 0;
  color: #d6dce6;
  background:
    linear-gradient(135deg, rgba(47, 109, 246, 0.16), rgba(19, 168, 146, 0.1)),
    #172033;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  padding: 42px 0 28px;
}

.footer-brand p {
  max-width: 560px;
  color: #c3ccd8;
}

.footer-brand-link {
  color: #ffffff;
}

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

.footer-links a {
  padding: 0.35rem 0;
  color: #f3f7fb;
  font-weight: 700;
}

.footer-bottom {
  padding: 18px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: #aeb8c6;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .tool-panel,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid,
  .footer-top,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 13vw, 3.4rem);
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-links .button {
    margin-top: 0.35rem;
  }

  .hero-actions,
  .resource-filter,
  .result-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .score-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding-bottom: 42px;
  }

  .trust-row span,
  .button {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
