:root {
  color-scheme: light;
  --bg: #f7f9fa;
  --panel: #fff;
  --ink: #111827;
  --muted: #5f6875;
  --line: #dfe5ea;
  --blue: #2477bd;
  --blue-soft: #edf6fc;
  --green: #237a50;
  --green-soft: #edf8f2;
  --yellow: #9a6811;
  --yellow-soft: #fff8e7;
  --red: #ad3535;
  --red-soft: #fff1f1;
  --dark: #101827;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(16, 24, 39, .1);
  font-family: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; }
button, input, select { font: inherit; }
button { letter-spacing: 0; }
a { color: inherit; }

.tool-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 28px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}
.tool-brand { font-size: 1.05rem; font-weight: 900; text-decoration: none; }
.tool-header nav { display: flex; gap: 22px; color: var(--muted); font-size: .93rem; }
.tool-header nav a { text-decoration: none; }
.tool-header nav a:hover { color: var(--blue); }

.tool-intro { padding: clamp(58px, 9vw, 110px) 18px 68px; background: #eef4f7; }
.tool-intro__inner { width: min(100%, 900px); margin: 0 auto; }
.eyebrow { margin: 0 0 13px; color: var(--blue); font-size: .9rem; font-weight: 900; }
h1, h2, h3 { margin: 0; font-family: Ubuntu, Arial, sans-serif; line-height: 1.12; letter-spacing: 0; }
h1 { max-width: 890px; font-size: clamp(2.35rem, 5.7vw, 4.7rem); }
.tool-intro__lead { max-width: 790px; margin: 25px 0 0; color: #344151; font-size: clamp(1.05rem, 2vw, 1.24rem); }
.tool-intro__note { max-width: 720px; margin: 14px 0 28px; color: var(--muted); }

.primary-button, .secondary-button, .choice-button, .text-button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  font-weight: 800;
}
.primary-button { color: #fff; background: var(--blue); }
.primary-button:hover { background: #1c66a4; }
.secondary-button { border: 1px solid #b8c6d1; color: var(--ink); background: #fff; }
.text-button { padding: 7px 0; color: var(--blue); background: transparent; font-weight: 800; }

.wizard { width: min(100% - 36px, 840px); margin: 0 auto; padding: 34px 0 96px; }
.progress { position: sticky; top: 68px; z-index: 10; padding: 18px 0 14px; background: rgba(247, 249, 250, .96); backdrop-filter: blur(12px); }
.progress__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.progress__head strong { font-size: 1.05rem; }
.progress__track { height: 7px; margin-top: 13px; overflow: hidden; border-radius: 999px; background: #dce4ea; }
.progress__track span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--blue); transition: width .25s ease; }
.progress__labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 9px 0 0; padding: 0; color: #7b8590; font-size: .72rem; list-style: none; }
.progress__labels li { overflow-wrap: anywhere; }
.progress__labels li.is-active { color: var(--blue); font-weight: 800; }
.wizard__content { padding-top: 20px; }

.answer-history { display: grid; gap: 10px; margin-bottom: 12px; }
.answer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.answer-card small { display: block; margin-bottom: 3px; color: var(--muted); }
.answer-card strong { display: block; line-height: 1.35; }
.answer-card button { border: 0; color: var(--blue); background: transparent; font-weight: 800; cursor: pointer; }

.question-card {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  animation: question-in .24s ease both;
}
@keyframes question-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.question-card h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); }
.question-card h3 { font-size: 1.22rem; }
.question-card > p, .question-help { margin: 13px 0 0; color: var(--muted); }
.question-help { padding: 13px 15px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.choices { display: grid; gap: 10px; margin-top: 24px; }
.choices--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-button {
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #cbd5dd;
  color: var(--ink);
  background: #fff;
  text-align: left;
  font-weight: 750;
}
.choice-button:hover, .choice-button:focus-visible { border-color: var(--blue); background: var(--blue-soft); outline: none; }

.question-form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field > span, .field legend { font-weight: 800; }
.field small { color: var(--muted); }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #bdc9d2;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field select:focus { border-color: var(--blue); outline: 3px solid rgba(36, 119, 189, .14); }
.date-field { max-width: 360px; }
.field .date-input {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  caret-color: var(--blue);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-error { margin: 0; color: var(--red); font-weight: 700; }
.checkbox-list { display: grid; gap: 10px; }
.check-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 7px; }
.check-option input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; }
.repeat-list { display: grid; gap: 12px; }
.repeat-item { display: grid; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfd; }
.repeat-item__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.repeat-item__head button { border: 0; color: var(--red); background: transparent; font-weight: 800; cursor: pointer; }
.add-button { justify-self: start; border: 0; color: var(--blue); background: transparent; font-weight: 800; cursor: pointer; }

.intermediate-summary { margin-top: 22px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafb; }
.intermediate-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 7px 18px; margin: 0; }
.intermediate-summary dt { color: var(--muted); }
.intermediate-summary dd { margin: 0; font-weight: 800; }

.result-card { border-left: 5px solid; }
.result-card--success { border-left-color: var(--green); background: var(--green-soft); }
.result-card--warning { border-left-color: var(--yellow); background: var(--yellow-soft); }
.result-card--failure { border-left-color: var(--red); background: var(--red-soft); }
.result-card__status { margin: 0 0 10px; font-size: .84rem; font-weight: 900; text-transform: uppercase; }
.result-card--success .result-card__status { color: var(--green); }
.result-card--warning .result-card__status { color: var(--yellow); }
.result-card--failure .result-card__status { color: var(--red); }
.result-list { display: grid; gap: 9px; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(17, 24, 39, .12); list-style: none; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.legal-note { margin-top: 25px!important; padding-top: 18px; border-top: 1px solid rgba(17, 24, 39, .12); font-size: .9rem; }

.tool-seo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 48px; width: min(100% - 36px, 1080px); margin: 0 auto; padding: 42px 0 80px; }
.tool-seo > div > p:not(.eyebrow) { color: var(--muted); }
.tool-seo aside { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.tool-seo aside ul { display: grid; gap: 8px; padding-left: 20px; }
.tool-seo aside p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.tool-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px clamp(18px, 4vw, 56px); color: rgba(255,255,255,.72); background: var(--dark); }
.tool-footer a { color: #fff; }

@media (max-width: 680px) {
  .date-field { max-width: none; }
  body { font-size: 15px; }
  .tool-header { position: static; align-items: flex-start; flex-direction: column; gap: 5px; }
  .tool-header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .tool-intro { padding-top: 48px; }
  h1 { font-size: 2.35rem; }
  .primary-button, .secondary-button { width: 100%; }
  .progress { top: 0; }
  .progress__head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .progress__labels { grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 4px; font-size: .58rem; }
  .progress__labels li { overflow-wrap: normal; }
  .answer-card { align-items: flex-start; }
  .choices--two, .field-row { grid-template-columns: 1fr; }
  .choice-button { width: 100%; }
  .question-card { padding: 23px 17px; }
  .result-actions { flex-direction: column; }
  .tool-seo { grid-template-columns: 1fr; gap: 22px; }
  .tool-footer { align-items: flex-start; flex-direction: column; }
}
