:root {
  color-scheme: light;
  --page: #ffffff;
  --ink: #071733;
  --muted: #46546b;
  --line: #d5dce8;
  --line-strong: #aeb9ca;
  --blue: #0757e8;
  --blue-dark: #0347c4;
  --blue-wash: #f4f7ff;
  --amber: #e99a13;
  --focus: #0b5cff;
  --radius: 10px;
  --shadow: 0 18px 46px rgb(7 23 51 / 8%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--page);
}

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 1.52rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.toolkit-link {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 620;
  text-underline-offset: 7px;
  text-decoration-thickness: 1.5px;
}

.page-shell {
  width: min(100% - 80px, 1440px);
  margin: 48px auto 38px;
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(340px, 0.95fr);
  gap: 64px;
  align-items: start;
}

.intro h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.25vw, 4.45rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro p {
  max-width: 840px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.55;
}

.intro .privacy-note {
  max-width: max-content;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--blue-wash);
  font-size: 0.9rem;
  line-height: 1.35;
}

.question-flow {
  margin-top: 36px;
}

.mobile-result-link {
  display: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 27px 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

legend {
  width: 100%;
  margin-bottom: 17px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 740;
  line-height: 1.3;
}

legend span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-size: 1rem;
  font-weight: 760;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.choice {
  position: relative;
  min-height: 64px;
  cursor: pointer;
}

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  height: 100%;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: white;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.3;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.choice span::before {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  content: "";
  background: white;
  box-shadow: inset 0 0 0 5px white;
}

.choice input:checked + span {
  border-color: var(--blue);
  color: var(--blue-dark);
  background: var(--blue-wash);
  box-shadow: 0 0 0 1px var(--blue);
}

.choice input:checked + span::before {
  border-color: var(--blue);
  background: var(--blue);
}

.check-choice span::before {
  border-radius: 4px;
}

.check-choice input:checked + span::before {
  content: "✓";
  display: grid;
  place-items: center;
  color: white;
  box-shadow: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.choice input:focus-visible + span,
.button:focus-visible,
.toolkit-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgb(11 92 255 / 32%);
  outline-offset: 3px;
}

.choice:hover span {
  border-color: var(--line-strong);
}

.result-panel {
  position: sticky;
  top: 30px;
  overflow: hidden;
  min-height: 590px;
  padding: 44px 38px 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.result-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--amber);
}

.result-label {
  margin: 0 0 18px;
  color: #b56e00;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-panel h2 {
  max-width: 360px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.result-summary {
  min-height: 58px;
  margin: 24px 0 25px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.55;
}

.result-actions {
  display: grid;
  gap: 12px;
}

.button {
  min-height: 56px;
  padding: 14px 20px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.button.primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button.secondary {
  background: white;
  color: var(--blue);
}

.button.secondary:hover {
  background: var(--blue-wash);
}

.proof-details {
  margin-top: 20px;
  padding: 20px 0 2px;
  border-top: 1px solid var(--line);
}

.proof-details h3 {
  margin: 0 0 6px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.proof-details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
}

.proof-details code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.84rem;
}

.trust-list {
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.trust-list li {
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 0.96rem;
}

.trust-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.boundary-note {
  margin: 18px 0 0;
  padding: 13px 14px;
  border-left: 3px solid var(--amber);
  color: var(--muted);
  background: #fffaf0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.no-script-routes {
  display: none;
  max-width: 720px;
  padding: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.no-script-routes h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.no-script-routes p:not(.result-label) {
  color: var(--muted);
  line-height: 1.55;
}

.no-script-routes li + li {
  margin-top: 12px;
}

.no-script-routes a,
.site-footer a {
  color: var(--blue);
  font-weight: 620;
  text-underline-offset: 4px;
}

.site-footer {
  width: min(100% - 80px, 1440px);
  margin: 0 auto;
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.site-footer nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 1040px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .result-panel {
    position: static;
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 0 18px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .toolkit-link {
    font-size: 0.92rem;
  }

  .page-shell {
    width: min(100% - 36px, 560px);
    margin-top: 36px;
    gap: 30px;
  }

  .intro h1 {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.5rem, 12vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
  }

  .intro p {
    margin-top: 18px;
    font-size: 1.05rem;
  }

  .intro .privacy-note {
    max-width: none;
    border-radius: var(--radius);
    font-size: 0.88rem;
  }

  .question-flow {
    margin-top: 25px;
  }

  fieldset {
    padding: 24px 0 25px;
  }

  legend {
    gap: 0;
    font-size: 1.08rem;
  }

  legend span {
    width: auto;
    height: auto;
    margin-right: 0.38em;
    display: inline;
    background: transparent;
    color: inherit;
    font-size: inherit;
  }

  legend span::after {
    content: ".";
  }

  .choice-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .choice,
  .choice span {
    min-height: 58px;
  }

  .mobile-result-link {
    min-height: 52px;
    margin-top: 22px;
    border: 2px solid var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-weight: 760;
    text-decoration: none;
  }

  .result-panel {
    padding: 31px 28px 25px;
    box-shadow: none;
  }

  .result-panel h2 {
    max-width: none;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
  }

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

  .trust-list li {
    min-width: 0;
    padding: 9px 6px 9px 0;
    font-size: 0.85rem;
  }

  .trust-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .site-footer {
    width: min(100% - 36px, 560px);
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-block: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .trust-list {
    grid-template-columns: 1fr;
  }
}

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