/* The site's header and footer, on every English page and the homepage. The markup is
   written once, in scripts/site-chrome/chrome.mjs; the homepage draws the same markup in React (Landing.tsx).

   The header is a floating bar with rounded ends that stays at the top as the page scrolls: the logo, the six
   section links (behind Menu below 1280px), and "Get the apps", which opens a panel with the two apps side by side,
   the same size. A phone sees its own store's badge in each, with the other store a small link under it; a computer
   sees both badges and a code to scan. Every browser on an iPhone or iPad is Safari's engine, the only one that knows
   -webkit-touch-callout; a touch screen with no mouse that isn't one is an Android phone or tablet (the homepage's
   own rule, landing-v4.css).

   The footer: a navy band with the tagline, the week (six days and Sunday as the sun) and the two apps, then the
   logo, the social pages, the site's links in four headed columns, and the legal lines.

   Self-contained, so a page with any other stylesheet (guides.css, legal.css, research.css, play.css) wears it the
   same. Plain values only (Chrome 78, the static pages' rule: no gap in flex rows, no clamp(), no inset), and no
   text under 18px but the tagline that is part of the logo. The colours are the site's own: green #245447, navy #13243b, cream #f6f1e8, gold #d2a65c. */

/* ---------- The header ---------- */
.sv-header {
  --site-paper: #f6f1e8;
  --site-card: #fffcf7;
  --site-ink: #13243b;
  --site-ink-soft: #4a5363;
  --site-pine: #245447;
  --site-pine-hover: #1b4338;
  --site-ring: #8a6420;
  /* The header's side margin, which the panels under it keep too. */
  --sv-pad: 12px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  margin: 0;
  padding: 8px var(--sv-pad);
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  font-family: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--site-ink);
  -webkit-transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
/* The logo and the links sit on the page itself, with no bar around them. Once the page has moved under the header, it
   takes the page's own cream, a hairline and a soft shadow, so the words under it never show through. */
.sv-header.is-scrolled {
  border-bottom-color: rgba(19, 36, 59, .08);
  background: #f6f1e8;
  background: rgba(246, 241, 232, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 12px 28px -24px rgba(19, 36, 59, .45);
}
.sv-header ul { margin: 0; padding: 0; list-style: none; }
.sv-header li { margin: 0; padding: 0; }
.sv-header p { margin: 0; }

/* The skip link, off-screen until it takes focus. */
.sv-skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 110;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: var(--site-ink);
  color: #fffdf8;
  font-weight: 600;
  text-decoration: none;
}
.sv-skip:focus { top: .5rem; }

/* W-14: the logo link is a 48px tap. */
.sv-header-home { display: inline-flex; align-items: center; flex: none; min-height: 48px; border-radius: 12px; }
.sv-header-home:focus-visible { outline: 3px solid var(--site-ring); outline-offset: 3px; }
.sv-header .sv-logo, .sv-header-home img { display: block; width: auto; height: 40px; }
/* The logo and its tagline are one lockup; the tagline shows where the logo is big enough to carry it (1280px up). */
.sv-brand { position: relative; display: block; }
.sv-brand small { display: none; }
.sv-nav { display: none; }
.sv-header-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; margin-inline-start: auto; max-width: 100%; }
.sv-header-tools > * + * { margin-left: .4rem; }

