@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  --forest:   #2D5016;
  --moss:     #4A7C59;
  --earth:    #7A4F2E;
  --stone:    #9E8C77;
  --cream:    #F8F3EB;
  --quartz:   #F2EDE4;
  --ink:      #2C2C2C;
  --rule:     #C8B89A;
  --warn-bg:  #FAEEDA;
  --warn-b:   #BA7517;
  --warn-t:   #633806;
  --info-bg:  #E6F1FB;
  --info-b:   #378ADD;
  --info-t:   #0C447C;
  --suc-bg:   #EAF3DE;
  --suc-b:    #3B6D11;
  --suc-t:    #1A3A08;
  --suc-dark: #1A2E10;
  --surv-bg:  #FBF0EE;
  --surv-b:   #C07070;
  --surv-t:   #6A1A1A;
  --surv-item:#3A1010;
}

/* ── Layout ── */
body {
  font-family: 'Lora', Georgia, serif;
  color: var(--ink);
  background: #f5f4f0;
  font-size: 11pt;
  line-height: 1.7;
  padding: 2rem 1rem;
}

.page {
  max-width: 740px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem 2.2rem 2.5rem;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ── Header ── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10pt;
  font-weight: 500;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}

.title {
  font-family: 'Inter', sans-serif;
  font-size: 22pt;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 4px;
  line-height: 1.2;
}

.ptag {
  font-family: 'Inter', sans-serif;
  font-size: 9pt;
  font-weight: 500;
  color: var(--moss);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

/* ── Quote anchor ── */
.anchor {
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-b);
  padding: 8px 13px;
  margin-bottom: 18px;
  font-style: italic;
  font-size: 10pt;
  color: var(--warn-t);
  line-height: 1.55;
}

/* ── Body text ── */
.instr      { font-size: 11pt; color: var(--ink); margin-bottom: 14px; line-height: 1.75; }
.instr-soft { font-size: 10pt; color: #5A5A5A; margin-bottom: 14px; line-height: 1.6; font-style: italic; }
.part-heading { font-family: 'Inter', sans-serif; font-size: 13pt; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }

/* ── Inputs — all forced light ── */
input[type="text"],
input[type="date"],
textarea {
  background: var(--cream) !important;
  color: var(--ink) !important;
  font-family: 'Lora', Georgia, serif;
  font-size: 10.5pt;
  border: none;
  outline: none;
  -webkit-text-fill-color: var(--ink);
  color-scheme: light;
}

textarea {
  width: 100%;
  resize: vertical;
  line-height: 1.8;
  padding: 6px 8px;
  border-radius: 4px;
}

/* ── Stem rows ── */
.stemrow {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.stemtext { font-size: 11pt; color: var(--ink); }
.stemline {
  flex: 1;
  min-width: 140px;
  border: none !important;
  border-bottom: 1px solid var(--rule) !important;
  background: transparent !important;
  font-family: 'Lora', serif;
  font-size: 11pt;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  padding: 0 2px;
  height: 26px;
}
.stemline-suc {
  flex: 1;
  min-width: 140px;
  border: none !important;
  border-bottom: 1px solid var(--suc-b) !important;
  background: transparent !important;
  font-family: 'Lora', serif;
  font-size: 11pt;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  padding: 0 2px;
  height: 26px;
}

/* ── Boxes ── */
.box-neutral {
  background: var(--quartz);
  border: 0.5px solid var(--rule);
  border-radius: 8px;
  padding: 13px 15px;
  margin-bottom: 14px;
}

.box-warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-b);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 14px;
}

.box-info {
  background: var(--info-bg);
  border: 1px solid var(--info-b);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 14px;
}

.box-suc {
  background: var(--suc-bg);
  border: 1px solid var(--suc-b);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

/* ── Closing green block ── */
.closing {
  background: var(--suc-bg);
  border: 1px solid var(--suc-b);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 6px;
}
.closing-header {
  font-family: 'Inter', sans-serif;
  font-size: 14pt;
  font-weight: 600;
  color: var(--suc-t);
  margin-bottom: 6px;
}
.closing-note {
  font-size: 10.5pt;
  font-style: italic;
  color: var(--suc-dark);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ── Two column grid ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.col-box {
  background: var(--quartz);
  border: 0.5px solid var(--rule);
  border-radius: 8px;
  padding: 12px 14px;
}
.col-label {
  font-family: 'Inter', sans-serif;
  font-size: 9pt;
  font-weight: 600;
  color: #5A5A5A;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.col-note {
  font-size: 10pt;
  font-style: italic;
  color: #7A7A7A;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ── Step rows ── */
.step-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--quartz);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 12pt;
  font-weight: 600;
  color: #5A5A5A;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content { flex: 1; }
.step-label {
  font-family: 'Inter', sans-serif;
  font-size: 12pt;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.step-note {
  font-size: 10.5pt;
  font-style: italic;
  color: #5A5A5A;
  margin-bottom: 8px;
  line-height: 1.55;
}

/* ── Dividers ── */
.arrow { text-align: center; color: var(--rule); font-size: 18pt; margin: 6px 0; line-height: 1; }
.page-break { border: none; border-top: 1px dashed var(--rule); margin: 24px 0; position: relative; }

/* ── Toggle buttons ── */
.toggle-btn {
  font-family: 'Inter', sans-serif;
  font-size: 10pt;
  font-weight: 500;
  color: var(--moss);
  cursor: pointer;
  background: var(--suc-bg);
  border: 0.5px solid var(--suc-b);
  border-radius: 20px;
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.toggle-btn:hover { background: #C0DD97; }
.toggleable { display: none; margin-top: 10px; }
.wheel-img { width: 100%; border-radius: 8px; display: block; margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 520px) {
  .two-col { grid-template-columns: 1fr; }
  .page { padding: 1.25rem 1rem; }
  .title { font-size: 18pt; }
}

/* ── Print ── */
@media print {
  body { background: #fff; padding: 0; }
  .page { box-shadow: none; padding: 0.6in 0.75in; }
  .toggle-btn { display: none; }
  .toggleable { display: block !important; }
}
