
:root{
  --orange:#F28C28;
  --orange-soft:#FFF3E0;
  --ink:#2B2B2B;
  --muted:#666;
  --bg:#FFFFFF;
  --card:#FFFFFF;
  --line:rgba(0,0,0,.08);
  --radius:18px;
  --shadow:0 10px 25px rgba(0,0,0,.08);
  --content:min(980px, 94vw);
  --serif:"Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -10%, var(--orange-soft), transparent 70%),
    var(--bg);
}

header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.85);
  border-bottom:1px solid var(--line);
}

.topbar{
  width:var(--content);
  margin:0 auto;
  padding:14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brandMark{
  width:40px; height:40px;
  border-radius:14px;
  background:var(--orange);
  color:white;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.5px;
  box-shadow: var(--shadow);
}
.brand h1{
  font-family:var(--serif);
  font-size:18px;
  margin:0;
  line-height:1.15;
}
.brand small{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.select{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  background:white;
  font-size:14px;
}

main{
  width:var(--content);
  margin:18px auto 110px;
}

.tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:14px 0 18px;
}
.tab{
  border:1px solid var(--line);
  background:white;
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font-size:14px;
}
.tab.active{
  border-color: rgba(242,140,40,.5);
  box-shadow: 0 6px 14px rgba(242,140,40,.15);
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}

.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
@media (max-width: 860px){
  .grid{ grid-template-columns:1fr; }
}

.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  margin-bottom:10px;
}
.badge{
  background: var(--orange-soft);
  color: #8a4c00;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(242,140,40,.25);
}

.h2{
  font-family:var(--serif);
  font-size:26px;
  margin:0 0 8px;
}
.script{
  font-style:italic;
  color:#4c4c4c;
  margin:0 0 14px;
}

.sectionTitle{
  font-weight:700;
  margin:16px 0 6px;
}
.p{ margin:0; line-height:1.6; }

.btnRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.btn{
  border:1px solid rgba(242,140,40,.35);
  background: var(--orange);
  color:white;
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
}
.btn.secondary{
  background:white;
  color: #8a4c00;
  border-color: rgba(242,140,40,.35);
}

textarea{
  width:100%;
  min-height:160px;
  resize:vertical;
  border-radius:16px;
  border:1px solid var(--line);
  padding:12px 12px;
  font-family:var(--sans);
  font-size:14px;
  line-height:1.5;
}

.footerNav{
  position:fixed;
  left:0; right:0; bottom:0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
}
.footerNav .inner{
  width:var(--content);
  margin:0 auto;
  padding:10px 0;
  display:flex;
  justify-content:space-between;
  gap:8px;
}
.footerNav button{
  flex:1;
  border:1px solid var(--line);
  background:white;
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:600;
}
.footerNav button.active{
  border-color: rgba(242,140,40,.5);
  box-shadow: 0 6px 14px rgba(242,140,40,.15);
}
.note{
  color:var(--muted);
  font-size:13px;
  margin-top:8px;
}


/* Home: progress bar */
.progressWrap{
  margin-top:10px;
  background: rgba(242,140,40,.12);
  border:1px solid rgba(242,140,40,.22);
  border-radius:999px;
  height:12px;
  overflow:hidden;
}
.progressBar{
  height:100%;
  width:0%;
  background: var(--orange);
  border-radius:999px;
  transition: width .25s ease;
}

.todayCard .h2{ font-size:28px; }
@media (max-width: 520px){
  .topbar{ padding:10px 0; }
  .brandMark{ width:38px; height:38px; }
  .brand h1{ font-size:16px; }
  main{ margin:14px auto 120px; }
  .todayCard .h2{ font-size:24px; }
  .card{ padding:16px; }
  .btnRow{ gap:8px; }
  .btn{ width:100%; }
}

/* Make footer buttons more 'Still365' */
.footerNav button{
  font-weight:700;
}
