/* ============================================================
   mssgs calender - home.css
   Hero (the web app with the phone in front of it), the three
   steps, what it does, what we left out, the plans, privacy, the
   "works with mssgs" panel and the CTA. Frames and rows come
   from showcase.css; the features page reuses the section heads.
   ============================================================ */

/* ================= Hero ================= */
.fhero{position:relative;padding-top:140px;text-align:center}
.fhero-inner{position:relative}
.fhero-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;margin-bottom:22px;border-radius:980px;background:rgba(51,117,77,.1);box-shadow:inset 0 0 0 1px rgba(51,117,77,.24);font-size:13px;font-weight:600;color:var(--green-700)}
.fhero-badge .mdot{font-size:7px;color:var(--green-500)}
.fhero h1{line-height:1;font-size:clamp(52px,8vw,92px);margin:0 0 18px;color:var(--w-ink)}
.fhero h1 span{display:block}
.fhero h1 .brandline{color:var(--brand)}
.fhero-sub{font-size:20px;color:var(--w-mut);line-height:1.6;max-width:560px;margin:0 auto 34px}
.fhero-cta{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:62px}
.fhero-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.fhero-hint{font-size:13.5px;color:var(--w-mut2)}
/* A signed-in visitor gets their calendar instead of the sign-in. */
.fhero-continue{display:flex;align-items:center;gap:22px;max-width:680px;margin:0 auto 62px;padding:22px 22px 22px 26px;text-align:left;border-radius:24px}
.fhero-continue img{flex:none;width:44px;height:auto}
.fhero-continue-copy{flex:1;min-width:0}
.fhero-continue-copy h2{font-size:22px;margin:0 0 4px;color:var(--w-ink)}
.fhero-continue-copy p{font-size:15px;color:var(--w-mut);line-height:1.45}
.fhero-continue-copy b{color:var(--green-700);font-weight:600}
.fhero-continue-btn{flex:none;padding-inline:26px}
.fhero-continue-btn .fa-arrow-right{font-size:.85em;margin-left:2px}
.fhero-hint code{font-family:var(--font-mono);font-size:13px;color:var(--green-700);background:rgba(51,117,77,.1);padding:2px 7px;border-radius:6px}

/* One-time shine over the brand line (guarded: without background-clip the
   transparent fill would blank the headline). */
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  .fhero h1 .brandline{background:linear-gradient(100deg,var(--brand) 0%,var(--brand) 42%,var(--green-300) 50%,var(--brand) 58%,var(--brand) 100%);background-size:220% 100%;background-position:120% 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:softIn .8s var(--ease-standard) var(--d,0s) forwards,brandShine 1.4s var(--ease-standard) 1s forwards}
}
@keyframes brandShine{to{background-position:-60% 0}}

/* ================= The web app, the phone in front of it ================= */
.tiltwrap{perspective:1400px;max-width:1040px;margin:0 auto;position:relative}
#tiltwin{position:relative;transform:rotateX(7deg) scale(.97);transform-origin:50% 0;will-change:transform;transition:transform .1s linear}
.hero-stage{padding:0 0 8%;text-align:left}
.hero-stage>.shot-win{width:91%}
.hero-phone{position:absolute;right:0;bottom:0;width:21%;z-index:2}
.hero-phone .ft-phone{box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 30px 60px rgba(0,0,0,.42)}
.winglow{position:absolute;left:10%;right:10%;bottom:-20px;height:120px;background:radial-gradient(50% 100% at 50% 0,rgba(51,117,77,.3),transparent 70%);filter:blur(30px);pointer-events:none;z-index:-1}

/* ================= The plans, briefly ================= */
.fplans{padding:130px 0 0}
.fplans .fsection-head{margin-bottom:48px}
.plans-grid-home{margin-bottom:30px}

/* ================= What it does ================= */
.fstand{padding:130px 0 0;position:relative}
.fsection-head{text-align:center;max-width:680px;margin:0 auto 64px}
.fsection-head h2{font-size:clamp(34px,5vw,52px);margin:14px 0;color:var(--w-ink)}
.fsection-head p{font-size:18px;color:var(--w-mut);margin:0;line-height:1.6}
.fstand-rows{display:flex;flex-direction:column;gap:120px}

/* ================= Left out, on purpose ================= */
.fleft{padding:140px 0 0}
.fmore-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fmore-grid .glass-tile{padding:24px 22px}
.fmore-grid .ft-ico{margin-bottom:14px}
.fmore-grid h3{font-size:16.5px;font-weight:600;margin:0 0 6px;color:var(--w-ink);letter-spacing:-.01em}
.fmore-grid p{font-size:14.5px;line-height:1.55;color:var(--w-mut);margin:0}
.fmore-link{margin-top:32px;text-align:center;font-size:15px;font-weight:600}
.fmore-link i{font-size:11px;margin-left:5px}
@media (max-width:1020px){.fmore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.fmore-grid{grid-template-columns:minmax(0,1fr)}}

