:root {
  --teal: #04716a;
  --teal-soft: #e8f4f2;
  --green: #7bc246;
  --yellow: #ffd23f;
  --ink: #231f20;
  --muted: #333333;
  --bg: #f1f1f1;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  overflow-x: hidden;
}
img, table, .wrap { max-width: 100%; }
a { color: var(--teal); }

.signup-wrap {
  padding: 0 16px 16px 16px;
}
.signup-card {
  background: #ffffff;
  border: 1px solid #71bcb2;
  border-radius: 14px;
  padding: 16px 18px 14px 18px;
  font-family: Arial, Helvetica, sans-serif;
}
.signup-card h2 {
  margin: 0 0 6px 0;
  font-size: 17px;
  line-height: 23px;
  color: var(--ink);
}
.signup-card p.sub {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.signup-row input[type="text"],
.signup-row input[type="email"] {
  flex: 1 1 140px;
  min-height: 44px;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  box-sizing: border-box;
}
.signup-row button {
  flex: 0 0 auto;
  min-height: 44px;
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.signup-row button:disabled {
  opacity: 0.7;
  cursor: default;
}
.signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0 0;
  font-size: 13px;
  line-height: 18px;
  color: #555;
}
.signup-consent input {
  margin-top: 3px;
}
.signup-msg {
  margin: 10px 0 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--teal);
  font-weight: bold;
  display: none;
}
.signup-msg.err { color: #a33; }
.signup-msg.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.simple-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
}
.simple-card {
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.simple-card h1 { margin: 0 0 10px 0; color: var(--teal); font-size: 24px; }
.simple-card p { color: var(--muted); font-size: 16px; line-height: 24px; }
.back-link { margin-top: 18px; }

.archive {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 12px 40px;
  font-family: Arial, Helvetica, sans-serif;
}
.archive-hero {
  background: var(--teal);
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px;
}
.archive-hero .eyebrow {
  margin: 0 0 6px 0;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #71bcb2;
}
.archive-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 34px;
}
.archive-hero p {
  margin: 8px 0 0 0;
  font-size: 15px;
  line-height: 21px;
}
.archive-stripe {
  height: 5px;
  background: var(--green);
  border-radius: 0 0 4px 4px;
  margin-bottom: 18px;
}
.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-list a {
  display: block;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
}
.issue-list a:hover { border-color: #71bcb2; }
.issue-list .date {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: bold;
  padding: 4px 9px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.issue-list h2 {
  margin: 0 0 6px 0;
  font-size: 20px;
  line-height: 26px;
  color: var(--ink);
}
.issue-list p {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}
.archive .signup-wrap { padding: 8px 0 0; }
.byline {
  margin: 22px 4px 0;
  font-size: 14px;
  color: #555;
}

@media only screen and (max-width: 620px) {
  .signup-row button { width: 100%; }
}

.gate-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 12px 40px;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
}
.gate-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.gate-hero {
  background: var(--teal);
  color: #fff;
  padding: 28px 24px 22px;
}
.gate-hero .eyebrow {
  margin: 0 0 6px 0;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #71bcb2;
}
.gate-hero .brand {
  margin: 0;
  font-size: 15px;
  font-weight: bold;
}
.gate-hero .date {
  margin: 10px 0 0 0;
  font-size: 13px;
}
.gate-hero h1 {
  margin: 10px 0 0 0;
  font-size: 28px;
  line-height: 34px;
}
.gate-hero .teaser {
  margin: 12px 0 0 0;
  font-size: 15px;
  line-height: 22px;
}
.gate-stripe {
  height: 5px;
  background: var(--green);
}
.gate-form {
  padding: 20px 20px 8px;
}
.gate-form .signup-row {
  flex-direction: column;
}
.gate-form button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 14px;
  min-height: 44px;
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 24px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.gate-card .byline {
  margin: 8px 20px 20px;
}
