/* ══ The site header — ONE for every page ══════════════════════════════════════════════════════
   (user, 2026-11-20: "make sure that the website has one header. I want it similar to
   https://austinstone.org for the menu text and dropdown")

   The markup lives in _partials/header.html and is written into each page by sync-header.py —
   edit it there, never in a page (tests/website-header.cjs checks every page carries it word for
   word). Its behaviour is assets/header.js.

   The bar is the home design's (Downloads/Group 108.svg): the note at the top centre, then the logo
   and five items. The menu text and dropdowns are Austin Stone's, measured off austinstone.org at
   1440 on 2026-11-20:
     · items 16px semibold, Title Case, a hair of tracking (.1px), in a .625rem × .75rem box with
       8px corners that fills with 12% of the text colour on hover and while its menu is open;
     · a small chevron after each item that has a menu, turning over when it opens;
     · the menu a white card centred under its item, .75rem below it: 16rem wide, 16px corners, a
       hairline border, a soft shadow, .5rem inside, holding 1.2rem (19px) semibold links that turn
       light grey behind on hover; it opens on a click and fades and slides 6px into place in .15s;
     · the page you're on underlined, 2px, .35em below the words.
   Over the home page's photo (body[data-header="over-photo"]) the bar starts clear with white text;
   everywhere else — and everywhere once scrolled — it is warm white glass with dark text.
   The note is Icon Church's announcement pill, look and flow (note.css, note.js — every site's): it drops in on
   the first scroll and floats at the top of the window; the bar slides down under it while it's there
   and back up when it's closed. */

/* the note's look — one copy for every site (note.css); here only how the header makes room for it */
@import url('note.css');

.site-header {
  --sh-fg: #262626;
  --sh-gut: clamp(20px, 5.56vw, 80px);
  --sh-col: 1280px;
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: calc(env(safe-area-inset-top, 0px) + 13px);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.45; color: var(--sh-fg); -webkit-font-smoothing: antialiased;
  background: rgba(250, 249, 245, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(38, 38, 38, .07);
  transition: background .25s ease, box-shadow .25s ease, padding-top .45s cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 1800px) { .site-header { --sh-col: 1400px; } }
@media (min-width: 2400px) { .site-header { --sh-col: 1560px; } }
.site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }

/* over the home page's photo, until it scrolls or the menu opens */
body[data-header="over-photo"] .site-header:not(.is-scrolled):not(.is-open) {
  --sh-fg: #fff; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
/* once scrolled: a soft shadow under the glass */
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, .08); }
/* while the note floats at the top, the header grows down from the top of the window to just under the pill
   (--note-room: note.js measures it), so the bar sits under the pill and the pill sits on the glass — never
   over the logo or the menu, and never a bare strip of page above the bar (user, 2026-11-21: "Fix the menu
   when there is a notification" — the bar had slid down and left the top of the window open). Icon's bar scrolls
   away; ours stays. --nav-h is the bar's real foot, note room included (header.js re-measures). */
html.note-in .site-header:not(.is-open) { padding-top: var(--note-room, calc(env(safe-area-inset-top, 0px) + 13px)); }
/* an anchor link lands below the bar (header.js measures it, the note's room included) */
html { scroll-padding-top: calc(var(--nav-h, 72px) + 16px); }
/* smooth scrolling (assets/smooth.js) does its own gliding; the browser's would fight it */
html.is-smooth { scroll-behavior: auto !important; }

/* ── the note ── (its look: note.css) */
/* the phone menu fills the window: the note waits behind it */
.site-header.is-open ~ .sh-note { visibility: hidden; }

/* ── the bar ── */
.sh-bar { display: flex; align-items: center; gap: 16px; height: 58px; width: 100%;
  max-width: calc(var(--sh-col) + 2 * var(--sh-gut)); margin: 0 auto; padding: 0 var(--sh-gut); }
