:root {
  --wdw-ink: #153b32;
  --wdw-ink-soft: #45645c;
  --wdw-paper: #f6f3ea;
  --wdw-card: #fffdf8;
  --wdw-line: #d8ddd5;
  --wdw-lime: #d7f75d;
  --wdw-lime-deep: #b9db3e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wdw-paper);
  color: var(--wdw-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.site-shell { min-height: 100vh; overflow: clip; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; padding: 12px 16px; clip: auto; background: #fff; color: var(--wdw-ink); }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(21, 59, 50, 0.13);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 760; letter-spacing: -0.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px 12px 15px 12px;
  display: grid; place-items: center; background: var(--wdw-ink); color: var(--wdw-lime);
  font-size: 17px; font-weight: 850; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
.site-header nav, .primary-menu { display: flex; align-items: center; gap: 34px; }
.primary-menu { margin: 0; padding: 0; list-style: none; }
.site-header nav { color: var(--wdw-ink-soft); font-size: 14px; font-weight: 640; }
.site-header nav a { position: relative; padding: 31px 0 28px; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header .current-menu-item > a { color: var(--wdw-ink); }
.site-header .current-menu-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--wdw-lime-deep);
}

.eyebrow {
  margin: 0 0 15px; display: flex; align-items: center; gap: 9px; color: #587067;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.eyebrow > span { width: 24px; height: 3px; flex: 0 0 auto; border-radius: 3px; background: var(--wdw-lime-deep); }
.eyebrow.light { color: #c8d7d2; }

.home-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 570px;
  margin: 48px auto 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 24px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--wdw-ink);
  color: #fff;
  box-shadow: 0 24px 60px rgba(21, 59, 50, 0.12);
}
.home-hero-copy { padding: 48px 35px 48px 32px; display: flex; flex-direction: column; justify-content: center; }
.home-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(49px, 6.2vw, 78px); line-height: 0.94; letter-spacing: -0.062em; }
.home-hero-copy > p:last-of-type { max-width: 700px; margin: 26px 0 0; color: #cbd9d4; font-size: 17px; line-height: 1.68; }
.home-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 11px; }
.button-primary, .button-secondary { min-height: 50px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 13px; font-size: 13px; font-weight: 760; transition: transform 160ms ease, background 160ms ease; }
.button-primary { background: var(--wdw-lime); color: var(--wdw-ink); }
.button-secondary { border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.065); color: #fff; }
.button-primary:hover, .button-secondary:hover, .button-primary:focus-visible, .button-secondary:focus-visible { transform: translateY(-2px); outline: 0; }
.button-secondary:hover, .button-secondary:focus-visible { background: rgba(255, 255, 255, 0.11); }
.home-hero-panel { padding: 30px; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 23px; background: rgba(255, 255, 255, 0.075); }
.home-hero-panel > p { margin: 0 0 18px; color: #b9cac4; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.home-hero-panel ul { margin: 0; padding: 0; list-style: none; }
.home-hero-panel li { min-height: 64px; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.13); color: #eef4f1; font-size: 13px; line-height: 1.4; }
.home-hero-panel li span { color: var(--wdw-lime); font-size: 10px; font-weight: 850; }
.home-hero-panel > a { margin-top: auto; padding-top: 21px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255, 255, 255, 0.13); color: var(--wdw-lime); font-size: 12px; font-weight: 760; }

.home-tools, .how-section, .editorial-section { scroll-margin-top: 24px; }
.home-tools, .how-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 120px; }
.home-tools { padding-top: 5px; }
.section-heading-row { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.section-heading-row .content-heading { margin-bottom: 0; }
.section-link, .section-status { margin-bottom: 7px; flex: 0 0 auto; color: #60766e; font-size: 12px; font-weight: 730; }
.section-link { padding-bottom: 4px; border-bottom: 1px solid #aab8b0; }
.section-link:hover, .section-link:focus-visible { color: var(--wdw-ink); border-color: var(--wdw-ink); outline: 0; }

.how-section { padding: 54px; border-radius: 28px; background: #e3ebdf; }
.how-section .content-heading { margin-bottom: 48px; }
.how-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(21, 59, 50, 0.15); border-radius: 20px; background: rgba(21, 59, 50, 0.15); list-style: none; }
.how-grid li { min-height: 245px; padding: 27px; display: flex; flex-direction: column; background: #edf2e9; }
.how-grid li > span { color: #7d952d; font-size: 11px; font-weight: 850; }
.how-grid h3 { margin: auto 0 10px; font-size: 21px; line-height: 1.15; letter-spacing: -0.03em; }
.how-grid p { margin: 0; color: var(--wdw-ink-soft); font-size: 12px; line-height: 1.62; }

.trust-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto 100px; padding: 52px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr); gap: 70px; border-radius: 28px; background: var(--wdw-ink); color: #fff; }
.trust-section h2 { max-width: 650px; margin: 0; color: #fff; font-size: clamp(34px, 4vw, 51px); line-height: 1.02; letter-spacing: -0.052em; }
.trust-section > div:last-child > p { margin: 0; color: #c3d1cc; font-size: 14px; line-height: 1.7; }
.trust-section ul { margin: 27px 0 0; padding: 21px 0 0; display: grid; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.15); list-style: none; }
.trust-section li { position: relative; padding-left: 20px; color: #e3ebe8; font-size: 12px; }
.trust-section li::before { content: "✓"; position: absolute; left: 0; color: var(--wdw-lime); font-weight: 850; }

.confidence-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #d5dbd3;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.68);
}
.confidence-strip > div { min-height: 92px; padding: 20px 25px; display: grid; align-content: center; gap: 5px; }
.confidence-strip > div + div { border-left: 1px solid #d5dbd3; }
.confidence-strip strong { font-size: 15px; }
.confidence-strip span { color: #6f827a; font-size: 12px; }

.measure-section, .editorial-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 120px; }
.content-heading { max-width: 720px; margin-bottom: 45px; }
.content-heading h2 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.03; letter-spacing: -0.05em; }
.content-heading > p:last-child { max-width: 650px; margin: 18px 0 0; color: var(--wdw-ink-soft); font-size: 16px; line-height: 1.65; }
.measure-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr); gap: 24px; }
.measure-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cdd5cd; }
.measure-steps li { min-height: 150px; padding: 29px 10px 28px 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; border-bottom: 1px solid #cdd5cd; }
.measure-steps li > span { color: #7c9a52; font-size: 12px; font-weight: 850; letter-spacing: 0.08em; }
.measure-steps h3 { margin: -4px 0 8px; font-size: 21px; letter-spacing: -0.025em; }
.measure-steps p { max-width: 620px; margin: 0; color: var(--wdw-ink-soft); font-size: 14px; line-height: 1.65; }
.measure-checklist { padding: 31px; border-radius: 23px; background: #e3ebdf; }
.checklist-label { margin: 0 0 9px; color: #63796f; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.measure-checklist h3 { margin: 0; font-size: 27px; letter-spacing: -0.04em; }
.measure-checklist ul { margin: 27px 0 29px; padding: 0; display: grid; gap: 13px; list-style: none; }
.measure-checklist li { display: flex; align-items: center; gap: 10px; color: #38574e; font-size: 13px; }
.measure-checklist li span { width: 21px; height: 21px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--wdw-ink); color: var(--wdw-lime); font-size: 11px; font-weight: 900; }
.measure-checklist a { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(21, 59, 50, 0.18); font-size: 13px; font-weight: 760; }

.compact-heading { margin-bottom: 38px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-grid article { min-height: 325px; padding: 27px; display: flex; flex-direction: column; border: 1px solid #d4dad3; border-radius: 21px; background: var(--wdw-card); transition: transform 180ms ease, box-shadow 180ms ease; }
.article-grid article:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(30, 56, 46, 0.08); }
.article-number { color: #8aa02d; font-size: 12px; font-weight: 850; }
.article-type { margin: 45px 0 10px; color: #75867f; font-size: 11px; font-weight: 780; letter-spacing: 0.08em; text-transform: uppercase; }
.article-grid h3 { margin: 0; font-size: 23px; line-height: 1.12; letter-spacing: -0.035em; }
.article-grid article > p:last-of-type { margin: 14px 0 25px; color: var(--wdw-ink-soft); font-size: 13px; line-height: 1.58; }
.planned-label { margin-top: auto; color: #6c7f78; font-size: 11px; font-weight: 720; }

.matching-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 100px;
  padding: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: 64px;
  align-items: center;
  border-radius: 27px;
  background: var(--wdw-ink);
  color: #fff;
}
.matching-section h2 { margin: 0; max-width: 580px; font-size: clamp(34px, 4vw, 51px); line-height: 1.02; letter-spacing: -0.05em; }
.matching-section > div > p:last-child { margin: 20px 0 0; color: #c2d0cb; font-size: 14px; line-height: 1.68; }
.matching-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.matching-flow span { min-height: 86px; padding: 13px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 15px; background: rgba(255, 255, 255, 0.07); color: #eff4f2; text-align: center; font-size: 12px; font-weight: 700; }
.matching-flow span:last-child { border-color: rgba(215, 247, 93, 0.55); color: var(--wdw-lime); }
.matching-flow i { color: var(--wdw-lime); font-style: normal; }

.content-main { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 110px; }
.content-main:has(.tool-page-entry) { width: auto; max-width: none; padding: 0; }
.standard-entry { padding: clamp(28px, 5vw, 64px); border: 1px solid var(--wdw-line); border-radius: 24px; background: var(--wdw-card); }
.entry-header { max-width: 780px; margin-bottom: 36px; }
.entry-header h1, .archive-header h1, .not-found h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.055em; }
.entry-content { color: var(--wdw-ink-soft); font-size: 17px; line-height: 1.75; }
.entry-content h2, .entry-content h3 { color: var(--wdw-ink); line-height: 1.15; letter-spacing: -0.035em; }
.entry-content h2 { margin-top: 2em; font-size: 34px; }
.entry-content h3 { margin-top: 1.8em; font-size: 24px; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--wdw-lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content .wdw-page-lead { margin: 0 0 2em; color: var(--wdw-ink); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.48; letter-spacing: -0.025em; }
.wdw-contact-card { margin: 36px 0 46px; padding: 27px 30px; border: 1px solid #cfd8cf; border-radius: 18px; background: #e8eee4; }
.wdw-contact-card .wdw-contact-label { margin: 0 0 7px; color: #64796f; font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.wdw-contact-card p:last-child { margin: 0; font-size: clamp(21px, 3vw, 31px); font-weight: 760; letter-spacing: -0.035em; }
.wdw-draft-warning { margin: 0 0 40px; padding: 20px 22px; border: 1px solid #c7831f; border-radius: 15px; background: #fff3d3; color: #68430c; }
.wdw-draft-warning p { margin: 0; }
.featured-image { margin: 0 0 42px; overflow: hidden; border-radius: 20px; }
.archive-header { margin-bottom: 42px; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-card { min-height: 275px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--wdw-line); border-radius: 21px; background: var(--wdw-card); }
.post-card > span { color: #7a8c84; font-size: 11px; }
.post-card h2 { margin: 30px 0 12px; font-size: 25px; line-height: 1.12; letter-spacing: -0.035em; }
.post-card p { color: var(--wdw-ink-soft); font-size: 13px; line-height: 1.6; }
.text-link { margin-top: auto; font-size: 12px; font-weight: 760; }
.not-found { min-height: 65vh; display: grid; align-content: center; justify-items: start; }
.not-found > p:not(.eyebrow) { color: var(--wdw-ink-soft); }
.primary-button { margin-top: 18px; padding: 14px 19px; border-radius: 12px; background: var(--wdw-ink); color: #fff; font-size: 13px; font-weight: 750; }
.admin-setup-note { width: min(1180px, calc(100% - 40px)); margin: 40px auto; padding: 20px; border: 1px solid #d6a900; border-radius: 14px; background: #fff6cb; }

.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 38px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(21, 59, 50, 0.13); color: #6c7f78; font-size: 12px; }
.footer-brand { display: grid; gap: 6px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--wdw-ink); text-decoration: underline; text-underline-offset: 3px; outline: 0; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-panel { min-height: 390px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid li { min-height: 190px; }
  .trust-section { grid-template-columns: 1fr; gap: 38px; }
  .measure-layout { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .matching-section { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 650px) {
  .site-header { width: min(100% - 28px, 1180px); height: 70px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px 10px 13px 10px; }
  .site-header nav, .primary-menu { gap: 0; }
  .site-header nav a { padding: 24px 0 22px; }
  .site-header nav a:not(:first-child), .primary-menu li:not(:first-child) { display: none; }
  .home-hero { width: min(100% - 28px, 1180px); min-height: 0; margin: 22px auto 16px; padding: 14px; gap: 14px; border-radius: 23px; }
  .home-hero-copy { padding: 26px 10px 24px; }
  .home-hero h1 { font-size: 47px; }
  .home-hero-copy > p:last-of-type { margin-top: 20px; font-size: 15px; }
  .home-actions { margin-top: 27px; flex-direction: column; }
  .button-primary, .button-secondary { width: 100%; justify-content: space-between; }
  .home-hero-panel { min-height: 0; padding: 22px; border-radius: 18px; }
  .home-hero-panel li { min-height: 58px; }
  .home-hero-panel > a { margin-top: 16px; }
  .home-tools, .how-section { width: min(100% - 28px, 1180px); padding-bottom: 86px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-link, .section-status { margin: 0; }
  .how-section { padding: 29px 20px; border-radius: 22px; }
  .how-grid li { min-height: 210px; padding: 23px; }
  .trust-section { width: min(100% - 28px, 1180px); margin-bottom: 70px; padding: 30px 23px; border-radius: 22px; }
  .confidence-strip { margin-bottom: 82px; grid-template-columns: 1fr; }
  .confidence-strip > div + div { border-left: 0; border-top: 1px solid #d5dbd3; }
  .measure-section, .editorial-section { width: min(100% - 28px, 1180px); padding-bottom: 86px; }
  .measure-steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-grid article { min-height: 285px; }
  .matching-section { width: min(100% - 28px, 1180px); margin-bottom: 70px; padding: 29px 23px; }
  .matching-flow { grid-template-columns: 1fr; }
  .matching-flow i { transform: rotate(90deg); text-align: center; }
  .content-main { width: min(100% - 28px, 940px); padding: 44px 0 78px; }
  .standard-entry { padding: 24px 20px; border-radius: 19px; }
  .post-list { grid-template-columns: 1fr; }
  .site-footer { width: min(100% - 28px, 1180px); flex-direction: column; gap: 20px; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
