/* home.css: the homepage layout (index.html, body.home). Loaded after the
   page's own <style>, which still styles the parts the app uses (the login
   popup, the example explanation, testimonials, pricing cards, questions).
   Full width bands with a 1180px content column, phone first, then tablet
   (600px+) and desktop (900px+). Same colours as the rest of PaperCalm. */

body.home{background:var(--paper);}
.home .h-wrap{max-width:1180px;margin:0 auto;padding:0 20px;}
.home .h-center{text-align:center;}
.home .h-center .h-lead{margin-left:auto;margin-right:auto;}

/* Headings and text */
.home h1,.home h2,.home h3{color:var(--ink);letter-spacing:-0.015em;}
.home .h-eyebrow{font-size:0.8rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--sage-deep);margin:0 0 10px;}
.home section .h-lead,.home .h-lead{font-size:1.08rem;color:var(--ink-soft);max-width:60ch;margin:0 0 28px;}
.home .h-small{font-size:0.86rem;color:var(--ink-soft);margin:18px 0 0;}
.home .h-small a{color:var(--blue);}

/* Buttons */
.home .h-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border-radius:999px;font-family:inherit;font-size:1rem;font-weight:700;text-decoration:none;cursor:pointer;border:2px solid transparent;transition:background .15s,border-color .15s;}
.home .h-btn-main{background:var(--sage-deep);color:#fff;}
.home .h-btn-main:hover{background:#465A4C;}
.home .h-btn-line{background:transparent;color:var(--sage-deep);border-color:var(--sage);}
.home .h-btn-line:hover{background:var(--sage-tint);}
.home .h-btn-light{background:#fff;color:var(--sage-deep);}
.home .h-btn-light:hover{background:var(--sage-tint);}
.home .h-btn:focus-visible{outline:3px solid var(--blue);outline-offset:2px;}
.home .h-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px;}

/* Top bar */
.home .h-nav{position:sticky;top:0;z-index:20;background:rgba(247,245,241,0.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);}
.home .h-nav-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;}
.home .h-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);}
.home .h-brand img{border-radius:9px;flex:none;}
.home .h-brand .logo{font-size:1.3rem;font-weight:700;color:var(--ink);}
.home .h-brand .logo span{color:var(--sage-deep);}
.home .h-links{display:flex;align-items:center;gap:6px;}
.home .h-links a{color:var(--ink);text-decoration:none;font-size:0.95rem;padding:10px 10px;border-radius:8px;}
.home .h-links a:hover{background:var(--sage-tint);}
.home .h-links select{font-family:inherit;font-size:0.88rem;background:var(--paper-raised);border:1px solid var(--line);border-radius:8px;padding:6px 6px;color:var(--ink);min-height:38px;}
.home .h-nav-btn{min-height:42px;padding:8px 18px;font-size:0.92rem;margin-left:6px;}

