/* The home page on phones (9 Nov 2026, third version). Apple's structure, Vigil's yellow: a few words, the real app big
   and centred, a swipe row of real clips, three full-width tiles, prices. Computers keep the full home page. */
.mhome{display:none}
/* phones: every page with a phone version uses it; computers: the home page only (10 Nov 2026) */
@media (max-width:760px){.mpage main>*:not(.mhome):not(.mkeep){display:none!important}.mpage .mhome{display:block}}
@media (min-width:761px){.p-index main>*:not(.mhome){display:none!important}.p-index .mhome{display:block}}
@media all{
  .p-index .mbar{display:none}.p-index{padding-bottom:0}
  .mhome h1,.mhome h2{font-family:Archivo,system-ui,sans-serif;font-weight:900;letter-spacing:-.035em;line-height:1;margin:0}
  .mhome h2{font-size:clamp(34px,10vw,44px)}

  /* the phone frame: one size rule, always centred */
  .mh-dev{width:min(64vw,270px);margin:0 auto;aspect-ratio:390/844;border-radius:44px;padding:9px;background:#111;box-shadow:0 40px 80px -30px rgba(0,0,0,.55)}
  .mh-dev video{display:block;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:35px;background:#fff}
  .mh-dev.sm{width:min(56vw,230px);border-radius:38px;padding:8px;background:#000}
  .mh-dev.sm video{border-radius:30px}

  /* hero */
  .mh-hero{background:var(--brand);color:var(--ink);text-align:center;padding:44px 20px 0;overflow:hidden}
  .mh-hero h1{font-size:clamp(46px,14vw,60px);max-width:7.5em;margin:0 auto}
  .mh-hero>p{font-size:18px;margin:14px auto 0;max-width:20em;color:#3a3a36}
  .mh-ctas{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:22px}
  .mh-link{display:inline-block;padding:10px 0;font-weight:800;color:var(--ink);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
  .mh-hero .mh-dev{margin-top:36px;margin-bottom:-24%;border-radius:44px 44px 0 0;padding-bottom:0}
  .mh-hero .mh-dev video{border-radius:35px 35px 0 0}

  /* highlights */
  .mh-high{background:var(--row);padding:56px 0 34px}
  .mh-high h2{padding:0 20px;margin-bottom:22px}
  .mh-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .mh-row::-webkit-scrollbar{display:none}
  .mh-card{flex:0 0 84%;scroll-snap-align:center;background:#111;color:#f4f4f1;border-radius:28px;padding:26px 0 0;overflow:hidden;display:flex;flex-direction:column;min-height:min(132vw,560px)}
  .mh-card>p{font:800 21px/1.25 Archivo,system-ui,sans-serif;letter-spacing:-.01em;padding:0 24px;margin:0}
  .mh-card>p span{display:block;color:#a8a8a0;font-weight:700}
  .mh-card .mh-dev{margin-top:auto;margin-bottom:-18%;border-radius:38px 38px 0 0;padding-bottom:0;transform:translateY(8px)}
  .mh-card .mh-dev video{border-radius:30px 30px 0 0}
  .mh-card:nth-child(3n+2){background:var(--brand);color:var(--ink)}.mh-card:nth-child(3n+2)>p span{color:#4a4a44}
  .mh-ctl{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px}
  .mh-dots{display:flex;gap:7px;background:rgba(0,0,0,.08);border-radius:999px;padding:9px 12px}
  .mh-dots i{width:7px;height:7px;border-radius:4px;background:#9a9a94;transition:width .3s,background .3s;position:relative;overflow:hidden}
  .mh-dots i.on{width:34px;background:#c9c9c2}
  .mh-dots i.on::after{content:"";position:absolute;inset:0;background:var(--fg);transform-origin:left;transform:scaleX(var(--p,0))}
  .mh-pp{width:44px;height:44px;border-radius:50%;border:0;background:rgba(0,0,0,.08);display:grid;place-items:center;cursor:pointer;color:var(--fg)}
  .mh-pp i{width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}
  .mh-pp.paused i{width:0;height:0;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent currentColor;border-right:0;margin-left:3px}

  /* tiles */
  .mh-tiles{display:flex;flex-direction:column;gap:12px;padding:12px}
  .mh-tile{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:28px;padding:40px 22px 0;text-decoration:none;color:var(--fg);background:var(--row);overflow:hidden;min-height:440px}
  .mh-tile h2{font-size:clamp(32px,9.5vw,40px)}
  .mh-tile>p{font-size:17px;margin:10px auto 0;max-width:19em;color:var(--muted)}
  .mh-more{display:inline-block;padding:10px 0;margin-top:4px;font-weight:800;color:var(--fg);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
  .mh-tile.yel{background:var(--brand);color:var(--ink)}.mh-tile.yel>p{color:#3a3a36}.mh-tile.yel .mh-more{color:var(--ink)}
  .mh-tile.dark{background:#111;color:#f4f4f1}.mh-tile.dark>p{color:#a8a8a0}.mh-tile.dark .mh-more{color:#f4f4f1}
  .mh-big{margin:auto 0 40px;padding-top:30px}
  .mh-big b{display:block;font:900 clamp(76px,24vw,104px)/1 Archivo,system-ui,sans-serif;letter-spacing:-.05em}
  .mh-big small{font-size:14px;font-weight:700}
  .mh-lap{margin-top:auto;width:118%;padding-top:30px;transform:translateX(9%)}
  .mh-lap img{display:block;width:100%;height:auto;border-radius:12px 0 0 0;border:6px solid #2c2c2a;border-bottom:0;border-right:0}
  .mh-rcpt{margin:auto 0 0;padding-top:30px;width:min(70vw,260px)}
  .mh-rcpt{background:#fff;color:#111;border-radius:6px 6px 0 0;padding:22px 20px 34px;margin-top:auto;box-shadow:0 20px 40px -14px rgba(0,0,0,.3);font-family:ui-monospace,Menlo,monospace;font-size:14px;text-align:left;
    -webkit-mask:linear-gradient(#000 90%,transparent)}
  .mh-rcpt p{display:flex;justify-content:space-between;gap:8px;margin:0 0 6px}
  .mh-rcpt s{color:#888}.mh-rcpt b{font-size:22px;font-family:Archivo,system-ui,sans-serif}
  .mh-rcpt .t{display:inline-block;background:var(--brand);border:2px solid #111;border-radius:6px;padding:2px 8px;font-family:Archivo,system-ui,sans-serif;font-weight:800;margin-top:8px}

  /* prices */
  .mh-price{padding:56px 20px 48px;text-align:center}
  .mh-plans{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0 16px}
  .mh-plans a{display:flex;flex-direction:column;gap:4px;border-radius:22px;padding:20px 12px;text-decoration:none;color:var(--fg);background:var(--row)}
  .mh-plans a.pro{background:var(--brand);color:var(--ink)}
  .mh-plans span{font-weight:800}
  .mh-plans b{font:900 32px Archivo,system-ui,sans-serif;letter-spacing:-.03em}
  .mh-price>p{color:var(--muted);font-size:16px;max-width:22em;margin:0 auto 20px}
  .mh-wide{width:100%;justify-content:center;padding:16px}
}
.mh-high{scroll-margin-top:64px}

/* the other phone pages (9 Nov 2026): Features, Vigil Pro, Prices, Tills */
@media (max-width:760px){
  .mpage .mbar{display:none}.mpage{padding-bottom:0}
  .mh-hero.plain{padding-bottom:40px}
  .mh-tile .mh-dev.in-tile{margin-top:auto;margin-bottom:-22%;padding-bottom:0;border-radius:38px 38px 0 0;transform:translateY(8px);margin-left:auto;margin-right:auto}
  .mh-tile .mh-dev.in-tile video,.mh-tile .mh-dev.in-tile img{border-radius:30px 30px 0 0}
  .mh-tile>.mh-dev.in-tile{padding-top:8px}
  .mh-tile:has(.in-tile)>p{margin-bottom:30px}
  .mh-dev.img img{display:block;width:100%;height:auto}
  .mh-tile.yel .mh-dev.sm{background:#111}
  .mh-tile{min-height:0;padding-bottom:0}
  .mh-tile:not(:has(.in-tile)):not(:has(.mh-lap)):not(:has(.mh-rcpt)):not(:has(.mh-lock)):not(:has(.mh-langs)){padding-bottom:34px}
  /* rules */
  .mh-rules{width:100%;margin-top:22px;display:flex;flex-direction:column;gap:8px;text-align:left}
  .mh-rules p{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;background:var(--bg);border-radius:16px;padding:12px 14px;margin:0;font-size:14px}
  .mh-rules b{width:100%;font-size:16px}
  .mh-rules i{font-style:normal;color:var(--muted)}
  .mh-rules .c{background:var(--brand);color:var(--ink);border:2px solid var(--ink);border-radius:8px;padding:1px 8px;font-weight:900;font-family:Archivo,system-ui,sans-serif}
  .mh-rules .c.d{background:var(--ink);color:var(--brand)}
  .mh-rules .c.x{background:#c0262d;color:#fff;border-color:#c0262d}
  /* chips */
  .mh-chips{list-style:none;margin:22px 0 0;padding:0;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left}
  .mh-chips li{background:var(--bg);border-radius:16px;padding:12px 12px;font-size:13px;color:var(--muted);line-height:1.35}
  .mh-chips b{display:block;color:var(--fg);font-size:15px;margin-bottom:2px}
  /* pro */
  .mh-big.hero{margin:22px 0 4px;padding:0}
  .mh-smart{margin:24px 0 34px;width:min(78vw,300px);background:#fff;color:#111;border-radius:22px;padding:18px;text-align:left;box-shadow:0 24px 50px -20px rgba(0,0,0,.6)}
  .mh-smart .h{font-weight:800;margin:0}
  .dots6{display:flex;gap:6px;margin:10px 0 6px}.dots6 i{width:22px;height:22px;border-radius:50%;background:var(--up)}
  .mh-smart .m{font-size:13px;color:#666;margin:0}
  .mh-smart .sug{display:flex;align-items:baseline;gap:10px;margin:12px 0 0}.mh-smart .sug s{color:#888;font-weight:700}.mh-smart .sug b{font:900 24px Archivo,system-ui,sans-serif}
  .mh-smart .use{margin:12px 0 0;background:#111;color:#fff;text-align:center;border-radius:999px;padding:10px;font-weight:800}
  .mh-bag{margin:26px 0 8px;width:min(64vw,240px);aspect-ratio:1/1.05;background:#c89b5f;border-radius:10px 10px 18px 18px;position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;padding:18px;color:#2b1d0c;text-align:left;
    box-shadow:inset 0 22px 0 -8px #b58548,0 24px 40px -18px rgba(0,0,0,.5)}
  .mh-bag b{font:900 22px Archivo,system-ui,sans-serif}.mh-bag span{font-weight:700;font-size:14px}
  .mh-fine{font-size:13px;color:inherit;opacity:.75;margin:6px 0 0}.mh-fine.c{text-align:center;padding:0 12px 20px}
  .mh-wx{margin:24px 0 0;width:100%;background:var(--bg);border-radius:18px;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:2px 12px;text-align:left;align-items:center}
  .mh-wx i{grid-row:span 2;width:40px;height:26px;border-radius:14px;background:#9fb7d4;position:relative}
  .mh-wx i::before{content:"";position:absolute;left:8px;top:-10px;width:22px;height:22px;border-radius:50%;background:#9fb7d4}
  .mh-wx b{font-size:16px}.mh-wx span{font-size:13px;color:var(--muted)}
  .mh-tills{list-style:none;margin:22px 0 10px;padding:0;width:100%;display:flex;flex-direction:column;gap:8px}
  .mh-tills li{display:flex;justify-content:space-between;align-items:center;background:var(--bg);border-radius:14px;padding:12px 14px;font-weight:800;color:var(--fg)}
  .mh-tills span{font-size:13px;font-weight:700;color:var(--muted)}
  .mh-tills li.ok span{background:var(--up);color:#fff;border-radius:999px;padding:3px 10px}
  .mh-tile.yel .mh-tills li{background:rgba(255,255,255,.55);color:var(--ink)}
  .mh-tile.dark .mh-rcpt,.mh-tile .mh-rcpt{margin-top:26px}
  /* tills */
  .mh-rcpt.big{margin:30px auto 0;width:min(76vw,290px)}
  .mh-steps{padding:52px 20px 20px}
  .mh-steps ol{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;counter-reset:s}
  .mh-steps li{counter-increment:s;background:var(--row);border-radius:20px;padding:18px 18px 18px 64px;position:relative;font-size:15px;color:var(--muted)}
  .mh-steps li::before{content:counter(s);position:absolute;left:16px;top:16px;width:34px;height:34px;border-radius:50%;background:var(--brand);color:var(--ink);display:grid;place-items:center;font:900 16px Archivo,system-ui,sans-serif}
  .mh-steps b{display:block;color:var(--fg);font-size:17px;margin-bottom:2px}
  /* prices */
  .mh-plan{align-items:stretch;text-align:left}
  .mh-plan .mh-big{margin:10px 0 6px;padding:0}.mh-plan .mh-big b{font-size:clamp(56px,17vw,72px)}
  .mh-list{list-style:none;margin:12px 0 18px;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
  .mh-list li{padding-left:24px;position:relative}
  .mh-list li::before{content:"";position:absolute;left:3px;top:6px;width:10px;height:6px;border-left:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(-45deg)}
  .mh-plan .mh-wide{margin-bottom:24px}
  .mh-plan .mh-tills{margin-top:0}
}
/* on yellow, buttons stay black and the outline stays dark in dark mode too */
@media all{
  .mh-hero .btn.dark,.mh-tile.yel .btn.dark{background:#111;color:#fff;border-color:#111}
  .mh-hero .mh-link{color:#111}
}
.mhome h1,.mhome h2,.mh-hero>p,.mh-tile>p,.mh-price>p{text-wrap:balance}

/* lighter (10 Nov 2026): no black blocks; black only for text, buttons and the phone frames */
.mh-high{background:#fff}
.mh-card{background:#f2f2ee;color:#111}
.mh-card>p span{color:#5c5c57}
.mh-card:nth-child(3n+2){background:var(--brand);color:var(--ink)}
.mh-tile.dark{background:#f2f2ee;color:#111}.mh-tile.dark>p{color:#5c5c57}.mh-tile.dark .mh-more{color:#111}
.mh-tile.dark .mh-dev.sm{background:#111}

/* the home page on computers: the same page, laid out wider */
@media (min-width:761px){
  .mh-hero{padding:72px 24px 0}
  .mh-hero h1{font-size:clamp(64px,7.4vw,104px);max-width:9.5em}
  .mh-hero>p{font-size:22px;max-width:28em;margin-top:18px}
  .mh-ctas{margin-top:28px}
  .mh-hero .mh-dev{width:340px;margin-top:56px;margin-bottom:-160px}
  .mh-dev{width:300px}
  .mh-high{padding:90px 0 60px}
  .mh-high h2,.mh-row{padding-left:max(24px,calc((100vw - 1180px)/2 + 24px));padding-right:max(24px,calc((100vw - 1180px)/2 + 24px))}
  .mhome h2{font-size:clamp(40px,4.2vw,56px)}
  .mh-high h2{margin-bottom:30px}
  .mh-row{scroll-padding-left:max(24px,calc((100vw - 1180px)/2 + 24px))}
  .mh-card{flex:0 0 380px;min-height:620px;scroll-snap-align:start;border-radius:32px}
  .mh-card>p{font-size:24px;padding:0 30px}
  .mh-dev.sm{width:250px}
  .mh-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1180px;margin:0 auto;padding:16px 24px}
  .mh-tile{min-height:560px;padding:56px 40px 0;border-radius:32px}
  .mh-tile.dark{grid-column:1/-1;min-height:600px;order:3}
  .mh-tile h2{font-size:clamp(36px,3.6vw,48px)}
  .mh-tile>p{font-size:19px}
  .mh-lap{width:84%;transform:none;margin-left:auto;margin-right:auto}
  .mh-lap img{border-radius:14px 14px 0 0;border:8px solid #2c2c2a;border-bottom:0}
  .mh-price{max-width:760px;margin:0 auto;padding:100px 24px 90px}
  .mh-plans a{padding:28px 16px}.mh-plans b{font-size:44px}
  .mh-wide{width:auto;padding:16px 40px;display:inline-flex}
}

/* More from Vigil (15 Nov 2026): what Pro includes, the languages, the phone lock, and everything in every plan */
.mh-inc{list-style:none;margin:22px auto 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:26em}
.mh-inc li{background:rgba(255,255,255,.6);color:var(--ink);border-radius:999px;padding:7px 14px;font-size:14px;font-weight:700}
.mh-langs{list-style:none;margin:auto 0 0;padding:28px 0 36px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:30em}
.mh-langs li{background:var(--bg);color:var(--fg);border-radius:999px;padding:8px 14px;font-size:15px;font-weight:700;line-height:1.2}
.mh-langs li:nth-child(4n+1){background:var(--brand);color:var(--ink)}
.mh-lock{margin:auto 0 0;padding:30px 0 0;display:flex;flex-direction:column;align-items:center;gap:6px;width:min(64vw,250px)}
.mh-lock{background:#111;color:#f4f4f1;border-radius:38px 38px 0 0;padding:44px 20px 52px;margin-top:auto;box-shadow:0 30px 60px -24px rgba(0,0,0,.5)}
.mh-tile .mh-lock{margin-top:30px}
.mh-lock svg{color:var(--brand);margin-bottom:10px}
.mh-lock b{font:800 20px/1.2 Archivo,system-ui,sans-serif}
.mh-lock span{font-size:14px;color:#a8a8a0}
.mh-every{max-width:1180px;margin:0 auto;padding:64px 20px 24px;text-align:center}
.mh-every>p{font-size:18px;color:var(--muted);margin:12px auto 0;max-width:28em}
.mh-grid{list-style:none;margin:30px 0 8px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left}
.mh-grid li{background:var(--row);border-radius:22px;padding:18px 16px;font-size:14px;line-height:1.4;color:var(--muted)}
.mh-grid b{display:block;color:var(--fg);font:800 17px/1.2 Archivo,system-ui,sans-serif;margin-bottom:6px}
@media (max-width:380px){.mh-grid{grid-template-columns:1fr}}
@media (min-width:761px){
  .mh-every{padding:110px 24px 40px}
  .mh-every>p{font-size:21px}
  .mh-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:44px}
  .mh-grid li{padding:28px 24px;border-radius:28px;font-size:15px;min-height:170px}
  .mh-grid b{font-size:20px;margin-bottom:10px}
  .mh-langs li{font-size:16px}
}
