:root {
  color-scheme: light;
  --ink: #172e27;
  --muted: #52645a;
  --green: #204d3d;
  --line: #d5dbd2;
  --paper: #f8f8f3;
  --white: #fffefa;
  --serif: "Baskervville", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font: 16px/1.53 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #bf772d;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.043em;
  line-height: 1.04;
}
h3 {
  line-height: 1.22;
}
.wrap,
.bar {
  width: min(1190px, calc(100% - 72px));
  margin: auto;
}
.mast {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 77px;
}
.brand {
  border: 0;
  background: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  font: 600 1.14rem var(--sans);
  letter-spacing: -0.05em;
}
.brand img {
  width: 37px;
  height: 37px;
  border-radius: 10px;
}
.nav,
.row,
.foot,
.actions,
.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nav {
  gap: 16px;
}
.nav button,
.linkbtn {
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 600;
  padding: 7px 0;
}
.nav button {
  font-size: 0.92rem;
}
.nav button.active {
  border-bottom: 2px solid var(--green);
}
.nav .panelbtn {
  border: 1px solid #bec9bf;
  border-radius: 9px;
  padding: 8px 14px;
}
.main {
  padding-top: 32px;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid #d6ddcf;
  border-radius: 19px;
  background: #e8eddf;
}
.herotext {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 46px 8px 46px 52px;
}
.eyebrow,
.mini {
  font-size: 0.775rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #42593f;
}
.eyebrow:before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.1rem);
}
.hero h1 {
  margin: 14px 0 15px;
}
.hero h1 em {
  font-weight: 400;
  color: #40613e;
}
.hero p {
  color: #405246;
  max-width: 470px;
  font-size: 1.04rem;
}
.actions {
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: white;
  padding: 11px 20px;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover {
  background: #173e30;
}
.btn.light {
  color: var(--ink);
  background: var(--white);
  border-color: #c3cec2;
}
.btn.light:hover {
  background: #edf1e8;
}
.linkbtn {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 170px;
  background: linear-gradient(100deg, #e8eddf 0%, #dce4ca 52%, #cbdab7 100%);
}
.sun {
  position: absolute;
  background: #d29551;
  width: 21%;
  aspect-ratio: 1;
  border-radius: 50%;
  right: 18%;
  top: 12%;
  opacity: 0.94;
}
.hill {
  position: absolute;
  width: 136%;
  height: 100%;
  border-radius: 47% 47% 0 0;
  bottom: -39%;
  left: -24%;
  transform: rotate(15deg);
  overflow: hidden;
  background: #708866;
}
.hill:before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-radial-gradient(
    ellipse at 38% 1%,
    transparent 0 7px,
    #e6eed27d 7.6px 8.3px,
    transparent 9px 13px
  );
}
.hill.two {
  background: #3e6452;
  bottom: -47%;
  left: 10%;
  transform: rotate(-26deg);
  height: 117%;
}
.hill.two:before {
  background: repeating-radial-gradient(
    ellipse at 72% 5%,
    transparent 0 9px,
    #e0eaca66 9.6px 10.3px,
    transparent 11px 14px
  );
}
.hill.three {
  left: -43%;
  bottom: -70%;
  background: #213f34;
  height: 110%;
  transform: rotate(-7deg);
}
.hill.three:before {
  background: repeating-radial-gradient(
    ellipse at 25% 0%,
    transparent 0 6px,
    #b5c6a575 7px 7.7px,
    transparent 8px 12px
  );
}
.section {
  margin: 38px 0 44px;
}
.sectionhead,
.pagehead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sectionhead {
  margin-bottom: 20px;
}
.sectionhead h2,
.box h2 {
  font-size: 2rem;
}
.sectionhead p,
.sub,
.hint,
.loading {
  color: var(--muted);
}
.sectionhead p {
  font-size: 0.9rem;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
}
.tile:hover {
  box-shadow: 0 6px 22px #1c362612;
  transform: translateY(-2px);
}
.tilebody {
  padding: 18px 18px 20px;
}
.tile h3 {
  font: 1.43rem var(--serif);
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}
.tile p {
  font-size: 0.94rem;
  color: var(--muted);
}
.glyph {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  width: 100%;
  height: 97px;
  overflow: hidden;
}
.sage {
  background: #dbe5d2;
  color: #647d5c;
}
.sand {
  background: #efe2c9;
  color: #9e7b42;
}
.rose {
  background: #efdcd3;
  color: #aa7662;
}
.blue {
  background: #d8e5e5;
  color: #587c83;
}
.glyph i {
  position: absolute;
  width: 62px;
  height: 62px;
  border: 1.45px solid currentColor;
  transform: translateX(calc((var(--i) - 3) * 5px)) rotate(36deg);
  border-radius: 46% 52% 43% 54%;
}
.paths i {
  width: 73px;
  height: 65px;
  transform: translate(calc((var(--i) - 3) * 3px), calc((var(--i) - 3) * 3px))
    rotate(-28deg);
  border-radius: 55% 0 50% 0;
}
.overlap i {
  border-radius: 50%;
  width: 55px;
  height: 55px;
  transform: translateX(calc((var(--i) - 3) * 7px));
}
.steps i {
  width: 56px;
  height: 56px;
  border-radius: 48% 48% 3% 3%;
  transform: translate(calc((var(--i) - 3) * 3px), calc((var(--i) - 3) * 2px))
    rotate(32deg);
}
.foot {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 40px;
}
.foot a {
  text-underline-offset: 3px;
}
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.box,
.sheet {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 26px;
  margin: 18px 0;
}
.sheet p,
.box p {
  margin: 9px 0;
}
.box h3,
.sheet h3 {
  font: 1.42rem var(--serif);
}
.pagehead {
  margin: 18px 0 22px;
}
.pagehead h1,
.narrow > h1 {
  font-size: clamp(2.45rem, 5vw, 3.8rem);
}
.back {
  margin: 0 0 16px;
}
.wrap .mini {
  color: var(--muted);
}
.sub {
  margin: 10px 0 16px;
}
.progress {
  display: flex;
  gap: 6px;
  margin: 20px 0 8px;
}
.progress i {
  height: 5px;
  border-radius: 9px;
  flex: 1;
  background: #d9dfd4;
}
.progress i.on {
  background: #597850;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 22px 0 28px;
  min-width: 0;
}
legend,
.label {
  font-weight: 600;
  font-size: 1.02rem;
  display: block;
  margin-bottom: 9px;
}
.scale {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 5px;
}
.scale label {
  position: relative;
  min-width: 0;
}
.scale input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.scale span {
  display: grid;
  place-items: center;
  border: 1px solid #bcc9b9;
  min-height: 42px;
  border-radius: 6px;
  background: #fbfcf8;
  cursor: pointer;
}
.scale input:checked + span {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.scale input:focus-visible + span {
  outline: 3px solid #bf772d;
}
.scalehelp {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}
.small {
  font-size: 0.85rem;
}
.hint {
  font-size: 0.93rem;
}
.field,
textarea {
  width: 100%;
  border: 1px solid #aebcab;
  border-radius: 8px;
  background: white;
  padding: 11px 13px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 94px;
}
.tick {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 12px 0;
}
.tick input {
  accent-color: var(--green);
  transform: scale(1.13);
}
.note {
  border-left: 3px solid #749467;
  background: #edf2e8;
  padding: 12px 16px;
  border-radius: 0 7px 7px 0;
  margin: 14px 0;
}
.err {
  color: #843621;
}
.danger {
  color: #923e30;
}
.entries {
  display: grid;
  gap: 9px;
}
.entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 15px;
  background: var(--white);
  color: var(--ink);
}
.entry:hover {
  border-color: var(--green);
}
.entry small {
  color: var(--muted);
}
.badge {
  background: #e5eddf;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.81rem;
}
.tools {
  margin: 17px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.tools .field {
  flex: 1;
  min-width: 180px;
}
.center {
  padding: 26px 0;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  padding-left: 13px;
  border-left: 2px solid #c5cfbb;
}
.evidence {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 8px 0;
}
.evidence b {
  white-space: nowrap;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stage {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.stage:first-of-type {
  margin-top: 13px;
}
.stage:last-child {
  padding-bottom: 0;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
.loading {
  padding: 25px;
}
.feedback {
  min-height: 1.5em;
}
.empty {
  padding: 22px 0;
  color: var(--muted);
}
.miniart {
  height: 120px;
  border-radius: 9px;
}
.stack {
  display: grid;
  gap: 8px;
}
.hero .meta {
  gap: 8px;
}
.clock {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.clock:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 4px;
  border-left: 1.3px solid;
  border-bottom: 1.3px solid;
  top: 3px;
  left: 6px;
}
.hide {
  display: none !important;
}
.scale-clear {
  font-size: 0.81rem;
  color: var(--muted);
  border: 0;
  background: none;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wrap,
.box,
.entry,
.pre {
  overflow-wrap: anywhere;
}
@media (min-width: 1450px) {
  .main {
    padding-top: 44px;
  }
  .hero {
    min-height: 405px;
  }
  .glyph {
    height: 118px;
  }
}
@media (max-width: 850px) {
  .wrap,
  .bar {
    width: calc(100% - 36px);
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .herotext {
    padding: 32px 8px 32px 32px;
  }
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 320px;
  }
}
@media (max-width: 600px) {
  .bar {
    min-height: 66px;
    gap: 8px;
  }
  .brand {
    font-size: 0.97rem;
    gap: 6px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .nav {
    gap: 7px;
  }
  .nav button {
    font-size: 0.81rem;
  }
  .nav .panelbtn {
    padding: 6px 8px;
  }
  .nav .homebtn {
    display: none;
  }
  .main {
    padding-top: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .herotext {
    padding: 24px;
  }
  .art {
    min-height: 108px;
    max-height: 110px;
  }
  .sun {
    width: 48px;
    top: 8%;
    right: 15%;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .tiles {
    gap: 10px;
  }
  .tilebody {
    padding: 12px;
  }
  .tile h3 {
    font-size: 1.25rem;
  }
  .tile p {
    font-size: 0.875rem;
  }
  .glyph {
    height: 74px;
  }
  .section {
    margin: 26px 0;
  }
  .box,
  .sheet {
    padding: 16px;
  }
  .scale {
    gap: 3px;
  }
  .scale span {
    font-size: 0.85rem;
    min-height: 38px;
  }
  .sectionhead {
    gap: 7px;
  }
  .scalehelp {
    font-size: 0.76rem;
  }
  .pagehead {
    margin-top: 6px;
  }
  .foot {
    gap: 8px;
  }
  .actions {
    gap: 12px;
  }
  .narrow .actions .btn {
    flex-grow: 1;
  }
}
@media print {
  .mast,
  .foot,
  .actions,
  .tools,
  button,
  .noprint,
  .back,
  form {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .box,
  .sheet {
    break-inside: avoid;
    border: 0;
    padding: 8px 0;
  }
  .main {
    padding: 0;
  }
  body {
    background: white;
  }
  .narrow {
    max-width: none;
  }
}
.box .field + .label, .box textarea + .label { margin-top: 16px; }
.box .stack { padding-left: 1.5rem; }
.value-grid, .value-impacts, .wheel-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.value-choice { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem; border: 1px solid #c8d3c7; border-radius: .65rem; background: #fff; cursor: pointer; }
.value-choice input { margin-top: .3rem; accent-color: #235a48; }
.value-choice small { display: block; color: #506657; line-height: 1.4; }
.value-choice:has(input:checked) { border-color: #24644d; background: #e9f2ec; }
.value-choice:has(input:disabled) { cursor: default; opacity: .65; }
.value-order { margin: 0; }
.wheel-layout { align-items: center; }
.wheel-layout svg { width: 100%; max-width: 20rem; }
.wheel-layout text { font-size: 13px; font-weight: 700; fill: #213d30; }
.wheel-grid { fill: none; stroke: #8daba0; stroke-width: 1; }
.wheel-shape { fill: #b7d9c7; fill-opacity: .65; stroke: #24644d; stroke-width: 2; }
.wheel-point { fill: #235a48; }
.impact-chart { list-style: none; padding: 0; }
.impact-chart li { margin: .55rem 0; }
.impact-axis { height: .7rem; border-radius: .2rem; background: linear-gradient(90deg, #f3ece7 49.8%, #728177 49.8%, #728177 50.2%, #e8efe7 50.2%); position: relative; }
.impact-axis i { position: absolute; top: 0; height: 100%; }
.impact-axis .negative { right: 50%; background: #a35436; }
.impact-axis .positive { left: 50%; background: #266049; }
@media (max-width: 540px) { .value-grid, .wheel-layout { grid-template-columns: 1fr; } }
.goals-chart, .belief-chart { list-style: none; padding: 0; }
.goals-item, .belief-chart li { margin: .85rem 0; }
.goals-row { display: grid; grid-template-columns: minmax(5.5rem, 8rem) 1fr minmax(3rem, 5rem); gap: .55rem; margin-top: .35rem; align-items: center; font-size: .9rem; }
.goals-track, .belief-track { height: .65rem; background: #e4ece6; border-radius: .25rem; overflow: hidden; }
.goals-track i, .belief-track i { height: 100%; background: #245c46; display: block; border-radius: inherit; }
.goals-row.target .goals-track i { background: #a65c31; }
.belief-chart li > div:first-child { display: flex; justify-content: space-between; gap: .65rem; align-items: baseline; margin-bottom: .35rem; }
.belief-chart strong { white-space: nowrap; color: #295947; }
.nlp-rating { display: grid; grid-template-columns: 1fr 8rem; gap: 1rem; align-items: center; padding: .55rem 0; }
.nlp-rating + .nlp-rating { border-top: 1px solid #dfe8de; }
@media(max-width: 550px) { .nlp-rating { grid-template-columns: 1fr; gap: .35rem; } .nlp-rating select { max-width: 8rem; } }
