:root {
  color-scheme: light;
  --ink: #102922;
  --muted: #425b52;
  --teal: #08634e;
  --teal-dark: #034b3b;
  --line: #cddbd3;
  --paper: #f3f7f3;
  --light: #fff;
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-size: 1rem; line-height: 1.6; }
main { flex: 1; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.035em; }
a { color: var(--teal); text-underline-offset: .22em; }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #da7900; outline-offset: 3px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.narrow { max-width: 49rem; }
.top { border-bottom: 1px solid var(--line); background: var(--light); }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.top-inner { min-height: 4.6rem; }
.brand { color: var(--ink); font-size: 1.45rem; font-weight: 800; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--teal); font-weight: 650; }
.top nav, .footer nav { display: flex; gap: clamp(.8rem, 2vw, 1.8rem); flex-wrap: wrap; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 610; }
.top nav a:hover { color: var(--teal); text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem;
  border: 1px solid transparent; border-radius: .55rem; padding: .68rem 1.1rem;
  background: var(--teal); color: var(--light); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; text-align: center;
}
.button:hover { background: var(--teal-dark); color: var(--light); }
.button.secondary { border-color: var(--line); background: var(--light); color: var(--teal); }
.button.secondary:hover { background: var(--paper); }
.button.compact { white-space: nowrap; }
.hero { background: linear-gradient(120deg,#101f1b,#153b30); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(13rem, .65fr); gap: 4rem; align-items: end; padding-block: clamp(3rem,7vw,5.9rem); }
.hero h1 { font-size: clamp(2.55rem,6vw,4.9rem); letter-spacing: -.07em; }
.hero p { max-width: 33rem; margin-top: 1.2rem; color: #d1e9dd; font-size: clamp(1rem,2vw,1.16rem); }
.hero-search { display: flex; align-items: stretch; gap: .45rem; padding: .4rem; border-radius: .74rem; background: var(--light); margin-top: 1.8rem; }
.hero-search input { min-width: 0; border-color: transparent; }
.hero-search button { min-width: 5.7rem; }
.hero-side { display: grid; gap: .7rem; }
.hero-side a { padding: 1.15rem 1.25rem; background: rgba(255,255,255,.09); border: 1px solid #749889; border-radius: .75rem; color: #fff; text-decoration: none; }
.hero-side a:hover { background: rgba(255,255,255,.16); }
.hero-side span { display: block; color: #d1e9dd; font-size: .96rem; margin-top: .28rem; }
.dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 1.65rem; padding-block: 3.2rem 4rem; }
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; margin-bottom: 1rem; }
.section-head a { font-weight: 690; }
.section-head h1 { margin: 0; }
h2 { font-size: clamp(1.45rem,3vw,1.88rem); }
.cards { display: grid; gap: .75rem; }
.card, .empty { background: #fff; border: 1px solid var(--line); border-radius: .72rem; padding: 1.28rem; }
.card h3 { margin-block: .42rem; font-size: 1.32rem; }
.card p+p, .card h2+p { margin-top: .6rem; }
.card p { overflow-wrap: anywhere; }
.empty { min-height: 7.5rem; display: grid; align-content: center; gap: .35rem; color: var(--muted); }
.metadata { display: flex; flex-wrap: wrap; gap: .6rem 1rem; color: var(--muted); font-size: .9rem; }
.rating { color: var(--teal); font-weight: 760; }
.page { padding-block: clamp(2rem,5vw,3.7rem) 4rem; }
.page h1 { font-size: clamp(2.05rem,5vw,3.4rem); margin-bottom: .9rem; }
.page h2 { margin-block: 1.25rem .6rem; }
.page > p { margin-bottom: 1rem; }
.muted { color: var(--muted); }
.filter { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) auto; gap: .8rem; align-items: end; margin-block: 1.6rem; }
label, .form, .form-row { display: grid; gap: .35rem; }
.form { gap: 1rem; }
.form-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem; }
.form > .button { justify-self: start; }
input:not([type=checkbox]), textarea, select { width: 100%; min-height: 2.9rem; padding: .64rem .78rem; color: var(--ink); background: #fff; border: 1px solid #8da69a; border-radius: .51rem; font: inherit; }
input[type=checkbox] { margin: .25rem .18rem 0 0; width: 1.1rem; height: 1.1rem; accent-color: var(--teal); }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg,transparent 50%,#315a4b 50%),linear-gradient(135deg,#315a4b 50%,transparent 50%); background-position: calc(100% - 17px) 49%,calc(100% - 12px) 49%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.check { display: flex; gap: .45rem; align-items: flex-start; }
.honeypot, .visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 4; margin: .5rem; padding: .6rem; background: white; }
.messages { padding-top: .8rem; }
.message { border: 1px solid #79ae9b; background: #e4f2e9; border-radius: .5rem; padding: .8rem 1rem; }
.message.error { border-color: #b45748; background: #fbeae7; color: #902c1b; }
.entry-body { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 1.4rem; }
.report-link { display: inline-block; margin-top: 1rem; }
.contact h2:first-child { margin-top: 0; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.moderation-card { margin-bottom: .8rem; }
.prose { overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol { margin-block: .7em; }
.prose li + li { margin-top: .4em; }
.footer { border-top: 1px solid var(--line); background: #fff; padding-block: 1.7rem; }
.footer p, .footer a:not(.brand) { color: var(--muted); font-size: .92rem; }
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .dashboard { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-grid { align-items: start; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .top-inner { flex-wrap: wrap; padding-block: .72rem; gap: .65rem; }
  .top nav { order: 3; width: 100%; gap: .45rem 1rem; font-size: .9rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
}
@media (max-width: 32rem) {
  .hero-side, .filter, .form-row { grid-template-columns: 1fr; }
  .filter button { justify-self: start; }
  .top .compact { min-height: 2.55rem; font-size: .86rem; padding-inline: .65rem; }
  .hero-search button { min-width: 4.6rem; padding-inline: .65rem; }
}
