/* Pousto.ai landing page. Pousto's own look (Spec Brugerflade): warm paper, near-black ink, Newsreader headings
   with italic accents, Geist body, Geist Mono labels, black pill buttons, green for done, terracotta for the owner. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #F6F4EF; --paper: #FFFFFF; --ink: #141412; --muted: #5F5B53; --faint: #8A857B;
  --line: #E6E2D9; --soft: #EFECE4; --green: #2F6B3A; --leaf: #3F8A4C; --lime: #CFE6C8; --mint: #EEF5EA;
  --orange: #B4532A; --clay: #FBF1EA; --sky: #E4ECEF; --sand: #EDE3CF;
  --serif: Newsreader, ui-serif, Georgia, serif;
  --sans: Geist, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  background-image: radial-gradient(60rem 30rem at 50% -8rem, #ECE6D8 0%, transparent 70%); background-repeat: no-repeat;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.label { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.6rem; line-height: 1.2; }
em { font-style: italic; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }

/* navigation */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.6rem; text-decoration: none; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav ul a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav ul { display: none; } }

/* buttons and the waitlist form */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font: 500 1rem var(--sans); padding: .85rem 1.4rem; border-radius: 999px;
  text-decoration: none; white-space: nowrap; transition: background .15s;
}
.btn:hover { background: #33322E; }
.btn.small { padding: .55rem 1rem; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--soft); }

.join { display: flex; gap: .5rem; padding: .4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 1px 0 rgba(20,20,18,.03), 0 12px 32px -18px rgba(20,20,18,.25); max-width: 34rem; }
.join input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; font: 1rem var(--sans); padding: .6rem 1rem; color: var(--ink); }
.join input[type=email]::placeholder { color: var(--faint); }
.join input[type=email]:focus { outline: none; }
.join:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.join-more { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: .85rem; color: var(--muted); }
.chip input:checked + span { background: var(--mint); border-color: var(--lime); color: var(--green); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { margin-top: .8rem; font-size: .85rem; color: var(--faint); }
.note a { color: var(--muted); }
.status { margin-top: .9rem; font-size: .95rem; min-height: 1.5rem; }
.status.ok { color: var(--green); }
.status.err { color: var(--orange); }
@media (max-width: 520px) { .join { flex-direction: column; border-radius: 1.25rem; } .join .btn { width: 100%; } }

/* hero */
.hero { padding: 4.5rem 0 3rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero .label { margin-bottom: 1.4rem; display: block; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-art { aspect-ratio: 1 / 1; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 2.5rem; } .hero-art { max-width: 26rem; margin-inline: auto; } }

/* soft painted band between sections */
.band { height: 64px; width: 100%; }

/* sections */
section { padding: 5rem 0; }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head .label { display: block; margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1.1rem; }

/* the team switch */
.switch { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: var(--soft); margin-bottom: 2rem; flex-wrap: wrap; }
.switch button { border: 0; background: transparent; font: 500 .95rem var(--sans); color: var(--muted); padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer; }
.switch button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(20,20,18,.08); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; background: var(--paper); border: 1px solid var(--line);
  border-radius: 1.75rem; padding: 2.5rem; }
.team[hidden] { display: none; }
.team h3 { margin-bottom: 1rem; }
.team ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; }
.team li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; }
.team li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--leaf); margin-top: .55rem; }
.tag { display: inline-block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem;
  border-radius: 999px; background: var(--clay); color: var(--orange); margin-left: .5rem; vertical-align: middle; }
.tag.live { background: var(--mint); color: var(--green); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; padding: 1.75rem; } }

/* a case card, as the owner sees it */
.card { background: var(--ground); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.4rem; font-size: .95rem; }
.card + .card { margin-top: .9rem; }
.card .who { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .6rem;
  display: flex; justify-content: space-between; gap: 1rem; }
.card .who b { font-weight: 500; color: var(--orange); }
.card .who b.done { color: var(--green); }
.card .actions { display: flex; gap: .5rem; margin-top: 1rem; }
.card .actions span { font-size: .85rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.card .actions span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.75rem; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .8rem; color: var(--faint); display: block; margin-bottom: 1.5rem; }
.step h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ladder of earned autonomy */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 2.5rem; }
.rung { border-radius: 1.25rem; padding: 1.25rem; border: 1px solid var(--line); background: var(--paper); }
.rung .label { display: block; margin-bottom: .5rem; }
.rung p { font-size: .95rem; color: var(--muted); }
.rung:nth-child(1) { background: var(--soft); }
.rung:nth-child(2) { background: var(--clay); }
.rung:nth-child(3) { background: var(--sky); }
.rung:nth-child(4) { background: var(--mint); }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr 1fr; } }

/* agents talking */
.talk { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.bubble { background: var(--paper); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.1rem 1.3rem; max-width: 30rem; font-size: .98rem; }
.bubble + .bubble { margin-top: .8rem; }
.bubble .who { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .35rem; }
.bubble.right { margin-left: auto; background: var(--mint); border-color: var(--lime); }
@media (max-width: 860px) { .talk { grid-template-columns: 1fr; } }

/* trust */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.trust div { background: var(--paper); border: 1px solid var(--line); border-radius: 1.5rem; padding: 2rem; }
.trust h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.trust p { color: var(--muted); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

/* works with */
.works { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.works span { font-size: .9rem; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); }

/* closing */
.closing { text-align: center; padding: 6rem 0 5rem; }
.closing h2 { margin-bottom: 1.25rem; }
.closing .lead { margin: 0 auto 2.25rem; }
.closing .join { margin-inline: auto; }
.closing .join-more { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; font-size: .9rem; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* the privacy page */
.prose { max-width: 42rem; padding: 3rem 0 5rem; }
.prose h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }

.rise { animation: rise .6s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.flush { padding-top: 0; }
.near { padding-top: 1rem; }
h2.gap { margin: 1rem 0 1.1rem; }
.works-label { margin-top: 3rem; }
.note.bare { margin: 0; }