/* ================= Privacy ================= */
.fprivacy{padding:150px 0 120px;text-align:center;position:relative}
.fprivacy h2{font-size:clamp(40px,6vw,68px);line-height:1.04;margin:18px 0 24px;color:var(--w-ink)}
.fprivacy h2 .brandline{color:var(--brand)}
.fprivacy-sub{font-size:19px;color:var(--w-mut);line-height:1.65;max-width:600px;margin:0 auto}
.trustrow{display:flex;justify-content:center;gap:40px;margin-top:56px;flex-wrap:wrap}
.trustrow .titem{display:flex;gap:12px;align-items:flex-start;text-align:left;max-width:220px}
.trustrow .titem>i{color:var(--brand);font-size:16px;margin-top:4px;width:20px;flex:none;text-align:center}
.trustrow .tt{display:block;font-size:15px;font-weight:600;color:var(--w-ink2);margin-bottom:2px}
.trustrow .td{font-size:13.5px;color:var(--w-mut2);line-height:1.5}
.fprivacy-more{margin-top:44px;font-size:14.5px;font-weight:600}
.fprivacy-more i{font-size:11px;margin-left:5px}
/* One column on a phone: every item the same width, so the icons line up. */
@media (max-width:640px){
  .trustrow{flex-direction:column;align-items:stretch;gap:26px;max-width:340px;margin-left:auto;margin-right:auto}
  .trustrow .titem{max-width:none}
}

/* ================= Works with mssgs ================= */
.fworks{padding:0 0 20px}
.glass-tile.fworks-panel{display:flex;align-items:center;gap:26px;padding:30px 34px;flex-wrap:wrap}
.fworks-icon{flex:0 0 auto;width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--w-float);color:var(--brand);font-size:22px}
.fworks-body{flex:1 1 320px;min-width:0}
.fworks-body h2{font-size:26px;font-weight:600;letter-spacing:-0.01em;color:var(--w-ink);margin:6px 0 8px}
.fworks-body>p{font-size:15px;color:var(--w-mut);line-height:1.6;margin:0;max-width:640px}
.fworks-actions{flex:0 0 auto}
@media (max-width:720px){
  .glass-tile.fworks-panel{padding:26px 22px;gap:18px}
  .fworks-actions{width:100%}
  .fworks-actions .btn-f{width:100%;justify-content:center}
}

@media (prefers-reduced-motion: reduce){
  #tiltwin{transform:none!important;transition:none}
  .fhero h1 .brandline{animation:none;background-position:-60% 0}
}

/* ---- Mobile rhythm ---- */
@media (max-width:600px){
  .fhero{padding-top:100px}
  .fhero h1{font-size:clamp(40px,12vw,60px);margin-bottom:14px}
  .fhero-sub{font-size:17px;line-height:1.55;margin-bottom:26px}
  .fhero-cta{gap:14px;margin-bottom:44px}
  .fhero-btns{width:100%;flex-direction:column;align-items:stretch;max-width:340px;margin:0 auto}
  .fhero-continue{flex-direction:column;text-align:center;gap:14px;margin-bottom:44px;padding:24px 20px}
  .fplans,.fsteps{padding-top:90px}
  .fhero-continue-btn{width:100%;justify-content:center}
  .fstand{padding-top:80px}
  .fstand-rows{gap:80px}
  .fleft{padding-top:90px}
  .hero-stage{padding-bottom:12%}
  .hero-stage>.shot-win{width:88%}
  .hero-phone{width:31%}
  .fsection-head{margin-bottom:36px}
  .fsection-head p{font-size:16px}
  .fprivacy{padding:84px 0 70px}
  .fprivacy-sub{font-size:17px}
  .trustrow{margin-top:40px}
  .fcta{padding:40px 0 60px}
  .glass-tile.fcta-panel{padding:52px 20px}
  .fcta-sub{font-size:16px}
  .fcta-form{flex-direction:column;align-items:stretch}
  .fcta-addr{justify-content:center}
  .fcta-addr .input-f{width:110px}
  .fhero .container,.fsteps .container,.fstand .container,.fleft .container,.fprivacy .container,
  .fworks .container,.fcta .container{padding:0 18px}
}
@media (max-width:380px){
  .fhero h1{font-size:clamp(34px,12vw,46px)}
  .fhero .container,.fsteps .container,.fstand .container,.fleft .container,.fprivacy .container,
  .fworks .container,.fcta .container{padding:0 15px}
}

/* ================= Three steps ================= */
.fsteps{padding:130px 0 0}
.fsteps .fsection-head{margin-bottom:44px}
.fsteps-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;counter-reset:step}
.fsteps-row .glass-tile{padding:28px 26px 26px}
.fstep-n{position:absolute;top:18px;right:22px;font-family:var(--font-display);font-size:44px;font-weight:700;line-height:1;letter-spacing:-.04em;color:rgba(51,117,77,.16)}
.fsteps-row .ft-ico{width:40px;height:40px;border-radius:12px;font-size:16px;margin-bottom:16px}
.fsteps-row h3{font-size:18px;font-weight:600;color:var(--w-ink);margin:0 0 8px;letter-spacing:-.01em}
.fsteps-row p{font-size:15px;line-height:1.6;color:var(--w-mut);margin:0}
@media (max-width:860px){.fsteps-row{grid-template-columns:minmax(0,1fr)}}

/* The features page hero: centred, with the jump list under it. */
.ft-page-hero{padding-bottom:10px}
.ft-page-hero h1 .brandline{color:var(--brand)}
.ft-page-hero .ft-hero-cta{display:flex;justify-content:center;margin-top:28px}
.ft-page-hero .ft-jump{margin-top:52px;text-align:center}
.ft-page-hero .ft-jump ul{justify-content:center}
