:root {
  --green-900: #0d3b2e;
  --green-700: #17604a;
  --green-500: #2f8f6b;
  --lime: #c8e86b;
  --sand: #f6f3ec;
  --ink: #16211d;
  --muted: #5b6a64;
  --line: #dfe5e1;
  --white: #ffffff;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-700); }
img { max-width: 100%; display: block; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--green-900); color: var(--white); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 16px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand img { height: 40px; width: auto; }
.brand .wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: 0.01em;
}
.brand .wordmark span { color: var(--green-500); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--green-700); }
.nav .btn { color: var(--white); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green-700); color: var(--white);
  border: 0; border-radius: 999px; padding: 12px 22px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--green-900); }
.btn:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid var(--lime); outline-offset: 2px;
}
.btn-light { background: var(--white); color: var(--green-900); }
.btn-light:hover { background: var(--sand); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(200, 232, 107, 0.35), transparent 60%),
    linear-gradient(180deg, var(--sand), var(--white));
  padding: 72px 0 80px;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 56px; } }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-700); margin: 0 0 16px;
}
h1, h2, h3 { font-family: var(--serif); color: var(--green-900); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
.lead { font-size: 19px; color: var(--muted); margin: 20px 0 28px; max-width: 34em; }

/* Signup */
.signup {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 10px 30px rgba(13, 59, 46, 0.08); max-width: 560px;
}
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"], .signup input[type="text"] {
  flex: 1 1 200px; min-width: 0;
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px;
  font: 16px var(--sans); color: var(--ink); background: var(--white);
}
.signup .btn { flex: 0 0 auto; }
.signup .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; color: var(--muted); }
.signup .check input { margin-top: 4px; accent-color: var(--green-700); }
.signup .fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.signup .msg { font-size: 15px; font-weight: 600; margin: 12px 0 0; min-height: 1em; }
.signup .msg.ok { color: var(--green-700); }
.signup .msg.err { color: #b42318; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Cover */
.cover {
  aspect-ratio: 8.5 / 11; width: min(380px, 100%); margin-inline: auto;
  border-radius: 10px; overflow: hidden; position: relative;
  box-shadow: 0 30px 60px rgba(13, 59, 46, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: rotate(2deg);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder {
  height: 100%; padding: 28px 26px; color: var(--white);
  background:
    radial-gradient(400px 300px at 80% 20%, rgba(200, 232, 107, 0.45), transparent 60%),
    linear-gradient(160deg, var(--green-500), var(--green-900));
  display: flex; flex-direction: column; justify-content: space-between;
}
.cover-placeholder .mast { font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 0.95; }
.cover-placeholder .tag { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.cover-placeholder .issue { font-family: var(--serif); font-size: 22px; }
.cover-placeholder ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 1.9; opacity: 0.95; }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 60px 0; } }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.topic {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  background: var(--white); transition: border-color 0.15s ease, transform 0.15s ease;
}
.topic:hover { border-color: var(--green-500); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .topic, .topic:hover { transition: none; transform: none; } }
.topic .num { font: 700 13px var(--sans); color: var(--green-500); letter-spacing: 0.1em; }
.topic h3 { margin: 8px 0 8px; }
.topic p { margin: 0; color: var(--muted); font-size: 15.5px; }

.band { background: var(--green-900); color: #e8f1ec; }
.band h2 { color: var(--white); }
.band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }
.band p { color: #c9dbd2; max-width: 40em; margin: 14px 0 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.card { background: var(--sand); border-radius: var(--radius); padding: 32px; }
.card p { color: var(--muted); }
.card address { font-style: normal; line-height: 1.8; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 18px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.social { display: flex; gap: 14px; }
.social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: var(--sand); color: var(--green-900); }
.social a:hover { background: var(--lime); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); }
.disclaimer { font-size: 13px; max-width: 70em; }

/* Legal page */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: #34423c; }
