/* ============================================================
   mssgs mail - showcase.css
   Real captures of the apps (scripts/site-shots) and the rows that
   show them, on the home and features pages. The same frames as
   the mssgs website's features page: a plain dark bezel for a
   phone, a window bar for the web app.
   ============================================================ */

.ft-wrap{max-width:1100px;margin:0 auto;padding:0 24px}
.ft-kicker{display:inline-flex;align-items:center;gap:10px;font-size:13.5px;font-weight:700;letter-spacing:.02em;color:var(--green-700)}
.ft-ico{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:rgba(51,117,77,.12);color:var(--green-600);font-size:14px;flex:0 0 32px}

/* ---- Phones: a capture is 500 x 1087, so the radii are proportional ---- */
.ft-phone-fig{margin:0;display:flex;flex-direction:column;align-items:center}
.ft-phone{width:100%;padding:2.4%;border-radius:15.5%/7.1%;background:#0c0e11;box-shadow:0 0 0 1px rgba(255,255,255,.06) inset,0 28px 60px -22px rgba(22,34,24,.55),0 10px 24px -12px rgba(22,34,24,.35)}
.ft-phone img{display:block;width:100%;height:auto;border-radius:13.4%/6.2%;background:#16181c}
.ft-phone-fig figcaption{margin:14px 0 0;font-size:13px;line-height:1.4;color:var(--w-mut2);text-align:center;max-width:220px}

/* ---- Web app windows ---- */
.shot-win{margin:0;border-radius:14px;overflow:hidden;background:#15181c;box-shadow:0 0 0 1px rgba(255,255,255,.07),0 30px 70px -26px rgba(22,34,24,.6),0 12px 28px -14px rgba(22,34,24,.4)}
.shot-win-bar{display:flex;gap:6px;padding:10px 14px;background:#1d2024;border-bottom:1px solid rgba(255,255,255,.06)}
.shot-win-bar span{width:10px;height:10px;border-radius:50%;background:#3a3d42}
.shot-win-bar span:nth-child(1){background:#ff5f57}
.shot-win-bar span:nth-child(2){background:#febc2e}
.shot-win-bar span:nth-child(3){background:#28c840}
.shot-win img{display:block;width:100%;height:auto}
.shot-win figcaption{padding:10px 14px;font-size:13px;color:var(--text-low)}
/* A window with a phone standing in front of its lower right corner. */
.shot-stage{position:relative}
.shot-stage.has-phone{padding:0 9% 12% 0}
.shot-stage-phone{position:absolute;right:0;bottom:0;width:27%}
.shot-stage-phone .ft-phone{box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 26px 50px rgba(0,0,0,.42)}

/* ---- A row: captures on one side, the copy on the other ---- */
.ft-show{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:52px;align-items:center}
.ft-show-flip .ft-visual{order:2}
.ft-show-text{grid-template-columns:minmax(0,1fr)}
.ft-show-text .ft-hls{grid-template-columns:repeat(2,minmax(0,1fr))}
.ft-visual{position:relative}
.ft-visual::before{content:'';position:absolute;inset:6% 4%;border-radius:48px;background:radial-gradient(ellipse at 50% 45%,rgba(51,117,77,.16),rgba(51,117,77,.05) 55%,transparent 75%);z-index:-1}
.ft-shots{display:flex;justify-content:center;align-items:flex-start;gap:24px}
.ft-shots .ft-phone-fig{width:min(236px,47%)}
.ft-shots-2 .ft-phone-fig:nth-child(2){margin-top:56px}
.ft-shots-1 .ft-phone-fig{width:min(270px,62%)}
.ft-copy{min-width:0}
.ft-title{font-size:clamp(28px,3.4vw,40px);line-height:1.08;margin:14px 0 12px;color:var(--w-ink);overflow-wrap:anywhere}
.ft-lead{font-size:17px;line-height:1.6;color:var(--w-mut);margin:0 0 22px}

.ft-hls{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ft-hl{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:18px 20px;border-radius:16px;background:rgba(255,255,255,.55);box-shadow:0 10px 30px rgba(31,35,33,.06);border:1px solid var(--w-line)}
.ft-hl .ft-ico{width:36px;height:36px;border-radius:11px;font-size:15px;flex-basis:36px}
.ft-hl h3,.ft-hl h4{font-family:var(--font-sans);font-size:16.5px;font-weight:600;letter-spacing:-.01em;line-height:1.3;margin:2px 0 4px;color:var(--w-ink)}
.ft-hl p{font-size:15px;line-height:1.55;color:var(--w-mut);margin:0}

.ft-more-wrap{margin:44px 0 0}
.ft-more-label{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--green-700);margin:0 0 6px}
.ft-more{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px}
.ft-more li{display:grid;grid-template-columns:22px 1fr;gap:12px;padding:16px 0;border-top:1px solid var(--w-line)}
.ft-more li>i{color:var(--green-600);font-size:14px;margin-top:4px;text-align:center}
.ft-more h3,.ft-more h4{font-family:var(--font-sans);font-size:15.5px;font-weight:650;line-height:1.35;margin:0 0 4px;color:var(--w-ink)}
.ft-more p{font-size:14.5px;line-height:1.52;color:var(--w-mut);margin:0}
.ft-more code{display:inline-block;margin:0 0 4px;font-size:13px;padding:2px 8px;border-radius:6px;background:rgba(51,117,77,.1);color:var(--green-700)}

/* ---- Features page ---- */
.ft-hero{padding:140px 0 0}
.ft-hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:48px;align-items:center}
.ft-hero h1{font-size:clamp(40px,5.6vw,66px);line-height:1.03;margin:16px 0 22px;color:var(--w-ink)}
.ft-hero h1 span{display:block;color:var(--brand)}
.ft-hero-sub{font-size:19px;line-height:1.6;color:var(--w-mut);margin:0 0 32px;max-width:560px}
.ft-hero-cta{display:flex;gap:12px;flex-wrap:wrap}
/* Three phones, placed by transform alone: --pw is the front phone's width,
   --ps the side phones' scale, --pedge how far a side phone keeps from the
   edge, --ptop how much lower it sits. */
.ft-hero-phones{position:relative;height:540px;container-type:inline-size;--pw:248px;--ps:.887;--pedge:2cqw;--ptop:58px;--pshift:calc(50cqw - var(--pedge) - var(--pw) * var(--ps) / 2)}
.ft-hero-phones .ft-phone-fig{position:absolute;top:0;left:50%;width:var(--pw);margin-left:calc(var(--pw) / -2);transform-origin:50% 0}
.ft-hero-phones [data-slot="left"]{transform:translate(calc(var(--pshift) * -1),var(--ptop)) rotate(-5deg) scale(var(--ps));z-index:1}
.ft-hero-phones [data-slot="center"]{z-index:3}
.ft-hero-phones [data-slot="right"]{transform:translate(var(--pshift),var(--ptop)) rotate(5deg) scale(var(--ps));z-index:2}
.ft-hero-phones figcaption{display:none}

.ft-jump{margin-top:64px}
.ft-jump-label{font-size:12.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--w-mut2);margin:0 0 10px}
.ft-jump ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.ft-jump a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:980px;background:rgba(255,255,255,.7);border:1px solid var(--w-line2);color:var(--w-ink);font-size:14.5px;font-weight:600;text-decoration:none;transition:background var(--dur-base) var(--ease-standard),border-color var(--dur-base) var(--ease-standard),color var(--dur-base) var(--ease-standard)}
.ft-jump a i{color:var(--green-600);font-size:13px}
.ft-jump a:hover{background:var(--brand);border-color:var(--brand);color:var(--brand-contrast)}
.ft-jump a:hover i{color:var(--brand-contrast)}

.ft-cat{padding:110px 0 0;scroll-margin-top:84px}
.glass-tile.ft-notyet{padding:40px 40px 26px}
.ft-notyet h2{font-size:clamp(28px,3.4vw,40px);line-height:1.08;margin:0 0 12px;color:var(--w-ink)}

/* ---- Responsive ---- */
@media (max-width:1020px){
  .ft-more{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ft-hero-phones{height:470px;--pw:214px;--ps:.888}
}
@media (max-width:900px){
  .ft-hero-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .ft-hero-text{text-align:center}
  .ft-hero-sub{margin-left:auto;margin-right:auto}
  .ft-hero-cta{justify-content:center}
  .ft-hero-phones{max-width:560px;width:100%;margin:0 auto}
  .ft-show{grid-template-columns:minmax(0,1fr);gap:36px}
  .ft-show-flip .ft-visual{order:0}
  .ft-show-text .ft-hls{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .ft-hero{padding-top:118px}
  .ft-hero-sub{font-size:17.5px}
  .ft-hero-phones{height:400px;--pw:172px;--ps:.872;--pedge:0px;--ptop:44px}
  .ft-jump{margin-top:44px}
  .ft-cat{padding-top:80px}
  .ft-shots{gap:14px}
  .ft-shots-2 .ft-phone-fig:nth-child(2){margin-top:36px}
  .ft-hl{padding:16px;gap:12px}
  .ft-hl .ft-ico{width:32px;height:32px;flex-basis:32px;font-size:14px}
  .ft-lead{font-size:16px}
  .ft-more{grid-template-columns:minmax(0,1fr)}
  .glass-tile.ft-notyet{padding:28px 20px 14px}
  .shot-win{border-radius:10px}
  .shot-win-bar{padding:7px 10px}
  .shot-win-bar span{width:7px;height:7px}
}
@media (max-width:400px){
  .ft-wrap{padding:0 16px}
  .ft-hero-phones{height:350px;--pw:150px;--ps:.853}
}
@media (prefers-reduced-motion:reduce){
  .ft-jump a{transition:none}
}
