/* Split Hero. Change the colors here. */
:root {
  --bg: #fbf6ef;
  --text: #2a211b;
  --muted: #6e6058;
  --line: #e7dccf;
  --accent: #b4532a;
  --accent-dark: #93401d;
  --sky: #f6d7b8;
  --sky-bottom: #f9e8d6;
  --sun: #e9874f;
  --hill-1: #d9a27d;
  --hill-2: #a8684a;
  --hill-3: #5f3b2c;
  --line-art: #fff7ee;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100%; }

.art { position: relative; overflow: hidden; background: var(--sky); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-top { stop-color: var(--sky); }
.sky-bottom { stop-color: var(--sky-bottom); }
.sun { fill: var(--sun); animation: rise 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hill-1 { fill: var(--hill-1); }
.hill-2 { fill: var(--hill-2); }
.hill-3 { fill: var(--hill-3); }
.birds { stroke: var(--hill-3); animation: drift 9s ease-in-out infinite alternate; }
.waves { stroke: var(--line-art); opacity: 0.6; }

.content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: clamp(28px, 5vw, 64px);
}

.logo { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 700; text-decoration: none; }
.logo svg { width: 30px; height: 30px; color: var(--accent); }

.copy { margin: auto 0; max-width: 520px; }

.eyebrow { margin: 0 0 14px; color: var(--accent-dark); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

h1 {
  margin: 0 0 18px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead { margin: 0 0 32px; color: var(--muted); font-size: 1.08rem; }

.signup label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; }
.row { display: flex; gap: 10px; }
.row input {
  flex: 1; min-width: 0; height: 52px;
  padding: 0 16px;
  border: 1px solid #d6c6b5;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.row input:focus-visible { outline-offset: 0; border-color: var(--accent); }
.row button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit; font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s;
}
.row button:hover { background: var(--accent-dark); }
.row button svg { width: 18px; height: 18px; transition: transform 0.15s; }
.row button:hover svg { transform: translateX(3px); }

.note { min-height: 1.6em; margin: 12px 0 0; color: var(--accent-dark); font-weight: 600; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.foot p { margin: 0; }
.foot nav { display: flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .art { height: 38vh; min-height: 220px; }
  .content { gap: 32px; }
}

@media (max-width: 480px) {
  .row { flex-direction: column; }
  .row button { justify-content: center; }
}

@keyframes rise { from { transform: translateY(80px); opacity: 0; } }
@keyframes drift { to { transform: translate(30px, -12px); } }

@media (prefers-reduced-motion: reduce) {
  .sun, .birds { animation: none; }
}
