:root {
  --ink: #13202b;
  --muted: #596b78;
  --blue: #123f6d;
  --blue2: #1f6fa9;
  --copper: #d58b2d;
  --light: #f4f7f8;
  --line: #d8e1e6;
  --white: #fff;
  --green: #13775b;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(20, 42, 59, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.65 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: #fff;
}
a {
  color: var(--blue2);
}
img {
  max-width: 100%;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 99;
  background: #fff;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 225, 230, 0.85);
}
.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}
.brand strong {
  color: var(--blue2);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}
.site-nav a {
  color: #2b3b47;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.site-nav a:hover {
  color: var(--blue2);
}
.site-nav .nav-cta {
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}
.menu-button {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #eef4f7 0, #fff 62%);
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(31, 111, 169, 0.14),
    transparent 65%
  );
  right: -180px;
  top: -240px;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
  min-height: 630px;
  padding-block: 80px;
}
.eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--blue2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.lead {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
}
.button.primary {
  background: var(--blue);
  color: #fff;
}
.button.secondary {
  background: #fff;
  border-color: #b8c8d3;
  color: var(--blue);
}
.button.light {
  background: #fff;
  color: var(--blue);
}
.button.full {
  width: 100%;
}
.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: #4b5f6d;
  font-size: 13px;
}
.trust-row span:before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 6px;
}
.mesh-diagram {
  position: relative;
  aspect-ratio: 1;
  border-radius: 32px;
  background: #132638;
  box-shadow: 0 35px 70px rgba(16, 42, 62, 0.25);
  overflow: hidden;
  border: 10px solid #fff;
}
.mesh-grid {
  position: absolute;
  inset: 15%;
  background-image:
    linear-gradient(#d5e0e8 9px, transparent 9px),
    linear-gradient(90deg, #d5e0e8 9px, transparent 9px);
  background-size: 72px 72px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.dim {
  position: absolute;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--copper);
  color: #18212a;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.dim-a {
  left: 36%;
  top: 37%;
}
.dim-d {
  right: 6%;
  top: 50%;
}
.dim-p {
  left: 33%;
  bottom: 7%;
}
.section {
  padding-block: 82px;
}
.tone {
  background: var(--light);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head h2,
.prose h2,
.cta h2,
.tool-aside h2,
.form-wrap h2 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.link-card {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 7px 22px rgba(18, 48, 69, 0.04);
  transition: 0.2s;
}
.link-card:hover {
  transform: translateY(-4px);
  border-color: #9ebace;
  box-shadow: var(--shadow);
}
.link-card h3 {
  margin: 8px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}
.link-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.card-kicker {
  color: var(--blue2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.text-link {
  margin-top: auto;
  color: var(--blue2);
  font-weight: 750;
}
.page-hero {
  padding: 72px 0 64px;
  background: linear-gradient(145deg, #eef4f7, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
  color: #657987;
  font-size: 13px;
}
.breadcrumbs > * {
  min-width: 0;
}
.breadcrumbs > span:last-child {
  overflow-wrap: anywhere;
}
.breadcrumbs a {
  color: inherit;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 260px;
  gap: 70px;
  align-items: start;
}
.prose {
  font-size: 17px;
}
.prose > h2:first-child {
  margin-top: 0;
}
.prose h2 {
  margin-top: 52px;
  font-size: 34px;
}
.prose h3 {
  margin: 0 0 7px;
  font-size: 19px;
}
.prose p {
  color: #394d5b;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfd;
}
.info-card p {
  margin: 0;
  font-size: 15px;
}
.article-aside,
.tool-aside {
  position: sticky;
  top: 105px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--light);
}
.article-aside strong {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-aside span {
  margin-bottom: 12px;
  color: var(--muted);
}
.article-aside a {
  font-weight: 700;
}
.notice,
.source-note {
  margin-top: 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--copper);
  background: #fff8e9;
  color: #59421f;
}
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  align-items: start;
}
.tool-layout > *,
.tool-shell,
.tool-panel,
.tool-fields,
.tool-output,
.tool-result,
.tool-panel label {
  min-width: 0;
}
.tool-shell {
  min-height: 460px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.tool-loading {
  color: var(--muted);
}
.tool-aside h2 {
  font-size: 26px;
}
.tool-aside ol {
  margin: 0 0 16px;
  padding-left: 21px;
  color: var(--muted);
}
.tool-panel h2 {
  margin: 0 0 7px;
  font-size: 27px;
}
.tool-panel > .muted {
  margin-top: 0;
}
.tool-fields,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.tool-panel label,
.recommend-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 700;
  font-size: 14px;
}
.tool-panel input,
.tool-panel select,
.recommend-form input,
.recommend-form select,
.recommend-form textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #adbdc9;
  border-radius: 8px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.recommend-form textarea {
  min-height: 150px;
}
.tool-actions {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
.tool-advanced {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 2px;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafb;
}
.tool-advanced summary {
  color: var(--blue);
  font-weight: 750;
  cursor: pointer;
}
.tool-advanced .tool-fields {
  margin-top: 15px;
}
.tool-result {
  padding: 24px;
  border-radius: 14px;
  background: #edf5fa;
  border: 1px solid #bdd4e3;
}
.tool-result h3 {
  margin: 0 0 14px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.result-item {
  padding: 13px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d4e1e9;
}
.result-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.result-item strong {
  font-size: 21px;
}
.result-note {
  margin: 15px 0 0;
  color: #4b5e6c;
}
.error-box {
  padding: 15px;
  border-radius: 8px;
  background: #fff0f0;
  color: #8b1d1d;
}
.candidate-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.candidate-table th,
.candidate-table td {
  padding: 9px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.table-wrap th,
.table-wrap td {
  padding: 11px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table-wrap th {
  background: var(--light);
}
.reference-list {
  display: grid;
  gap: 14px;
}
.reference-list article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.reference-list h3 {
  margin: 0;
}
.form-wrap {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 60px;
  align-items: start;
}
.recommend-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.recommend-form > label {
  margin-top: 15px;
}
.recommend-form .consent {
  flex-direction: row;
  align-items: flex-start;
  font-weight: 500;
}
.consent input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
}
.form-status {
  margin-bottom: 0;
}
.cta {
  padding: 60px 0;
  background: var(--blue);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta .eyebrow {
  color: #aacee7;
}
.site-footer {
  padding: 64px 0 24px;
  background: #101b25;
  color: #b9c7d0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}
.site-footer a {
  display: block;
  margin: 8px 0;
  color: #dbe6ec;
  text-decoration: none;
}
.footer-brand {
  font-size: 22px !important;
  color: #fff !important;
  font-weight: 800;
}
.footer-bottom {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid #2b3a46;
  font-size: 13px;
}
.muted {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.conditional {
  display: contents;
}
.formula-box {
  margin: 22px 0 0;
  padding: 17px 19px;
  border-left: 4px solid var(--blue2);
  border-radius: 0 10px 10px 0;
  background: #f7fafc;
}
.formula-box strong,
.formula-box code {
  display: block;
}
.formula-box code {
  margin-top: 8px;
  color: #284454;
  font:
    14px/1.65 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  white-space: normal;
}
.caution-list {
  margin: 18px 0 0;
  padding: 17px 20px 17px 38px;
  border-radius: 10px;
  background: #fff8e9;
  color: #59421f;
}
.result-item strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.article-hero-image {
  margin: 0 0 42px;
}
.article-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--light);
}
.article-hero-image figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}
.article-byline {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 14px;
}
.card-image {
  display: block;
  margin: -26px -26px 21px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16/9;
  background: var(--light);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.knowledge-grid .link-card {
  min-height: 440px;
}
.card-date {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 12px;
}
.prose ul,
.prose ol {
  color: #394d5b;
}
.prose li + li {
  margin-top: 8px;
}
@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav.open {
    display: flex;
  }
  .menu-button {
    display: block;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 7px;
    padding: 8px 11px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .mesh-diagram {
    width: min(520px, 100%);
    margin: auto;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout,
  .tool-layout,
  .form-wrap {
    grid-template-columns: 1fr;
  }
  .article-aside,
  .tool-aside {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }
  .nav-row {
    min-height: 68px;
  }
  .brand {
    font-size: 16px;
  }
  .hero-grid {
    padding-block: 58px;
    gap: 45px;
  }
  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }
  .section {
    padding-block: 58px;
  }
  .card-grid,
  .check-grid,
  .tool-fields,
  .form-grid,
  .result-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tool-shell {
    padding: 19px;
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero {
    padding: 48px 0;
  }
  .breadcrumbs {
    gap: 5px 7px;
    margin-bottom: 22px;
    overflow: visible;
    white-space: normal;
  }
  .footer-grid {
    gap: 25px;
  }
}