.sh-brand { display: block; flex: none; margin-right: auto; }
.sh-brand img { display: block; width: 209px; height: auto; }
/* dark letters on the light bar; white letters only over the home page's photo */
.sh-brand .sh-logo-light { display: none; }
body[data-header="over-photo"] .site-header:not(.is-scrolled):not(.is-open) .sh-brand .sh-logo-light { display: block; }
body[data-header="over-photo"] .site-header:not(.is-scrolled):not(.is-open) .sh-brand .sh-logo-dark { display: none; }

/* LIVE: shown by assets/live.js while the church is live (on the home page, which loads it) */
.sh-live { display: none; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #D53E28; color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; cursor: pointer; }
.sh-live.on { display: inline-flex; }
.sh-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sh-pulse 1.6s infinite; }
@keyframes sh-pulse { 50% { transform: scale(1.45); opacity: .6; } }

/* ── the menu (user, 2026-11-21, with a picture of another church's bar: "Also change our website menu to have this"; then
   "I hate the yellow. Change the color" — its Give pill, so ours is the site's orange) ──
   Six items in a visitor's order — Plan A Visit, Calendar, About Us, Next Steps, Resources, Give (serial position: the
   first visit first, giving last and set apart; user, same day: "Change menu to remove events, change weekly schedule to
   'Calendar', remove 'Sermons' from resources … Remove missions and the three circles from menu"). As in the picture: the words at a calm
   500, each item's own pill appearing behind it under the pointer and while its menu is open (a soft 9% of the
   words' colour, so it reads over the photo and on the glass alike); a small chevron on the two that open; the
   menu a white card under its item, its right edge on the item's, a few px below, its links a step larger; Give the
   one filled pill (Von Restorff). */
.sh-nav { display: block; }
.sh-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sh-item { position: relative; margin: 0; padding: 0; }
.sh-top { display: inline-flex; align-items: center; gap: .45em; margin: 0; padding: .7rem 1.05rem; border: 0; border-radius: 999px;
  background: none; color: var(--sh-fg); font: inherit; font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.5;
  white-space: nowrap; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, filter .15s ease; }
.sh-top:hover, .sh-item.is-open > .sh-top { background: color-mix(in srgb, currentColor 9%, transparent); }
/* the chevron: two sides of a small square, turned — down when shut, up when open */
.sh-item.has-drop > .sh-top::after { content: ''; width: .38em; height: .38em; border-right: 2px solid; border-bottom: 2px solid;
  transform: translateY(-.15em) rotate(45deg); transition: transform .2s ease; }
