/* spudnote.com/widget: the widgets page (the search page for "to do widget"). Base type, colors and
 * both themes come from /garden/garden.css; this is only the page's own layout. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.store-cta { margin: 26px auto 0; display: flex; justify-content: center; }
.store-cta .appstore { display: inline-block; line-height: 0; transition: transform .18s ease, opacity .18s ease; }
.store-cta .appstore:hover { transform: translateY(-2px); opacity: .92; }
.store-cta .appstore img { height: 44px; width: auto; filter: drop-shadow(0 6px 14px rgba(90, 52, 12, .18)); }
:root[data-theme="dark"] .store-cta .appstore img { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.hero h1 { max-width: 16ch; margin: 0 auto; }

/* the recording, framed exactly like the landing page's hero video (.hero-vid): rounded, its own shadow, no rim
   (Lukas, 2026-11-06). The gap above it matches the gap from the headline's ink to the badge: the badge's 26px plus
   the h1's line slack, which grows with its font size, so this follows the same size, not the viewport height. */
.film { text-align: center; padding-top: calc(49.6px + 0.17 * clamp(2rem, 7vw, 3.1rem)); }
.phone {
  width: clamp(228px, 62vw, 300px); margin: 0 auto; border-radius: clamp(22px, 6vw, 30px); overflow: hidden;
  background: #F4DFBB; box-shadow: 0 22px 46px -16px rgba(90, 52, 12, 0.34);
}
:root[data-theme="dark"] .phone { background: #2E3452; box-shadow: 0 22px 46px -16px rgba(0, 0, 0, 0.7); }
.phone video { display: block; width: 100%; height: auto; }
.film-cap { color: var(--ink-faint); font-size: .9rem; margin: 18px auto 0; max-width: 34ch; }

/* each widget in its sizes, drawn by the app's own widget code (README "The widgets page") */
.kind .head { margin-bottom: 22px; }
.sizes {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(14px, 3vw, 26px); max-width: 980px; margin: 0 auto;
}
.sizes figure { margin: 0; text-align: center; }
.sizes img {
  height: auto; border-radius: 12px;
  filter: drop-shadow(0 10px 18px rgba(90, 52, 12, .18));
}
:root[data-theme="dark"] .sizes img { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
/* real proportions: small 170, medium 364, large 364x382 (points) */
.sizes figure img[width="340"] { width: clamp(118px, 30vw, 150px); }
.sizes figure img[width="728"] { width: clamp(250px, 64vw, 320px); }
.sizes figcaption { font-family: var(--fred); font-size: .86rem; color: var(--ink-dim); margin-top: 8px; }

.more { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 18px 40px; max-width: 760px; text-align: center; }
@media (min-width: 700px) { .more { grid-template-columns: 1fr 1fr; } }
.more h3 { font-size: 1.15rem; }
/* real captures, the top of the screen: the lock screen and Control Center (README "/widget") */
.more .shot {
  display: block; width: min(300px, 80vw); height: auto; margin: 0 auto 14px;
  border-radius: 28px 28px 14px 14px; box-shadow: 0 16px 30px -16px rgba(60, 34, 10, .45);
}
:root[data-theme="dark"] .more .shot { box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .75); }
.more p { margin: 4px auto 0; color: var(--ink-dim); max-width: 30ch; }

.how { padding-bottom: clamp(48px, 8vh, 80px); }
.steps { counter-reset: s; list-style: none; margin: 0 auto; padding: 0; max-width: 420px; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; align-items: baseline; gap: 12px; color: var(--ink-dim); }
.steps li::before {
  content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  font-family: var(--fred); font-weight: 600; font-size: .9rem; color: var(--chip-on-ink); background: var(--chip-on);
  transform: translateY(6px);
}
