/* Shared atoms for the hand-built feature and shop pages: phone frame, controls, headings, the shop strip.
   Each page's own layout lives in css/f/<slug>.css; nothing here decides a page's composition. */
.tnum { font-variant-numeric: tabular-nums }

/* section headings and text, sized once so pages differ by layout, not by type chaos */
.h-xl { margin: 0; font: 800 clamp(40px, 5vw, 76px)/1.02 var(--font); letter-spacing: -0.035em; text-wrap: balance }
.h-l { margin: 0; font: 800 clamp(30px, 3.2vw, 50px)/1.06 var(--font); letter-spacing: -0.03em; text-wrap: balance }
.h-m { margin: 0; font: 800 clamp(22px, 1.9vw, 30px)/1.15 var(--font); letter-spacing: -0.02em }
.lead { margin: 18px 0 0; max-width: 34em; font-size: clamp(17px, 1.3vw, 20px); color: var(--muted) }
.eg { font-size: 13px; color: var(--faint) }                      /* "Example customer and amounts." */
.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gl) }
.sp { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(64px, 10vh, 120px) }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px }

/* phone frame drawn in CSS; its screen holds live HTML */
.dev { position: relative; width: min(330px, 100%); aspect-ratio: 9 / 18.5; padding: 11px; border-radius: 44px; background: #0B1B2E;
  box-shadow: inset 0 0 0 1.5px #2A3B50, 0 60px 100px -50px rgba(31,35,40,.55) }
.dev::before { content: ""; position: absolute; top: 20px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #1E2E42; z-index: 2 }
.dev-scr { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; display: flex; flex-direction: column }

/* controls inside the live demos */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: #EAF2FD; border: 1px solid var(--border) }
.seg button { all: unset; box-sizing: border-box; cursor: pointer; padding: 9px 14px; border-radius: 9px; font: 600 14.5px/1 var(--font); color: var(--muted); transition: background .15s, color .15s }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0,49,91,.3) }
.kb { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px;
  font: 700 15px/1 var(--font); background: #fff; color: var(--ink); border: 1.5px solid var(--border); transition: background .15s, border-color .15s, transform .1s }
.kb:hover { border-color: #A9CDF2 } .kb:active { transform: scale(.97) }
.kb.dark { background: var(--ink); border-color: var(--ink); color: #fff } .kb.dark:hover { background: #2B3138 }
.kb.go { background: var(--teal); border-color: var(--teal); color: #00281D }
.kb[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff }
.seg button:focus-visible, .kb:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 2px }
.kb:disabled { opacity: .45; cursor: default }

/* "a good fit for": a compact strip of shop links */
.fitline { max-width: 1320px; margin: 0 auto; padding: 0 var(--gl) clamp(50px, 8vh, 90px) }
.fitline h2 { margin: 0 0 18px; font-size: 22px; letter-spacing: -0.01em }
.fitline ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--border) }
.fitline li { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--border) }
.fl-name { display: block; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none } a.fl-name:hover { color: var(--link); text-decoration: underline }
.fitline span { color: var(--muted); font-size: 15px }

/* the shared closing sections line up with .wrap on these pages */
.faq-p, .related, .honest { max-width: 1320px }

@media (max-width: 980px) { .sp { padding-top: 56px; padding-bottom: 56px } }
@media (prefers-reduced-motion: reduce) { .seg button, .kb { transition: none } }