.sh-item.is-open > .sh-top::after { transform: translateY(.1em) rotate(-135deg); }
.sh-top[aria-current="page"], .sh-top.is-current { text-decoration: underline 2px; text-underline-offset: .35em; }
/* Give: the one filled pill, in the site's orange (not the picture's yellow) */
.sh-top.sh-give { margin-left: 6px; padding: .7rem 1.5rem; background: #F37323; color: #fff; font-weight: 600; }
.sh-top.sh-give:hover { background: #F37323; filter: brightness(.94); }

.sh-drop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 2; min-width: 13rem; width: max-content; padding: .5rem;
  display: flex; flex-direction: column; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 16px 40px rgba(0, 0, 0, .1);
  visibility: hidden; opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; }
.sh-item.is-open > .sh-drop { visibility: visible; opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .15s ease, transform .15s ease, visibility 0s; }
.sh-drop a { display: block; padding: .65rem 1.15rem; border-radius: 10px; color: #282828; font-size: 18px; font-weight: 400;
  line-height: 1.45; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.sh-drop a:hover { background: #F4F4F4; }
.sh-drop a[aria-current="page"] { text-decoration: underline 2px; text-underline-offset: .3em; }

.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sh-drop a:focus-visible { outline-color: #282828; outline-offset: -2px; }

/* ── the phone menu: one labelled button, then the same items as sections that open one at a time ── */
.sh-menu-btn { display: none; align-items: center; gap: 10px; height: 44px; margin: 0; padding: 0 4px; border: 0; background: none;
  color: var(--sh-fg); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.sh-menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* open, the header becomes the whole screen: solid, so nothing of the page shows through, and
   scrolling inside it if the sections run long */
.site-header.is-open { bottom: 0; overflow-y: auto; overscroll-behavior: contain; background: #FAF9F5;
  -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.sh-panel { padding: 4px var(--sh-gut) 32px; }
.sh-panel[hidden] { display: none; }
.sh-group { border-bottom: 1px solid #E8E5DE; }
.sh-gtop, .sh-flat { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; margin: 0;
  padding: 0; border: 0; background: none; color: #262626; font: inherit; font-size: 19px; font-weight: 600; text-align: left;
  text-decoration: none; cursor: pointer; }
.sh-flat { border-bottom: 1px solid #E8E5DE; }
.sh-gtop::after { content: ''; width: .45em; height: .45em; margin-right: 6px; border-right: 2px solid; border-bottom: 2px solid;
  transform: translateY(-.15em) rotate(45deg); transition: transform .2s ease; }
.sh-gtop[aria-expanded="true"]::after { transform: translateY(.1em) rotate(-135deg); }
.sh-gsub { padding: 0 0 12px; }
.sh-gsub[hidden] { display: none; }
.sh-gsub a { display: block; padding: 10px 0 10px 2px; color: #5C5C5C; font-size: 17px; font-weight: 500; text-decoration: none; }
.sh-gsub a[aria-current="page"], .sh-flat[aria-current="page"] { color: #262626; text-decoration: underline 2px; text-underline-offset: .3em; }
.sh-cta { display: flex; align-items: center; justify-content: center; height: 52px; margin-top: 22px; border-radius: 999px;
  background: #F37323; color: #fff; font-size: 17px; font-weight: 600; text-decoration: none; }

/* the seven items need about 1180px beside the logo (measured 2026-11-21, after "Ministries" and "Watch Online" came
   in); narrower, the one Menu button holds them. Just above that the items sit a little closer, so the LIVE pill still
   fits beside them on a Sunday morning (Fitts: nothing pushed off the edge) */
@media (max-width: 1320px) { .sh-top { padding-left: .8rem; padding-right: .8rem; } }
@media (max-width: 1200px) {
  .sh-nav { display: none; }
  .sh-menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  .sh-brand img { width: 172px; }
  .sh-bar { height: 56px; }
}
/* ── the pinned bar (after austinstone.org's): the season's words, one white button, a × ──
   One message and one action, centred (Hick: a single choice; Fitts: a 40px pill and a 44px ×);
   it slides up once, after the page has settled, so it's noticed without shouting (Von Restorff:
   the only red band on the screen). The page gets room for it at its foot (footer::after) and in
   its focus scrolling (scroll-padding-bottom), so it never hides the last links or a focused one. */
.sh-promo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 10px 72px calc(10px + env(safe-area-inset-bottom, 0px)); background: #932013; color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); animation: sh-promo-in .55s cubic-bezier(.32, .72, 0, 1) .5s both; }
.sh-promo[hidden] { display: none; }
@keyframes sh-promo-in { from { transform: translateY(100%); } }
.sh-promo *, .sh-promo *::before, .sh-promo *::after { box-sizing: border-box; }
.sh-promo-in { display: flex; align-items: center; gap: clamp(20px, 3.75vw, 54px); }
.sh-promo-words { margin: 0; line-height: 1.3; }
.sh-promo-words b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.sh-promo-words span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 500; }
.sh-promo-btn { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 24px; border-radius: 999px;
  background: #fff; color: #932013; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: background .15s ease; }
.sh-promo-btn:hover { background: #F6E9E7; }
.sh-promo-x { position: absolute; right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.sh-promo-x svg { width: 12px; height: 12px; fill: #fff; }
.sh-promo-x:hover { background: rgba(255, 255, 255, .14); }
.sh-promo a:focus-visible, .sh-promo button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
html.has-promo { scroll-padding-bottom: calc(var(--promo-h, 64px) + 12px); }
html.has-promo footer::after { content: ''; display: block; height: var(--promo-h, 64px); }
@media (max-width: 600px) {
  .sh-promo { justify-content: flex-start; padding-left: 16px; padding-right: 56px; }
  .sh-promo-in { gap: 14px; }
  .sh-promo-words b { font-size: 15px; }
  .sh-promo-words span { display: none; }
  .sh-promo-btn { height: 38px; padding: 0 16px; letter-spacing: .12em; }
  .sh-promo-x { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .sh-drop, .sh-top, .sh-top::after, .sh-gtop::after { transition: none !important; }
  .sh-promo { animation: none; }
  .sh-live i { animation: none; }
}

/* ══ Next Steps — the pinned circle and the panel it opens (behaviour: assets/next-steps.js; markup in
   _partials/header.html). User, 2026-11-21: "At the bottom right of the users screen should be a pinned circle that says
   'Next Steps' … When clicked, it should take user to this [Nucleus's 'Take your next step here' panel] and it needs to
   look almost identical but we have a yellowish orange background"; then "decrease size of next steps circle. Its way
   too big", and, after a turn in the pill's blue, "make the hub circle the orange, not the page background". The
   circle: our orange (#F37323), 76px (68 on a phone), where every site keeps its one floating thing (Jakob), in the
   corner a thumb reaches (Fitts), the one round orange thing on the page (Von Restorff). The panel: the home page band's
   yellowish orange (#F6993A), one featured card, then four ways to take a step and no more (Hick), each 70 tall (Fitts). ══ */
.ns-launch { position: fixed; z-index: 58; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 76px; height: 76px; padding: 0 6px; border: 0; border-radius: 50%;
  background: #F37323; color: #fff; cursor: pointer; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px; font-weight: 800; line-height: 1.02; letter-spacing: -.015em; text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s cubic-bezier(.34, 1.45, .64, 1), background .15s ease, opacity .2s ease, visibility 0s;
  animation: ns-pop .5s cubic-bezier(.34, 1.45, .64, 1) .6s backwards; }
.ns-launch:hover { transform: scale(1.05); background: #E2661C; }
.ns-launch:focus-visible { outline: 3px solid #262626; outline-offset: 4px; border-radius: 50%; }   /* the home page's focus rule squares buttons off */
.ns-launch[hidden] { display: none; }
/* on the first screen it never sits on top of something to press (the home page's sermon card, a hero's buttons):
   it steps aside until that has scrolled away (assets/next-steps.js) */
.ns-launch.is-away { opacity: 0; transform: scale(.6); visibility: hidden; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease, visibility 0s .2s; }
@keyframes ns-pop { from { opacity: 0; transform: scale(.6); } }
/* open: the circle turns into the card's × on the card's dark grey (Nucleus's launcher) — the same place to press to shut
   it as to open it (Fitts) */
.ns-shut { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; }
.ns-launch.is-open { background: #262626; animation: ns-turn .3s cubic-bezier(.34, 1.45, .64, 1); }
.ns-launch.is-open:hover { background: #333333; }
.ns-launch.is-open .ns-word { display: none; }
.ns-launch.is-open .ns-shut { display: block; }
@keyframes ns-turn { from { transform: rotate(-90deg) scale(.8); } }

/* ══ the card — Nucleus's launcher, measured on life-demo.nucleus.church at 1440 (2026-11-21): 360 wide, 28 round, its
   bottom-right corner tucked under the circle; a round grow button top left (40); the church's logo and "Take your next
   step here" (14 bold, 75% white); the featured step big (80 tall, 21 round, 24 bold) and the rest under it (55 tall,
   14 round, 10 apart). On our dark grey with The Hub's lighter grey for the buttons (assets/hub.css), one soft shadow
   so it sits over the page, no gradient. Tall enough for what's in it, and never up under the header: --ns-top is the
   header's real foot, the note's room and all, measured as it opens (assets/next-steps.js); past that it scrolls. ══ */
/* its corner 10 past the circle's middle (the circle: 76 at 24 in), and under the circle, which stays on top as its × */
.ns-pop { position: fixed; z-index: 57; inset: auto 52px calc(52px + env(safe-area-inset-bottom, 0px)) auto;
  width: 360px; max-width: calc(100vw - 24px); max-height: calc(100dvh - var(--ns-top, 96px) - 16px - 52px); margin: 0; padding: 0 0 28px; border: 0;
  border-radius: 28px; background: #262626; color: #fff; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; text-align: center;
  overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 5px 40px rgba(0, 0, 0, .25); transform-origin: 100% 100%; }
.ns-pop[open] { display: block; animation: ns-pop-in .3s cubic-bezier(.22, 1, .36, 1); }
.ns-pop.is-out { animation: ns-pop-out .18s ease forwards; }
@keyframes ns-pop-in { from { opacity: 0; transform: translateY(14px) scale(.94); } }
@keyframes ns-pop-out { to { opacity: 0; transform: translateY(10px) scale(.96); } }
.ns-pop *, .ns-pop *::before, .ns-pop *::after { box-sizing: border-box; }
.ns-pop-top { display: flex; padding: 15px; }
.ns-grow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #383838; color: #fff;
  cursor: pointer; }
.ns-grow:hover { background: #444444; }
.ns-grow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ns-pop-logo { display: block; width: 168px; height: auto; margin: 4px auto 0; }
.ns-pop-line { margin: 14px 0 0; color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.ns-pop-feature { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: calc(100% - 36px); min-height: 80px;
  margin: 30px auto 0; padding: 16px 22px; border-radius: 21px; background: #383838; color: #F7F7F7; text-decoration: none;
  box-shadow: 0 1px 31px rgba(0, 0, 0, .25); transition: background .15s ease, transform .15s ease; }
.ns-pop-feature b { font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.ns-pop-feature .ns-badge { width: 76px; }
.ns-pop-feature .ns-badge img { display: block; width: 100%; height: auto; }
.ns-pop-feature span { color: rgba(247, 247, 247, .75); font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.ns-pop-list { display: grid; gap: 10px; width: calc(100% - 60px); margin: 16px auto 0; padding: 0; list-style: none; }
.ns-pop-list a { display: flex; align-items: center; justify-content: center; min-height: 55px; padding: 8px 18px; border-radius: 14px; background: #333333;
  color: rgba(247, 247, 247, .82); font-size: 20px; font-weight: 500; line-height: 1.15; letter-spacing: -.035em; text-decoration: none;
  transition: background .15s ease, color .15s ease; }
.ns-pop-feature:hover { background: #404040; transform: translateY(-1px); }
.ns-pop-list a:hover { background: #3B3B3B; color: #fff; }
.ns-pop a:focus-visible, .ns-grow:focus-visible { outline: 3px solid #F37323; outline-offset: 3px; }
.ns-grow:focus-visible { border-radius: 50%; }

.ns-panel { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #F6993A; color: #7A3206; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; overflow-y: auto; overscroll-behavior: contain;
  transform-origin: calc(100% - 62px) calc(100% - 62px); }
.ns-panel::backdrop { background: transparent; }
.ns-panel[open] { animation: ns-in .38s cubic-bezier(.22, 1, .36, 1); }
.ns-panel.is-out { animation: ns-out .24s ease forwards; }
.ns-panel.is-min { animation: ns-min .32s cubic-bezier(.55, 0, .75, .2) forwards; }   /* minimise: it shrinks back into the circle */
@keyframes ns-in { from { opacity: 0; transform: scale(.94); } }
@keyframes ns-out { to { opacity: 0; transform: scale(.96); } }
@keyframes ns-min { to { opacity: 0; transform: scale(.06); } }
.ns-panel *, .ns-panel *::before, .ns-panel *::after { box-sizing: border-box; }
.ns-in { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%;
  padding: calc(96px + env(safe-area-inset-top, 0px)) 24px calc(64px + env(safe-area-inset-bottom, 0px)); }
.ns-ctrl { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); left: 20px; display: flex; gap: 10px; }
.ns-ctrl button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
.ns-ctrl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ns-x { background: #D9661A; color: #fff; }
.ns-x:hover { background: #C85A12; }
.ns-min { background: rgba(255, 255, 255, .42); color: #C2560E; }
.ns-min:hover { background: rgba(255, 255, 255, .6); }
.ns-ctrl button:focus-visible, .ns-feature:focus-visible, .ns-btn:focus-visible { outline: 3px solid #7A3206; outline-offset: 3px; }
.ns-ctrl button:focus-visible { border-radius: 50%; }
.ns-feature:focus-visible { border-radius: 28px; }
.ns-btn:focus-visible { border-radius: 22px; }
.ns-line { margin: 0 0 52px; color: #7A3206; font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-align: center; }
/* the featured step: a white card with its icon in a white bubble over the top edge */
.ns-feature { position: relative; display: block; width: min(540px, 100%); padding: 50px 32px 40px; border-radius: 28px; background: #FFFDF9;
  color: #C2560E; text-align: center; text-decoration: none; box-shadow: 0 0 0 10px rgba(255, 255, 255, .14), 0 18px 50px rgba(120, 40, 0, .24);
  transition: transform .15s ease; }
.ns-ico { position: absolute; top: -29px; left: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%;
  background: #FFFDF9; font-size: 27px; line-height: 1; box-shadow: 0 -6px 16px rgba(150, 60, 0, .08); }
.ns-feature b { display: block; font-size: 31px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
/* The Hub's badge as the card's title (design/hub/badge.py) */
.ns-feature .ns-badge { width: 104px; margin: 2px auto 10px; }
.ns-feature .ns-badge img { display: block; width: 100%; height: auto; }
.ns-feature span:not(.ns-ico) { display: block; max-width: 22em; margin: 8px auto 0; color: #B05A1A; font-size: 17px; line-height: 1.4; letter-spacing: -.01em; }
.ns-list { display: grid; gap: 14px; width: min(482px, 100%); margin: 26px 0 0; padding: 0; list-style: none; }
.ns-btn { display: flex; align-items: center; justify-content: center; min-height: 70px; padding: 10px 24px; border-radius: 22px; background: #FFFDF9;
  color: #D9661A; font-size: 25px; font-weight: 600; letter-spacing: -.02em; text-align: center; text-decoration: none;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .12), 0 12px 36px rgba(120, 40, 0, .18); transition: transform .15s ease; }
.ns-feature:hover, .ns-btn:hover { transform: translateY(-2px); }
@media (max-width: 600px) {
  .ns-launch { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 68px; height: 68px; font-size: 13.5px; }
  /* a phone: the card the screen's width less 12 a side, standing on the circle rather than under it (its × would sit
     on the last button) */
  .ns-pop { inset: auto 12px calc(16px + 68px + 12px + env(safe-area-inset-bottom, 0px)) 12px; width: auto; max-width: none;
    max-height: calc(100dvh - var(--ns-top, 96px) - 16px - 96px); padding-bottom: 20px; }
  .ns-pop-top { padding: 12px; }
  .ns-pop-logo { width: 150px; margin-top: 0; }
  .ns-pop-feature { margin-top: 22px; }
  .ns-pop-list { gap: 8px; margin-top: 12px; }
  .ns-pop-list a { min-height: 52px; }
  .ns-ctrl { top: calc(14px + env(safe-area-inset-top, 0px)); left: 14px; }
  .ns-in { padding-top: calc(88px + env(safe-area-inset-top, 0px)); }
  .ns-line { margin-bottom: 44px; }
  .ns-feature { padding: 46px 22px 32px; border-radius: 24px; }
  .ns-feature b { font-size: 27px; }
  .ns-btn { min-height: 64px; border-radius: 20px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ns-launch, .ns-panel[open], .ns-panel.is-out, .ns-panel.is-min { animation: none; transition: none; }
  .ns-launch.is-open, .ns-pop[open], .ns-pop.is-out { animation: none; }
  .ns-pop-feature, .ns-pop-list a { transition: none; }
  .ns-feature, .ns-btn { transition: none; }
}
