/* abcisoft.com — shared by the hub and every app page.
   Same family as /steplight/ (Papir look, light + dark by system). */
:root {
  --bg: #f2f0ea; --card: #faf9f5; --line: #d7d4cb; --band: #e9e6dd;
  --ink: #1d1c1a; --ink2: #52504a; --ink3: #787670;
  --brand: #4da9f0; --brand-soft: #dcecfb; --brand-wash: #cfe6fb;
  --accent: #1a72c4; --accent-soft: #d6e6f6; --on-accent: #fff;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614; --card: #201f1c; --line: #3a3833; --band: #2a2925;
    --ink: #f0eee9; --ink2: #c0bdb2; --ink3: #8a887f;
    --brand: #6db8f5; --brand-soft: #1b3347; --brand-wash: #17344f;
    --accent: #6db8f5; --accent-soft: #223b52; --on-accent: #0d2234;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(180deg, var(--brand-wash) 0, var(--bg) 360px);
  background-repeat: no-repeat;
  font: 16px/1.55 -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
p { margin: 6px 0; color: var(--ink2); }
h1 { font-size: 34px; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 0 0 2px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 960px; margin: 0 auto; padding: 0 20px; }
section { padding: 44px 0; }
section + section { border-top: 1px solid var(--line); }
.band { display: block; font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 14px; text-align: center; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 0; }
.brand { color: var(--accent); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.back img { display: block; height: 22px; width: auto; }
.back .chev { font-size: 32px; line-height: 1; color: var(--accent); margin-top: -4px; }
.hero { text-align: center; padding-top: 44px; }
.hero h1.logo { margin: 0 auto 22px; }
.hero h1.logo img { width: min(400px, 88%); height: auto; margin: 0 auto; }
.hero .sub { font-size: 20px; color: var(--ink); margin: 0 0 8px; }
.hero .lede { max-width: 470px; margin: 0 auto; }
.ico { border-radius: 22.37%; background: var(--band); flex: none; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--brand-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
.btn, .badge { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; text-decoration: none; }
.btn { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.badge { background: #000; color: #fff; gap: 8px; min-height: 44px; border: 1px solid #a6a6a6; }   /* the thin grey rim of Apple's own badge: keeps it visible on dark pages */
.badge small { display: block; font-size: 11px; opacity: .85; line-height: 1.1; }
.badge svg { width: 22px; height: 22px; fill: #fff; flex: none; }
.btn:focus-visible, .badge:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* StepLight spotlight */
.spot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; background: var(--card); border: 1px solid var(--brand); border-radius: var(--radius); padding: 28px 22px; }
.spot p { max-width: 430px; margin: 0; }
.spot .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 8px; }

/* The phone peeks up from the bottom of the card: same titanium bezel as
   /steplight/, cut off at the bottom edge of the card. */
.spot { overflow: hidden; padding-bottom: 0; }
.peek { display: block; margin-top: 18px; height: 330px; overflow: hidden; }
.phone { display: block; width: 240px; margin: 0 auto; padding: 8px; border-radius: 36px; background: #55554f;
  box-shadow: inset 0 0 0 1.5px #8c8b85, 0 0 0 1px rgba(0,0,0,0.2), 0 10px 30px rgba(0,0,0,0.18); }
.phone img { width: 100%; border-radius: 28px; box-shadow: 0 0 0 1px #7c7b75; }

/* App cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.card { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: 1fr auto; column-gap: 14px; row-gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card .txt { min-width: 0; }
.card p { font-size: 14px; margin: 2px 0 0; }
.card .links { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.btn.sm { min-height: 28px; padding: 0 12px; font-size: 12px; font-weight: 600; border-radius: 7px; }
.badge.sm { min-height: 32px; padding: 0 11px; font-size: 12px; gap: 6px; line-height: 1.1; border-radius: 8px; }
.badge.sm small { font-size: 8px; }
.badge.sm svg { width: 15px; height: 15px; }

/* Compact list */
.group + .group { margin-top: 26px; }
.group h3 { font-size: 15px; color: var(--ink2); margin: 0 0 8px; font-weight: 600; }
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.list li { border-top: 1px solid var(--line); }
.list a.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; min-height: 56px; }
.list a.row:hover b { text-decoration: underline; }
.list .rt { flex: 1; min-width: 0; }
.list .rt small { display: block; color: var(--ink3); font-size: 13px; line-height: 1.3; }
.list .chev { flex: none; color: var(--ink3); font-size: 22px; line-height: 1; padding-right: 4px; }
.list b { font-weight: 600; font-size: 15px; }

/* App page */
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 20px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.vsec { padding: 28px 0 8px; border-top: 0; }
.vwrap { max-width: 720px; }
figure.video { margin: 0; }
figure.video { container-type: inline-size; }
figure.video video { aspect-ratio: 1280 / 590; background: #05003a; }
figure.video.port { width: min(300px, 78%); margin: 0 auto; }
figure.video.port video { aspect-ratio: 480 / 1040; }
figure.video.port figcaption { justify-content: center; text-align: center; }
.bezel.port video { border-radius: 10.6cqw; border: 0; }
figure.video figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 10px; font-size: 14px; color: var(--ink2); }
.vbtns { display: inline-flex; gap: 8px; }
.vbtn { appearance: none; border: 1px solid var(--line); background: var(--card); color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; min-height: 32px; padding: 0 14px; border-radius: 999px; cursor: pointer; }
.vbtn:hover { border-color: var(--accent); }
.vbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shots figure { flex: 0 0 200px; margin: 0; scroll-snap-align: center; }
.shots figure { container-type: inline-size; }
/* The same titanium bezel as /steplight/, sized in % of the picture so the
   portrait phones and the landscape clip get the same proportions. */
.bezel { position: relative; background: #55554f;
  box-shadow: inset 0 0 0 1px #8c8b85, 0 0 0 1px rgba(0,0,0,0.2), 0 8px 22px rgba(0,0,0,0.15); }
.bezel img, .bezel video { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px #7c7b75; }
.bezel.port { padding: 3.1cqw; border-radius: 13.75cqw; }
.bezel.port img { border-radius: 10.6cqw; }
.bezel.land { padding: 1.45cqw; border-radius: 6.3cqw; }
.bezel.land video { border-radius: 4.8cqw; border: 0; }
.shots figcaption { margin-top: 10px; padding: 0 4px; font-size: 14px; line-height: 1.35; color: var(--ink2); text-align: center; }
@media (min-width: 960px) { .shots { justify-content: center; overflow: visible; flex-wrap: wrap; row-gap: 22px; } }
ul.plain { list-style: none; padding: 0; margin: 10px 0 0; }
ul.plain li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink2); }
ul.plain li:first-child { border-top: 0; }
ul.plain b { color: var(--ink); font-weight: 600; }
.centered { text-align: center; }
.note { font-size: 14px; color: var(--ink3); }
.quiet { padding: 28px 0; }
.quiet h3 { font-size: 15px; color: var(--ink2); }
.quiet p { font-size: 14px; color: var(--ink3); }
footer { padding: 28px 0 56px; border-top: 1px solid var(--line); text-align: center; }
footer nav a { margin: 0 8px; }
footer p { font-size: 13px; color: var(--ink3); }
