:root {
  --bg: #fff;
  --text: #111;
  --muted: #767676;
  --line: #ddd;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
}

h1, h2 {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 1.75rem; margin: 0 0 0.25rem; }
h2 { font-size: 1rem; margin: 2.5rem 0 0.25rem; }

p { margin: 0 0 1rem; }

a {
  color: inherit;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--muted); }

.hero {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 2.5rem;
}

.tagline { color: var(--muted); margin: 0 0 1rem; }

form { margin-top: 1.25rem; }

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

input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
}
input[type="email"]:focus { border-color: var(--text); outline: none; }
input::placeholder { color: #aaa; }

button, .button {
  flex: 0 0 auto;
  display: inline-block;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  font: inherit;
  color: var(--bg);
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 0;
  cursor: pointer;
}
button:hover, .button:hover { color: var(--text); background: var(--bg); }

input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 3px;
}

.actions { margin: 1.5rem 0 1rem; }

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

footer {
  max-width: 32rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 1.25rem;
}
footer a:hover { color: var(--text); }
