@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #0f2a22;
  --green-mid: #1f4a40;
  --lime: #7ed957;
  --ink: #0e0e0e;
  --text: #3a3a3a;
  --muted: #6b6b6b;
  --sand: #f7f5f2;
  --line: #e0ddd8;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  background: var(--sand);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.76;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green-mid);
  font-weight: 600;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.article,
.identity-inner {
  width: min(720px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  padding: 38px 0 72px;
}

.logo {
  display: inline-block;
}

.logo img {
  display: block;
  width: auto;
  height: 36px;
}

.breadcrumbs {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--muted);
  font-weight: 500;
}

.article {
  padding-bottom: 90px;
}

h1,
h2,
h3 {
  color: var(--ink);
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

h2 {
  margin: 40px 0 12px;
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

h2 a {
  color: var(--ink);
}

h3 {
  margin: 42px 0 14px;
  font-size: 19px;
}

p {
  margin-bottom: 22px;
}

.intro {
  font-size: clamp(18px, 1.6vw, 20px);
}

.related-label {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-cta {
  margin-top: 58px;
  padding: 30px 0 8px;
  border-top: 1px solid var(--line);
}

.article-cta__eyebrow {
  margin-bottom: 10px;
  color: var(--green-mid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-cta h2 {
  max-width: 610px;
  margin-top: 0;
}

.article-cta__link {
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
}

.newsletter-box {
  margin-top: 46px;
  padding: 30px 32px;
  background: var(--white);
  border-left: 4px solid var(--lime);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
}

.newsletter-box h2 {
  margin-top: 0;
}

.newsletter-box > p {
  max-width: 620px;
}

.newsletter-sink {
  display: none;
}

.input-group {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.email-input {
  flex: 1;
  min-width: 180px;
  min-height: 68px;
  padding: 20px 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d8d2ca;
  border-radius: 0;
  outline: none;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(31, 74, 64, 0.08);
}

.submit-btn {
  min-width: 190px;
  min-height: 68px;
  padding: 18px 30px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: #6bc948;
  border-color: #6bc948;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.privacy-check {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.error-message,
.success-message {
  display: none;
  margin: 14px 0 0;
  font-size: 14px;
}

.error-message.visible {
  display: block;
  color: #a62929;
}

.success-message.visible {
  display: block;
  color: var(--green-mid);
  font-weight: 600;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid rgba(14, 14, 14, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: newsletter-spin 0.8s linear infinite;
}

.email-form.loading .spinner {
  display: inline-block;
}

@keyframes newsletter-spin {
  to { transform: rotate(360deg); }
}

.sources {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.sources p {
  margin-bottom: 10px;
}

.sources ul {
  padding-left: 18px;
}

.sources li {
  margin-bottom: 7px;
}

.identity {
  padding: 46px 0 38px;
  color: var(--white);
  background: var(--green);
}

.identity-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.identity h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 16px;
}

.identity p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .site-header,
  .article,
  .identity-inner {
    width: min(100% - 36px, 720px);
  }

  .site-header {
    padding: 30px 0 58px;
  }

  .logo img {
    height: 30px;
  }

  .article {
    padding-bottom: 72px;
  }

  .newsletter-box {
    padding: 26px 22px;
  }

  .input-group {
    flex-direction: column;
  }

  .email-input,
  .submit-btn {
    width: 100%;
    min-width: 0;
  }

  .identity-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal {
    grid-column: 1;
  }
}
