:root {
  --bg: #0a0d12;
  --bg-elevated: #0f1319;
  --border: #1e242e;
  --border-input: #57657a;
  --text: #eef1f5;
  --text-dim: #98a2b0;
  --accent: #4fd1c5;
  --accent-bright: #7ee8dc;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 640px;
}

/* ---------- Header / Footer ---------- */

.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 48px;
}

.hero-inner {
  max-width: 640px;
}

h1 {
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 28px;
}

/* ---------- Sections ---------- */

.block {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.block-alt {
  background: var(--bg-elevated);
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Fact list ---------- */

.fact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fact-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 15px;
}

.fact-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Sample issue / publisher note ---------- */

.sample-note,
.publisher-note {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 56ch;
}

.publisher-note {
  margin-bottom: 12px;
}

.publisher-signoff {
  font-size: 14px;
  color: var(--text-dim);
}

.legal-placeholder {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 20px;
}

.issue-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.issue-date {
  font-size: 13px;
  color: var(--text-dim);
}

.issue-title {
  font-size: 17px;
  color: var(--text);
}

.issue-excerpt {
  font-size: 15px;
  color: var(--text-dim);
}

.issue-readmore {
  font-size: 15px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}

/* ---------- Forms ---------- */

.signup-form {
  max-width: 480px;
}

.field-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font-sans);
}

.signup-form input[type="email"]::placeholder { color: var(--text-dim); }

.btn {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #06201d;
}

.btn-primary:hover { background: var(--accent-bright); }

.btn:disabled { opacity: 0.6; cursor: default; }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
}

.consent-row label {
  font-size: 13px;
  color: var(--text-dim);
}

.consent-row a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  font-size: 14px;
  min-height: 18px;
  font-weight: 600;
}

.form-status.success { color: var(--accent); }
.form-status.error { color: #ff8a8a; }

@media (max-width: 480px) {
  .field-row { flex-direction: column; }
}

/* ---------- Focus ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.signup-form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
