/* Cutlet landing page.
   White grid paper, ink type, brand red used sparingly, the real pink marbling as the fun bit.
   Colours follow the brand pack (Design/brand-pack/guidance/design-tokens.css). */

@font-face { font-family: "Geist"; src: url("assets/Geist.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/GeistMono.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --red: #D62920;
  --red-hover: #C6251D;
  --pink: #F0B8BD;
  --pink-soft: #FBE6E8;
  --ink: #17191D;
  --ink-hover: #272A30;
  --bg: #FBFAF8;            /* a very slightly warm off-white */
  --paper: #FFFFFF;
  --tint: #F6F7F8;
  --line: #E4E5E8;
  --muted: #6B6F78;
  --muted-2: #9A9EA6;
  --font: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background-color: var(--bg);
       font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.red { color: var(--red); }
.muted { color: var(--muted-2); }

/* Grid paper, used behind the hero and the download section. */

/* ------------------------------------------------------------ pills */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px;
        font: 500 15px/1 var(--font); text-decoration: none; border: 0; cursor: pointer;
        transition: background .15s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.pill svg { width: 17px; height: 17px; }
.pill:active { transform: scale(.97); }
.pill-ink { background: var(--ink); color: #fff;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(23,25,29,.2); }
.pill-ink:hover { background: var(--ink-hover); }
/* Puffy pills: white, lit from above, sitting on a soft shadow, so they look pressable. */
.pill-puffy { background: linear-gradient(#fff, #F6F6F7); color: var(--ink); height: 50px; padding: 0 24px;
              box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(23,25,29,.05), 0 0 0 1px rgba(23,25,29,.07),
                          0 2px 3px rgba(23,25,29,.06), 0 10px 24px -8px rgba(23,25,29,.22); }
.pill-puffy:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(23,25,29,.05), 0 0 0 1px rgba(23,25,29,.08),
                    0 3px 5px rgba(23,25,29,.07), 0 16px 30px -10px rgba(23,25,29,.28); }
.pill-puffy:active { transform: translateY(0) scale(.98); box-shadow: inset 0 1px 2px rgba(23,25,29,.08), 0 0 0 1px rgba(23,25,29,.08), 0 2px 6px -2px rgba(23,25,29,.2); }
.pill-puffy.pill-dark { background: linear-gradient(#2E3138, #17191D); color: #fff;
              box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px #17191D, 0 2px 3px rgba(23,25,29,.15), 0 10px 24px -8px rgba(23,25,29,.45); }
.pill-puffy.pill-dark:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 0 1px #17191D, 0 3px 5px rgba(23,25,29,.18), 0 16px 30px -10px rgba(23,25,29,.5); }
.pill-puffy.is-disabled { transform: none; }
.pill-small { height: 36px; padding: 0 16px; font-size: 14px; }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: var(--red-hover); }
.pill.is-disabled { opacity: .55; cursor: default; }

/* ------------------------------------------------------------ glassy pill nav */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; pointer-events: none; padding: 0 12px; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 8px 0 18px; border-radius: 999px;
            background: rgba(255,255,255,.62); border: 1px solid rgba(23,25,29,.08);
            backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px -12px rgba(23,25,29,.22), 0 1px 2px rgba(23,25,29,.06);
            transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.nav.scrolled .nav-pill { background: rgba(255,255,255,.74); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 36px -12px rgba(23,25,29,.3), 0 1px 2px rgba(23,25,29,.08); }
/* The logo lives in the pill (there's no big logo in the hero). */
.nav-logo { display: block; margin: 0 10px 0 -4px; transition: transform .4s var(--spring); }
.nav-logo:hover { transform: rotate(-4deg) scale(1.06); }
.nav-logo img { height: 32px; width: auto; max-width: none; }
.nav nav { display: flex; gap: 2px; font-size: 14px; color: var(--muted); }
.nav nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav nav a:hover { color: var(--ink); background: rgba(23,25,29,.05); }
.nav .pill { margin-left: 8px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: 190px 24px 0; text-align: center; overflow: hidden; }
.hero-logo { width: min(420px, 74vw); height: auto; margin: 0 auto; filter: drop-shadow(0 16px 24px rgba(150, 30, 25, .16));
             animation: plop .9s var(--spring) both; transition: transform .5s var(--spring); }
.hero-logo:hover { transform: rotate(-2.5deg) scale(1.03); }
@keyframes plop { from { opacity: 0; transform: translateY(18px) scale(.92) rotate(-4deg); } }
.hero-title { font: 600 clamp(44px, 6vw, 88px)/1 var(--font); letter-spacing: -0.05em; margin: 0 auto; text-wrap: balance;
              animation: rise .8s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero-sub { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.75; color: var(--muted); max-width: 33em; margin: 24px auto 0;
            letter-spacing: -0.01em; animation: rise .8s var(--ease) .25s both; text-wrap: balance; }
.hero-sub .chip { color: var(--ink); text-decoration: none; cursor: pointer; }
.hero-sub .chip-pink { font-weight: 500; color: #A8211A; padding: .04em .42em .06em; border-radius: .34em; margin: 0 .06em;
  background: linear-gradient(#FDF0F1, #F7D3D7); border: 1px solid #E9AEB5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(214,41,32,.10), 0 1px 0 #E2A1A9, 0 2px 4px rgba(214,41,32,.12);
  text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.hero-sub .chip-pink:hover { background: linear-gradient(#FEF5F6, #F5CBD0); }
.hero-sub .chip-pink:active { transform: translateY(1px); box-shadow: inset 0 1px 2px rgba(214,41,32,.18), 0 0 0 #E2A1A9; }
.nowrap { white-space: nowrap; }
.hero-sub { max-width: 36em; }

/* Hover a letter in the headline and it turns into a cut of meat for a moment. */
[data-cuts] .word { display: inline-block; white-space: nowrap; }
[data-cuts] .l { position: relative; display: inline-block; transition: color .15s; }
[data-cuts] .l::after { content: ""; position: absolute; left: 50%; top: 50%; width: .78em; height: .78em; pointer-events: none;
                        background: var(--cut) center / contain no-repeat; opacity: 0;
                        transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(.3);
                        transition: opacity .25s ease, transform .35s var(--ease); filter: drop-shadow(0 6px 8px rgba(120, 20, 15, .25)); }
[data-cuts] .l.cut { color: transparent; transition: color .08s; }
[data-cuts] .l.cut::after { opacity: 1; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1);
                            transition: opacity .1s ease, transform .45s var(--spring); }
.hero-sub .chip-red { color: var(--red); }
.chip { display: inline-flex; align-items: center; gap: .22em; padding: 0 .32em 0 .26em; border-radius: .28em; background: var(--tint);
        border: 1px solid var(--line); font-size: .84em; line-height: 1.22; vertical-align: .06em; white-space: nowrap;
        box-shadow: inset 0 -2px 0 rgba(23,25,29,.04); transition: transform .35s var(--spring); }
.chip svg { width: .72em; height: .72em; transition: transform .45s var(--spring); }
.chip:hover { transform: rotate(-2deg); }
.chip:hover svg { transform: scale(1.25); }
.chip-red { background: var(--pink-soft); border-color: #F3CDD1; color: var(--red); }
.chip-red:hover { transform: rotate(2deg); }
.chip-red:hover svg { transform: rotate(-18deg) scale(1.15); }
.hero-actions { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap;
                animation: rise .8s var(--ease) .35s both; }
.hero-note { font: 500 12.5px var(--mono); color: var(--muted-2); letter-spacing: .02em; margin: 16px 0 0; animation: rise .8s var(--ease) .4s both; }

/* The editor rises and straightens as you scroll down to it, open on a made-up Mac desktop
   inside a glassy frame. The wallpaper, icons and dock are all drawn here (no real apps or files). */
.stage { position: relative; width: min(1320px, calc(100% - 32px)); margin: 64px auto 0; padding-bottom: 40px; perspective: 1800px; }
/* As you scroll (site.js sets these from 0 to 1): first only the app is there, peeking up at the
   bottom of the first screen; then --wall (glass frame and wallpaper), --bar (menu bar), each
   icon's --p (desktop icons) and --dock (dock, then each dock icon's --p). All default to 1. */
.desk { position: relative; padding: 8px; border-radius: 28px; transform-origin: 50% 0;
        transform: translateY(calc(var(--lift, 0) * 30px)) rotateX(calc(var(--lift, 0) * 14deg)) scale(calc(1 - var(--lift, 0) * .06)); }
.desk.flat { transform: none; }
/* The glass: frosted and see-through, lit from the top left, with a bright rim and a soft inner glow. */
.desk::before, .desk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--wall, 1); }
.desk::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.35) 22%, rgba(255,255,255,.12) 48%, rgba(255,236,234,.3) 72%, rgba(255,255,255,.75) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.95), inset 0 -2px 2px rgba(120,20,16,.10), inset 0 0 0 4px rgba(255,255,255,.25),
              inset 0 0 30px rgba(214,41,32,.10), 0 0 0 1px rgba(23,25,29,.10), 0 2px 6px rgba(23,25,29,.06),
              0 70px 130px -50px rgba(60,10,8,.55); }
/* A thin shine across the rim. */
.desk::after { background: linear-gradient(115deg, transparent 8%, rgba(255,255,255,.75) 12%, transparent 17%, transparent 70%, rgba(255,255,255,.4) 74%, transparent 78%);
               -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
               padding: 8px; }
.desk-screen { position: relative; z-index: 1; height: clamp(640px, 60vw, 800px); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.desk-wall { position: absolute; inset: 0; z-index: 0; opacity: var(--wall, 1); transform: scale(calc(1.08 - var(--wall, 1) * .08)); border-radius: inherit; overflow: hidden;
             box-shadow: inset 0 0 0 1px rgba(60,10,8,.25), inset 0 1px 0 rgba(255,255,255,.35);
             background:
               radial-gradient(55% 75% at 18% 22%, rgba(255,255,255,.6), transparent 62%),
               radial-gradient(45% 60% at 72% 8%, rgba(255,222,212,.75), transparent 65%),
               radial-gradient(70% 90% at 92% 100%, rgba(150,16,14,.55), transparent 62%),
               linear-gradient(115deg, #FBE0E0 0%, #F5AAA1 28%, #EE7564 52%, #DD4131 76%, #C42A1F 100%); }
/* Soft light folds across the wallpaper. */
.desk-wall::before { content: ""; position: absolute; inset: -10%; pointer-events: none; filter: blur(26px);
               background: linear-gradient(64deg, transparent 22%, rgba(255,255,255,.34) 30%, transparent 40%, transparent 52%,
                                           rgba(255,255,255,.22) 60%, transparent 70%, transparent 80%, rgba(255,240,236,.25) 86%, transparent 94%); }
.desk-bar { opacity: var(--bar, 1); translate: 0 calc((1 - var(--bar, 1)) * -100%); }
.desk-icons figure { opacity: clamp(0, var(--p, 1), 1); translate: calc((1 - var(--p, 1)) * 46px) 0; scale: calc(.6 + var(--p, 1) * .4); }
.desk-dock > * { translate: 0 calc((1 - var(--p, 1)) * 60px); }
.desk-bar { position: relative; z-index: 3; flex: none; height: 30px; display: flex; align-items: center; gap: 18px; padding: 0 16px;
            font: 500 13px var(--font); color: #2A1715; background: rgba(255,255,255,.32);
            -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.desk-app { display: inline-flex; align-items: center; gap: 9px; }
.desk-app img { width: 16px; height: 16px; border-radius: 4px; }
.desk-app b { font-weight: 700; }
.desk-status { margin-left: auto; display: inline-flex; align-items: center; gap: 16px; }
.desk-status svg { height: 13px; width: auto; }
.desk-clock { font-variant-numeric: tabular-nums; }
.desk-icons { position: absolute; z-index: 1; top: 48px; right: 14px; width: 96px; display: flex; flex-direction: column; gap: 14px; }
.desk-icons figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.desk-icons figcaption { font: 500 11.5px/1.25 var(--font); color: #fff; text-align: center; text-shadow: 0 1px 2px rgba(80,10,8,.55); }
.desk-folder { width: 60px; height: 47px; filter: drop-shadow(0 2px 3px rgba(80,10,8,.2)); }
.desk-thumb { width: 62px; height: 39px; object-fit: cover; border-radius: 3px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(80,10,8,.3); margin: 4px 0; }
.desk-doc { width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 2px 6px rgba(80,10,8,.3); }
.desk-main { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; justify-content: center; padding: 26px 130px 96px; }
.desk #cutlet-demo { width: 100%; max-width: 1080px; height: 100%; min-height: 0;
                     box-shadow: 0 0 0 1px rgba(23,25,29,.18), 0 2px 4px rgba(23,25,29,.06), 0 30px 70px -20px rgba(70,8,6,.55); }
.desk #cutlet-demo.cd:not(.light) { box-shadow: 0 0 0 1px rgba(23,25,29,.6), 0 30px 70px -20px rgba(40,4,3,.7); }
.desk-dock { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
             padding: 7px 8px; border-radius: 22px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.55);
             -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
             box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 30px -10px rgba(80,10,8,.4);
             opacity: var(--dock, 1); transform: translateX(-50%) translateY(calc((1 - var(--dock, 1)) * 90px)) scale(calc(.9 + var(--dock, 1) * .1)); }
.dk { position: relative; width: 52px; height: 52px; display: grid; place-items: center; transition: transform .3s var(--spring);
      filter: drop-shadow(0 1px 1px rgba(60,10,8,.18)) drop-shadow(0 4px 6px rgba(60,10,8,.16)); }
.dk svg { width: 100%; height: 100%; display: block; }
.dk:hover { transform: translateY(-6px) scale(1.08); }
.dk img { width: 100%; height: 100%; }
.dk-cutlet { overflow: visible; }
.dk-cutlet img { border-radius: 12px; }
.dk-cutlet::after { content: ""; position: absolute; bottom: -6px; width: 4px; height: 4px; border-radius: 50%; background: rgba(42,23,21,.7); }
.dk-sep { width: 1px; height: 40px; background: rgba(42,23,21,.18); margin: 0 3px; }
@media (max-width: 1100px) { .desk-icons { display: none; } .desk-main { padding: 22px 28px 92px; } }
@media (max-width: 760px) {
  .stage { width: calc(100% - 16px); }
  .desk { padding: 6px; border-radius: 18px; }
  .desk::after { padding: 6px; }
  .desk-screen { height: auto; border-radius: 13px; }
  .desk-menu, .desk-dock, .desk-status svg { display: none; }
  .desk-bar { height: 26px; font-size: 12px; }
  .desk-main { padding: 12px 8px 14px; }
  .desk #cutlet-demo { height: auto; min-height: 560px; }
}
.cd-hint kbd { background: var(--paper); }
.demo-foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.demo-foot .cd-hint { margin: 0; }
.mode-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.mode-switch button { border: 0; background: transparent; font: 500 12.5px var(--font); color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.mode-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }


/* ------------------------------------------------------------ the trim (a recording as a sound wave) */
.trim { max-width: 980px; margin: 0 auto; padding: 150px 24px 140px; text-align: center; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 18px; }
.trim-title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 auto 44px; max-width: 14em; text-wrap: balance; }
.trim-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 22px; text-align: left;
             box-shadow: 0 1px 0 rgba(23,25,29,.03), 0 24px 60px -28px rgba(23,25,29,.22); }
.trim-top { display: flex; justify-content: flex-end; align-items: center; font: 500 12px var(--mono); color: var(--muted-2); margin: 0 2px 14px; }
.trim-time { color: var(--ink); font-variant-numeric: tabular-nums; }
.trim-lane { display: flex; justify-content: center; gap: 4px; background: #F3F4F6; border-radius: 12px; padding: 6px; }
.seg { flex: var(--w) 1 0; min-width: 0; overflow: hidden; position: relative; border-radius: 8px; padding: 10px 6px 8px;
       background: #fff; border: 1px solid #E3E5E9;
       transition: flex-grow .7s var(--ease) .3s, padding .7s var(--ease) .3s, opacity .35s ease .3s, border-color .2s, background .2s; }
.wave { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.wave i { flex: 1; max-width: 4px; border-radius: 2px; background: #C9CDD3; height: var(--h); transition: background .2s; }
.said { display: block; margin-top: 8px; font: 500 12.5px var(--font); color: var(--muted); white-space: nowrap; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.seg.keep { flex: 0 0 calc(var(--w) / 13.4 * 100% - 4px); background: var(--pink-soft); border-color: #EDB7BD; transition: flex-basis .8s var(--ease) .35s, box-shadow .4s; }
.seg.keep .wave i { background: var(--red); }
.seg.keep .said { color: #A8211A; font-weight: 600; }
/* Snipped: marked in red, then it closes up. */
.seg.waffle::before, .seg.waffle::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); opacity: 0; transition: opacity .15s; }
.seg.waffle::before { left: 0; } .seg.waffle::after { right: 0; }
.seg.cut { flex-grow: 0; padding-left: 0; padding-right: 0; opacity: 0; border-color: #F3B4B4; background: #FDF1F2; margin: 0 -2px; }
.seg.cut::before, .seg.cut::after { opacity: 1; }
.seg.cut .wave i { background: #F0B8BD; }
.trim-lane.done .seg.keep { flex-basis: 44%; box-shadow: 0 0 0 3px rgba(214,41,32,.12); }
.trim-after { max-width: 460px; margin: 30px auto 0; color: var(--muted); font-size: 18px; opacity: 0; transform: translateY(8px);
              transition: opacity .5s ease, transform .5s var(--ease); }
.trim-after.show { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .trim { padding: 100px 16px 90px; }
  .trim-card { padding: 14px 12px 16px; }
  .trim-lane { gap: 3px; padding: 4px; }
  .seg { padding: 8px 3px 6px; }
  .wave { height: 40px; gap: 1px; }
  .said { font-size: 10px; }
}

/* ------------------------------------------------------------ hairline grids */
.grid-section { max-width: var(--max); margin: 0 auto; background: var(--paper); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.grid-head { padding: 72px 40px 40px; border-bottom: 1px solid var(--line); }
.grid-head h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.045em; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); }
.cell { padding: 36px 36px 30px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.cell:nth-child(3n) { border-right: 0; }
.cell h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.cell p { margin: 0 0 26px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.mini { margin-top: auto; height: 210px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden;
        box-shadow: 0 1px 0 rgba(23,25,29,.03), 0 20px 40px -30px rgba(23,25,29,.3); }

/* Reveal: cells fade up once as they come into view. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Mini: auto zoom */
.mz-screen { position: absolute; inset: 16px 16px 58px; border-radius: 8px; background: var(--pink-soft); overflow: hidden; }
.mz-inner { position: absolute; inset: 0; transform-origin: 66% 62%; }
.in .mz-inner { animation: mz-zoom 5s var(--ease) infinite; }
.mz-btn { position: absolute; left: 56%; top: 54%; width: 22%; height: 16%; border-radius: 99px; background: var(--ink); }
.mz-line { position: absolute; left: 12%; height: 8%; border-radius: 99px; background: #F2C6CA; }
.mz-line.l1 { top: 18%; width: 52%; } .mz-line.l2 { top: 32%; width: 34%; } .mz-line.l3 { top: 46%; width: 44%; }
.mz-cursor { position: absolute; left: 20%; top: 80%; width: 12px; height: 16px; background: var(--ink); clip-path: polygon(0 0, 0 78%, 22% 60%, 36% 92%, 50% 86%, 36% 56%, 62% 56%); }
.in .mz-cursor { animation: mz-cursor 5s var(--ease) infinite; }
@keyframes mz-cursor { 0% { left: 20%; top: 80%; } 30%, 100% { left: 64%; top: 60%; } }
@keyframes mz-zoom { 0%, 32% { transform: scale(1); } 46%, 78% { transform: scale(1.7); } 92%, 100% { transform: scale(1); } }
.mz-lane { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 26px; border-radius: 6px; background: #F1F2F4; }
.mz-block { position: absolute; left: 34%; width: 44%; top: 0; bottom: 0; border-radius: 6px; background: var(--red); color: #fff;
            font: 500 11px/26px var(--mono); text-align: center; font-style: normal; }
.mz-head { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); left: 0; }
.in .mz-head { animation: mz-head 5s linear infinite; }
@keyframes mz-head { from { left: 0; } to { left: 100%; } }

/* Mini: smooth cursor */
.mini-cursor svg { position: absolute; inset: 20px 10px 30px; width: calc(100% - 20px); height: calc(100% - 50px); }
.mini-cursor .jitter { fill: none; stroke: #C9CCD2; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 4 5; }
.mini-cursor .smooth { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.in .mini-cursor .smooth { animation: draw 2.4s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mini-cursor .dot { fill: var(--ink); offset-path: path("M20 120 C 90 100, 120 40, 250 28"); offset-distance: 0%; }
.in .mini-cursor .dot { animation: ride 3.2s var(--ease) infinite alternate; }
@keyframes ride { to { offset-distance: 100%; } }
.mc-label { position: absolute; bottom: 12px; font: 500 11px var(--mono); color: var(--muted-2); }
.mc-label.a { left: 16px; } .mc-label.b { right: 16px; }
.mc-label { transition: color .2s; } .mc-label.on { color: var(--red); }

/* Mini: draggable camera bubble */
.mcam-screen { position: absolute; inset: 0; background: linear-gradient(135deg, #EEF0F3, #DADDE3); }
.mcam-screen .mz-line { background: #fff; left: 10%; }
.mcam-bubble { position: absolute; width: 70px; height: 70px; border-radius: 50%; right: 18px; bottom: 18px; cursor: grab; touch-action: none;
               background: radial-gradient(circle at 50% 35%, #E36A62, #B3241D); border: 3px solid #fff; box-shadow: 0 10px 24px -8px rgba(23,25,29,.45);
               display: grid; place-items: end center; overflow: hidden; transition: box-shadow .15s; }
.mcam-bubble:active { cursor: grabbing; box-shadow: 0 16px 30px -8px rgba(23,25,29,.55); }
.mcam-bubble svg { width: 78%; }

/* Mini: frames */
.mini-frame { display: flex; flex-direction: column; }
.mf-seg { display: flex; margin: 12px 12px 0; padding: 2px; border-radius: 9px; background: #F1F2F4; }
.mf-seg button { flex: 1; border: 0; background: transparent; padding: 5px 0; border-radius: 7px; font: 500 11.5px var(--font); color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.mf-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mf-stage { flex: 1; position: relative; display: grid; place-items: center; background: linear-gradient(135deg, #F3F4F6, #D9DCE2); margin: 10px 12px 12px; border-radius: 8px; overflow: hidden; }
.mf-device { width: 62%; aspect-ratio: 16 / 10; border-radius: 6px; background: #fff; box-shadow: 0 12px 24px -12px rgba(23,25,29,.45); overflow: hidden;
             display: flex; flex-direction: column; transition: all .45s var(--ease); }
.mf-bar { height: 14px; background: #ECECEF; display: flex; align-items: center; gap: 3px; padding: 0 6px; flex: none; transition: height .3s var(--ease); overflow: hidden; }
.mf-bar i { width: 5px; height: 5px; border-radius: 50%; background: #FF5F57; } .mf-bar i:nth-child(2) { background: #FEBC2E; } .mf-bar i:nth-child(3) { background: #28C840; }
.mf-bar b { flex: 1; height: 6px; margin: 0 12%; border-radius: 9px; background: #fff; transition: opacity .3s; }
.mf-screen { flex: 1; background: url("assets/marbling-texture.jpg") center / cover; }
.mf-base { position: absolute; height: 6px; width: 74%; border-radius: 0 0 6px 6px; background: #C4C8CF; top: calc(50% + 31%*.625/2 + 30px); opacity: 0; transition: opacity .3s; }
.mf-stage[data-frame="none"] .mf-bar { height: 0; }
.mf-stage[data-frame="none"] .mf-device { border-radius: 8px; width: 70%; }
.mf-stage[data-frame="window"] .mf-bar b { opacity: 0; }
.mf-stage[data-frame="laptop"] .mf-bar { height: 0; }
.mf-stage[data-frame="laptop"] .mf-device { border: 6px solid #1C1D20; border-radius: 9px; width: 64%; }
.mf-stage[data-frame="laptop"] .mf-base { opacity: 1; }

/* Mini: cutting */
.mcut-lane { position: absolute; left: 16px; right: 16px; top: 64px; height: 54px; display: flex; gap: 0; }
.mcut-lane .p { display: block; height: 100%; border-radius: 7px; background: #F6CDD1; border: 1px solid #E9A3AA; transition: all .6s var(--ease); }
.p1 { flex: 3; } .p2 { flex: 2; background-color: #EDEEF1 !important; border-color: #D5D8DE !important; } .p3 { flex: 4; }
.mcut-lane .p.film { background-size: auto 100%; background-repeat: repeat-x; background-position: left center; border-color: rgba(23,25,29,.18) !important; overflow: hidden; }
.mcut-lane .p2.film { filter: saturate(.4) brightness(1.04); }
.mini-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.in .mcut-lane .p2 { animation: drop 4.5s var(--ease) infinite; }
@keyframes drop { 0%, 30% { flex: 2; opacity: 1; margin: 0 3px; transform: none; } 45% { transform: translateY(14px) rotate(4deg); opacity: 0; } 55%, 85% { flex: 0.0001; opacity: 0; margin: 0; transform: translateY(14px); } 100% { flex: 2; opacity: 1; margin: 0 3px; transform: none; } }
.mcut-scissors { position: absolute; top: -26px; left: 0; font-size: 20px; color: var(--red); font-style: normal; }
.in .mcut-scissors { animation: snip 4.5s var(--ease) infinite; }
@keyframes snip { 0% { left: 10%; } 15%, 22% { left: 31%; } 30%, 100% { left: 56%; } }
.mcut-ruler { position: absolute; left: 16px; right: 16px; top: 132px; display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--muted-2); }

/* Mini: break card */
.mini-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.mcard { flex: 1; border-radius: 9px; background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 20px;
         transition: background .3s, color .3s; min-height: 0; }
.mcard-title { font-size: 28px; font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; word-break: break-word; }
.mcard-sub { font-size: 12px; opacity: .75; margin-top: 4px; }
.mcard-input { height: 32px; border-radius: 8px; border: 1px solid var(--line); padding: 0 10px; font: inherit; font-size: 14px; background: var(--bg); }
.mcard-input:focus { outline: none; border-color: var(--ink); }
.mcard-swatches { display: flex; gap: 8px; }
.mcard-swatches button { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); cursor: pointer; padding: 0; }
.mcard-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

/* The rest of it */
.rest { display: grid; grid-template-columns: repeat(4, 1fr); }
.rest > div { padding: 30px 32px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.rest > div:nth-child(4n) { border-right: 0; }
.rest > div:hover { background: var(--tint); }
.rest h3 { font-size: 17px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.rest .d { width: 8px; height: 8px; border-radius: 50%; background: var(--d); flex: none; }
.rest p { margin: 0; color: var(--muted); font-size: 14.5px; }


/* Private: an ink panel with a cut of the marbling poking in from the corner. */
.private-wrap { max-width: var(--max); margin: 0 auto; padding: 100px 24px; }
.private { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); color: #fff; padding: 80px 64px; }
.private::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 320px; background: url("assets/marbling-texture.jpg") center / cover;
                  border-radius: 44% 52% 40% 50% / 50% 40% 56% 44%; transform: rotate(-12deg); opacity: .95; }
.private h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.045em; max-width: 12em; position: relative; z-index: 1; }
.private p { color: #A7ABB3; font-size: 19px; max-width: 30em; margin: 20px 0 0; position: relative; z-index: 1; }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto 100px; padding: 48px 48px 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.faq-wrap h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.045em; margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 500; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted-2); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Download */
.cta { text-align: center; padding: 100px 24px 120px; }
.cta-icon { width: 84px; height: 84px; margin: 0 auto 22px; filter: drop-shadow(0 24px 30px rgba(150, 30, 25, .3)); transition: transform .4s var(--ease); }
.cta-icon:hover { transform: rotate(-6deg) scale(1.05); }
.cta h2 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.05em; line-height: 1; }
.cta p { color: var(--muted); margin: 20px auto 30px; max-width: 30em; }
.cta-lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.03em; color: var(--ink) !important; margin: 0 auto 14px !important; }
.cta-tag { font-size: clamp(42px, 6.4vw, 92px) !important; letter-spacing: -0.06em; line-height: .95; max-width: none; margin: 0 auto; }
.morph { color: var(--red); white-space: nowrap; }
.morph .m { display: inline-block; font-size: .8em; transform: translateY(-.05em); }

.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 26px 28px 36px; display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 13px; }
.footer img { height: 28px; width: auto; opacity: .9; }


/* ------------------------------------------------------------ smaller screens */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .cells { grid-template-columns: 1fr 1fr; }
  .cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .cell:nth-child(2n) { border-right: 0; }
  .rest { grid-template-columns: 1fr 1fr; }
  .rest > div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 620px) {
  .hero { padding-top: 130px; }
  .cells, .rest { grid-template-columns: 1fr; }
  .cell, .rest > div { border-right: 0 !important; }
  .grid-head { padding: 52px 24px 28px; }
  .cell { padding: 28px 22px; }
  .private { padding: 48px 28px 160px; }
  .faq-wrap { margin: 0 14px 72px; padding: 32px 22px 24px; }
}

/* Less motion: everything simply appears. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .desk { transform: none !important; }
}

/* ------------------------------------------------------------ features in the dark
   When the features reach the middle of the screen the whole page washes to ink (the grid paper
   disappears under it) and the section turns light-on-dark. site.js toggles body.ink. */
.ink-wash { position: fixed; inset: 0; z-index: -1; background: #111317; opacity: 0; pointer-events: none; transition: opacity .8s var(--ease); }
body.ink .ink-wash { opacity: 1; }
#features, #features .grid-head, #features .cell, #features .muted, #features .cell p, #features .mini,
#features .mz-lane, #features .mf-seg, #features .mf-seg button, #features .mcard-input {
  transition: background-color .8s var(--ease), border-color .8s var(--ease), color .8s var(--ease), box-shadow .8s var(--ease); }
body.ink #features { background: transparent; border-color: rgba(255,255,255,.08); color: #F5F6F8; }
body.ink #features .grid-head, body.ink #features .cell { border-color: rgba(255,255,255,.08); }
body.ink #features .muted { color: #6E737C; }
body.ink #features .cell p { color: #A7ABB3; }
body.ink #features .mini { background: #1B1D21; border-color: rgba(255,255,255,.09); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
body.ink #features .mz-lane, body.ink #features .mf-seg { background: #2A2D33; }
body.ink #features .mf-seg button { color: #A7ABB3; }
body.ink #features .mf-seg button[aria-pressed="true"] { background: #F5F6F8; color: #17191D; }
body.ink #features .mz-head { background: #F5F6F8; }
body.ink #features .mcard-input { background: #25272C; border-color: #3A3D44; color: #F5F6F8; }
body.ink #features .mcard-input:focus { border-color: #F5F6F8; }
body.ink #features .mcard-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px #1B1D21, 0 0 0 4px #F5F6F8; }
body.ink #features .mcut-ruler, body.ink #features .mc-label:not(.on) { color: #6E737C; }
body.ink #features .mcard-swatches button { border-color: rgba(255,255,255,.28); }

/* ------------------------------------------------------------ features as a bento box
   Six rounded tiles with gaps instead of hairline cells: one big zoom tile, cursor and camera
   stacked beside it, then frames, cutting and cards across the bottom. Graphite tiles on the ink. */
#features { background: transparent; border: 0; max-width: 1240px; padding: 0 24px 40px; }
#features .grid-head { border: 0; padding: 72px 16px 40px; }
.bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(330px, auto); gap: 14px; }
#features .bento .cell { border: 1px solid var(--line); border-radius: 26px; background: var(--paper); padding: 30px 30px 24px;
  box-shadow: 0 1px 0 rgba(23,25,29,.03), 0 24px 48px -36px rgba(23,25,29,.35); overflow: hidden; position: relative; }
.bento .b-zoom   { grid-column: 1 / 5; grid-row: 1 / 3; }
.bento .b-cursor { grid-column: 5 / 7; grid-row: 1; }
.bento .b-camera { grid-column: 5 / 7; grid-row: 2; }
.bento .b-frames { grid-column: 1 / 3; }
.bento .b-cut    { grid-column: 3 / 5; }
.bento .b-card   { grid-column: 5 / 7; }
.bento .cell .mini { flex: 1 1 auto; height: auto; min-height: 190px; border-radius: 16px; }
.bento .b-zoom h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 10px; }
.bento .b-zoom p { font-size: 16.5px; max-width: 34em; }
.bento .b-zoom .mini { min-height: 420px; }
/* Tiles rise in one after another (and still fade with the ink). */
#features .bento .cell { transition: opacity .6s ease, transform .8s var(--ease), background-color .8s var(--ease), border-color .8s var(--ease), box-shadow .8s var(--ease); }
.bento .cell.reveal:nth-child(2) { transition-delay: .06s; } .bento .cell.reveal:nth-child(3) { transition-delay: .12s; }
.bento .cell.reveal:nth-child(4) { transition-delay: .08s; } .bento .cell.reveal:nth-child(5) { transition-delay: .14s; }
.bento .cell.reveal:nth-child(6) { transition-delay: .2s; }
/* A soft light in the top corner of each tile, only on the ink. */
#features .bento .cell::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 70% at 0% 0%, rgba(255,255,255,.06), transparent 60%); transition: opacity .8s var(--ease); }
body.ink #features .bento .cell::before { opacity: 1; }
body.ink #features .bento .cell { background: #1A1C20; border-color: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 60px -40px rgba(0,0,0,.9); }
body.ink #features .bento .mini { background: #222429; border-color: rgba(255,255,255,.06); box-shadow: none; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(320px, auto); }
  .bento .cell { grid-column: auto !important; grid-row: auto !important; }
  .bento .b-zoom { grid-column: 1 / -1 !important; }
  .bento .b-zoom .mini { min-height: 300px; }
}
@media (max-width: 620px) {
  #features { padding: 0 12px 24px; }
  #features .grid-head { padding: 52px 12px 28px; }
  .bento { grid-template-columns: 1fr; gap: 10px; }
  #features .bento .cell { padding: 24px 20px 18px; border-radius: 22px; }
}

/* ------------------------------------------------------------ the rest, as a butcher's price list
   Stays on the ink under the bento: name, dotted leader, a little price-tag fact, one line below. */
.pricelist-wrap { max-width: 1240px; margin: 0 auto; padding: 60px 40px 120px; color: var(--ink); transition: color .8s var(--ease); }
.pl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 18px; }
.pl-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -0.04em; }
.pl-head p { margin: 0; font: 500 13px var(--mono); letter-spacing: .02em; color: var(--muted); text-transform: uppercase; }
.pricelist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.pricelist li { padding: 22px 0 20px; border-bottom: 1px dashed var(--line); }
.pl-row { display: flex; align-items: baseline; gap: 12px; }
.pl-row h3 { font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.pl-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted var(--muted-2); transform: translateY(-4px); opacity: .6; }
.pl-tag { font: 500 12px/1 var(--mono); white-space: nowrap; padding: 6px 9px 5px; border-radius: 6px; color: #A8211A;
  background: linear-gradient(#FDF0F1, #F7D3D7); border: 1px solid #E9AEB5; transform: rotate(-1.5deg); transition: transform .25s var(--ease); }
.pricelist li:nth-child(even) .pl-tag { transform: rotate(1.2deg); }
.pricelist li:hover .pl-tag { transform: rotate(0) scale(1.06); }
.pricelist p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.pricelist li.reveal:nth-child(even) { transition-delay: .06s; }
.pricelist-wrap .pl-head p, .pricelist-wrap .pricelist p, .pricelist li, .pl-dots, .pl-tag {
  transition: color .8s var(--ease), border-color .8s var(--ease), background .8s var(--ease), transform .25s var(--ease), opacity .6s ease; }
body.ink .pricelist-wrap { color: #F5F6F8; }
body.ink .pl-head p, body.ink .pricelist p { color: #8E939B; }
body.ink .pricelist li { border-color: rgba(255,255,255,.1); }
body.ink .pl-dots { border-color: #4A4E56; opacity: 1; }
body.ink .pl-tag { color: #F7C9CE; background: linear-gradient(rgba(240,184,189,.16), rgba(214,41,32,.16)); border-color: rgba(240,184,189,.28); }
@media (max-width: 760px) {
  .pricelist-wrap { padding: 40px 22px 80px; }
  .pricelist { grid-template-columns: 1fr; }
  .pl-row h3 { font-size: 17px; }
}
