/* HonestCoupons v1 — mobile first, big touch targets, plain colors */
:root{
  --bg:#fdfcf8;
  --ink:#1e1a14;
  --muted:#6b6156;
  --card:#ffffff;
  --line:#e8e2d5;
  --brand:#1d5c34;
  --brand-dark:#143f24;
  --gold:#f2b134;
  --danger:#a33327;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);color:var(--ink);
  font-size:19px;line-height:1.55;
  padding-bottom:96px;
  max-width:640px;margin:0 auto;
}
.topbar{
  position:sticky;top:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;
  background:var(--brand);color:#fff;
  padding:14px 16px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand-name{font-size:22px;font-weight:800}
.voice-toggle{
  min-height:56px;min-width:64px;padding:8px 14px;
  background:rgba(255,255,255,.14);color:#fff;border:2px solid #fff;
  border-radius:12px;font-size:17px;font-weight:700;cursor:pointer;
  display:flex;align-items:center;gap:8px;
}
.voice-toggle[aria-pressed="false"]{opacity:.55}
main{padding:16px}
.screen{display:none}
.screen.active{display:block}
.hero h1{font-size:30px;line-height:1.25;margin:8px 0 10px}
.hero p{font-size:19px;color:var(--muted);margin-bottom:18px}
.searchrow{display:flex;gap:10px;margin-bottom:18px}
.searchrow input{
  flex:1;min-height:64px;font-size:20px;padding:0 16px;
  border:2px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);
}
.searchrow input:focus{outline:3px solid var(--gold);border-color:var(--brand)}
.mic-btn{
  min-width:64px;min-height:64px;font-size:28px;border-radius:var(--radius);
  border:2px solid var(--brand);background:#fff;cursor:pointer;
}
.mic-btn.listening{background:var(--gold);border-color:var(--brand-dark)}
.section-title{font-size:22px;margin:22px 0 12px}
.store-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.store-card{
  min-height:64px;padding:14px;background:var(--card);
  border:2px solid var(--line);border-radius:var(--radius);
  cursor:pointer;text-align:left;width:100%;font-family:inherit;
}
.store-card:active{background:#f4f0e4}
.store-card .sname{font-size:19px;font-weight:800;color:var(--ink)}
.store-card .scat{font-size:15px;color:var(--muted)}
.two-cards{display:grid;gap:12px;margin-top:22px}
.big-card{
  padding:20px;background:var(--card);border:2px solid var(--brand);
  border-radius:var(--radius);cursor:pointer;text-align:left;width:100%;font-family:inherit;
}
.big-card h2{font-size:21px;color:var(--brand);margin-bottom:6px}
.big-card p{font-size:17px;color:var(--muted)}
.back-btn{
  min-height:64px;padding:0 22px;font-size:19px;font-weight:700;
  background:#fff;border:2px solid var(--brand);color:var(--brand);
  border-radius:var(--radius);cursor:pointer;margin-bottom:14px;
}
.guide h1{font-size:28px;margin-bottom:4px}
.guide .cat{font-size:16px;color:var(--muted);margin-bottom:14px}
.hear-btn{
  min-height:64px;padding:0 22px;font-size:19px;font-weight:700;
  background:var(--gold);border:2px solid var(--brand-dark);color:var(--ink);
  border-radius:var(--radius);cursor:pointer;margin:6px 0 18px;width:100%;
}
.codes-box{background:#fff8e8;border:2px dashed var(--brand);border-radius:var(--radius);padding:18px;margin-bottom:20px}
.codes-box h2{font-size:20px;margin-bottom:8px}
.codes-box p{font-size:17px;color:var(--muted)}
/* v3: verified code cards (scoped under .codes-box to beat the p rule above) */
.codes-box .code-card{background:#fff;border:2px solid var(--brand);border-radius:var(--radius);padding:14px;margin-top:12px}
.codes-box .code-text{font-size:26px;font-weight:800;letter-spacing:1px;color:var(--brand-dark);word-break:break-all}
.codes-box .code-desc{font-size:18px;color:var(--ink);margin-top:4px}
.codes-box .code-terms{font-size:16px;color:var(--muted);margin-top:6px}
.codes-box .code-meta{font-size:15px;color:var(--muted);margin-top:8px}
.codes-box .code-link{display:flex;align-items:center;justify-content:center;min-height:64px;margin-top:12px;padding:0 18px;font-size:19px;font-weight:700;background:var(--brand);color:#fff;border-radius:var(--radius);text-decoration:none}
.guide h2{font-size:21px;margin:20px 0 8px;color:var(--brand-dark)}
.guide p, .guide li{font-size:18px}
.guide ul{padding-left:22px;margin-bottom:8px}
.guide li{margin-bottom:8px}
.report-cta{
  min-height:64px;width:100%;padding:0 22px;font-size:19px;font-weight:700;
  background:var(--brand);color:#fff;border:none;border-radius:var(--radius);
  cursor:pointer;margin-top:24px;
}
.page h1{font-size:28px;margin-bottom:12px}
.page p{font-size:18px;margin-bottom:14px}
.page .beta{
  display:inline-block;background:var(--gold);font-weight:800;font-size:15px;
  padding:6px 12px;border-radius:8px;margin-bottom:12px;
}
form .field{margin-bottom:16px}
form label{display:block;font-size:18px;font-weight:700;margin-bottom:8px}
form input,form select,form textarea{
  width:100%;min-height:64px;font-size:19px;padding:12px 14px;font-family:inherit;
  border:2px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);
}
form textarea{min-height:120px;resize:vertical}
form input:focus,form select:focus,form textarea:focus{outline:3px solid var(--gold);border-color:var(--brand)}
.submit-btn{
  min-height:64px;width:100%;font-size:20px;font-weight:800;
  background:var(--brand);color:#fff;border:none;border-radius:var(--radius);cursor:pointer;
}
.status{font-size:17px;margin-top:12px;font-weight:700}
.status.ok{color:var(--brand-dark)}
.status.bad{color:var(--danger)}
.saved-list{margin-top:24px}
.saved-list h2{font-size:21px;margin-bottom:10px}
.saved-item{background:#fff;border:2px solid var(--line);border-radius:var(--radius);padding:14px;margin-bottom:10px}
.saved-item .who{font-size:15px;color:var(--muted)}
.saved-item p{font-size:17px;margin-top:4px}
.support-note{background:#eef5ee;border:2px solid var(--brand);border-radius:var(--radius);padding:18px;margin-bottom:20px}
.support-note p{font-size:18px}
/* v2: stack builder, resale, share */
.result-box{background:#eef5ee;border:2px solid var(--brand);border-radius:var(--radius);padding:20px;margin:20px 0}
.result-box h2{font-size:21px;color:var(--brand-dark);margin-bottom:12px}
.big-label{font-size:17px;color:var(--muted);font-weight:700;margin-top:12px}
.big-num{font-size:46px;font-weight:800;color:var(--brand-dark);line-height:1.15}
.big-num.gold{color:#8a5b00}
.steps{list-style:none;margin:14px 0 4px}
.steps li{font-size:17px;padding:8px 0;border-bottom:1px solid var(--line)}
.discount-row{display:flex;gap:10px;align-items:center;background:#fff;border:2px solid var(--line);border-radius:var(--radius);padding:10px 12px;margin-bottom:10px}
.discount-row .dlabel{flex:1;font-size:18px;font-weight:700}
.remove-btn{min-height:64px;min-width:64px;padding:8px 14px;font-size:17px;font-weight:700;background:#fff;border:2px solid var(--danger);color:var(--danger);border-radius:12px;cursor:pointer}
.row2btns{display:grid;gap:12px;margin-top:16px}
.action-btn{min-height:64px;width:100%;padding:0 18px;font-size:19px;font-weight:700;font-family:inherit;background:#fff;border:2px solid var(--brand);color:var(--brand);border-radius:var(--radius);cursor:pointer}
.ghost-btn{min-height:64px;width:100%;padding:0 18px;font-size:18px;font-weight:700;font-family:inherit;background:#fff;border:2px dashed var(--muted);color:var(--ink);border-radius:var(--radius);cursor:pointer;margin-bottom:16px}
.note{font-size:19px;font-weight:700;margin-top:12px}
.note.ok{color:var(--brand-dark)}
.note.bad{color:var(--danger)}
#share-text{min-height:280px;font-size:17px;line-height:1.5}
.hint{font-size:17px;color:var(--muted)}
.foot{margin:28px 16px 0;font-size:15px;color:var(--muted);text-align:center}
.bottomnav{
  position:fixed;left:0;right:0;bottom:0;z-index:10;
  display:grid;grid-template-columns:repeat(4,1fr);
  background:#fff;border-top:2px solid var(--line);
  max-width:640px;margin:0 auto;
}
.bottomnav button{
  min-height:72px;font-size:16px;font-weight:700;font-family:inherit;
  background:none;border:none;color:var(--muted);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
}
.bottomnav button .nicon{font-size:22px}
.bottomnav button.active{color:var(--brand)}
@media (min-width:560px){
  .store-grid{grid-template-columns:repeat(3,1fr)}
  .two-cards{grid-template-columns:1fr 1fr}
}