/* Hero */
.home .h-hero{background:linear-gradient(160deg,#F7F5F1 0%,#EEF2EC 55%,#E4ECE6 100%);padding:44px 0 52px;border-bottom:1px solid var(--line);}
.home .h-hero-grid{display:grid;gap:36px;align-items:center;}
.home .h-hero h1{font-size:2.3rem;line-height:1.1;margin:0 0 16px;font-weight:700;}
.home .h-ticks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px;font-size:0.95rem;color:var(--ink-soft);}
.home .h-ticks li{display:flex;align-items:center;gap:8px;}
.home .h-ticks li::before{content:"";width:18px;height:18px;border-radius:50%;flex:none;background:var(--sage-deep) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;}
.home .h-hero-art .hero-example{margin:0 auto;max-width:460px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 28px 60px rgba(43,42,40,0.12);padding:22px;}

/* Sections */
.home .h-sec{padding:56px 20px 8px;}
.home .h-sec h2{font-size:1.9rem;line-height:1.15;margin:0 0 10px;font-weight:700;}
.home .h-head{margin:0 0 6px;}
.home .h-band{background:var(--paper-raised);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-bottom:56px;margin-top:56px;padding-left:0;padding-right:0;}
.home .what-grid{gap:18px;}
.home .what-card{border-radius:18px;padding:22px;}
.home .what-aff{text-align:center;margin-top:22px;}

/* How it works, with the dashboard picture */
.home .h-feature{display:grid;gap:32px;align-items:start;}
.home .hiw-list{margin-top:8px;}
.home .h-feature-art{background:linear-gradient(160deg,#EEF2EC 0%,#E4ECE6 60%,#E8EEF1 100%);border-radius:28px;padding:28px 20px;display:grid;gap:22px;justify-items:center;}
.home .h-mock{width:100%;max-width:330px;background:#fff;border-radius:22px;border:1px solid var(--line);box-shadow:0 24px 50px rgba(43,42,40,0.12);padding:18px;}
.home .h-mock-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px;}
.home .h-mock-top .logo{font-weight:700;}
.home .h-mock-top .logo span{color:var(--sage-deep);}
.home .h-mock-who{font-size:0.8rem;font-weight:700;background:var(--sage-tint);color:var(--sage-deep);border-radius:999px;padding:3px 10px;}
.home .h-mock-label{font-size:0.72rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:var(--ink-soft);margin:12px 0 6px;}
.home .h-mock-due{display:flex;justify-content:space-between;gap:10px;border:1px solid var(--line);border-left:5px solid var(--gold);border-radius:10px;padding:9px 11px;margin:0 0 7px;font-size:0.86rem;}
.home .h-mock-due.h-soon{border-left-color:#B0532A;}
.home .h-mock-due span{color:var(--ink-soft);white-space:nowrap;}
.home .h-mock-doc{display:flex;align-items:center;gap:8px;font-size:0.86rem;padding:5px 0;}
.home .h-mock-doc i{width:9px;height:9px;border-radius:50%;background:var(--sage);flex:none;}
.home .h-mock-bar{height:10px;border-radius:999px;background:var(--sage-tint);overflow:hidden;}
.home .h-mock-bar span{display:block;height:100%;background:var(--sage);}
.home .h-feature-caption{max-width:420px;text-align:center;}
.home .h-feature-caption h3{font-size:1.15rem;margin:0 0 6px;}
.home .h-feature-caption p{color:var(--ink-soft);margin:0 0 16px;font-size:0.95rem;}

/* Who it's for */
.home .h-quote{padding:60px 0 8px;}
.home .h-quote-text{font-size:1.35rem;line-height:1.5;max-width:860px;margin:0 auto;text-align:center;color:var(--ink);}

/* Questions */
.home .h-two{display:grid;gap:12px 48px;}
.home .h-faq details:first-child{border-top:1px solid var(--line);}

/* Closing panel */
.home .h-panel{display:grid;background:var(--sage-deep);color:#fff;border-radius:28px;overflow:hidden;margin-top:24px;}
.home .h-panel-copy{padding:32px 26px;}
.home .h-panel-copy h2{color:#fff;font-size:1.6rem;margin:0 0 12px;}
.home .h-panel-copy p{color:#E4ECE6;margin:0 0 22px;}
.home .h-panel-box{display:flex;flex-direction:column;justify-content:center;gap:10px;background:rgba(255,255,255,0.1);padding:28px 26px;text-decoration:none;color:#fff;}
.home .h-panel-box:hover{background:rgba(255,255,255,0.16);}
.home .h-panel-box-title{font-size:1.25rem;font-weight:700;line-height:1.3;}
.home .h-panel-box-go{color:#E4ECE6;font-size:0.95rem;}
.home .nl-home{margin-top:40px;}

/* Footer */
.home footer.h-foot{background:#2F3B33;color:#D8E0DA;margin-top:64px;padding:44px 0 32px;text-align:left;border:none;}
.home .h-foot a{color:#E9EFEA;text-decoration:none;}
.home .h-foot a:hover{text-decoration:underline;}
.home .h-foot .h-brand .logo{color:#fff;}
.home .h-foot .h-brand .logo span{color:#B9CDBE;}
.home .h-foot-grid{display:grid;gap:26px;}
.home .h-foot-brand p{font-size:0.9rem;color:#C6D2C9;margin:12px 0;max-width:34ch;}
.home .h-foot-col{display:flex;flex-direction:column;gap:8px;font-size:0.95rem;}
.home .h-foot .footer-social{justify-content:flex-start;}
.home .h-foot .footer-social a{color:#E9EFEA;background:transparent;border-color:rgba(255,255,255,0.3);}
.home .h-foot .footer-social a:hover{border-color:#fff;color:#fff;text-decoration:none;}
.home .h-foot-small{font-size:0.82rem;color:#B5C2B9;border-top:1px solid rgba(255,255,255,0.15);margin:28px 0 0;padding-top:18px;}

/* Phones */
@media (max-width:599px){
  .home .h-hide-sm{display:none !important;}
  .home .h-brand .logo{font-size:1.15rem;}
  .home .h-brand img{width:30px;height:30px;}
  .home .h-links a{padding:8px 6px;}
  .home .h-btn-row .h-btn{width:100%;}
}
@media (max-width:899px){
  .home .h-hide-md{display:none !important;}
}

/* Tablets and up */
@media (min-width:600px){
  .home .h-hero h1{font-size:2.8rem;}
  .home .h-foot-grid{grid-template-columns:1.4fr 1fr 1fr;}
  .home .h-foot-brand{grid-column:1/-1;}
  .home .h-panel{grid-template-columns:1.3fr 1fr;}
}

/* Desktops */
@media (min-width:900px){
  .home .h-hero{padding:76px 0 84px;}
  .home .h-hero-grid{grid-template-columns:1.1fr 0.9fr;gap:60px;}
  .home .h-hero h1{font-size:3.4rem;line-height:1.05;}
  .home .h-sec{padding-top:84px;}
  .home .h-sec h2{font-size:2.4rem;}
  .home .h-band{margin-top:84px;padding-bottom:84px;}
  .home .h-feature{grid-template-columns:1fr 1fr;gap:56px;}
  .home .h-two{grid-template-columns:0.8fr 1.2fr;}
  .home .h-quote{padding-top:90px;}
  .home .h-quote-text{font-size:1.7rem;}
  .home .h-panel-copy{padding:44px 40px;}
  .home .h-panel-box{padding:40px;}
  .home .h-foot-grid{grid-template-columns:1.6fr 1fr 1fr 1fr;}
  .home .h-foot-brand{grid-column:auto;}
  .home .gs-grid{grid-template-columns:repeat(3,1fr);}
}
