/* The phone layout, option B, Adam's pick on 7 November 2026: the feature
   sections become one row of cards you swipe sideways, with the detail in a
   sheet. The site ran 20 screens on a phone against 13 on a computer.
   Everything here hangs off .ph, which is only set at phone sizes, so the
   computer layout does not move. */
.pshort,.pprivate,.pchips{display:none}

/* The header stays solid on a phone. See-through, the page ran behind the logo. */
.ph .top{background:var(--ground);pointer-events:auto;padding-top:10px;padding-bottom:10px}

.ph #highlights,.ph .rule,.ph .dots{display:none!important}
.ph section,.ph section.tight{padding:44px 0;scroll-margin-top:72px}
.ph .hero{padding-top:44px;padding-bottom:36px}
.ph h2{font-size:clamp(34px,10vw,42px);margin-bottom:10px}
.ph .split{gap:20px}
.ph .pshort{display:block;font-size:17px;line-height:1.45;color:var(--ink-mid);margin:0}
.ph .pprivate{display:block;color:var(--ink-mid);font-size:15px;margin:0 0 18px}
.ph .phone{--s:.6}
.ph main{padding-top:40px} /* Clears the fixed header. */

/* The cards wait for the script, so the long page never flashes first. */
.ph:not(.pready) main>section[data-card]{display:none}

/* The row of cards */
.ph .dk{padding:30px 0 26px}
.ph .dk-head{padding:0 var(--gutter) 12px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.ph .dk-head h2{font-size:30px;margin:0}
.ph .dk-n{font:500 13px var(--mono,monospace);color:var(--ink-soft);white-space:nowrap}
.ph .deck{position:relative;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px var(--gutter) 8px;scroll-padding:0 var(--gutter);scrollbar-width:none;align-items:stretch;-webkit-overflow-scrolling:touch}
.ph .deck::-webkit-scrollbar{display:none}
.ph .deck>section{flex:0 0 min(84vw,340px);scroll-snap-align:center;background:var(--surface);border:1px solid var(--hair);border-radius:22px;padding:18px 16px 14px;display:flex;flex-direction:column;overflow:hidden}
.ph .deck>section>.wrap{padding:0;width:100%;max-width:none;display:flex;flex-direction:column;flex:1;gap:8px}
.ph .deck .split{display:flex;flex-direction:column;gap:10px;flex:1}
.ph .deck .eyebrow{margin:0 0 4px}
.ph .deck h2{font-size:27px;margin-bottom:6px}
.ph .deck .pshort{font-size:15.5px}
.ph .deck .phone{--s:.4}
.ph .deck .shot{flex:1;align-items:flex-start;margin-bottom:8px}
.ph .deck .copy{order:0}
.ph .deck .gl-strip,.ph .deck .ex-timer{display:none}
.ph .deck .card.explain{padding:14px}
.ph .deck .ex-row{display:block}
.ph .pchips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.ph .pchips span{padding:7px 11px;border:1px solid var(--hair);border-radius:999px;font-size:13.5px;color:var(--ink-mid);white-space:nowrap}
.ph .pmbtn{order:9;margin-top:auto;width:100%;min-height:44px;background:transparent;border:0;border-top:1px solid var(--hair);color:var(--ink);font:600 15px var(--body,inherit);display:flex;justify-content:space-between;align-items:center;padding:0;cursor:pointer}
.ph .pmbtn::after{content:"\203A";color:var(--accent);font-size:22px}
/* The cards' names, all nine in rows of three, the computer's look a size smaller (Adam's pick B, 12 Nov 2026). */
.ph .dk-names{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 var(--gutter) 12px}
.ph .dk-names button{all:unset;box-sizing:border-box;cursor:pointer;text-align:center;padding:9px 4px;border:1px solid var(--hair);border-radius:12px;color:var(--ink);font-family:var(--display);font-weight:800;font-size:16px;line-height:1;text-transform:uppercase;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph .dk-names button.on{background:var(--raised);border-color:var(--accent);color:var(--accent)}
.ph .dk-names button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ph .dk-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
.ph .dk-dots i{width:6px;height:6px;border-radius:50%;background:var(--hair)}
.ph .dk-dots i.on{background:var(--accent)}

/* The detail, in a sheet that slides up */
.ph .sheet{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.55);display:none;align-items:flex-end}
.ph .sheet.on{display:flex}
.ph.sheet-open{overflow:hidden}
.ph .sheet>div{background:var(--surface);border-radius:22px 22px 0 0;max-height:82vh;overflow:auto;width:100%;box-sizing:border-box;padding:16px var(--gutter) calc(24px + env(safe-area-inset-bottom,0px));display:grid;gap:14px}
.ph .sh-top{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:17px;position:sticky;top:-16px;z-index:1;background:var(--surface);padding:6px 0}
.ph .sh-x{background:none;border:0;color:var(--accent);font:600 16px var(--body,inherit);min-height:44px;padding:0 0 0 16px;cursor:pointer}
.ph .sh-b{display:grid;gap:14px;min-width:0}
.ph .sheet .lede{font-size:16px;margin:0}
.ph .sheet .more{margin:0}

/* The detail that stays in the page */
.ph details.pm{order:9;border-top:1px solid var(--hair);margin-top:4px}
.ph details.pm>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:48px;font-weight:600;font-size:16px;color:var(--ink);cursor:pointer}
.ph details.pm>summary::-webkit-details-marker{display:none}
.ph details.pm>summary::after{content:"+";color:var(--accent);font-size:24px;font-weight:400;line-height:1}
.ph details.pm[open]>summary::after{content:"\2212"}
.ph details.pm>div{padding:4px 0 18px;display:grid;gap:14px;min-width:0}
.ph details.pm .lede{font-size:16px;margin:0}

/* Who it is for: the labels sit in the card, to the right of the phone
   (Adam, 7 November 2026). */
.ph .aud{display:block}
.ph .aud .pane.on{display:block;padding:16px 14px 4px}
.ph .aud .pane h3{font-size:23px;line-height:1.1;margin:0 0 12px}
.ph .pbody{display:flex;gap:10px;align-items:stretch}
.ph .pbody .shot{flex:none;display:block;order:0}
.ph .pbody .phone{--s:.5!important}
.ph .aud .pbody .list{flex:1;min-width:0;display:grid;grid-template-columns:1fr;grid-auto-rows:1fr;gap:6px;position:static;margin:0;padding:0;overflow:visible}
.ph .aud .pbody .list button{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:6px 8px;border:1px solid var(--hair);border-radius:12px;text-align:left;white-space:normal;display:flex;align-items:center}
.ph .aud .pbody .list button.on{background:var(--raised);border-color:var(--accent)}
.ph .aud .pbody .list button small{display:none}
.ph .aud .pbody .list button b{font-size:14px;line-height:1.08;margin:0}
.ph .aud .pane details.pm{margin-top:12px}

/* The narrowest phones */
@media(max-width:350px){
  .ph .pbody .phone{--s:.42!important}
  .ph .aud .pane.on{padding:14px 10px 4px}
  .ph .pbody{gap:8px}
  .ph .aud .pbody .list button{padding:5px 6px}
  .ph .aud .pbody .list button b{font-size:12.5px}
}
