:root {
  --bg: #f4efe4;
  --ink: #14110e;
  --muted: #6b645b;
  --line: #d9d1c3;
  --rose: #e11d48;
  --card: #fffaf1;
  --danger: #9f1239;
  --focus: #e11d48;
  --max: 40rem;
}

/* Brand lock: paper. Dark-mode AI landings are a cliché. The poster is the mark. */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--rose); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  z-index: 10;
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.hero {
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: max(2.5rem, env(safe-area-inset-top))
           max(1.25rem, env(safe-area-inset-right))
           max(2.5rem, env(safe-area-inset-bottom))
           max(1.25rem, env(safe-area-inset-left));
}

.hero-inner,
.wrap {
  width: min(var(--max), calc(100vw - 2.5rem));
  max-width: 100%;
  margin: 0 auto;
}

.wordmark {
  margin: 0;
  font-size: clamp(3.1rem, 14vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.054em;
  line-height: 0.86;
  text-wrap: balance;
  white-space: nowrap;
}

.wordmark .tld { color: var(--rose); }

.line {
  margin: 1.6rem 0 0;
  font-size: clamp(1.65rem, 4.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.lede {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 1.05rem;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

form.names {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 2.1rem;
  align-items: stretch;
}

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

input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 3rem;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}

input[type="email"]::placeholder { color: var(--muted); }

input[type="email"]:focus {
  outline: none;
  border-bottom-color: var(--rose);
}

button[type="submit"] {
  min-height: 3rem;
  padding: 0 1.15rem;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

button[type="submit"]:hover { background: var(--rose); color: #fff; }
button[type="submit"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
input[type="email"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.fine {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.banner {
  margin: 1.1rem 0 0;
  color: var(--danger);
  font-weight: 600;
}

.banner.ok { color: var(--ink); }

.more {
  padding: 0 max(1.25rem, env(safe-area-inset-right)) 4.5rem max(1.25rem, env(safe-area-inset-left));
}

.rule {
  width: min(var(--max), 100%);
  margin: 0 auto 2.6rem;
  border: 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.quiet {
  color: var(--muted);
  text-wrap: pretty;
}

.blooper {
  margin-top: 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.blooper .tag {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blooper h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.blooper p { margin: 0; color: var(--muted); }

footer.site {
  width: min(var(--max), 100%);
  margin: 2.8rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer.site p { margin: 0 0 0.45rem; }

.page {
  padding: max(2rem, env(safe-area-inset-top))
           max(1.25rem, env(safe-area-inset-right))
           max(3rem, env(safe-area-inset-bottom))
           max(1.25rem, env(safe-area-inset-left));
}

.page h1 {
  margin: 1.4rem 0 0.7rem;
  font-size: clamp(2rem, 7vw, 3.1rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.page .brand {
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.page .brand .tld { color: var(--rose); }

.page h2 {
  margin: 1.8rem 0 0.45rem;
  font-size: 1.05rem;
}

.page p { text-wrap: pretty; }

.center {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

.center h1 {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.center h1 .tld { color: var(--rose); }

.center p { color: var(--muted); max-width: 24rem; }

@media (max-width: 520px) {
  .wordmark { white-space: normal; }
  .lede { max-width: none; }
  form.names {
    flex-direction: column;
    align-items: stretch;
  }
  input[type="email"] { flex: 1 1 auto; width: 100%; }
  button[type="submit"] { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
