html, body { margin: 0; background: #CFE8D6; font-family: 'Geist', sans-serif; color: #111; -webkit-font-smoothing: antialiased; }
a { color: #111; text-decoration: none; }
a:hover { color: #3d6b4f; }

:root {
  --bg: #CFE8D6;
  --line: #111;
  --gutter: clamp(16px, 5vw, 80px);   
  --pad: clamp(24px, 2.6vw, 40px);    
  --max: 1200px;                      
  --ratio: 2;                         
  --chrome: 300px;                    
}

/* ---------- page + flower field ---------- */
.page { position: relative; min-height: 100vh; min-height: 100svh; background: var(--bg); overflow: hidden; display: flex; padding: clamp(20px, 2.5vw, 32px) var(--gutter); box-sizing: border-box; }
.field { position: absolute; inset: 0; pointer-events: none; }
.field span { position: absolute; transform: translate(-50%, -50%); font: 300 15px/1 'Geist Mono', monospace; color: #111; opacity: .35; }
.field span.flower { width: 4px; height: 4px; border-radius: 50%; background: #8CC4A0; }

/* logo, card and button share one column, centred, sized so the card fits the window */
.frame { position: relative; width: min(100%, var(--max), calc((100svh - var(--chrome)) * var(--ratio))); min-width: min(100%, 760px); margin: auto; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }

.chip { background: var(--bg); padding: 4px 8px; margin-left: -8px; }
.header { display: flex; align-items: center; }
.logo { font-family: 'Geist Mono', monospace; font-size: clamp(17px, 1.4vw, 20px); letter-spacing: .04em; padding: 6px 10px; margin-left: -10px; }

/* ---------- card: text | video ---------- */
.card { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); background: var(--bg); }
@media (min-width: 860px) {
  .card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); aspect-ratio: var(--ratio); }
}

.panel { padding: var(--pad); min-width: 0; }
.intro { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 24px); max-width: 600px; }
.intro h1 { margin: 0; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.02em; font-weight: 400; text-wrap: balance; }
.intro p { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; color: #26332b; max-width: 32em; text-wrap: pretty; }

.signup { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; max-width: 460px; }
.signup-row { display: flex; }
.signup input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--line); border-right: 0; background: var(--bg); outline: none; border-radius: 0; color: #111; }
.signup input::placeholder { color: #4a5a50; }
.signup button { font-family: 'Geist Mono', monospace; font-size: 13px; letter-spacing: .06em; text-transform: lowercase; padding: 0 20px; border: 1px solid var(--line); background: #111; color: var(--bg); cursor: pointer; border-radius: 0; white-space: nowrap; }
.thanks { font-family: 'Geist Mono', monospace; font-size: 12px; }

/* stacked: landscape on tablets, portrait on phones; side by side: fills its half */
.media { position: relative; overflow: hidden; background: #b9d6c2; border-top: 1px solid var(--line); aspect-ratio: 16 / 10; }
@media (max-width: 520px) {
  .media { aspect-ratio: 4 / 5; }
}
@media (min-width: 860px) {
  .media { border-top: 0; border-left: 1px solid var(--line); aspect-ratio: auto; }
}
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- below the card ---------- */
.footer { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; font-family: 'Geist Mono', monospace; font-size: 12px; color: #26332b; }
.key { display: flex; align-items: center; gap: 10px; font: inherit; font-size: 14px; color: #111; background: var(--bg); border: 1px solid var(--line); padding: 7px 12px; cursor: pointer; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); background: #FFF2C2; }
