:root {
  --zs-bg: #0a0a0a;
  --zs-text-primary: #ECEEF3;
  --zs-text-secondary: #B5BCC9;
  --zs-accent-lime: #00FF66;
  --zs-accent-lime-hover: #33FF66;
  --zs-logo-green: #00FF41;
  --zs-error: #FF6B6B;
  --zs-card-bg: #14161a;
  --zs-hairline: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--zs-bg);
  color: var(--zs-text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.content {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
}

.portrait-card {
  align-self: center;
  background: var(--zs-card-bg);
  border: 1px solid var(--zs-hairline);
  border-radius: 16px;
  padding: 24px;
}

.portrait-img {
  display: block;
  width: 260px;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
}

.headline {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif !important;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.h1-muted { color: var(--zs-text-secondary) !important; }
.h1-primary { color: var(--zs-text-primary) !important; }
.h1-accent { color: var(--zs-accent-lime) !important; }

.paragraph {
  font-size: 18px;
  line-height: 1.55;
  color: var(--zs-text-primary);
  margin: 0;
  max-width: 52ch;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.email-input {
  width: 100%;
  font-size: 18px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--zs-text-primary);
  background: var(--zs-card-bg);
  border: 1px solid var(--zs-hairline);
  border-radius: 8px;
  padding: 14px 16px;
}

.email-input:focus-visible,
.email-input:focus {
  outline: 2px solid var(--zs-accent-lime);
  outline-offset: 2px;
  border: 1px solid var(--zs-hairline);
}

.email-input.invalid {
  border: 1px solid var(--zs-error);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.notify-btn {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-weight: 700;
  font-size: 18px;
  color: #0a0a0a;
  background: var(--zs-accent-lime);
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  cursor: pointer;
}

.notify-btn:hover {
  background: var(--zs-accent-lime-hover);
}

.notify-btn:focus-visible,
.notify-btn:focus {
  outline: 2px solid var(--zs-accent-lime);
  outline-offset: 2px;
}

.notify-btn[disabled] {
  opacity: 0.7;
  cursor: default;
}

.status-region {
  font-size: 18px;
  min-height: 1.4em;
  margin: 0;
  color: var(--zs-text-secondary);
}

.status-region.error {
  color: var(--zs-error);
}

.post-success .success-line {
  font-size: 18px;
  color: var(--zs-text-primary);
  margin: 0 0 8px 0;
}

.post-success .browse-line {
  margin: 0;
}

.post-success .browse-line .browse-link {
  color: var(--zs-text-secondary);
}

.browse-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.browse-link {
  font-size: 18px;
  color: var(--zs-accent-lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.browse-link:hover {
  text-decoration: none;
  color: var(--zs-accent-lime-hover);
}

.browse-link:focus-visible,
.browse-link:focus {
  outline: 2px solid var(--zs-accent-lime);
  outline-offset: 2px;
}

.browse-caption {
  font-size: 18px;
  color: var(--zs-text-secondary);
  margin: 0;
}

.footer {
  align-self: center;
  font-size: 18px;
  color: var(--zs-text-secondary);
  text-align: center;
  margin: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .page { padding: 40px 24px; }
  .content { max-width: 480px; gap: 40px; }
  .portrait-img { width: 320px; }
  .headline { font-size: 34px; }
  .paragraph { font-size: 19px; }
}

/* Desktop */
@media (min-width: 1280px) {
  html, body {
    background: radial-gradient(ellipse 800px 600px at 50% 30%, rgba(0,255,102,0.06), transparent 70%), #0a0a0a;
  }
  .page { padding: 48px 32px; }
  .content { max-width: 560px; gap: 48px; }
  .portrait-img { width: 360px; }
  .headline { font-size: 40px; }
  .paragraph { font-size: 19px; }
}
