:root {
  --bg: #ebe9e3;
  --dot: rgba(22, 22, 26, 0.18);
  --ink: #1a1a1f;
  --ink-dim: #4f4f55;
  --ink-faint: #86868d;
  --yellow: #c49000;
  --yellow-deep: #a87a00;
  --border: rgba(22, 22, 26, 0.18);
  --field-bg: rgba(255, 255, 255, 0.65);
  --screen-bg: #14141a;
  --screen-ink: #c8c8d0;
  --screen-dot: rgba(220, 220, 230, 0.08);
  --error: #b53c3c;
  --success: #2f7a4a;
  --radius: 4px;
  --mono:
    "IBM Plex Mono", "JetBrains Mono", "Fira Mono", ui-monospace, "SF Mono",
    Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  gap: 3rem;
  align-items: start;
}

.content {
  text-align: left;
  max-width: 34rem;
}

.brand h1 {
  font-family: var(--mono);
  font-style: italic;
  font-weight: 800;
  color: var(--yellow);
  font-size: 3rem;
  letter-spacing: -0.04em;
  margin: 0 0 2rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.intro {
  margin: 0 0 2rem;
  max-width: 30rem;
}

.intro p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.65;
}

.intro strong {
  color: var(--ink);
  font-weight: 600;
}

.intro a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-faint);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.intro a:hover,
.intro a:focus-visible {
  color: var(--yellow-deep);
  border-bottom-color: var(--yellow-deep);
}

.signup {
  margin: 0 0 3rem;
  max-width: 32rem;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#email,
#submit-btn {
  width: 100%;
  font-family: var(--mono);
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
}

#email {
  min-width: 0;
  background: var(--field-bg);
  color: var(--ink);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

#email::placeholder {
  color: var(--ink-faint);
  font-style: italic;
}

#email:focus {
  border-color: var(--yellow-deep);
  background: rgba(255, 255, 255, 0.85);
}

#submit-btn {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.05s ease, filter 0.15s ease;
}

#submit-btn:hover {
  filter: brightness(1.15);
}

#submit-btn:active {
  transform: translateY(1px);
}

#submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.status {
  margin: 1rem 0 0;
  min-height: 1.4em;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

.status.is-success {
  color: var(--success);
}

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

.privacy {
  margin: 0.65rem 0 0;
  color: var(--ink-faint);
  font-size: 0.8rem;
  font-style: italic;
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 34rem;
}

footer p {
  margin: 0 0 0.6rem;
}

footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-faint);
  transition: color 0.15s ease, border-color 0.15s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--ink-dim);
  border-bottom-color: var(--ink-dim);
}

footer .fineprint {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

/* ---------- right column: screenshot rail ---------- */

.screens {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.screen {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--screen-bg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 18px 40px -22px rgba(0, 0, 0, 0.35);
}

.screen a {
  display: block;
  cursor: zoom-in;
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.15s ease;
}

.screen a:hover img,
.screen a:focus-visible img {
  opacity: 0.92;
}

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

/* ---------- desktop layout ---------- */

@media (min-width: 56rem) {
  body {
    display: grid;
    place-content: center;
  }

  .layout {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: 9rem;
    padding: 4rem 3.5rem;
    max-width: 84rem;
    align-items: center;
  }

  .content {
    padding-top: 0;
  }
}

@media (min-width: 80rem) {
  .layout {
    padding-top: 6rem;
  }
}

