:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, sans-serif;
  color: #193a35;
  background: #f7f7f0;
  font-synthesis: none;
  line-height: 1.55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; }
a { color: #185c4d; text-underline-offset: .2em; }
a:hover { color: #ae4930; }
:focus-visible { outline: 3px solid #bb622f; outline-offset: 3px; }
.shell { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -5rem; left: 1rem; padding: .65rem 1rem; color: #fff; background: #193a35; }
.skip-link:focus { top: 1rem; }
.site-header { background: #f7f7f0; border-bottom: 1px solid #dce3d8; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #193a35; text-decoration: none; font-size: 1.03rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: #193a35; }
.brand strong { font-weight: 700; }
.brand-logo { width: 3.25rem; height: 3.25rem; flex: none; border-radius: 50%; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .45rem 1.25rem; }
.site-nav > a, .nav-button { color: #31544c; font-size: .87rem; font-weight: 700; text-decoration: none; }
.site-nav > a[aria-current='page'] { color: #ac4c30; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5em; }
.nav-form { margin: 0; }
.nav-button { background: none; border: 0; padding: .35rem 0; cursor: pointer; }
.nav-button:hover { color: #ae4930; }
.main-content { flex: 1; padding-block: 2.8rem 5rem; }
.site-footer { border-top: 1px solid #dce3d8; color: #4d645b; font-size: .82rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; padding-block: 1.5rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, serif; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 5.5vw, 5.25rem); }
h2 { font-size: clamp(1.45rem, 2.7vw, 2rem); }
h3 { font-size: 1.25rem; }
em { color: #b45535; font-weight: 500; }
.eyebrow { display: block; color: #487166; font-size: .71rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .8fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); padding-block: 2.5rem 4rem; }
.hero h1 { max-width: 730px; margin-block: 1rem 1.2rem; }
.hero-lead { max-width: 580px; color: #415b53; font-size: 1.16rem; }
.text-link { font-weight: 700; text-decoration-thickness: 1px; }
.hero-aside { padding: 1.4rem 1.6rem; border-left: 3px solid #bc643c; background: #eaf0e5; }
.hero-aside strong { display: block; margin-top: .45rem; font-family: Georgia, serif; font-size: 1.75rem; line-height: 1.2; }
.hero-aside strong a { color: inherit; }
.hero-aside p { margin: .8rem 0 0; color: #415b53; font-size: .91rem; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .8fr); align-items: start; gap: 1.4rem; }
.card { background: #fff; border: 1px solid #e0e7dd; border-radius: 14px; box-shadow: 0 10px 34px rgba(21, 62, 49, .045); }
.dupr-panel + .dupr-panel { margin-top: 1.4rem; }
.dupr-panel code { overflow-wrap: anywhere; }
.signup-card { padding: clamp(1.4rem, 3.6vw, 2.5rem); }
.section-heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.section-heading h2 { margin: .25rem 0 0; }
.step-number { display: grid; place-items: center; flex: 0 0 2.5rem; height: 2.5rem; border-radius: 50%; background: #e3ebde; color: #1e5b47; font-size: .85rem; font-weight: 700; }
.form-stack { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .status-form label { font-size: .9rem; font-weight: 700; }
.required { color: #af442a; }
.field input, .field textarea, .status-form select { width: 100%; min-width: 0; border: 1px solid #a6b9ab; border-radius: 8px; background: #fff; color: #193a35; padding: .78rem .9rem; }
.field input::placeholder { color: #687b71; }
.field textarea { resize: vertical; }
.field small, .fine-print { color: #52695e; font-size: .79rem; line-height: 1.6; }
.field small { display: block; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; width: fit-content; max-width: 100%; min-height: 2.85rem; padding: .7rem 1.2rem; border: 1px solid #194b3d; border-radius: 8px; background: #edf3eb; color: #194b3d; cursor: pointer; font-size: .89rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
.button:hover { background: #d9e8dc; color: #194b3d; }
.button-primary { background: #194b3d; color: #fff; }
.button-primary:hover { background: #286751; color: #fff; }
.button-small { min-height: 2.35rem; padding: .45rem .7rem; font-size: .78rem; }
.button-danger { min-height: 2.35rem; background: #fff; border-color: #ad503c; color: #943821; font-size: .8rem; }
.button-danger:hover { background: #fff0e9; color: #742b1c; }
.side-stack { display: grid; gap: 1.4rem; }
.info-card { padding: 1.6rem; }
.info-card h2 { margin: .5rem 0 .85rem; }
.info-card p { color: #415b53; }
.info-card p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; margin: 1.1rem 0 1.4rem; list-style: none; }
.steps-after-signup { counter-reset: step 2; }
.steps li { display: flex; gap: .85rem; align-items: flex-start; color: #415b53; font-size: .9rem; }
.steps li::before { counter-increment: step; content: counter(step); flex: 0 0 1.65rem; height: 1.65rem; display: grid; place-items: center; border-radius: 50%; background: #e3ebde; color: #205243; font-size: .8rem; font-weight: 700; }
.notice, .flash { margin: 0 0 1.4rem; padding: .9rem 1rem; border-left: 3px solid; border-radius: 5px; }
.notice-error, .flash-error { border-color: #bb5a43; background: #fff0e9; color: #722d22; }
.notice-success, .flash-success { border-color: #318168; background: #e9f4e9; color: #235541; }
.flash-stack { margin-bottom: 1.5rem; }
.flash-stack .flash:last-child { margin-bottom: 0; }
.result-panel { margin: 0 0 1.8rem; padding: 1.4rem; border-radius: 10px; background: #eaf1e8; }
.result-panel h3 { margin: .5rem 0 .4rem; font-family: Georgia, serif; font-size: 1.6rem; }
.result-panel p { color: #334f43; }
.result-panel .fine-print { margin: .8rem 0 0; }
.verification-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .55rem; margin: .6rem 0 .2rem; }
.verification-code code { min-width: 0; overflow-wrap: anywhere; padding: .55rem .45rem; border: 1px solid #a6b9ab; border-radius: 8px; background: #fff; font-size: .9rem; font-weight: 700; letter-spacing: .04em; }
.rating-line { font-size: .91rem; }
.page-intro { max-width: 760px; padding-block: 2rem 3rem; }
.page-intro h1 { margin: .6rem 0 .8rem; }
.page-intro p { color: #4a6259; font-size: 1.08rem; }
.faq-list { max-width: 900px; border-top: 1px solid #d8e2d7; }
.faq-item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.8rem .4rem 2rem; border-bottom: 1px solid #d8e2d7; }
.faq-number { color: #a05438; font-family: Georgia, serif; font-size: 1.25rem; }
.faq-item h2 { margin: 0 0 .75rem; font-size: 1.5rem; }
.plain-answer { overflow-wrap: anywhere; white-space: pre-line; color: #40594e; }
.faq-item .plain-answer { margin: 0; }
.empty-state { padding: 1.5rem; }
.empty-state p { margin: 0; }
.bottom-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; max-width: 900px; margin-top: 2.5rem; padding: 1.5rem; border-radius: 12px; background: #e7efe3; }
.bottom-cta p { margin: 0; font-family: Georgia, serif; font-size: 1.4rem; }
.auth-card { max-width: 460px; margin: 4rem auto 5rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.auth-card h1 { margin: .6rem 0; font-size: 2.7rem; }
.auth-card > p { color: #4a6259; }
.admin-intro { padding-block: 1rem 1.8rem; }
.admin-intro h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 3rem; }
.stat-card { display: grid; align-content: space-between; min-height: 112px; padding: 1.1rem; border: 1px solid #dce6d9; border-radius: 10px; background: #eaf0e5; }
.stat-card strong { font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.admin-section { margin-bottom: 3rem; }
.admin-section-header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.admin-section-header h2 { margin: .3rem 0 0; }
.admin-section-header p { max-width: 440px; margin: 0; color: #50695e; font-size: .84rem; }
.table-scroll { overflow-x: auto; border: 1px solid #dce6d9; border-radius: 11px; background: #fff; }
table { width: 100%; min-width: 960px; border-collapse: collapse; text-align: left; font-size: .85rem; }
th, td { padding: .95rem .8rem; vertical-align: top; border-bottom: 1px solid #e7ede6; }
th { background: #eaf0e5; color: #395c50; font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td { overflow-wrap: anywhere; }
.cell-meta { display: block; margin-top: .3rem; color: #516c61; font-size: .78rem; }
.break-word { overflow-wrap: anywhere; }
.status-pill { display: inline-block; padding: .25rem .5rem; border-radius: 5px; background: #e8eee5; color: #285846; font-size: .77rem; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.dates-cell { min-width: 190px; font-size: .76rem; }
.dates-cell span { display: block; margin-bottom: .28rem; }
.dates-cell b { font-weight: 700; }
.status-form { display: grid; gap: .45rem; min-width: 165px; }
.status-form label { font-size: .75rem; }
.status-form select { padding: .4rem .5rem; font-size: .8rem; }
.empty-cell { padding: 2rem 1rem; text-align: center; color: #516c61; }
.delivery-failure { margin-top: .8rem; }
.delivery-failure .notice { margin-bottom: .6rem; padding: .5rem .65rem; font-size: .76rem; }
.admin-faq-layout { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); align-items: start; gap: 1.5rem; }
.faq-editor { padding: 1.5rem; }
.faq-editor h2 { margin: .4rem 0 1.4rem; }
.check-field { display: flex; align-items: start; gap: .6rem; font-size: .9rem; font-weight: 600; }
.check-field input { width: 1.1rem; height: 1.1rem; margin: .17rem 0 0; accent-color: #194b3d; }
.entry-list { display: grid; gap: 1rem; }
.existing-entry h3 { margin: .4rem 0 .75rem; overflow-wrap: anywhere; }
.existing-entry > .plain-answer { margin: 0 0 1rem; }
.existing-entry details { border-top: 1px solid #e3eae2; padding-top: .8rem; }
.existing-entry summary { width: fit-content; color: #195b48; cursor: pointer; font-weight: 700; }
.edit-form { margin-top: 1rem; }
.delete-form { margin-top: 1rem; }
@media (max-width: 820px) {
  .hero, .two-column, .admin-faq-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.5rem; padding-block: 1rem 2.4rem; }
  .hero-aside { max-width: 620px; }
  .side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-section-header { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 2rem, 1160px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .55rem; padding-block: 1rem; }
  .site-nav { justify-content: flex-start; gap: .2rem 1rem; }
  .main-content { padding-block: 1.7rem 3.5rem; }
  .hero h1, .page-intro h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .side-stack { grid-template-columns: 1fr; }
  .faq-item { grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; }
  .faq-item h2 { font-size: 1.3rem; }
  .auth-card { margin-block: 1.5rem 3rem; }
  .button-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
