@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #F7F5F0;
  --text-primary: #1F5C46;
  --text-secondary: #5A6B63;
  --text-tertiary: #8A9189;
  --brand-green-base: #2D7A5E;
  --brand-green-deep: #1F5C46;
  --brand-terracotta: #D4603A;
  --input-border: #D4CFC4;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 56vh, 560px);
  background-color: var(--brand-green-deep);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;   /* Kenji: bias toward road + fog zone on this portrait source. */
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(31, 92, 70, 0.35) 0%,
    rgba(31, 92, 70, 0.10) 60%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.landing {
  max-width: 520px;   /* Kenji: aligned with design §2.1 "max-width ~520px" */
  width: 100%;
  text-align: center;
  padding: clamp(40px, 5vh, 72px) 24px 48px;
}

.lockup {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.headline {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 500;
  margin: 36px 0 0;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.subhead {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 14px auto 0;
  max-width: 460px;
  line-height: 1.55;
}

.signup {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.signup input[type="email"] {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  min-width: 0;
}

.signup input[type="email"]:focus {
  outline: 2px solid var(--brand-green-base);
  outline-offset: 2px;
}

.signup button {
  background: var(--brand-green-base);
  color: #FFFFFF;
  border: none;
  padding: 11px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.signup button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.status {
  color: var(--text-secondary);
  font-size: 12px;
  margin: 10px auto 0;
  max-width: 420px;
  line-height: 1.5;
  min-height: 1.2em;
}
.status.success { color: var(--brand-green-base); font-weight: 500; }
.status.error { color: var(--brand-terracotta); }

.privacy {
  color: var(--text-secondary);
  font-size: 11.5px;
  margin: 10px auto 0;
  max-width: 420px;
  line-height: 1.5;
}

.qualifier {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.5;
}

.qualifier .creator-nod { color: var(--text-tertiary); margin-top: 2px; }

.platform-footer {
  color: var(--text-secondary);
  font-size: 11.5px;
  margin-top: 36px;
  letter-spacing: 0.5px;
}

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

/* Kenji plan-review: breakpoint aligned with design §2.6 (≤419px). */
@media (max-width: 419px) {
  .signup { flex-direction: column; }
  .signup button { width: 100%; }
  .headline { font-size: 19px; }
}
