/* CR-03 (08/11/2026): the homepage as a designed phone layout. Everything here sits inside max-width 640px and the
   .ic-page-home body class, so tablet and desktop are unchanged. No content is removed from the page source: purely
   decorative images and the hero overlays are hidden on phones, and the workflow they illustrated keeps its own
   section ("How an invoice moves") further down. */

@media (max-width:640px){
	/* Rhythm: one vertical spacing scale for every section on the phone homepage. */
	.ic-page-home .sec{padding-top:56px;padding-bottom:56px}
	.ic-page-home .sec-s{padding-top:32px;padding-bottom:48px}
	.ic-page-home .ic-section-head{margin-bottom:20px}
	.ic-page-home .h2{font-size:28px;line-height:1.2}

	/* Readable type: body copy at 16px or more. */
	.ic-page-home main .body,.ic-page-home main li,.ic-page-home main .ic-card p,.ic-page-home main .ic-inshort .body{font-size:16px;line-height:1.6}

	/* 1. Hero: eyebrow, headline, one short line, the two calls to action, then one photograph. */
	.ic-page-home .ic-hhero .split-l{gap:28px}
	.ic-page-home .ic-hhero .h1{font-size:34px;line-height:1.12}
	.ic-page-home .ic-hhero .lead{font-size:17px;line-height:1.55}
	.ic-page-home .ic-hhero .ic-lead-more{display:none}
	.ic-page-home .ic-hhero .ic-btnrow{flex-direction:column;align-items:stretch;gap:6px;margin-top:8px!important}
	.ic-page-home .ic-hhero .ic-btnrow .ic-btn:not(.outline){justify-content:center;width:100%}
	.ic-page-home .ic-hhero .ic-btnrow .ic-btn.outline{align-self:center;background:none;border-color:transparent;min-height:44px;padding:0 8px;text-decoration:underline;text-underline-offset:4px}
	/* Overlays never sit on Jenni's photo on a phone; the workflow has its own section below. */
	.ic-page-home .ic-hhero__portrait .ic-status,.ic-page-home .ic-hhero__portrait .ic-chips{display:none}
	.ic-page-home .ic-hhero__portrait{max-width:320px;margin:0 auto;justify-self:center}

	/* 2. In short: a calm, compact panel. */
	.ic-page-home .ic-section.ic-inshort{padding:8px 0 40px}
	.ic-page-home .ic-inshort>.wrap{padding:22px 20px;gap:12px}
	.ic-page-home .ic-inshort .h2{font-size:22px}
	.ic-page-home .ic-inshort .ic-ticks{gap:12px}

	/* 3. Credibility: a two by two grid instead of a long list. */
	.ic-page-home .ic-cred{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
	.ic-page-home .ic-cred__item{flex-direction:column;align-items:flex-start;gap:8px}
	.ic-page-home .ic-cred__item p{font-size:16px;line-height:1.45}

	/* 4. Problems: a light list with dividers rather than six heavy boxes; the decorative photo is dropped. */
	.ic-page-home .ic-hairgrid{border:0;gap:0}
	.ic-page-home .ic-hairgrid>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding:16px 0;border:0;border-bottom:1px solid var(--border-2);background:none}
	.ic-page-home .ic-hairgrid>div:last-child{border-bottom:0}
	.ic-page-home .ic-hairgrid .ic-ico{margin-top:3px}
	.ic-page-home .ic-hairgrid .body{margin:0}
	.ic-page-home .ic-section .ic-img.ic-landscape{display:none}

	/* 5. Three ways in: a swipeable row of cards, each nearly full width, with the next one peeking in. */
	.ic-page-home .ic-section:has(.ic-card.teal) .g3{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1 * var(--gutter));padding:6px var(--gutter) 16px;scroll-padding:0 var(--gutter);scrollbar-width:none}
	.ic-page-home .ic-section:has(.ic-card.teal) .g3::-webkit-scrollbar{display:none}
	.ic-page-home .ic-section:has(.ic-card.teal) .g3>.ic-card{flex:0 0 84%;scroll-snap-align:start;transform:none;translate:none}
	.ic-page-home .ic-section:has(.ic-card.teal) .ic-card__media{aspect-ratio:16/9}
	.ic-page-home .ic-section:has(.ic-card.teal) .ic-card__media img{height:100%;object-fit:cover}

	/* 6. How we work: the numbered steps stay; the decorative photo is dropped (rule 4 above). */
	.ic-page-home .ic-steps>li{gap:12px}

	/* 7. Jenni and the call to action band: photographs sized for a phone. */
	.ic-page-home .ic-portrait-frame{max-width:280px;margin:8px auto 0}
	.ic-page-home .ic-ctaband .arch{max-width:240px;margin:0 auto}
	.ic-page-home .ic-ctaband__inner{gap:28px}

	/* 8. Blog previews: compact rows with a small thumbnail instead of three tall cards. */
	.ic-page-home .ic-blog3{display:flex;flex-direction:column;gap:14px}
	.ic-page-home .ic-blog3 .ic-post-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border-radius:var(--radius-lg)}
	.ic-page-home .ic-blog3 .ic-post-card__media{aspect-ratio:1;width:96px;margin:0;border-radius:var(--radius-md)}
	.ic-page-home .ic-blog3 .ic-post-card h3{font-size:16px;line-height:1.35}

	/* 9. Tap targets: stand alone text links reach 44px. */
	.ic-page-home main a.ic-card__link,.ic-page-home main a.ic-carousel__more,.ic-page-home main .ic-carousel__more a{display:inline-flex;align-items:center;min-height:44px}
	.ic-page-home .ic-check{font-size:16px}
	.ic-page-home .ic-hhero .ic-hero__inner{display:flex;flex-direction:column;gap:14px}
	.ic-page-home .ic-inshort .body:has(+ .ic-ticks){margin-bottom:-4px}
}
/* Fix: where .wrap and .sec sit on one element (the closing call to action band on every page), .sec's "0" side
   padding removed the wrap's gutter, so text touched the screen edge below 961px. */
@media (max-width:960px){.wrap.sec,.wrap.sec-s{padding-left:var(--gutter);padding-right:var(--gutter)}}
/* The pill steps aside while the closing call to action band or the footer is on screen (cr03.js). */
body.ic-pill-rest .ic-sticky-cta{opacity:0;visibility:hidden;transform:translate(-50%,120%)}
