/* hairomana.com: the landing page and its small help pages (support, delete account, 404). */
:root{--red:#E8302A;--red-d:#b8221d;--cream:#FDF7EA;--ink:#2f2924;--fg:#4a433c;--muted:#7b7168;--line:#ebe3d8;--sky:#7cc4fb}
*{box-sizing:border-box}
html,body{margin:0}
body{font:17px/1.55 "Nunito","Segoe UI",system-ui,-apple-system,sans-serif;color:var(--fg);background:var(--sky);-webkit-font-smoothing:antialiased}
a{color:var(--red)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #1d6fd8;outline-offset:2px}

/* The meadow behind everything */
.bg{position:fixed;inset:0;z-index:-1;background:var(--sky) url(/art/meadow.webp) center 70%/cover no-repeat}

/* Landing page: the card sits over the sky on the right, Ursu stays in view on the left */
.hero{min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:flex-end;padding:40px max(5vw,24px) 88px}
.card{width:min(460px,100%);min-width:0;background:rgba(253,247,234,.93);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  border-radius:30px;padding:30px 30px 26px;box-shadow:0 18px 50px rgba(30,60,100,.22),0 2px 0 rgba(255,255,255,.6) inset}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--red);font-weight:900;font-size:24px;letter-spacing:-.3px}
.brand img{border-radius:14px;box-shadow:0 3px 10px rgba(232,48,42,.25)}
h1{margin:18px 0 10px;color:var(--ink);font-size:42px;line-height:1.08;font-weight:900;letter-spacing:-.8px}
.lead{margin:0 0 18px;font-size:18px;font-weight:600}
.lead i{font-style:normal;color:var(--red);font-weight:800}
.perks{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.perks li{display:flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--line);border-radius:14px;padding:8px 10px;font-weight:800;font-size:14.5px;color:var(--ink);line-height:1.2}
.perks span{font-size:18px}
.stores{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}
.stores[hidden]{display:none}

