html, body { margin: 0; background: #181818; }
a { color: #ededed; }
a:hover { color: #ffffff; }
:focus-visible { outline: 2px solid #ededed; outline-offset: 2px; }

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

.page {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #181818;
  color: #ededed;
  font-family: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

/* Header */
.header {
  box-sizing: border-box;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #2a2a2a;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #f5f5f5; }
.mark { flex-shrink: 0; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #a3a3a3; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  flex: 1;
  box-sizing: border-box;
  padding: 48px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, #262626 1px, transparent 1px),
    linear-gradient(to bottom, #262626 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 48%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 48%, #000 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 38% 26% at 50% 48%, rgba(24, 24, 24, 0.85) 0%, rgba(24, 24, 24, 0.6) 55%, rgba(24, 24, 24, 0) 100%);
}
.headline {
  position: relative;
  margin: 0;
  max-width: 1000px;
  font-family: 'Newsreader', Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #f5f5f5;
}
.living {
  text-decoration: underline;
  text-decoration-color: #6b6b6b;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: none;
}
.lede { position: relative; margin: 24px 0 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: #a3a3a3; }

/* Request access */
.access { position: relative; margin-top: 32px; width: 100%; max-width: 440px; }
.access-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email-input {
  flex: 1 1 240px;
  min-width: 0;
  height: 46px;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  background: #1f1f1f;
  color: #ededed;
  font-family: inherit;
  font-size: 14px;
}
.email-input::placeholder { color: #808080; }
.email-input:focus { outline: none; border-color: #8c8c8c; }
.cta {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  background: #ededed;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.cta:hover { background: #ffffff; }
.cta:disabled { cursor: progress; opacity: 0.7; }
.access-status { position: relative; margin: 16px 0 0; min-height: 21px; font-size: 14px; color: #a3a3a3; }
/* Honeypot: hidden from people, filled in by bots */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Legal page */
.legal { flex: 1; box-sizing: border-box; width: 100%; max-width: 720px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { margin: 0 0 8px; font-family: 'Newsreader', Georgia, serif; font-optical-sizing: auto; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 400; letter-spacing: -0.025em; color: #f5f5f5; }
.legal-updated { margin: 0 0 48px; font-size: 12px; color: #949494; }
.legal h2 { margin: 40px 0 12px; font-size: 16px; line-height: 1.3; font-weight: 600; color: #ededed; }
.legal p, .legal li { font-size: 15px; line-height: 1.6; color: #a3a3a3; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal a { color: #ededed; }

/* Footer */
.footer {
  box-sizing: border-box;
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  border-top: 1px solid #2a2a2a;
  font-size: 12px;
  color: #808080;
}
.footer a { color: #808080; text-decoration: none; }
