/* bluegill-home.css - the Bluegill front door. Sits on /catch/catch.css (fonts, tokens, gear sheet, buttons).
   Look: the pad's cardboard back, a cream sheet, the checkbook's green rules, the bobber's red. ASCII only, light only. */
:root{
  --money:#2F6B3A; --lrule:#B7CDB0; --ledger:#EEF3E7; --stamp:#C8361F;
}
html{ background:var(--kraft); }
body.home{ background:var(--kraft); font-size:var(--fs); }
.home h1, .home h2, .home h3{ font-family:"Alfa", Georgia, serif; font-weight:400; letter-spacing:.2px; margin:0; }
.home a{ color:inherit; }

/* ---------- top bar: stays put, Open app always in reach ---------- */
.hbar{ position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:10px; padding:max(8px, env(safe-area-inset-top)) 12px 8px 16px;
  background:var(--kraft); box-shadow:0 1px 0 rgba(30,43,58,.14); }
.hbar__mark{ margin-right:auto; line-height:0; }
.hbar__mark img{ height:32px; width:auto; }
.hbar__open{ min-height:44px; padding:0 18px; border-radius:22px; background:var(--ink); color:var(--paper2) !important; font-weight:700;
  display:inline-flex; align-items:center; text-decoration:none; }

/* ---------- hero ---------- */
.hero{ max-width:1080px; margin:0 auto; padding:22px 18px 8px; display:grid; gap:18px; }
.kick{ margin:0 0 6px; font:700 1.35em/1 "Caveat", cursive; color:var(--money); }
.hero h1{ font-size:clamp(30px, 8.6vw, 54px); line-height:1.04; color:var(--ink); }
.hero h1 span{ display:block; color:var(--stamp); }
.lede{ margin:14px 0 18px; font-size:1.04em; max-width:36em; }
.cta{ display:flex; align-items:center; justify-content:center; min-height:58px; padding:0 28px; border-radius:30px; background:var(--money);
  color:#fff !important; font-weight:700; font-size:1.12em; text-decoration:none; box-shadow:0 4px 0 #1f4a27; }
.cta:active{ transform:translateY(2px); box-shadow:0 2px 0 #1f4a27; }
.fine{ margin:10px 0 0; font-size:.86em; color:#5b5446; text-align:center; }
.stores{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.stores span{ border:2px solid rgba(30,43,58,.35); border-radius:14px; padding:8px 12px; font-weight:700; font-size:.9em; color:#4a4438; }
.stores small{ display:block; font-weight:400; font-size:.85em; }

.hero__phones{ position:relative; height:410px; }
.phone{ margin:0; border-radius:30px; border:7px solid var(--ink); background:var(--ink); overflow:hidden; box-shadow:0 18px 34px rgba(30,43,58,.28); }
.phone img{ display:block; width:100%; height:auto; }
.hero__phones .phone{ position:absolute; width:190px; top:0; }
.phone--back{ left:calc(50% - 160px); top:28px !important; transform:rotate(-7deg); }
.phone--front{ left:calc(50% - 22px); transform:rotate(4deg); }

/* ---------- the four tools ---------- */
.does{ background:var(--paper); padding:30px 0 10px; border-top:3px double var(--bobber); }
.does > h2, .does__sub{ max-width:1080px; margin-left:auto; margin-right:auto; padding:0 18px; }
.does > h2{ font-size:clamp(25px, 6.6vw, 40px); line-height:1.08; }
.does__sub{ margin-top:8px; margin-bottom:8px; }
.feat{ max-width:1080px; margin:0 auto; padding:18px 14px; display:grid; grid-template-columns:40% 1fr; gap:14px; align-items:center;
  border-bottom:2px solid var(--rule); }
.feat--flip{ grid-template-columns:1fr 40%; }
.feat--flip .phone{ order:2; }
.feat .phone{ border-width:5px; border-radius:22px; }
.feat h3{ font-size:clamp(19px, 5vw, 30px); line-height:1.1; }
.feat p{ margin:8px 0; font-size:.94em; }
.ticks{ list-style:none; margin:6px 0 12px; padding:0; font-size:.88em; font-weight:700; }
.ticks li{ position:relative; padding:3px 0 3px 26px; }
.ticks li::before{ content:""; position:absolute; left:2px; top:6px; width:16px; height:16px; border-radius:50%; background:var(--money); }
.ticks li::after{ content:""; position:absolute; left:7px; top:9px; width:4px; height:8px; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(42deg); }
.go{ display:inline-flex; align-items:center; min-height:46px; padding:0 18px; border-radius:23px; border:2px solid var(--ink);
  background:var(--paper2); font-weight:700; text-decoration:none; font-size:.92em; }
.go::after{ content:""; width:8px; height:8px; margin-left:10px; border:solid currentColor; border-width:2.5px 2.5px 0 0; transform:rotate(45deg); }
.rise{ opacity:0; transform:translateY(22px); transition:opacity .5s ease, transform .5s ease; }
.rise.in{ opacity:1; transform:none; }

/* ---------- paper ---------- */
.paper{ background:var(--ledger); padding:28px 18px; border-top:3px double var(--money); }
.paper h2, .how h2, .promise h2, .ask h2, .last h2{ font-size:clamp(24px, 6.4vw, 38px); line-height:1.08; max-width:1080px; margin:0 auto; }
.paper > p{ max-width:1080px; margin:8px auto 14px; }
.sheets{ max-width:1080px; margin:0 auto; display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; }
.sheets figure{ margin:0; }
.sheets img{ width:100%; height:auto; display:block; border-radius:6px; box-shadow:0 6px 14px rgba(30,43,58,.18); background:#fff; }
.sheets figcaption{ font:700 1.05em/1.1 "Caveat", cursive; color:var(--money); margin-top:6px; text-align:center; }

/* ---------- how to ---------- */
.how{ background:var(--paper2); padding:28px 18px; }
.steps{ max-width:1080px; margin:12px auto 14px; padding:0; list-style:none; counter-reset:s; display:grid; gap:8px; }
.steps li{ counter-increment:s; position:relative; padding:10px 12px 10px 52px; border:2px solid var(--ink); border-radius:14px; background:#fff; }
.steps li::before{ content:counter(s); position:absolute; left:10px; top:50%; transform:translateY(-50%); width:30px; height:30px; border-radius:50%;
  background:var(--bobber); color:#fff; display:grid; place-items:center; font:400 1em/1 "Alfa", Georgia, serif; }
.how .btn{ display:block; max-width:1080px; margin:0 auto; }

/* ---------- promise, questions, last ---------- */
.promise{ background:var(--ink); color:var(--paper2); padding:30px 18px; }
.promise ul{ max-width:1080px; margin:14px auto 0; padding:0; list-style:none; display:grid; gap:10px; }
.promise li{ padding-left:16px; border-left:4px solid var(--brass); }
.ask{ background:var(--paper); padding:28px 18px; }
.ask details{ max-width:1080px; margin:8px auto 0; border-bottom:2px solid var(--rule); }
.ask summary{ min-height:52px; display:flex; align-items:center; font-weight:700; cursor:pointer; }
.ask details p{ margin:0 0 14px; }
.last{ background:var(--kraft); padding:34px 18px 40px; text-align:center; }
.last .cta{ max-width:420px; margin:16px auto 0; }
.foot{ background:var(--ink); color:var(--paper2); padding:18px 18px max(18px, env(safe-area-inset-bottom)); display:flex; flex-wrap:wrap; gap:16px; font-size:.88em; }
.foot a{ color:var(--paper2) !important; }
.foot span{ margin-left:auto; opacity:.7; }

/* ---------- wide screens ---------- */
@media (min-width:860px){
  .hero{ grid-template-columns:1.1fr 1fr; align-items:center; padding-top:40px; }
  .hero__phones{ height:560px; }
  .hero__phones .phone{ width:250px; }
  .phone--back{ left:calc(50% - 240px); }
  .feat{ grid-template-columns:300px 1fr; gap:40px; padding:30px 18px; }
  .feat--flip{ grid-template-columns:1fr 300px; }
  .feat p, .ticks{ font-size:1em; }
  .steps{ grid-template-columns:repeat(2, 1fr); }
  .promise ul{ grid-template-columns:repeat(2, 1fr); }
  .cta{ display:inline-flex; }
}
@media print{ .hbar, main, .foot{ display:none !important; } }
html.still .rise{ opacity:1; transform:none; transition:none; }
