/* AgreeVia — homepage only. Loads after site.css. */

.page-hero{padding-bottom:3.6rem}
.blob{
  max-width:30rem;padding:2.6rem 2.2rem 2.4rem;text-align:center;
  border-radius:32px 32px 40px 40px;
}
.wordmark-xl{font-family:Newsreader,serif;font-weight:600;font-size:clamp(1.9rem,6vw,2.5rem);
  margin:0 0 .5rem;letter-spacing:-.02em}
.tagline{margin:0;font-size:1.02rem;color:rgba(255,255,255,.82)}

.sheet{max-width:52rem;margin-top:-2.2rem}

.hero{padding:4.4rem 3.4rem 3.6rem;text-align:center}
.hero .eyebrow{margin-bottom:1.2rem}
.hero h1{
  font-family:Newsreader,serif;font-weight:500;font-size:clamp(2.4rem,6vw,3.6rem);
  line-height:1.05;letter-spacing:-.025em;margin:0 auto 1.2rem;max-width:26rem;
}
.hero .standfirst{margin-left:auto;margin-right:auto}

.cta{
  display:inline-flex;align-items:center;gap:.5rem;background:var(--brand-deep);color:#fff;
  text-decoration:none;font-weight:600;font-size:.92rem;padding:.85rem 1.5rem;
  border:none;border-radius:8px;letter-spacing:.01em;cursor:pointer;font-family:inherit;
  width:100%;justify-content:center;
}
.cta:hover{background:#1b3a73}
.cta:disabled{opacity:.6;cursor:default}
.cta-note{margin:1rem 0 0;font-size:.82rem;color:var(--muted)}
.cta-note a{color:var(--tape);text-underline-offset:2px}

/* ---------- beta request form ---------- */
.beta-form{max-width:26rem;margin:0 auto;text-align:left}
.field-row{display:flex;gap:1rem}
.field-row .field{flex:1;min-width:0}
.field{margin:0 0 1.1rem}
.field label{
  display:block;font-family:'IBM Plex Mono',monospace;font-size:.66rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);margin:0 0 .4rem;font-weight:600;
}
.field label .opt{text-transform:none;letter-spacing:0;font-weight:400}
.field input,.field textarea{
  width:100%;border:none;border-bottom:1.5px solid var(--rule);border-radius:0;
  background:transparent;font-family:Karla,sans-serif;font-size:.95rem;color:var(--ink);
  padding:.5rem .1rem;
}
.field textarea{border:1.5px solid var(--rule);border-radius:3px;padding:.6rem;resize:vertical}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--tape)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{margin:.9rem 0 0;font-size:.85rem;color:var(--muted);text-align:center;min-height:1.2em}
.form-status.error{color:#9C3B3B}
.form-status.success{color:#1F7A54}
.beta-form noscript p{font-size:.82rem;color:var(--muted);text-align:center;margin:0 0 1rem}

/* ---------- app screenshot carousel (shared component, see showcase.css) ----------
   showcase.css deliberately ships with no horizontal padding since it's also
   used inside about.html's already-padded .doc column — home's .sheet has no
   ambient padding, so it's supplied here instead. */
.showcase{padding-left:3.4rem;padding-right:3.4rem}

/* ---------- feature strip ---------- */
.features{
  border-top:2px solid var(--ink);border-bottom:1px solid var(--rule);
  padding:2.6rem 3.4rem;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;
}
.features h3{
  font-family:'IBM Plex Mono',monospace;font-size:.66rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--tape);margin:0 0 .55rem;font-weight:600;
}
.features p{margin:0;font-size:.9rem;color:#41453F;line-height:1.55}

/* Two-up variant of the feature strip (the trust/table-stakes pair). Shares
   every .features rule; only the column count differs. The mobile block at
   the foot of this file re-collapses it to one column — that override lives
   there rather than here so source order keeps it winning. */
.assurances{grid-template-columns:repeat(2,1fr)}
.assurances a{color:var(--tape);text-underline-offset:2px}

/* ---------- the thread stays open ----------
   Deliberately left-aligned prose, against the centred hero above it — this
   is the section that carries the positioning, so it should read like an
   argument rather than another feature card. */
.thread{padding:3.2rem 3.4rem}
.thread .eyebrow{margin-bottom:.7rem}
.thread h2{
  font-family:Newsreader,serif;font-weight:500;font-size:clamp(1.5rem,3.6vw,2.05rem);
  line-height:1.15;letter-spacing:-.02em;margin:0 0 1.1rem;max-width:24rem;
}
.thread p{margin:0 0 1rem;font-size:.95rem;line-height:1.65;color:#41453F;max-width:36rem}
.thread p:last-child{margin-bottom:0}

/* ---------- who it's for ---------- */
.who{padding:3rem 3.4rem 3.4rem;text-align:center}
.who p{margin:0 auto;font-size:.95rem;color:var(--muted);max-width:30rem}
.who .tags{justify-content:center;margin-bottom:1.2rem}

@media (max-width:640px){
  .blob{padding:2rem 1.6rem 1.8rem;border-radius:22px 22px 28px 28px}
  .sheet{margin-top:-1.6rem}
  .hero{padding:3.2rem 1.6rem 2.6rem}
  .showcase{padding-left:1.6rem;padding-right:1.6rem}
  .features{padding:2.2rem 1.6rem;grid-template-columns:1fr;gap:1.6rem;text-align:center}
  .assurances{grid-template-columns:1fr}
  .thread{padding:2.6rem 1.6rem}
  .thread h2,.thread p{max-width:none}
  .who{padding:2.4rem 1.6rem 2.8rem}
  .field-row{flex-direction:column;gap:0}
}
