/* =====================================================================
   Just In Case Coverage — jicc.css
   Palette (from the JiC logo): green #355A4A, gold #C0843D.
   Background soft warm off-white — never bright white (Gerald's rule).
   HERMES: safe to edit colors in the :root block only.
   ===================================================================== */
:root {
  --green: #355A4A;
  --green-dark: #27443A;
  --gold: #C0843D;
  --gold-dark: #A76F2E;
  --bg: #F3F1EC;        /* warm off-white page background */
  --card: #FBFAF7;      /* card surface */
  --ink: #2B3530;       /* body text */
  --muted: #64706A;     /* secondary text */
  --line: #DAD5CB;      /* borders */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; }
a { color: var(--green); }
.container { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* header — just the logo, no navigation. One page, one action. */
.site-header { padding: 26px 0 8px; text-align: center; }
.site-header img { height: 74px; width: auto; }

/* hero */
.hero { padding: 26px 0 10px; text-align: center; }
.hero .tagline { font-style: italic; color: var(--gold-dark); font-size: 1.15rem; margin-bottom: 14px; }
.hero h1 { color: var(--green); font-size: 2.1rem; line-height: 1.25; }
.hero .sub { margin: 14px auto 0; font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.hero .cta-row { margin-top: 24px; }
.btn {
  display: inline-block; background: var(--gold); color: #fff; font-weight: 700;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem; padding: 14px 30px; border-radius: 8px; text-decoration: none;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--gold-dark); }
.btn.secondary { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn.secondary:hover { background: var(--green); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }

section { padding: 36px 0; }
h2 { color: var(--green); font-size: 1.5rem; margin-bottom: 10px; }

/* promise strip */
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 10px; }
.promise {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; border-top: 3px solid var(--gold);
  font-family: "Segoe UI", system-ui, sans-serif;
}
.promise h3 { color: var(--green); font-size: 1.02rem; margin-bottom: 6px; }
.promise p { color: var(--muted); font-size: .93rem; }

/* honest section */
.honest { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.honest ul { margin: 10px 0 0 20px; }
.honest li { margin-bottom: 7px; }
.honest .note { margin-top: 14px; color: var(--muted); font-size: .95rem; font-style: italic; }

/* line picker */
.picker-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; font-family: "Segoe UI", system-ui, sans-serif; }
.pick {
  border: 2px solid var(--line); background: var(--card); border-radius: 10px;
  padding: 14px 22px; font-weight: 600; cursor: pointer; user-select: none; font-size: 1rem;
}
.pick:hover { border-color: var(--green); }
.pick.selected { border-color: var(--gold); background: #F6EBD9; color: var(--green-dark); }

/* forms */
.formwrap {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; border-top: 4px solid var(--gold); margin-top: 20px;
  font-family: "Segoe UI", system-ui, sans-serif;
  display: none;
}
.formwrap.active { display: block; }
.formwrap h3 { color: var(--green); margin-bottom: 4px; }
.step-note { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
fieldset { border: none; margin: 0; padding: 0; display: none; }
fieldset.active { display: block; }
fieldset legend { font-weight: 700; color: var(--green); font-size: 1.05rem; margin-bottom: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 .full { grid-column: 1 / -1; }
label { font-weight: 600; color: var(--green-dark); font-size: .9rem; display: block; margin-bottom: 4px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
textarea { min-height: 90px; resize: vertical; }
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; padding: 6px 0; }
.radio-row label { font-weight: 500; display: flex; align-items: center; gap: 6px; margin: 0; }
.step-nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 12px; }
.progress { color: var(--muted); font-size: .85rem; align-self: center; }
.form-note { color: var(--muted); font-size: .84rem; margin-top: 14px; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-weight: 600; color: var(--green-dark); font-size: .92rem; margin-top: 6px; }
.consent input { margin-top: 4px; width: 17px; height: 17px; }
.hidden { display: none; }

/* FAQ accordion */
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 9px;
  margin-top: 10px; overflow: hidden; font-family: "Segoe UI", system-ui, sans-serif;
}
details.faq summary {
  cursor: pointer; font-weight: 700; color: var(--green); padding: 14px 44px 14px 18px;
  list-style: none; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--gold-dark); font-size: 1.4rem; font-weight: 800;
}
details.faq[open] summary::after { content: "–"; }
details.faq .answer { padding: 0 18px 16px; color: var(--ink); }

/* guide-page content */
.article { max-width: 720px; }
.article h1 { color: var(--green); font-size: 1.8rem; line-height: 1.3; margin-bottom: 14px; }
.article h2 { margin-top: 26px; }
.article p { margin-bottom: 12px; }
.article ul { margin: 0 0 12px 22px; }
.article li { margin-bottom: 6px; }
.crumb { font-family: "Segoe UI", system-ui, sans-serif; font-size: .9rem; margin-bottom: 16px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 30px 0 24px; text-align: center; }
.site-footer .service-line { font-family: "Segoe UI", system-ui, sans-serif; color: var(--muted); font-size: .95rem; }
.site-footer .legal {
  font-family: "Segoe UI", system-ui, sans-serif;
  margin-top: 14px; font-size: .78rem; color: #8B948E; line-height: 1.7; max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.site-footer a { color: var(--green); }

@media (max-width: 700px) {
  .hero h1 { font-size: 1.55rem; }
  .grid2 { grid-template-columns: 1fr; }
  .site-header img { height: 56px; }
}
