/* Silo teaser. Tokens mirror the investor deck (pitch v6). Bump ?v= in index.html when this changes. */
@font-face { font-family: Urbanist; src: url("assets/urbanist-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Urbanist; src: url("assets/urbanist-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #171717;
  --forest: #143a2e;
  --muted: #676767;
  --orange: #ff653b;
  --em: #df4a25;
  --mint: #eeeeec;
  --soft-green: #e0ead6;
  --line: #e2e2df;
  --gutter: 16px;
  --radius: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Urbanist, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
h1, p { margin: 0; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

/* Nav */
.nav { padding: 22px var(--gutter) 0; }
.brand { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 28px; letter-spacing: -0.03em; line-height: 1; }

/* Page: copy on top, art below on phones; side by side on wide screens */
.page { flex: 1; display: grid; grid-template-rows: auto 1fr; gap: 24px; padding: 28px var(--gutter) 20px; }

.hero { display: flex; flex-direction: column; justify-content: center; max-width: 620px; }

.soon {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--forest); background: var(--paper);
}
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 101, 59, 0.45); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 101, 59, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(255, 101, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 101, 59, 0); } }

h1 {
  margin-top: 22px;
  font-size: clamp(46px, 10.5vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--em); }
.lead { margin-top: 18px; font-size: 18px; line-height: 1.45; color: var(--muted); max-width: 40ch; text-wrap: pretty; }

/* Waitlist: one pill, input and button living inside it */
.waitlist-form { margin-top: 22px; max-width: 520px; }
.field {
  display: flex; flex-direction: column; gap: 8px;
  padding: 6px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(20, 58, 46, 0.10); }
.field input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink); outline: none;
}
.field input::placeholder { color: #6b6b6b; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--orange); color: var(--ink); font-weight: 700; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.btn:hover { background: #ff7a55; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-arrow { display: inline-block; transition: transform 300ms var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.form-status { margin-top: 10px; padding-left: 20px; font-size: 14px; line-height: 1.4; color: var(--muted); min-height: 1.4em; }
.form-status.is-error { color: var(--em); }

/* The field: a soft green ground with the mark stacking up inside it */
.field-art {
  position: relative; overflow: hidden; min-height: 200px;
  border-radius: var(--radius); background: var(--soft-green);
}
.mark {
  position: absolute; left: 0; right: 0; bottom: -7%; margin-inline: auto; height: 90%; width: auto;
  max-width: 82%;
}
.band { transform-box: fill-box; transform-origin: 50% 100%; }
.band-base { animation: rise 1100ms var(--ease-out) both; }
.band-top { animation: rise 1000ms 220ms var(--ease-out) both; }
.band-mid { animation: rise 1000ms 360ms var(--ease-out) both; }
.band-bottom { animation: rise 1000ms 500ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 14px var(--gutter) 18px; font-size: 14px; color: var(--muted);
}
.footer a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 200ms var(--ease-out); }
.footer a:hover { border-color: var(--ink); }

@media (min-width: 520px) {
  .field { flex-direction: row; align-items: center; gap: 6px; border-radius: 999px; }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .nav { padding-top: 28px; }
  .brand { font-size: 32px; }
  .page {
    grid-template-rows: 1fr; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(40px, 5vw, 80px); padding: 24px var(--gutter) 32px;
  }
  .hero { padding-block: 40px 56px; }
  h1 { font-size: clamp(64px, 6.6vw, 96px); margin-top: 32px; }
  .lead { margin-top: 28px; font-size: 19px; }
  .waitlist-form { margin-top: 36px; }
  .field-art { min-height: 0; }
  .mark { bottom: -8%; height: 94%; }
  .footer { padding-block: 0 26px; }
}

@media (min-width: 1280px) {
  .page { column-gap: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .band { animation: none !important; }
  .soon-dot { animation: none; box-shadow: none; }
}
