:root {
  color-scheme: light;
  --bg: #f8f7f3;
  --panel: #ffffff;
  --panel-2: #f0ede5;
  --text: #171717;
  --muted: #64615a;
  --line: #ded9cd;
  --gold: #b98122;
  --ink: #22313f;
  --red: #9a3328;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #f0ede5 100%);
  color: var(--text);
}
a { color: inherit; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(222, 217, 205, 0.75);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }
nav, .site-footer { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a, .site-footer a { color: var(--muted); text-decoration: none; }
nav a:hover, .site-footer a:hover { color: var(--text); }
main { max-width: 1120px; margin: 0 auto; padding: 2rem 1.25rem 5rem; }
.hero { padding: clamp(3.5rem, 8vw, 7rem) 0; max-width: 860px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
h1 { font-size: clamp(2.35rem, 6.5vw, 5.2rem); line-height: 0.98; letter-spacing: -0.055em; margin: 0.4rem 0 1rem; }
h2 { margin: 0 0 0.6rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; max-width: 720px; }
.actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.7rem; }
.button { border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1.1rem; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(34, 49, 63, 0.12); }
.button.primary { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.button.secondary { background: #ffffff; color: var(--text); }
.cover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.principles {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.95fr;
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}
.principles article {
  min-height: 260px;
  padding: 1.45rem 1.25rem 1.25rem;
  background: transparent;
  border-right: 1px solid var(--line);
  position: relative;
}
.principles article:nth-child(2) {
  margin-top: -2.2rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(34, 49, 63, 0.08);
  border: 1px solid var(--text);
  z-index: 1;
}
.principles article:last-child { border-right: 0; }
.principles span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 2.2rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  color: var(--text);
  font-weight: 850;
  background: var(--bg);
}
.principles h2 { max-width: 11rem; font-size: 1.55rem; letter-spacing: -0.035em; }
.principles p { color: var(--muted); line-height: 1.6; max-width: 18rem; }
.principles article::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 10px;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 12px 0 / 8px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 24px 0 / 8px 8px no-repeat,
    linear-gradient(var(--red), var(--red)) 36px 0 / 8px 8px no-repeat;
}
.case-card, .cover-option, .legal, .after-vote {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 22px 55px rgba(34, 49, 63, 0.08);
}
.case-card li, .legal p { color: var(--muted); line-height: 1.55; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; padding-top: 4rem; }
.case-card { position: relative; overflow: hidden; }
.case-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--ink), var(--gold), var(--red)); }
.case-card h2 { font-size: 2.3rem; }
.test-shell { max-width: 980px; }
.vote-form { margin-top: 2rem; }
.cover-option { position: relative; display: block; cursor: pointer; transition: transform 0.18s ease, border-color 0.18s ease; }
.cover-option:hover { transform: translateY(-3px); border-color: rgba(185, 129, 34, 0.75); }
.cover-option input { position: absolute; inset: 1rem auto auto 1rem; }
.cover-art { aspect-ratio: 2 / 3; border-radius: 16px; background: linear-gradient(155deg, #f1eee7, #ffffff 58%, #d9c59d); display: grid; place-items: end center; padding: 1rem; min-height: 280px; border: 1px solid rgba(222, 217, 205, 0.8); }
.cover-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.cover-title { font-weight: 850; font-size: 1.35rem; text-align: center; text-transform: uppercase; }
.field { display: grid; gap: 0.5rem; margin: 1.2rem 0; color: var(--muted); }
textarea, input[type="email"] { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem; background: #ffffff; color: var(--text); }
textarea:focus, input[type="email"]:focus { outline: 3px solid rgba(185, 129, 34, 0.18); border-color: var(--gold); }
.inline-form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 230px; }
.form-note { color: var(--gold); min-height: 1.4rem; }
.privacy-note { color: var(--muted); font-size: 0.92rem; line-height: 1.5; border: 1px solid var(--line); border-radius: 16px; padding: 0.8rem 1rem; background: #fffaf0; }
.after-vote { margin-top: 1.4rem; }
.subtle { justify-content: center; opacity: 0.85; }
.warning { border-left: 3px solid var(--gold); padding-left: 1rem; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .cover-grid, .split { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; border: 1px solid var(--text); }
  .principles article, .principles article:nth-child(2) { min-height: auto; margin-top: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
  .principles article:last-child { border-bottom: 0; }
  h1 { font-size: clamp(2.2rem, 13vw, 3.6rem); }
}