/* The site's one button: green, white words, round ends. */
.sv-header .sv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1.125rem/1.2 "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.sv-header a.sv-button-primary { background: var(--site-pine); color: #fffdf8; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 16px -8px rgba(19, 36, 59, .5); }
.sv-header a.sv-button-primary:hover { background: var(--site-pine-hover); color: #fffdf8; }
.sv-header .sv-button:focus-visible { outline: 3px solid var(--site-ring); outline-offset: 3px; }

/* "Get the apps": the two apps' own icons, overlapping, then the words, then a small arrow that turns when the panel
   is open. On a phone the bar keeps to one row: the icons show from 440px (the panel shows them below that), the
   arrow from 380px, and the button itself from 340px. */
.sv-header .sv-header-cta { display: none; padding: 0 .9rem 0 .4rem; }
.sv-cta-icons { display: inline-flex; flex: none; margin-right: .5rem; }
.sv-cta-icons img { display: block; width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 2px #fffdf8; }
.sv-cta-icons img + img { margin-left: -8px; }
.sv-cta-chevron { flex: none; margin-left: .35rem; -webkit-transition: transform .2s ease; transition: transform .2s ease; }
.sv-header.is-apps .sv-cta-chevron { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
@media (min-width: 340px) {
  .sv-header .sv-header-cta { display: inline-flex; }
}
@media (max-width: 439px) {
  .sv-header .sv-header-cta { padding: 0 .8rem 0 1rem; }
  .sv-cta-icons { display: none; }
}
@media (max-width: 379px) {
  .sv-header .sv-header-cta { padding: 0 .9rem; }
  .sv-cta-chevron { display: none; }
}

/* Menu: one round button on phones (its word is still read aloud, only clipped from sight), Menu and its word from
   480px, and gone from 1280px, where the links fit in the bar. */
.sv-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(19, 36, 59, .16);
  border-radius: 999px;
  background: #fff;
  color: var(--site-ink);
  font: 600 1.125rem/1 "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}
.sv-menu-button:hover { border-color: rgba(19, 36, 59, .32); }
.sv-menu-button:focus-visible, .sv-menu a:focus-visible, .sv-apps a:focus-visible, .sv-nav a:focus-visible {
  outline: 3px solid var(--site-ring);
  outline-offset: 3px;
}
.sv-header .sv-menu-word-open, .sv-header .sv-menu-word-close {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.sv-header .sv-menu-icon-close, .sv-header.is-open .sv-menu-icon-open { display: none; }
.sv-header.is-open .sv-menu-icon-close { display: inline; }
.sv-header.is-open .sv-menu-word-open { display: none; }
.sv-header:not(.is-open) .sv-menu-word-close { display: none; }
@media (min-width: 480px) {
  .sv-menu-button { width: auto; padding: 0 1rem 0 .85rem; }
  .sv-menu-button svg { margin-right: .4rem; }
  .sv-header .sv-menu-word-open, .sv-header .sv-menu-word-close {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    clip-path: none;
    overflow: visible;
  }
}

/* The two panels (Menu's links, and the apps): a card under the bar, the bar's width on a phone. */
.sv-menu, .sv-apps {
  position: absolute;
  left: var(--sv-pad);
  right: var(--sv-pad);
  top: 100%;
  margin-top: 8px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: .5rem 1rem 1rem;
  border: 1px solid rgba(19, 36, 59, .09);
  border-radius: 22px;
  background: var(--site-card);
  box-shadow: 0 2px 4px rgba(19, 36, 59, .05), 0 30px 60px -28px rgba(19, 36, 59, .5);
}
.sv-menu[hidden], .sv-apps[hidden] { display: none; }
@-webkit-keyframes sv-panel-in { from { opacity: 0; -webkit-transform: translateY(-8px); } }
@keyframes sv-panel-in { from { opacity: 0; transform: translateY(-8px); } }
.sv-menu:not([hidden]), .sv-apps:not([hidden]) { -webkit-animation: sv-panel-in .2s ease-out; animation: sv-panel-in .2s ease-out; }

.sv-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: .5rem .25rem;
  border-bottom: 1px solid rgba(19, 36, 59, .08);
  color: var(--site-ink);
  font: 400 1.5rem/1.2 "Newsreader", Georgia, serif;
  text-decoration: none;
}
.sv-menu li a .sv-arrow { flex: none; color: var(--site-pine); opacity: .7; }
.sv-menu li a:hover .sv-arrow { opacity: 1; }
.sv-menu li a[aria-current="page"] { color: var(--site-pine); font-weight: 600; }
.sv-menu .sv-menu-apps { display: flex; width: 100%; min-height: 56px; margin-top: 1rem; }

/* The apps panel: the two apps, each in a white card of the same shape, then "Try it in your browser". */
.sv-apps { padding: 1rem; }
.sv-apps-pair { display: -ms-grid; display: grid; grid-template-columns: 1fr; grid-gap: .75rem; }
.sv-apps-try { margin-top: .75rem !important; text-align: center; }
.sv-apps-try a, .sv-appcard-also a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--site-pine);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.sv-apps-try .sv-arrow { margin-left: .4rem; }
@media (min-width: 900px) {
  .sv-apps { left: auto; width: 760px; }
  .sv-menu { left: auto; width: 420px; }
}
@media (min-width: 620px) {
  .sv-apps-pair { grid-template-columns: 1fr 1fr; }
}

/* ---------- The Guides panel (1100px up, where the row of links is) ----------
   Under the bar, in the same card as the other panels, in one row: four of the guides, each its own photo with its
   title under it, then the way to every guide at the row's end. Guides only. */
.sv-gpanel { display: none; }
@media (min-width: 1100px) {
  .sv-gpanel:not([hidden]) {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-animation: sv-panel-in .2s ease-out;
    animation: sv-panel-in .2s ease-out;
  }
  .sv-gpanel {
    position: absolute;
    top: 100%;
    left: var(--sv-pad);
    right: var(--sv-pad);
    max-width: 1080px;
    margin: 8px auto 0;
    padding: 12px 1.25rem 12px 12px;
    border: 1px solid rgba(19, 36, 59, .09);
    border-radius: 26px;
    background: var(--site-card);
    box-shadow: 0 2px 4px rgba(19, 36, 59, .05), 0 30px 60px -28px rgba(19, 36, 59, .5);
  }
  .sv-gpanel-topics { -webkit-box-flex: 1; flex: 1 1 auto; display: -ms-grid; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 12px; min-width: 0; }
  .sv-header a.sv-gtopic {
    display: block;
    padding: 6px;
    border-radius: 18px;
    color: var(--site-ink);
    text-decoration: none;
    -webkit-transition: background-color .15s ease;
    transition: background-color .15s ease;
  }
  .sv-header a.sv-gtopic:hover { background: #f4eee3; color: var(--site-ink); }
  .sv-gtopic img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: #ece4d6;
    box-shadow: inset 0 0 0 1px rgba(19, 36, 59, .06);
  }
  .sv-gtopic-name { display: block; margin: .6rem .15rem .15rem; font: 500 1.125rem/1.3 "Newsreader", Georgia, serif; }
  .sv-header a.sv-gtopic:hover .sv-gtopic-name { color: var(--site-pine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .sv-gpanel-all { -webkit-box-flex: 0; flex: none; width: 8.5rem; margin: 0 0 0 1rem !important; padding-left: 1rem; border-left: 1px solid rgba(19, 36, 59, .08); }
  .sv-header .sv-gpanel-all a {
    display: block;
    padding: .5rem 0;
    color: var(--site-pine);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
  .sv-gpanel-all .sv-arrow { display: inline-block; vertical-align: -4px; margin-left: .3rem; }
  .sv-header a.sv-gtopic:focus-visible, .sv-header .sv-gpanel-all a:focus-visible { outline: 3px solid var(--site-ring); outline-offset: 2px; }
}

/* ---------- One app (the panel and the footer) ---------- */
.sv-appcard { display: flex; flex-direction: column; min-width: 0; padding: 1.1rem; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 36, 59, .08); }
/* The header's and footer's own list resets (li { padding: 0 }) outrank the card's padding; this puts it back. */
.sv-header li.sv-appcard, .sv-foot li.sv-appcard { padding: 1.1rem; }
.sv-appcard p { margin: 0; }
.sv-appcard-head { display: flex; align-items: center; }
.sv-appcard-icon { display: block; flex: none; width: 56px; height: 56px; margin-right: .85rem; border-radius: 14px; box-shadow: 0 0 0 1px rgba(19, 36, 59, .08), 0 6px 14px -8px rgba(19, 36, 59, .45); }
.sv-appcard-name { font: 600 1.375rem/1.15 "Newsreader", Georgia, serif; color: inherit; }
.sv-appcard-for { margin-top: .15rem !important; font-size: 1.125rem; line-height: 1.3; color: var(--site-ink-soft, #4a5363); }
.sv-appcard-get { display: flex; align-items: center; margin-top: 1rem; }
/* A computer: the code to scan, and both stores' badges beside it. */
.sv-appcard-scan { flex: none; margin-right: 1rem; text-align: center; }
.sv-appcard-scan img { display: block; width: 116px; height: 116px; margin: 0 auto; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(19, 36, 59, .1); }
.sv-appcard-scan p { max-width: 8.5rem; margin-top: .35rem !important; font-size: 1.125rem; line-height: 1.25; color: var(--site-ink-soft, #4a5363); }
.sv-appcard-stores { display: flex; flex-direction: column; align-items: flex-start; }
.sv-appcard-store { display: inline-block; line-height: 0; border-radius: 10px; }
.sv-appcard-store + .sv-appcard-store { margin-top: .6rem; }
/* Both badges the same width, so their edges line up where they stack; the Google Play badge is the wider shape, so at
   one height it looked bigger. 162px keeps the shorter one 48px tall. */
.sv-appcard-store img { display: block; width: 162px; height: auto; }
.sv-appcard-store:focus-visible { outline: 3px solid #8a6420; outline-offset: 3px; }
.sv-appcard-also { display: none; margin-top: .25rem !important; }
/* An iPhone or iPad: the App Store alone, bigger, and Google Play as a small link under it. */
@supports (-webkit-touch-callout: none) {
  .sv-appcard-scan, .sv-appcard [data-store="google"], .sv-appcard-also [data-also="apple"] { display: none; }
  .sv-appcard-also { display: block; }
  .sv-appcard-store img { width: auto; height: 56px; }
}
/* An Android phone or tablet: Google Play alone, and the App Store as a small link. */
@supports not (-webkit-touch-callout: none) {
  @media (hover: none) and (pointer: coarse) {
    .sv-appcard-scan, .sv-appcard [data-store="apple"], .sv-appcard-also [data-also="google"] { display: none; }
    .sv-appcard-also { display: block; }
    .sv-appcard-store img { width: auto; height: 56px; }
  }
}

/* ---------- Wide screens ---------- */
@media (min-width: 900px) {
  .sv-header { --sv-pad: 24px; min-height: 84px; padding-top: 10px; padding-bottom: 10px; }
  .sv-header .sv-logo, .sv-header-home img { height: 56px; }
  .sv-header .sv-header-cta { min-height: 56px; }
}
/* The row of links from 1100px (it measured wider below that), with Get the apps after it. */
@media (min-width: 1100px) {
  /* The links sit in one capsule, a shade warmer than the page, at the end of the header beside Get the apps; the one
     you point at, the one you're on and an open Guides each rise out of it as a white pill. */
  .sv-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 auto;
    padding: 5px;
    border-radius: 999px;
    background: #f2ece1;
    box-shadow: inset 0 0 0 1px rgba(19, 36, 59, .06), inset 0 1px 2px rgba(19, 36, 59, .05);
  }
  .sv-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1.05rem;
    border-radius: 999px;
    color: var(--site-ink);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    -webkit-transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
    transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
  }
  .sv-nav a + a { margin-left: 2px; }
  .sv-nav a:hover { background: rgba(255, 255, 255, .75); color: var(--site-ink); }
  .sv-nav a[aria-current="page"], .sv-header.is-guides .sv-nav [data-guides-toggle] {
    background: #fff;
    color: var(--site-pine);
    box-shadow: 0 1px 2px rgba(19, 36, 59, .08), 0 6px 14px -8px rgba(19, 36, 59, .35);
  }
  .sv-nav a[aria-current="page"] { font-weight: 600; }
  /* The page you're on: green, with a small gold dot under its name. */
  .sv-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: #d2a65c;
  }
  .sv-nav [data-guides-toggle][aria-current="page"]::after { margin-left: -11px; }
  .sv-nav-chevron { flex: none; margin: 1px -.2rem 0 .3rem; opacity: .7; -webkit-transition: transform .2s ease; transition: transform .2s ease; }
  .sv-header.is-guides .sv-nav-chevron { opacity: 1; -webkit-transform: rotate(180deg); transform: rotate(180deg); }
  .sv-header-tools { margin-left: .75rem; }
  .sv-menu-button, .sv-menu { display: none; }
  /* The homepage's header has no button, so its capsule of links ends the header. */
  .sv-header-plain .sv-header-tools { display: none; }
}
@media (min-width: 1280px) {
  .sv-header { --sv-pad: 32px; min-height: 96px; }
  .sv-header .sv-logo, .sv-header-home img { height: 64px; }
  /* The tagline as the Elder app's Home logo draws it (.app-logo-tagline at 390x844): small and tight under the words,
     lined up with "Sunday", inside the logo's own box. Measured there on the 72px logo: Outfit 500 10px, line-height 1.2,
     letter-spacing 0.2px, #5a4f47, top 79.167% and left 34.054% of the logo. Here every size is that share of this
     logo's height, so the tagline keeps the app's proportions and takes no room of its own in the bar. It is part of
     the logo, not text held to the 18px rule (as the Elder app's is). */
  .sv-brand { --sv-logo-h: 64px; }
  .sv-brand small {
    position: absolute;
    top: 79.167%;
    left: 34.054%;
    display: block;
    color: #5a4f47;
    font-family: inherit;
    font-size: calc(var(--sv-logo-h) * 10 / 72);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: calc(var(--sv-logo-h) * .2 / 72);
    white-space: nowrap;
  }
}
/* From 1408px the header lines up with the footer's 1360px. */
@media (min-width: 1408px) {
  .sv-header { --sv-pad: calc((100% - 1360px) / 2); }
}

/* Bigger text (200%, SVWD-29): the bar wraps instead of running off the side of the screen. */
html { scroll-padding-top: 6rem; }

/* ---------- The footer ---------- */
.sv-foot {
  --site-ink: #13243b;
  --site-ink-soft: #4a5363;
  --site-pine: #245447;
  --site-paper: #f6f1e8;
  clear: both;
  margin: 4rem 8px 0;
  padding-bottom: 1rem;
  color: var(--site-ink);
  font: 400 1.125rem/1.5 "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  text-align: left;
}
.sv-foot ul { margin: 0; padding: 0; list-style: none; }
.sv-foot li { margin: 0; padding: 0; }
.sv-foot p { margin: 0; }
.sv-foot .sv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* The band: navy, with the low sun's warmth in its far corner. */
.sv-foot-band {
  position: relative;
  overflow: hidden;
  display: -ms-grid;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
  padding: 2.5rem 1.25rem 1.5rem;
  border-radius: 28px;
  background-color: #13243b;
  background-image:
    radial-gradient(ellipse at 100% 115%, rgba(210, 166, 92, .16) 0, rgba(210, 166, 92, .05) 30%, rgba(210, 166, 92, 0) 52%),
    radial-gradient(ellipse at 0 0, rgba(36, 84, 71, .75) 0, rgba(36, 84, 71, 0) 58%);
  color: var(--site-paper);
}
.sv-foot-tagline {
  font: 400 2.75rem/1.02 "Newsreader", Georgia, serif;
  letter-spacing: -.015em;
  color: var(--site-paper);
}
.sv-week { display: block; width: 100%; max-width: 448px; height: auto; margin-top: 1rem; overflow: visible; }
.sv-week-line { fill: none; stroke: rgba(246, 241, 232, .3); stroke-width: 2; stroke-linecap: round; }
.sv-week-days circle { fill: var(--site-paper); }
/* Sunday: the sun, with the logo's own short rays. */
.sv-week-rays { fill: none; stroke: #e0b871; stroke-width: 2.5; stroke-linecap: round; }
.sv-week-sun { fill: #e0b36a; }

.sv-foot-apps { display: -ms-grid; display: grid; grid-template-columns: 1fr; grid-gap: .75rem; }
.sv-foot-band .sv-appcard { background: rgba(246, 241, 232, .07); box-shadow: inset 0 0 0 1px rgba(246, 241, 232, .16); color: var(--site-paper); }
.sv-foot-band .sv-appcard-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(246, 241, 232, .2), 0 10px 22px -10px rgba(0, 0, 0, .6); }
.sv-foot-band .sv-appcard-for { color: rgba(246, 241, 232, .82); }
.sv-foot-band .sv-appcard-get { margin-top: .9rem; }
.sv-foot-band .sv-appcard-stores { flex-direction: row; flex-wrap: wrap; margin-bottom: -.6rem; }
.sv-foot-band .sv-appcard-store, .sv-foot-band .sv-appcard-store + .sv-appcard-store { margin: 0 .6rem .6rem 0; }
.sv-foot-band .sv-appcard-also a { color: var(--site-paper); }
.sv-foot-band .sv-appcard-store:focus-visible, .sv-foot-band a:focus-visible { outline: 3px solid #d2a65c; outline-offset: 3px; }

/* Under the band: the logo and the social pages, then the four columns of links. */
.sv-foot-main { display: -ms-grid; display: grid; grid-template-columns: 1fr; grid-gap: 2rem; padding: 2.5rem .75rem 1.5rem; }
.sv-foot-home { display: inline-flex; align-items: center; min-height: 48px; border-radius: 12px; }
.sv-foot-home .sv-logo { display: block; width: auto; height: 56px; }
.sv-foot-social { display: flex; flex-wrap: wrap; margin: 1rem 0 0 -.25rem; }
.sv-foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: .25rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(19, 36, 59, .12);
  color: var(--site-ink);
  -webkit-transition: background-color .15s ease, color .15s ease;
  transition: background-color .15s ease, color .15s ease;
}
.sv-foot-social a:hover { background: var(--site-pine); color: #fffdf8; }
.sv-foot-cols { display: -ms-grid; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 2rem 1rem; }
.sv-foot-col h2 {
  margin: 0 0 .35rem;
  font: 600 1.125rem/1.3 "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  letter-spacing: .01em;
  color: var(--site-pine);
}
.sv-foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--site-ink);
  font-size: 1.125rem;
  line-height: 1.25;
  text-decoration: none;
}
.sv-foot-col a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sv-foot a:focus-visible { outline: 3px solid #8a6420; outline-offset: 3px; }
.sv-foot-base { margin: 0 .75rem; padding-top: 1.25rem; border-top: 1px solid rgba(19, 36, 59, .12); color: var(--site-ink-soft); }
.sv-foot-legal { max-width: 52em; }
.sv-foot-legal a { color: var(--site-ink); overflow-wrap: break-word; word-wrap: break-word; }
/* The address sits inside a sentence; its tap area reaches above and below the line without moving the words. */
.sv-foot-legal a[href^="mailto:"] { display: inline-block; padding: .7rem 0; margin: -.7rem 0; }
.sv-foot-marks { max-width: 52em; margin-top: .75rem !important; }

@media (min-width: 620px) {
  .sv-foot-apps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .sv-foot-cols { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .sv-foot { margin: 6rem 16px 0; padding-bottom: 1.5rem; }
  .sv-foot-band { padding: 3.5rem 3rem 3rem; border-radius: 36px; }
  .sv-foot-tagline { font-size: 4rem; }
  .sv-foot-main { padding: 3.5rem 2rem 2rem; }
  .sv-foot-base { margin: 0 2rem; }
}

/* From 1280px the tagline and the apps sit side by side, the two apps one above the other, each card in one row: the
   icon and name, then both stores' badges. */
/* Until 1100px the logo and the social pages make one row above the four columns, so each column keeps its links on
   one line; from 1100px they stand to the columns' left. */
@media (min-width: 620px) and (max-width: 1099px) {
  .sv-foot-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .sv-foot-social { margin: 0 -.25rem 0 0; }
}
@media (min-width: 1100px) {
  .sv-foot-main { grid-template-columns: 15rem 1fr; }
  .sv-foot-social { max-width: 11rem; }
}
@media (min-width: 1280px) {
  .sv-foot { margin: 7rem 24px 0; }
  .sv-foot-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-gap: 3rem; align-items: center; padding: 4rem 4rem 3.75rem; }
  .sv-foot-apps { grid-template-columns: 1fr; }
  .sv-foot-band .sv-appcard { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .sv-foot-band .sv-appcard-get { margin: 0 0 0 1rem; }
  .sv-foot-band .sv-appcard-stores { flex-direction: column; align-items: flex-start; margin-bottom: 0; }
  .sv-foot-band .sv-appcard-store, .sv-foot-band .sv-appcard-store + .sv-appcard-store { margin: 0; }
  .sv-foot-band .sv-appcard-store + .sv-appcard-store { margin-top: .5rem; }
  .sv-foot-band .sv-appcard-also { -webkit-box-flex: 1; flex: 1 0 100%; }
}
@media (min-width: 1408px) {
  .sv-foot { max-width: 1360px; margin-left: auto; margin-right: auto; }
  .sv-foot-tagline { font-size: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-header, .sv-cta-chevron, .sv-foot-social a { -webkit-transition: none; transition: none; }
  .sv-menu:not([hidden]), .sv-apps:not([hidden]), .sv-gpanel:not([hidden]) { -webkit-animation: none; animation: none; }
  .sv-nav a, .sv-nav-chevron, .sv-gtopic { -webkit-transition: none; transition: none; }
}
/* Paper: the bar and the band stay off the page. */
@media print {
  .sv-header, .sv-foot-band, .sv-foot-social { display: none !important; }
}
