/* Fresh Start Pause: the free public app. Builds on site.css (same colors, type, cards). */

/* ---------- landing page ---------- */
.pland{background:var(--bg)}
.pl-wrap{max-width:1040px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.pl-top{display:flex;justify-content:space-between;align-items:center;padding:16px max(20px,env(safe-area-inset-left,0px));max-width:1080px;margin:0 auto}
.pl-logo{height:34px;width:auto;display:block}
.pl-signin{color:var(--brand);font-weight:700;text-decoration:none}
.pl-hero{background:#224f5b;color:#fff;padding:48px 0 0;overflow:hidden}
.pl-hero .pl-wrap{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.pl-eb{font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#9fd47f}
.pl-hero h1{font-size:clamp(38px,8vw,68px);line-height:1.04;color:#fff;max-width:14ch}
.pl-sub{font-size:clamp(17px,2.4vw,21px);line-height:1.5;color:#dbe9e4;max-width:40ch}
.pl-sub b{color:#fff}
.pl-cta{font-size:18px;padding:15px 28px;border-radius:14px;text-decoration:none;background:#6fb54f;color:#10260c;font-weight:800}
.pl-small{font-size:14px;color:#b9cfc8}
.pl-art{max-width:1040px;margin:34px auto 0;padding:0 max(20px,env(safe-area-inset-left,0px))}
.pl-art{line-height:0}
.pl-art svg{width:100%;height:auto;display:block;border-radius:26px 26px 0 0;overflow:hidden}
.pl-main{display:flex;flex-direction:column;gap:46px;padding:44px 0 50px}
.pl-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pl-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:8px}
.pl-card h2{font-size:22px}
.pl-card p{color:var(--muted)}
.pl-ic{width:44px;height:44px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:22px;font-weight:700}
.pl-h{font-family:var(--display);font-weight:400;font-size:clamp(26px,4vw,34px);margin-bottom:14px}
.pl-how ol{margin:0;padding-left:24px;display:flex;flex-direction:column;gap:10px;font-size:18px;line-height:1.5;max-width:60ch}
.pl-quote{text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}
.pl-quote p{font-family:var(--display);font-size:clamp(22px,3.4vw,30px);line-height:1.3;max-width:28ch}
.pl-quote span{color:var(--muted);font-size:15px}
.pl-form{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:start}
.pl-form form{display:flex;flex-direction:column;gap:14px}
.pl-form .opt{font-weight:400;color:var(--muted)}
input[type=tel]{font:inherit;color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%;box-sizing:border-box}
.pl-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:14px;line-height:1.45}
.pl-check input{width:20px;height:20px;accent-color:var(--brand);flex:none;margin-top:1px}
.pl-check a,.pl-doc a,.pl-foot a{color:var(--brand);font-weight:600}
.pl-msg{border-radius:10px;padding:10px 12px;font-size:14px}
.pl-msg.ok{background:var(--brand-soft)}
.pl-msg.err{background:color-mix(in srgb,#b4553f 14%,var(--surface));border:1px solid color-mix(in srgb,#b4553f 40%,var(--line))}
.pl-foot{border-top:1px solid var(--line);padding:22px max(20px,env(safe-area-inset-left,0px)) calc(28px + env(safe-area-inset-bottom,0px));text-align:center;display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--muted)}
.pl-doc{display:flex;flex-direction:column;gap:12px;padding-top:20px;padding-bottom:60px;max-width:720px}
.pl-doc h2{margin-top:14px}
@media (max-width:760px){
  .pl-three,.pl-form{grid-template-columns:1fr}
  .pl-hero{padding-top:30px}
  .pl-main{gap:34px;padding-top:30px}
}

/* ---------- app ---------- */
.papp>nav .in{grid-template-columns:repeat(4,1fr)}
.help-now{background:none;border:1.5px solid #b4553f;color:#b4553f;border-radius:999px;padding:5px 12px;font-weight:700;font-size:13px}
.weekbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.weekbar .wk{display:flex;flex-direction:column;align-items:center;gap:3px}
.weekbar .wk i{width:26px;height:8px;border-radius:4px;background:var(--line)}
.weekbar .wk i.done{background:var(--brand)}
.weekbar .wk i.today{background:var(--gold)}
.weekbar small{font-size:11px;color:var(--muted);font-weight:600}
.daybar{display:grid;grid-template-columns:repeat(14,1fr);gap:4px}
.daybar i{height:8px;border-radius:4px;background:var(--line)}
.daybar i.done{background:var(--brand)}
.daybar i.today{background:var(--gold)}
.practice{background:var(--forest);color:var(--forest-fg);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:12px}
.practice .eyebrow{color:#b9d4ae}
.practice h2{color:#fff;font-size:24px;line-height:1.2}
.practice p{line-height:1.55}
.practice .try{background:rgba(255,255,255,.1);border-radius:12px;padding:12px 14px}
.practice textarea{background:rgba(255,255,255,.95);color:#1b2a24;border:0}
.practice .btn.ghost{color:#fff;border-color:rgba(255,255,255,.7)}
.big-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.big-actions .btn{padding:16px 10px;font-size:16px;border-radius:14px}
.btn.gold{background:var(--gold)}
.seg{display:flex;flex-wrap:wrap;gap:8px}
.scale{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}
.scale button{height:40px;border-radius:9px;border:1px solid var(--line);background:var(--surface);color:var(--fg);font-weight:700;padding:0}
.scale button[aria-pressed=true]{color:#fff;border-color:transparent}
.scale-l{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.q{display:flex;flex-direction:column;gap:8px}
.q>span{font-weight:600;font-size:15px}
.rx{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:6px}
.rx:first-of-type{border-top:0;padding-top:0}
.rx .top{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted)}
.size{display:inline-grid;place-items:center;min-width:30px;height:24px;border-radius:7px;color:#fff;font-weight:800;font-size:13px;padding:0 6px}
/* breathing */
.calm-stage{display:flex;flex-direction:column;align-items:center;gap:18px;padding:12px 0}
.orb-wrap{width:min(78vw,300px);aspect-ratio:1;display:grid;place-items:center;position:relative}
.orb{width:42%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 35%,#d9efe0 0%,#8fc7a6 45%,#2b6470 100%);box-shadow:0 0 0 18px rgba(143,199,166,.18),0 0 0 40px rgba(143,199,166,.08);transition:width linear}
.orb-label{position:absolute;bottom:-4px;left:0;right:0;text-align:center;font-weight:700;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:13px}
.calm-line{font-family:var(--display);font-size:22px;line-height:1.3;text-align:center;min-height:58px;max-width:28ch}
.calm-time{font-variant-numeric:tabular-nums;color:var(--muted);font-size:14px}
/* pattern report */
.stat-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:2px}
.stat .v{font-family:var(--display);font-size:30px;line-height:1.1}
.stat .l{font-size:13px;color:var(--muted)}
.hbar{display:grid;grid-template-columns:110px 1fr 36px;gap:10px;align-items:center;font-size:14px}
.hbar .track{height:14px;border-radius:7px;background:var(--brand-soft);overflow:hidden}
.hbar .track span{display:block;height:100%;background:var(--brand);border-radius:7px}
.insight{display:flex;gap:10px;align-items:flex-start;line-height:1.5}
.insight::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold);flex:none;margin-top:8px}
.bridge{background:var(--forest);color:var(--forest-fg);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:12px}
.bridge h2{color:#fff;font-size:24px}
.bridge .btn{text-align:center;text-decoration:none}
.bridge .btn.ghost{color:#fff;border-color:rgba(255,255,255,.7)}
.lock{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.help-list a{color:var(--brand);font-weight:700}
.help-list .item{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line);padding-top:12px}
.help-list .item:first-child{border-top:0;padding-top:0}
@media (min-width:900px){
  #view[data-view=today]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
  #view[data-view=today]>*{grid-column:1/-1}
  #view[data-view=today]>.card.half{grid-column:auto}
  #view[data-view=journal],#view[data-view=inbox],#view[data-view=calm],#view[data-view=pattern],#view[data-view=practices],#view[data-view=affirm]{max-width:760px}
  .stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media print{
  .papp>header,.papp>nav,.no-print,.toast{display:none!important}
  .papp>main{padding:0!important}
  body{background:#fff}
  .bridge{break-inside:avoid}
}

/* password fields */
.pw{position:relative;display:block}
.pw input{padding-right:64px}
.pw-show{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--brand);font-weight:700;font-size:13px;padding:6px 8px}
.pl-link{background:none;border:0;color:var(--brand);font-weight:600;padding:2px 0;text-align:left;font-size:14px;align-self:flex-start}
#loginForm,#forgotForm{display:flex;flex-direction:column;gap:12px}
#forgotForm[hidden]{display:none}
.pl-trust{text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding-top:28px;padding-bottom:28px;max-width:980px}
.pl-trust .t{font-family:var(--display);font-size:clamp(21px,3vw,27px);line-height:1.35;max-width:34ch}
.pl-trust .r{font-weight:700;color:var(--forest)}
.endorse{font-size:14px;line-height:1.5;border-left:3px solid var(--gold);padding-left:10px}
