*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

main { flex: 1; }
a { color: inherit; text-underline-offset: .23em; }
button, input { font: inherit; }
button:not(:disabled) { cursor: pointer; }
img { display: block; width: 100%; }
h1, h2, p, figure { margin: 0; }
h1, h2 { line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.045em; font-weight: 760; }
h2 { font-size: 1.5rem; letter-spacing: -.035em; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 10;
  left: 1rem;
  top: 1rem;
  padding: .6rem 1rem;
  background: var(--page);
  transform: translateY(-170%);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.header-inner { min-height: 5rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark {
  display: inline-grid;
  grid-auto-flow: column;
  place-content: center;
  min-width: 3.55rem;
  height: 2.2rem;
  border-radius: .42rem;
  background: var(--brand-bg);
  color: var(--brand-ink);
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: -.065em;
}
.brand-mark > span { color: var(--brand-dot); }
.brand-name { font-size: .93rem; font-weight: 720; }

.navigation { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; }
.navigation a { color: var(--muted); font-size: .875rem; font-weight: 650; text-decoration: none; }
.navigation a:hover { color: var(--ink); text-decoration: underline; }
.navigation a[aria-current] { color: var(--ink); text-decoration: underline; }

.site-footer { border-top: 1px solid var(--rule); color: var(--muted); }
.footer-inner { padding-block: 1.25rem; font-size: .875rem; }
.footer-inner span:first-child { color: var(--ink); font-weight: 650; }

.kicker {
  display: flex;
  align-items: center;
  gap: .58rem;
  width: fit-content;
  margin-bottom: 1rem;
  color: var(--eyebrow);
  font-size: .875rem;
  font-weight: 730;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker > span { width: .7rem; height: .22rem; background: var(--eyebrow-mark); border-radius: 1rem; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.23rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; align-items: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .65rem 1.18rem;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  background: var(--button);
  color: var(--button-ink);
  text-align: center;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 730;
}
.button:hover { background: var(--button-hover); }
.button:disabled { opacity: .68; }
.text-link { width: fit-content; color: var(--link); font-size: .94rem; font-weight: 700; }

.login-card h2 { font-size: clamp(1.55rem, 3vw, 2rem); }
.form-note { margin-top: .48rem; color: var(--muted); }
.login-form { display: grid; margin-top: 1.55rem; }
.login-form label { font-size: .9rem; font-weight: 700; }
.login-form label:not(:first-child) { margin-top: .85rem; }
.login-form input {
  width: 100%;
  min-width: 0;
  min-height: 3.08rem;
  margin-top: .3rem;
  padding: .58rem .7rem;
  border: 1px solid var(--field-line);
  border-radius: var(--button-radius);
  background: var(--field);
  color: var(--ink);
}
.password-field { position: relative; }
.password-field:has(.password-toggle:not([hidden])) input { padding-right: 5.9rem; }
.password-toggle {
  position: absolute;
  right: .42rem;
  bottom: .37rem;
  min-height: 2.35rem;
  padding: .3rem .48rem;
  border: 0;
  border-radius: .26rem;
  background: transparent;
  color: var(--link);
  font-size: .875rem;
  font-weight: 680;
}
.password-toggle:hover { text-decoration: underline; }
.login-submit { width: 100%; margin-top: 1.2rem; }
.form-status { min-height: 1.5rem; margin-top: .6rem; color: var(--error); font-size: .9rem; font-weight: 650; }

@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .55rem; padding-block: .75rem; }
  .navigation { gap: .3rem .95rem; }
}

:root {
  --page: #f8f8f1;
  --ink: #20251b;
  --muted: #51574a;
  --rule: #d8ddcd;
  --surface: #fff;
  --focus: #546719;
  --brand-bg: #22281c;
  --brand-ink: #fff;
  --brand-dot: #d7f478;
  --eyebrow: #44531f;
  --eyebrow-mark: #78993b;
  --button: #d8f479;
  --button-hover: #c6e665;
  --button-ink: #20251b;
  --button-radius: .5rem;
  --link: #3d501e;
  --field: #f8f9f4;
  --field-line: #aeb5a4;
  --error: #a42b26;
}

.navigation .nav-cta {
  padding: .47rem .8rem;
  border: 1px solid #b9c0af;
  border-radius: .4rem;
  color: var(--ink);
}
.navigation .nav-cta:hover,
.navigation .nav-cta[aria-current] { background: #eef2e2; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(1.75rem, 5.4vw, 5.25rem);
  align-items: center;
  padding-block: clamp(2rem, 5.4vw, 4.85rem) 2.4rem;
}
.hero h1 { font-size: clamp(3.45rem, 7vw, 5.8rem); font-weight: 820; line-height: .97; }
.hero h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #556a2b; }
.hero .lead { max-width: 30rem; margin-top: 1.5rem; }
.hero .actions { margin-top: 1.45rem; }
.hero-photo {
  overflow: hidden;
  border-radius: .95rem;
  background: #282624;
  aspect-ratio: 1.22;
}
.hero-photo img { height: 100%; object-fit: cover; }

.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(2rem, 6vw, 4.9rem);
  border: 1px solid var(--rule);
  border-radius: .65rem;
  background: #f2f4e9;
}
.topic { padding: clamp(1rem, 2.5vw, 1.75rem); }
.topic + .topic { border-left: 1px solid var(--rule); }
.topic-label { color: var(--eyebrow); font-size: .875rem; font-weight: 680; }
.topic h2 { margin-top: .44rem; }
.topic h2 a { text-decoration: none; }
.topic h2 a:hover { text-decoration: underline; }
.topic p { margin-top: .6rem; color: var(--muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 47rem) minmax(12rem, 1fr);
  column-gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  padding-block: clamp(2.4rem, 7vw, 5.5rem);
}
.article h1 { max-width: 13ch; }
.article-intro .lead { max-width: 37rem; margin-top: 1.2rem; }
.article section { margin-top: 1.85rem; }
.article section p { max-width: 42rem; margin-top: .56rem; color: var(--muted); }
.article .button { margin-top: 1.7rem; }
.article-sources {
  display: grid;
  gap: .6rem;
  margin-top: 2rem;
  padding: 1.15rem;
  border: 1px solid var(--rule);
  border-radius: .55rem;
  background: #f2f4e9;
}
.article-sources h2 { font-size: 1rem; letter-spacing: 0; }
.article-sources a { width: fit-content; color: var(--link); font-size: .9rem; font-weight: 650; }

.account-layout {
  display: grid;
  grid-template-columns: 1fr minmax(19rem, 28rem);
  align-items: center;
  gap: 2rem 4rem;
  padding-block: clamp(2.4rem, 8vw, 6.5rem);
}
.account-copy .lead { max-width: 33rem; margin-block: 1.2rem 1.35rem; }
.login-card {
  padding: clamp(1.35rem, 3.5vw, 2.3rem);
  border: 1px solid var(--rule);
  border-radius: .85rem;
  background: var(--surface);
  box-shadow: 0 1rem 3rem #3745180c;
}

@media (max-width: 55rem) {
  .hero { grid-template-columns: 1fr 1fr; gap: 1.35rem; }
  .hero h1 { font-size: clamp(2.8rem, 7.2vw, 4.7rem); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sources { width: min(100%, 26rem); }
}
@media (max-width: 44rem) {
  .hero, .topics, .account-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.75rem); }
  .topic + .topic { border-left: 0; border-top: 1px solid var(--rule); }
  .hero-photo { aspect-ratio: 1.35; }
  .account-layout { align-content: start; }
}
