/* Styles for the extra pages (site/pages/*.html, wrapped in _frame.html by build-deploy.py).
   The colour and font variables are the home page's, copied exactly: change them in both places. */
:root {
  --green: #1f3d2f; --green-deep: #152a20; --green-soft: #e7efe9;
  --cream: #f7f2e8; --paper: #fffdf8; --ink: #1c1b18; --grey: #6a665e;
  --amber: #b9691f; --amber-soft: #f6e6d2; --line: #e3dccd;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans);
       min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Header: wordmark and navigation, as on the home page */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(247,242,232,.94); backdrop-filter: blur(8px);
             border-bottom: 1px solid var(--line); padding: 14px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mark { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--green); text-decoration: none; }
.mark span { color: var(--amber); font-style: italic; padding: 0 .08em; }
nav.links { display: flex; gap: 26px; align-items: center; font-size: .95rem; }
nav.links a { text-decoration: none; color: var(--green); }
nav.links a:hover { text-decoration: underline; }
nav.links a.btn { color: #fff; padding: 10px 20px; }
nav.links a.btn:hover { text-decoration: none; }
details.menu { display: none; position: relative; }
details.menu summary { list-style: none; cursor: pointer; border: 1.5px solid var(--green); color: var(--green);
                       border-radius: 999px; padding: 8px 16px; font: 600 .92rem var(--sans); }
details.menu summary::-webkit-details-marker { display: none; }
details.menu .sheet { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--line);
                      border-radius: 16px; padding: 8px; min-width: 230px; box-shadow: 0 14px 30px rgba(31,61,47,.16); }
details.menu .sheet a { display: block; padding: 13px 16px; text-decoration: none; color: var(--green);
                        font-size: 1.05rem; border-radius: 10px; }
details.menu .sheet a:hover { background: var(--green-soft); }
@media (max-width: 760px) { nav.links > a { display: none; } details.menu { display: block; } }

/* Body text at a comfortable reading width */
main { flex: 1; max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--green-deep); }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.4rem 0 .6rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
p { margin: 0 0 1rem; }
main a { color: var(--green); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--amber); margin-bottom: .8rem; }
.lead { font-size: 1.2rem; color: #3b3933; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: .45rem; }
li::marker { color: var(--amber); }
.note { color: var(--grey); font-size: .92rem; }

/* A picture beside the opening text */
.pic { float: right; width: 190px; height: auto; margin: 0 0 16px 28px; }
@media (max-width: 600px) { .pic { float: none; display: block; margin: 0 auto 20px; width: 160px; } }

/* Questions block, as on the home page */
.faq { clear: both; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; list-style: none;
               display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: #45423b; }

/* The two buttons */
.btn { display: inline-block; background: var(--amber); color: #fff; text-decoration: none; font-weight: 600;
       padding: 14px 26px; border-radius: 999px; }
.btn:hover { background: #a25a18; }
main a.btn { color: #fff; }
.btn.ghost, main a.btn.ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn.ghost:hover { background: var(--green-soft); }
.cta { clear: both; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

/* Footer, as on the home page */
footer { padding: 30px 0 44px; font-size: .85rem; color: var(--grey); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
