:root {
  color-scheme: dark;
  --pine: #172b24;
  --pine-soft: #294139;
  --paper: #101b16;
  --white: #fffefa;
  --surface: #1b2b23;
  --moss: #8fbd8a;
  --copper: #bd704b;
  --ink: #e7ece6;
  --muted: #9db09f;
  --rule: #2c3f34;
  --banner-bg: rgba(224, 138, 92, .14);
  --banner-text: #f0d9c8;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }

.hero {
  position: relative;
  min-height: min(760px, 88svh);
  color: var(--white);
  background-color: var(--pine);
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.coming-soon-hero { min-height: 100svh; }
.coming-soon-content { padding-top: 88px; padding-bottom: 96px; }
.coming-soon-content h1 { max-width: 900px; }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}
.hero-shade { background: rgba(13, 29, 24, .55); }
.site-header {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
.wordmark-logo { display: block; width: 46px; height: 46px; object-fit: contain; flex: 0 0 auto; }
.wordmark-copy { display: block; }
.wordmark-copy strong { display: block; font-size: 14px; font-weight: 600; }
.wordmark-copy span { display: block; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  color: rgba(255,255,255,.91);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}
.nav a:hover { color: #fff; }
.nav .nav-support {
  border: 1px solid rgba(255,255,255,.7);
  padding: 11px 16px;
}
.nav .nav-login {
  padding: 11px 16px;
  background: var(--copper);
  color: white;
  text-decoration: none;
}
.nav .nav-login:hover { background: #a95f3e; }
.hero-content {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
  padding: 72px 0 88px;
}
.eyebrow {
  margin: 0 0 24px;
  color: #e2bd92;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .98;
}
.hero-copy {
  max-width: 510px;
  margin: 25px 0 34px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.75;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--copper);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease;
}
.button:hover { background: #a95f3e; }
.button:disabled { cursor: not-allowed; opacity: .6; }
.button:disabled:hover { background: var(--copper); }
.text-link {
  color: white;
  font-size: 12px;
  font-weight: 500;
  text-decoration-color: rgba(255,255,255,.6);
  text-underline-offset: 5px;
}

.intro {
  padding: 78px 32px 83px;
  background: var(--paper);
}
.intro-inner { width: min(1120px, 100%); margin: 0 auto; }
.section-label {
  margin: 0 0 19px;
  color: var(--moss);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.section-label::before {
  content: "\16DE";
  display: inline-block;
  margin-right: 8px;
  color: var(--copper);
  font-family: var(--serif);
  text-transform: none;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}
.intro-copy {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.intro-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 42px;
  margin-top: 34px;
}
.intro-story {
  padding-top: 16px;
  border-top: 3px solid var(--copper);
}
.intro-story h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}
.intro-council {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.commitments {
  padding: 72px 32px 78px;
  background: var(--surface);
}
.commitments-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}
.commitments-heading h2 { font-size: 40px; }
.commitments-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.commitment-list { border-top: 1px solid var(--rule); }
.commitment { padding: 19px 0; border-bottom: 1px solid var(--rule); }
.commitment h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.commitment p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.gather {
  padding: 68px 32px 72px;
  background: var(--pine);
  color: var(--white);
}
.gather-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
}
.gather .section-label { color: #d39a76; }
.gather .section-label::before { color: #d39a76; }
.gather h2 { max-width: 560px; font-size: 40px; }
.gather-copy { margin: 17px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.8; }
.contact-block {
  padding: 24px 28px;
  border-left: 3px solid var(--copper);
  background: rgba(255,255,255,.06);
}
.contact-block p { margin: 0 0 15px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.7; }
.contact-block a { color: white; font-size: 13px; font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }

footer {
  padding: 23px 32px;
  background: #102019;
  color: rgba(255,255,255,.68);
  font-size: 10px;
}
.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
footer p { margin: 0; line-height: 1.7; }

.login-hero { min-height: 100svh; }
.login-header { position: relative; z-index: 1; }
.login-header .nav-home { color: white; }
.login-content {
  width: min(460px, calc(100% - 40px));
  margin: auto;
  padding: 56px 0 76px;
}
.login-panel {
  position: relative;
  padding: 46px 40px 40px;
  background: linear-gradient(165deg, rgba(23, 43, 36, .93), rgba(41, 65, 57, .88));
  color: var(--white);
  border: 1px solid rgba(189, 112, 75, .35);
  border-top: 3px solid var(--copper);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 32px 64px -28px rgba(6, 14, 11, .65);
}
.login-panel::before {
  content: "\16DE";
  position: absolute;
  top: -22px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(189, 112, 75, .5);
  border-radius: 50%;
  background: var(--pine);
  color: var(--copper);
  font-family: var(--serif);
  font-size: 20px;
}
.login-panel .section-label { margin-bottom: 13px; color: #d39a76; }
.login-panel h1 {
  max-width: none;
  font-size: 44px;
  line-height: 1.08;
}
.login-intro {
  margin: 13px 0 24px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.7;
}
.login-notice {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--copper);
  background: rgba(245, 244, 238, .1);
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  line-height: 1.65;
}
.login-form { display: grid; gap: 16px; }
.login-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.login-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(245, 244, 238, .25);
  border-radius: 0;
  background: rgba(245, 244, 238, .95);
  color: #000;
  font: inherit;
}
.login-form input:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
.login-form .button { width: 100%; border: 0; cursor: pointer; font-family: var(--sans); letter-spacing: .4px; }
.login-form .button:disabled { cursor: wait; opacity: .65; }
.login-message { min-height: 1.5em; margin: 0; color: #e8967d; font-size: 11px; line-height: 1.5; }
.login-preview { margin: 16px 0 0; color: #a9c6a9; font-size: 11px; line-height: 1.6; text-align: center; }
.login-preview[hidden] { display: none; }
.login-session[hidden], .login-form[hidden] { display: none; }
.login-session .button { width: 100%; border: 0; cursor: pointer; font-family: var(--sans); }
.login-back { display: inline-block; margin-top: 19px; color: #a9c6a9; font-size: 11px; text-underline-offset: 4px; }
.login-footer { position: relative; z-index: 1; }

.dashboard-body { min-height: 100vh; background: var(--paper); }
.dashboard-header { background: var(--pine); color: var(--white); }
.dashboard-header-inner {
  width: min(1180px, calc(100% - 64px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dashboard-header .wordmark span { color: rgba(255,255,255,.68); }
.dashboard-nav { display: flex; align-items: center; gap: 24px; }
.dashboard-nav a { color: rgba(255,255,255,.88); font-size: 12px; text-decoration: none; }
.dashboard-signout {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.55);
  background: transparent;
  color: white;
  font: 500 12px var(--sans);
  cursor: pointer;
}
.dashboard-signout:hover { background: rgba(255,255,255,.1); }
.dashboard-main { width: min(1080px, calc(100% - 64px)); margin: 0 auto; padding: 60px 0 80px; }
.dashboard-main[hidden] { display: none; }
.dashboard-heading { padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.dashboard-heading .section-label { margin-bottom: 12px; }
.dashboard-title { max-width: 800px; font-size: 54px; line-height: 1.06; }
.dashboard-lede { margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.dashboard-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; padding-top: 26px; }
.dashboard-panel { padding: 27px 28px; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--copper); }
.dashboard-panel h2 { font-size: 27px; }
.dashboard-panel .section-label { margin-bottom: 12px; }
.member-details { margin-top: 20px; border-top: 1px solid var(--rule); }
.member-detail { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 12px; }
.member-detail span { color: var(--muted); }
.member-detail strong { max-width: 65%; text-align: right; overflow-wrap: anywhere; font-weight: 600; }
.community-copy { margin: 13px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.dashboard-link { color: var(--moss); font-size: 12px; font-weight: 600; text-underline-offset: 4px; }
.updates-panel { grid-column: 1 / -1; }
.empty-state { margin: 18px 0 0; padding: 19px 0 0; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; line-height: 1.7; }
.session-check { width: min(1080px, calc(100% - 64px)); margin: 60px auto; color: var(--muted); font-size: 13px; }
.session-check[hidden] { display: none; }
.preview-banner {
  margin: 24px auto 0;
  padding: 12px 20px;
  width: min(1080px, calc(100% - 64px));
  border-left: 3px solid var(--copper);
  background: var(--banner-bg);
  color: var(--banner-text);
  font-size: 11px;
  line-height: 1.6;
}
.preview-banner[hidden] { display: none; }

@media (min-width: 1500px) {
  h1 { font-size: 94px; }
}
@media (max-width: 700px) {
  .hero { min-height: 680px; min-height: 88svh; }
  .hero-image { object-position: 58% center; }
  .site-header, .hero-content { width: calc(100% - 40px); }
  .site-header { min-height: 76px; }
  .nav { gap: 17px; }
  .nav a { font-size: 11px; }
  .nav a:first-child { display: none; }
  .nav .nav-support { padding: 9px 11px; }
  .nav .nav-login { padding: 9px 11px; }
  .login-header .nav a:not(.nav-home) { display: none; }
  .login-content { padding: 40px 0 52px; }
  .login-panel { padding: 28px 23px; }
  .login-panel h1 { font-size: 39px; }
  .dashboard-header-inner { width: calc(100% - 40px); min-height: 72px; }
  .dashboard-nav { gap: 12px; }
  .dashboard-nav a { display: none; }
  .dashboard-main { width: calc(100% - 40px); padding: 42px 0 58px; }
  .dashboard-title { font-size: 42px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-panel { padding: 23px 20px; }
  .updates-panel { grid-column: auto; }
  .session-check { width: calc(100% - 40px); }
  .preview-banner { width: calc(100% - 40px); }
  .hero-content { padding: 68px 0 66px; }
  .coming-soon-hero { min-height: 100svh; }
  .coming-soon-content { padding-top: 68px; padding-bottom: 66px; }
  .eyebrow { max-width: 230px; line-height: 1.6; }
  h1 { max-width: 500px; font-size: 62px; }
  .hero-copy { max-width: 420px; font-size: 14px; }
  .intro { padding: 58px 22px 62px; }
  .intro-stories { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .intro-council { grid-column: auto; }
  .commitments { padding: 56px 22px 60px; }
  .commitments-inner { grid-template-columns: 1fr; gap: 28px; }
  .commitments-heading h2 { font-size: 36px; }
  h2 { font-size: 38px; }
  .gather { padding: 55px 22px 58px; }
  .gather-inner { grid-template-columns: 1fr; gap: 30px; }
  .gather h2 { font-size: 36px; }
  .contact-block { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  footer { padding: 20px 22px; }
  .footer-inner { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
