:root {
  color-scheme: light;
  --canvas: #f7f5ef;
  --paper: #fff;
  --ink: #163c33;
  --muted: #4c5f55;
  --pine: #153f35;
  --pine-deep: #10362e;
  --gold: #d4af7d;
  --stroke: #d8dfd8;
  --soft: #f1f6f0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-family: var(--sans);
  font-size: 100%;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
a, button, label { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #966238; outline-offset: 4px; }

.shell { width: min(71rem, calc(100% - 6.5rem)); margin-inline: auto; }
.masthead { background: var(--paper); border-bottom: 1px solid #e8e6df; }
.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 6rem;
  padding-block: .65rem;
}
.logo { display: block; width: 11.5rem; height: auto; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid var(--stroke);
  border-radius: .5rem;
  padding: .66rem .95rem;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.contact-link:hover { background: var(--soft); }
.envelope, .topic-mail {
  display: inline-block;
  width: 1rem;
  height: .73rem;
  border: 1.4px solid currentColor;
  border-radius: .13rem;
  position: relative;
}
.envelope::after, .topic-mail::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border-right: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  position: absolute;
  left: 50%;
  top: -.06rem;
  transform: translateX(-50%) rotate(45deg);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.47fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4.75rem) 2.75rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-size: .82rem;
  letter-spacing: .12em;
  font-weight: 750;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: #b98a59; }
.intro > .eyebrow { margin-block: .25rem 1.05rem; }
h1 {
  font: 400 clamp(2.7rem, 4.8vw, 4.6rem)/1.02 var(--serif);
  letter-spacing: -.055em;
  margin-bottom: 1.15rem;
}
.lede {
  max-width: 24rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.scan-info {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .42rem .58rem;
  font-size: .88rem;
  color: var(--ink);
  font-weight: 650;
}
.scan-info span { color: #977044; }
.topics {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 2rem;
  background: var(--pine);
  color: #f7f5ec;
  border-radius: .9rem;
  padding: 1.38rem 1.45rem 1.55rem;
}
.topics h2 { font: 400 1.37rem/1.25 var(--serif); }
.topics ul { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .64rem; }
.topics li { display: flex; gap: .65rem; align-items: center; font-size: .93rem; font-weight: 530; }
.topic-icon { display: inline-block; position: relative; color: var(--gold); flex: 0 0 .9rem; width: .9rem; }
.topic-files { height: .77rem; border: 1.4px solid currentColor; border-radius: .1rem; }
.topic-files::before, .topic-calendar::after {
  content: "";
  position: absolute;
  left: .16rem;
  right: .16rem;
  top: .25rem;
  height: 1px;
  background: currentColor;
}
.topic-files::before { box-shadow: 0 .19rem currentColor; }
.topic-calendar { height: .79rem; border: 1.4px solid currentColor; border-radius: .15rem; }
.topic-calendar::after { left: 0; right: 0; }
.leaf-decoration {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  right: -2.3rem;
  bottom: -4.8rem;
  width: 12.4rem;
  height: 12rem;
  transform: rotate(24deg);
  opacity: .36;
}
.leaf-decoration i {
  display: block;
  position: absolute;
  width: 4.6rem;
  height: 8.5rem;
  border: 1px solid #d4af7d;
  border-radius: 100% 0 100% 0;
  transform-origin: bottom left;
  bottom: 0;
  left: 0;
}
.leaf-decoration i:nth-child(2) { transform: rotate(23deg); }
.leaf-decoration i:nth-child(3) { transform: rotate(46deg); }

.scan-panel {
  background: var(--paper);
  border: 1px solid #e3e6de;
  border-radius: 1.05rem;
  padding: clamp(1.2rem, 3.1vw, 2.35rem);
  box-shadow: 0 1.05rem 3.5rem #34362b0b, 0 .14rem .5rem #34362b06;
}
.step-header { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.step-caption { font-size: .84rem; color: var(--ink); font-weight: 750; }
.step-topic { font-size: .84rem; color: var(--muted); text-align: right; }
progress {
  display: block;
  width: 100%;
  height: .38rem;
  margin-block: .68rem 1.46rem;
  appearance: none;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #e8ece5;
  color: var(--pine);
}
progress::-webkit-progress-bar { background: #e8ece5; border-radius: 1rem; }
progress::-webkit-progress-value { background: var(--pine); border-radius: 1rem; transition: width .24s ease; }
progress::-moz-progress-bar { background: var(--pine); border-radius: 1rem; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
legend, .result-title {
  padding: 0;
  font: 400 clamp(1.62rem, 2.95vw, 2.42rem)/1.13 var(--serif);
  letter-spacing: -.037em;
  max-width: 100%;
}
legend:focus, .result-title:focus { outline: none; }
.question-hint, .result-lede {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
  margin-block: .5rem 1.1rem;
}
.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.choices.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: .63rem;
  min-height: 3.2rem;
  background: var(--paper);
  border: 1px solid var(--stroke);
  border-radius: .65rem;
  padding: .68rem .75rem;
  cursor: pointer;
}
.choice:hover { border-color: #779085; background: #f8faf7; }
.choice:has(input:checked) { background: var(--soft); border-color: #5b806d; }
.choice:has(input:focus-visible) { outline: 2px solid #966238; outline-offset: 2px; }
.choice input { margin: .18rem 0 0; flex: 0 0 1rem; width: 1rem; height: 1rem; accent-color: var(--pine); }
.choice-copy { display: grid; gap: .18rem; }
.choice-title { font-size: .94rem; line-height: 1.35; font-weight: 680; }
.choice-detail { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.choice-detail:empty { display: none; }
.choice.none-choice {
  grid-column: 1 / -1;
  justify-self: start;
  padding-inline: .1rem .85rem;
  min-height: 2.7rem;
  background: transparent;
  border-color: transparent;
}
.choice.none-choice:has(input:checked) { color: var(--pine); }
.choice.none-choice:hover .choice-title { text-decoration: underline; text-underline-offset: .15em; }
.choice.none-choice .choice-title { font-weight: 550; color: var(--muted); }
.answer-error { color: #a23824; font-size: .92rem; font-weight: 650; margin-top: .6rem; }
.actions, .result-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1rem;
  margin-top: 1.1rem;
}
.actions .primary { margin-left: auto; }
.button {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .52rem;
  padding: .63rem 1.06rem;
  font-size: .94rem;
  font-weight: 680;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.primary { color: #fff; background: var(--pine); }
.primary:hover { background: var(--pine-deep); }
.secondary { background: var(--paper); border-color: #9baa9d; color: var(--ink); }
.secondary:hover { background: var(--soft); }
.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border: 0;
  border-radius: .35rem;
  padding: .2rem 0;
  background: transparent;
  color: var(--ink);
  font-size: .91rem;
  font-weight: 630;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.text-button:hover { color: #6f4924; }
.privacy {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .5rem;
  margin: .95rem .3rem 0;
  font-size: .83rem;
  line-height: 1.55;
  color: var(--muted);
}
.lock {
  flex: 0 0 .66rem;
  width: .66rem;
  height: .48rem;
  border: 1px solid currentColor;
  border-radius: .12rem;
  position: relative;
}
.lock::before {
  content: "";
  position: absolute;
  left: .098rem;
  bottom: 100%;
  width: .32rem;
  height: .32rem;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: .24rem .24rem 0 0;
}

.result-label { margin-bottom: .75rem; }
.result-advice { display: grid; gap: .95rem; }
.advice-item {
  border-left: 2px solid #a0b5a5;
  padding: .12rem 0 .12rem .85rem;
}
.advice-item:first-child {
  background: var(--soft);
  border-left: 0;
  border-radius: .72rem;
  padding: .95rem 1.05rem;
}
.advice-item h3, .meeting h3 { font-size: 1rem; font-weight: 750; }
.advice-item p, .meeting p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  margin-top: .3rem;
}
.meeting { border-top: 1px solid var(--stroke); margin-top: 1.45rem; padding-top: 1.22rem; }
.meeting h3 { font: 400 1.55rem/1.25 var(--serif); }
.meeting-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.result-actions { margin-top: .85rem; flex-wrap: wrap; }

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  padding-block: 1.15rem 1.6rem;
  border-top: 1px solid #e0e2d8;
  color: var(--muted);
  font-size: .84rem;
}
.footer a { text-decoration-color: #8da295; text-underline-offset: .18em; }

@media (max-width: 68rem) {
  .shell { width: calc(100% - 4rem); }
}
@media (max-width: 55rem) {
  .layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.32fr); gap: 1.65rem; }
  .choices.two-columns { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 3.25rem; }
}
@media (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .masthead-inner { min-height: 4.8rem; }
  .logo { width: 9.8rem; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; padding-block: 1.8rem 1.7rem; }
  .intro > .eyebrow { margin-block: 0 .6rem; }
  h1 { font-size: clamp(2.35rem, 8.5vw, 3.25rem); margin-bottom: .6rem; }
  .desktop-break, .topics { display: none; }
  .lede { max-width: 34rem; font-size: 1rem; line-height: 1.55; }
  .scan-info { margin-top: .7rem; }
  .choices.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scan-panel { border-radius: .9rem; }
  .step-topic { font-size: .81rem; }
  .choice { padding: .65rem; }
  .choice input { margin-top: .16rem; }
  .privacy { justify-content: flex-start; }
}
@media (max-width: 32rem) {
  .choices.two-columns { grid-template-columns: minmax(0, 1fr); }
  .meeting-actions { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  progress::-webkit-progress-value { transition: none; }
}
