:root {
  color-scheme: light;
  --background: #f4efe4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --border: #d8ccb5;
  --text: #1f1a14;
  --muted: #645a4d;
  --accent: #0f6d66;
  --accent-strong: #0a4f4a;
  --error: #a12828;
  --shadow: 0 24px 70px rgba(63, 43, 15, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

/* Author `display` rules (e.g. `form { display: grid }`) beat the UA stylesheet's
   [hidden] rule regardless of specificity, which would leave the form on screen
   after a successful submit sets form.hidden = true. This restores it. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(15, 109, 102, 0.18), transparent 38%),
    linear-gradient(180deg, #f8f3e9 0%, #efe4d2 100%);
  color: var(--text);
}

/* Single-column landing column. 560px is the ad-experiment spec width: both
   arms must present identical layout so the only variable is the copy. */
.page {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
}

.hero__copy {
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.subhead,
.early-access {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.panel {
  padding: 1.5rem;
  border: 1px solid rgba(216, 204, 181, 0.9);
  border-radius: 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field--honeypot {
  position: absolute;
  left: -9999px;
}

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

label,
.checkbox-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--surface-strong);
  color: var(--text);
}

input::placeholder {
  color: #8a8174;
}

input:focus,
select:focus,
button:focus {
  outline: 3px solid rgba(15, 109, 102, 0.2);
  outline-offset: 2px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.checkbox-row input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
}

.field-error,
.form-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.92rem;
}

.field-error {
  color: var(--error);
}

.field-error:empty,
.form-status:empty {
  display: none;
}

.form-status {
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  background: rgba(15, 109, 102, 0.1);
  color: var(--accent-strong);
}

button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #17534f 100%);
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
}

button:disabled {
  cursor: progress;
  opacity: 0.6;
}

.footer {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

/* No multi-column breakpoint by design: the layout stays single-column at every
   width so the two ad arms render identically and the only variable is copy. */
@media (min-width: 48rem) {
  .page {
    padding-top: 4rem;
  }
}
