/* NineToFlow phone layout, his pick "2" on the options page (26 Nov 2026). His words: the site looks "cramped" on
   mobile next to x.ai/bot, and the apps "don't really fit the phone version". Measured against x.ai/bot on the same
   390 px phone: their sections sit 160 px apart (ours were 80), body text is 16 px on 26 px lines (ours 15 to 15.6 on
   24), cards have 24 px corners and padding (ours 18 and 22). Phones only (700 px and under); laptops do not change.
   This file loads last on every page, so it sits where the options page laid it: on top of everything else.
   Rig and shots: checks/mobile-20261126/ (options/opt2-apps.css is the version he picked). */

/* Room: spacing and type, every layout and word kept. */
@media (max-width:700px){
  :root{--sec:120px}
  .b-lead,.p-copy,#connect .lead,.hs-who>p:not(.b-k),.b-faq-head>p:not(.b-k),.mk-card .mk-say,.gw-copy p{font-size:16px;line-height:1.62}
  .p-card p:last-child,.p-steps p,.b-rp,.p-rel-d,.p-guide-d,.b-plan-b p,.t-test p,.p-compare p{font-size:16px;line-height:1.6}
  .b-blue p:not(.b-k){line-height:1.6}
  .b-faq-list .faq-a p{font-size:16px;line-height:1.75}
  .d2{line-height:1.15;letter-spacing:-.02em}
  .d2 .ln,.b-giant .ln,.hs-who h3{text-wrap:balance}
  .p-h1{line-height:1.1;letter-spacing:-.03em}
  .b-giant{font-size:34px;line-height:1.08;letter-spacing:-.03em}
  .mk-grid{gap:24px}
  .mk-card{border-radius:24px}
  .mk-text{padding:24px 24px 0}
  .gw-cards{gap:24px}
  .gw-card{--pad:24px;gap:20px;border-radius:24px}
  .gw-card h3{font-size:24px;line-height:1.2;letter-spacing:-.02em;text-wrap:balance}
  /* Next step: 40 px wrapped into 4 tight lines on a phone; 30 px keeps it to 3. */
  .b-send-h{font-size:30px;line-height:1.2;letter-spacing:-.01em}
  .b-send-h .ln{text-wrap:balance}
}

/* Apps fit: the hero window grows from 306 to 358 px at 390 and its chat text to 14 px; the 4 app pills sit in an even
   2 x 2; How we work's three numbers (27, 3 jobs, 100%) read as rows instead of three 56 px figures. */
@media (max-width:700px){
  .hero-stage{margin-top:40px;padding:0 8px}
  .hero .stage{padding:8px 8px 14px;border-radius:24px}
  #win .msg,#win .reply-t,#win .done b,#win .ap-file span,#win .wc-ph,#win .l2-leads .rows li>span{font-size:14px}
  #win .reply-h,#win .st b,#win .time span,#win .ap-done,#win .done em,#win .ap-file em,#win .card-h,#win .l2-leads .rows em,#win .l2-why{font-size:13px}
  .hero-pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
  .hp{justify-content:center;height:40px;font-size:14px}
  .hero-cap{width:auto;min-height:calc(3 * 1.4em + 18px);display:flex;align-items:center;justify-content:center;margin-top:8px}
  .gw-stats{gap:0;margin-top:56px;text-align:left}
  .gw-stats li{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center;column-gap:16px;padding:18px 0;border-top:1px solid rgba(255,255,255,.12)}
  .gw-stats li:last-child{border-bottom:1px solid rgba(255,255,255,.12)}
  .gw-num{font-size:40px}
  .gw-stats span{max-width:none;margin:0;font-size:15px;line-height:1.5}
}
/* Under 390 px the caption gets a fourth line and the two big headings scale with the screen, so no word breaks. */
@media (max-width:389px){
  .hero-cap{min-height:calc(4 * 1.4em + 18px)}
  #hero-title{font-size:min(36px,calc((100vw - 40px) / 9.6))}
  #intro-title{font-size:min(34px,calc((100vw - 40px) / 9.6))}
}
@media (max-width:359px){.hp{font-size:13px;padding:0 10px}}