/* Home page: the meadow page is a column (hero, then footer), so the footer can never sit on top of the card */
.home{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.home .hero{flex:1;min-height:0;padding:28px max(5vw,24px)}
.home .foot{position:static}
.home .wait{margin-bottom:0}
/* Laptop-height screens: a tighter card so all of it fits */
@media (min-width:761px) and (max-height:820px){
  .card{padding:22px 26px 22px}
  .brand{font-size:22px}
  .brand img{width:42px;height:42px}
  h1{font-size:36px;margin:12px 0 8px}
  .lead{font-size:16.5px;margin-bottom:14px;line-height:1.45}
  .perks{margin-bottom:14px;gap:7px}
  .perks li{padding:6px 10px;font-size:14px}
  .wait{padding:14px}
}
.store{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none}
.store img{display:block;height:50px;width:auto}
.store img.gp{height:73px;margin:-11.5px -10px} /* Google's badge has a clear border built in */
.store small{font-weight:800;font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}
.store.soon{cursor:default}

/* iPhone waitlist */
.wait{margin:0 0 18px;padding:16px;background:#fff;border:2px solid var(--line);border-radius:20px;box-shadow:0 4px 0 var(--line)}
.wait[hidden]{display:none}
.wait-h{margin:0 0 4px;color:var(--ink);font-weight:900;font-size:18px}
.wait-p{margin:0 0 12px;font-weight:600;font-size:15px;line-height:1.4}
.wait-p b{color:var(--red);font-weight:900}
.wrow{display:flex;gap:8px}
.wrow input{flex:1;min-width:0;font:inherit;font-weight:700;font-size:16px;padding:12px 14px;border:2px solid var(--line);border-radius:14px;background:var(--cream);color:var(--ink)}
.wrow input:focus{border-color:#d9cdb9;outline:none}
.wrow .wbtn{display:inline-block;width:auto;flex:none;padding:12px 22px;font-size:15px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.wmsg{margin:8px 2px 0;font-size:14px;font-weight:700}
.wmsg:empty{display:none}
.wmsg.err{color:var(--red)}
.joined{display:flex;flex-direction:column;gap:2px;margin:0 0 18px;padding:14px 16px;background:#eaf7ee;border:2px solid #bfe5cb;border-radius:20px;color:#1f5f38;font-weight:700;font-size:15px}
.joined[hidden]{display:none}
.joined b{font-size:18px;font-weight:900;color:#17492b}

/* Footer: a soft strip at the bottom of the meadow */
.foot{position:absolute;left:0;right:0;bottom:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 22px;padding:16px 16px calc(16px + env(safe-area-inset-bottom));
  background:linear-gradient(rgba(253,247,234,0),rgba(253,247,234,.92) 45%);font-weight:800;font-size:15px}
.foot a{color:var(--ink);text-decoration:none}
.foot a:hover{color:var(--red);text-decoration:underline}
.foot span{color:var(--muted);font-weight:700}

/* Account-link messages (confirm email, new password) */
.sheet{position:fixed;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,30,50,.35)}
.sheet[hidden]{display:none}
.box{width:100%;max-width:400px;min-width:0;background:var(--cream);border-radius:28px;padding:28px 26px 24px;text-align:center;box-shadow:0 24px 60px rgba(20,30,50,.3)}
.box img{border-radius:18px}
.box h2{margin:12px 0 6px;color:var(--ink);font-size:24px;font-weight:900}
.box p{margin:0 0 18px;font-weight:600}
.box form{text-align:left}
.box label{display:block;font-weight:800;color:var(--ink);margin:0 0 6px}
.pwrow{display:flex;gap:8px}
.pwrow input{flex:1;min-width:0;font:inherit;font-weight:700;padding:12px 14px;border:2px solid var(--line);border-radius:14px;background:#fff;color:var(--ink)}
.pwrow button{font:inherit;font-weight:800;border:2px solid var(--line);background:#fff;border-radius:14px;padding:0 14px;color:var(--fg);cursor:pointer}
.err{min-height:1.4em;margin:8px 0 6px!important;color:var(--red);font-size:15px;text-align:left}
.btn{display:block;width:100%;font:inherit;font-weight:900;font-size:16px;letter-spacing:.6px;text-transform:uppercase;color:#fff;background:var(--red);border:0;border-bottom:4px solid var(--red-d);border-radius:16px;padding:14px 18px;cursor:pointer}
.btn:disabled{opacity:.6;cursor:default}
.btn[hidden]{display:none}

/* Help pages (support, delete account, 404) */
.page{min-height:100vh;min-height:100svh;padding:28px 16px 40px}
.doc{max-width:720px;margin:0 auto;background:rgba(253,247,234,.96);border-radius:28px;padding:28px 28px 30px;box-shadow:0 18px 50px rgba(30,60,100,.2)}
.doc h1{font-size:34px;margin:18px 0 6px}
.doc h2{color:var(--ink);font-size:20px;font-weight:900;margin:26px 0 6px}
.doc p,.doc li{font-weight:600}
.doc li{margin:4px 0}
.doc .meta{color:var(--muted);margin:0 0 10px}
.doc .mail{display:inline-block;margin:4px 0;font-weight:900;font-size:18px}
.doc .btn{display:inline-block;width:auto;text-decoration:none;margin-top:6px}
.doc details{background:#fff;border:2px solid var(--line);border-radius:16px;padding:10px 14px;margin:8px 0}
.doc summary{font-weight:900;color:var(--ink);cursor:pointer}
.doc details p{margin:8px 0 2px}
.page .foot{position:static;background:none;margin-top:18px}

/* Phones: the tall meadow (Ursu and the bees) fills the screen; a compact card with the waitlist sits over the sky
   at the top, Ursu stays in full view below it, and the footer comes after the meadow */
@media (max-width:760px){
  body{font-size:16px}
  .bg{background:var(--sky) url(/art/meadow-tall.webp) center top/cover no-repeat}
  .hero,.home .hero{align-items:flex-start;justify-content:center;padding:12px 12px 0;min-height:100svh}
  .card{padding:16px 16px 16px;border-radius:24px;background:rgba(253,247,234,.9)}
  .brand{font-size:20px;gap:10px}
  .brand img{width:36px;height:36px;border-radius:11px}
  h1{font-size:27px;margin:10px 0 10px;letter-spacing:-.5px}
  .lead,.perks,.stores{display:none}
  .wait{margin-bottom:12px;padding:12px;border-radius:18px}
  .wait-h{font-size:16.5px}
  .wait-p{font-size:14px;margin-bottom:10px}
  .wrow input{padding:11px 12px}
  .wrow .wbtn{padding:11px 16px}
  .joined{margin-bottom:12px}
  .home .foot{position:static;background:rgba(253,247,234,.95);padding-top:14px}
  .doc{padding:22px 20px 24px}
  .doc h1{font-size:28px}
}
@media (max-width:760px) and (max-height:700px){ h1{font-size:23px;margin:8px 0} .wait-p{display:none} }
