/* Home page: the app in pieces. Paper page, real app pieces stuck on like cut-outs (a white cut edge, a
   soft lift and a slight tilt), a cursor and handwritten notes. Pieces are placed on a 640x480
   canvas that scales with its stage. */
body{background:var(--paper)}
.cuts-top{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:80px}
.cuts-top .btn{min-height:46px;padding:12px 18px}
.cuts-intro{padding:clamp(40px,8vh,96px) 0 clamp(20px,4vh,48px)}
.cuts-intro h1{max-width:900px}
.cuts-intro h1{margin:0;font:800 clamp(44px,6.4vw,92px)/1 var(--font-display);letter-spacing:-.045em}
.cuts-intro p{margin:22px 0 0;max-width:600px;font:500 clamp(16px,1.5vw,19px)/1.6 var(--font);color:var(--muted)}

.cut-row{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);align-items:center;gap:clamp(28px,5vw,80px);padding:clamp(48px,8vh,90px) 0;border-top:1px solid var(--line)}
.cut-row.flip{grid-template-columns:minmax(0,1.38fr) minmax(0,.62fr)}
.cut-row.flip .cut-copy{order:2}
.cut-eyebrow{display:block;margin-bottom:14px;font:800 12px/1 var(--font);letter-spacing:.16em;text-transform:uppercase;color:var(--orange)}
.cut-copy h2{margin:0;font:800 clamp(34px,4vw,58px)/1.04 var(--font-display);letter-spacing:-.04em}
.cut-copy p{margin:18px 0 0;max-width:430px;font:500 clamp(15px,1.3vw,18px)/1.6 var(--font);color:var(--muted)}

/* The stage: a 640x480 canvas, scaled to fit (cuts.js sets --k). */
.cut-stage{position:relative;width:100%;aspect-ratio:4/3;container-type:inline-size}
.cut-canvas{position:absolute;left:0;top:0;width:640px;height:480px;transform:scale(var(--k,1));transform-origin:0 0}
.cut{position:absolute;display:block;max-width:none;border-radius:12px;opacity:0;background:#1b1b1b;rotate:var(--r,0deg);box-shadow:0 0 0 3px #fffdf7,0 16px 30px -16px rgb(32 33 31/.55),0 3px 8px rgb(32 33 31/.16)}
/* Own layers only near the screen (cuts.js): kept on every piece, they held dozens of big layers all the time. */
.cut-canvas.is-near .cut{will-change:transform,opacity}
.cut.tile{border-radius:14px}
/* The voice join card keeps the app's own corner, so its stripe meets the edge cleanly. */
.cut.card{border-radius:22px}
.cut.flat{box-shadow:none}
/* The flare scene sits above the squad copy; its last tile reaches the stage's bottom edge. */
.squad-stage{margin-bottom:clamp(20px,3vw,34px)}

/* The cursor: an ink arrow with a paper edge, and a ring when it presses. */
.cut-cursor{position:absolute;left:0;top:0;width:26px;height:32px;opacity:0;z-index:30;pointer-events:none;filter:drop-shadow(0 3px 4px rgb(32 33 31/.3))}
.cut-ring{position:absolute;left:0;top:0;width:46px;height:46px;margin:-23px 0 0 -23px;border:3px solid var(--orange);border-radius:50%;opacity:0;z-index:29;pointer-events:none}

/* Handwritten notes, like the rest of the page's annotations. */
.cut-note{position:absolute;inset:0;width:640px;height:480px;overflow:visible;pointer-events:none;z-index:20}
.cut-note text{fill:var(--purple);font:26px 'Segoe Print','Comic Sans MS',cursive;opacity:0}
.cut-note path{fill:none;stroke:var(--purple);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

.cuts-end{padding:clamp(60px,10vh,120px) 0 clamp(80px,14vh,160px);border-top:1px solid var(--line);text-align:left}
.cuts-end h2{margin:0;font:800 clamp(40px,5.4vw,78px)/1.02 var(--font-display);letter-spacing:-.045em}
.cuts-end .hero-actions{margin-top:28px}
.cuts-note{margin:14px 0 0;font-size:13px;color:var(--muted)}

@media (max-width: 860px){
  .cut-row,.cut-row.flip{grid-template-columns:1fr;gap:28px}
  .cut-row.flip .cut-copy{order:0}
  .cut-copy p{max-width:none}
}
