:root {
  --ink: #17201b;
  --muted: #5d6861;
  --line: #dce3dd;
  --paper: #fbfcfa;
  --soft: #edf4ef;
  --accent: #186a5b;
  --accent-strong: #0f4f43;
  --gold: #d49a2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 250, 0.94);
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 10vw, 112px) clamp(20px, 5vw, 64px);
  min-height: 70vh;
  background:
    linear-gradient(120deg, rgba(237, 244, 239, 0.95), rgba(251, 252, 250, 0.85)),
    url("https://images.unsplash.com/photo-1581091870622-1e7e2e1cba05?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6.5vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lede {
  max-width: 720px;
  margin: 18px 0;
  font-size: 1.2rem;
  color: #35423a;
}

.actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 11px 16px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  color: var(--accent-strong);
  background: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-panel,
.cta-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 55px rgba(23, 32, 27, 0.1);
}

.panel-label,
.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.band,
.content-list,
.newsletter,
footer {
  padding: clamp(36px, 7vw, 76px) clamp(20px, 5vw, 64px);
}

.band {
  background: #fff;
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid article,
.article-row,
.newsletter {
  border-top: 1px solid var(--line);
}

.grid article {
  padding-top: 18px;
}

.content-list {
  display: grid;
  gap: 16px;
}

.article-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: var(--ink);
  text-decoration: none;
}

.article-row span:last-child {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 28px;
  background: var(--soft);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

input {
  min-height: 46px;
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

textarea {
  width: 100%;
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.article-layout {
  padding: clamp(36px, 7vw, 82px) clamp(20px, 5vw, 64px);
}

.article {
  max-width: 780px;
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.article h2 {
  margin-top: 34px;
}

.article li {
  margin: 8px 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq-list p {
  margin: 0;
}

.cta-box {
  margin-top: 34px;
  background: #fff;
}

.cta-attribution {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.related-links {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.source-list {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.source-list h2 {
  font-size: 1.25rem;
}

.source-list ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.source-list a {
  color: var(--accent-strong);
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-grid a {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  text-decoration: none;
}

.related-grid span {
  font-weight: 800;
}

.related-grid small {
  color: var(--accent);
  font-weight: 800;
}

.dashboard {
  padding: clamp(36px, 7vw, 82px) clamp(20px, 5vw, 64px);
}

.dashboard-head {
  max-width: 920px;
  margin-bottom: 32px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.metric-grid article,
.ops-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.metric-value {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.metric-value.is-ready {
  color: #2d6a4f;
}

.metric-value.is-pending {
  color: #9a3412;
}

.metric-grid h2 {
  font-size: 1.25rem;
}

.ops-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.feedback-form {
  display: grid;
  gap: 10px;
}

.feedback-row {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.attribution-review-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 8px;
}

.attribution-review-form label {
  display: grid;
  gap: 4px;
}

footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid.three {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .ops-panel,
  .related-grid,
  .attribution-review-form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }

  .article-row {
    flex-direction: column;
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
