/* Gerris — gerris.ai alpha 1. One stylesheet, no frameworks.
   Palette sampled from gerriscorp.com: orange #c75000, blue #16729e,
   teal #237482, ink link #284a57, pale blue #b0dde3, brand blue #1e9cd5,
   gold #f3b842, light bar #dee7ec, page tint #f2f5f7. */
:root{
  --orange:#c75000; --blue:#16729e; --bright:#1e9cd5; --teal:#237482;
  --ink:#172a33; --deep:#284a57; --pale:#b0dde3; --gold:#f3b842;
  --bar:#dee7ec; --rule:#c8d3d8; --bg:#ffffff; --tint:#f2f5f7;
  --text:#1b1b1b; --muted:#4d5a61;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;color:var(--text);background:var(--bg);
  font:17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
.wrap{max-width:68rem;margin:0 auto;padding:0 1.25rem}
a{color:var(--deep);text-underline-offset:.15em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
img{max-width:100%;height:auto}
.skip{position:absolute;left:-999px}
.skip:focus{left:1rem;top:.5rem;background:#fff;padding:.5rem;z-index:9}
/* header */
header.site{position:sticky;top:0;background:rgba(255,255,255,.96);border-bottom:1px solid var(--rule);z-index:5}
.hwrap{display:flex;align-items:center;gap:.8rem;padding:.65rem 0}
.hwrap>a{flex:none;line-height:0}
.hwrap img{height:46px;width:auto;max-width:150px}
.brand{font-size:1.45rem;font-weight:800;color:var(--orange);text-decoration:none;letter-spacing:-.01em}
.brand small{display:block;font-size:.72rem;font-weight:600;color:var(--muted);letter-spacing:.02em}
nav.site{margin-left:auto}
nav.site ul{list-style:none;margin:0;padding:0;display:flex;gap:.25rem;flex-wrap:wrap}
nav.site a{display:block;padding:.45rem .75rem;border-radius:.5rem;text-decoration:none;font-weight:600;color:var(--ink)}
nav.site a:hover{background:var(--tint)}
nav.site a.cta{background:var(--orange);color:#fff}
nav.site a.cta:hover{background:#a84300}
/* proof strip + service ledger + field notes */
.proof{background:var(--bar);border-bottom:1px solid var(--rule);padding:.85rem 0;font-size:.95rem}
.proof p{margin:0}
.ledger{border:1px solid var(--rule);border-radius:.9rem;overflow:hidden}
.ledger .lrow{display:grid;grid-template-columns:1fr auto;gap:.4rem 1.2rem;padding:1.2rem 1.4rem;background:#fff}
.ledger .lrow + .lrow{border-top:1px solid var(--rule)}
.ledger h3{margin:0;font-size:1.12rem}
.ledger p{margin:.25rem 0 0;color:var(--muted);max-width:62ch}
.ledger .amt{text-align:right}
.ledger .amt b{display:block;font-size:1.35rem}
.ledger .amt span{color:var(--muted);font-size:.85rem;font-weight:600}
.ledger a.more{font-weight:700;white-space:nowrap}
.notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.note{border-top:4px solid var(--gold);background:#fff;padding:1.1rem 1.2rem;border-left:1px solid var(--rule);border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);border-radius:0 0 .6rem .6rem}
.note h3{margin:0 0 .4rem;font-size:1.02rem}
.note p{margin:0;color:var(--muted)}
@media (max-width:640px){ .ledger .lrow{grid-template-columns:1fr} .ledger .amt{text-align:left} }
/* hero */
.hero{background:var(--ink);color:#fff;padding:4.2rem 0 3.4rem}
.hero-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:2.4rem;align-items:start}
.hero-id{background:#fff;color:var(--text);border-radius:1rem;padding:1.3rem;text-align:left}
.hero-id img.face{width:112px;height:112px;object-fit:cover;border-radius:50%;border:4px solid var(--gold);display:block}
.hero-id h2{font-size:1.3rem;margin:.8rem 0 .2rem}
.hero-id p{color:var(--muted);margin:.2rem 0 .8rem;font-size:.96rem;line-height:1.55}
.hero-id .sig{font-weight:700;color:var(--ink)}
.hero-id img.mark{height:44px;width:auto;float:right}
@media (max-width:820px){ .hero-grid{grid-template-columns:1fr} }
.hero .kicker{color:var(--gold);font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.78rem;margin:0 0 1rem}
.hero h1{font-size:clamp(2rem,5.2vw,3.4rem);line-height:1.12;margin:0 0 1.1rem;letter-spacing:-.02em;max-width:22ch}
.hero h1 em{font-style:normal;color:var(--pale)}
.hero p.lede{font-size:1.18rem;color:#dbe7ec;max-width:56ch;margin:0 0 1.8rem}
.hero .actions{display:flex;gap:.8rem;flex-wrap:wrap}
.btn{display:inline-block;padding:.8rem 1.4rem;border-radius:.6rem;font-weight:700;text-decoration:none}
.btn.primary{background:var(--orange);color:#fff}
.btn.primary:hover{background:#a84300}
.btn.ghost{border:2px solid var(--pale);color:#fff}
.btn.ghost:hover{background:rgba(176,221,227,.14)}
.hero .doodle{margin-top:2.6rem;max-width:560px}
/* sections */
section{padding:2.8rem 0}
section.tint{background:var(--tint)}
h2{font-size:1.7rem;line-height:1.25;margin:0 0 .6rem;letter-spacing:-.01em}
h2 .q{color:var(--orange)}
p.sub{color:var(--muted);max-width:62ch;margin:0 0 1.8rem}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.card{background:#fff;border:1px solid var(--rule);border-radius:.9rem;padding:1.4rem}
.card h3{margin:.2rem 0 .5rem;font-size:1.15rem}
.card p{margin:0;color:var(--muted)}
.card .price{font-size:1.5rem;font-weight:800;color:var(--ink);margin:.4rem 0}
.card .price small{font-size:.85rem;font-weight:600;color:var(--muted)}
.card a.more{font-weight:700}
.steps{counter-reset:step;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.step{background:#fff;border:1px solid var(--rule);border-radius:.9rem;padding:1.3rem}
.step::before{counter-increment:step;content:counter(step);display:block;width:2rem;height:2rem;line-height:2rem;text-align:center;border-radius:50%;background:var(--teal);color:#fff;font-weight:800;margin-bottom:.6rem}
.step h3{margin:0 0 .4rem;font-size:1.05rem}
.step p{margin:0;color:var(--muted)}
/* faq */
.faq{max-width:52rem}
.faq details{border-bottom:1px solid var(--rule);padding:1rem 0}
.faq summary{font-weight:700;font-size:1.08rem;cursor:pointer;color:var(--ink)}
.faq details p{color:var(--muted);margin:.6rem 0 .2rem;max-width:64ch}
/* cta band */
.cta-band{background:var(--teal);color:#fff;padding:3rem 0;text-align:left}
.cta-band h2{color:#fff}
.cta-band p{color:#e3f0f0;max-width:56ch}
.cta-band .btn.primary{background:#fff;color:var(--orange)}
.cta-band .btn.primary:hover{background:var(--tint)}
/* article pages */
article.page{padding:2.6rem 0 1rem;max-width:52rem}
article.page h1{font-size:2.1rem;line-height:1.2;letter-spacing:-.015em;margin:.4rem 0 1rem}
article.page h2{margin-top:2.2rem}
article.page p,article.page li{max-width:66ch}
.crumbs{color:var(--muted);font-size:.9rem}
.crumbs a{color:var(--muted)}
/* footer */
footer.site{background:var(--ink);color:#c8d3d8;padding:2.6rem 0 2rem;margin-top:0}
footer.site a{color:var(--pale)}
footer.site .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}
footer.site h3{color:#fff;font-size:1rem;margin:0 0 .6rem}
footer.site ul{list-style:none;margin:0;padding:0}
footer.site li{margin:.3rem 0}
footer.site .fine{border-top:1px solid #33505c;margin-top:2rem;padding-top:1.2rem;font-size:.88rem;color:#8fa5ae}
@media (max-width:640px){ .hero{padding:3rem 0 2.4rem} nav.site{margin-left:0} .hwrap{flex-wrap:wrap} }
