/* Same night as joemet123.com: deep navy, a glow at the top and two layers of
   twinkling stars, always dark. The site's own colour is cyan; every app's
   pages (and its tile on the home page) swap in that app's colours through
   data-app, so a page looks like the app it is about. */
:root {
  color-scheme: dark;
  --bg: #0C0A22;
  --surface: #131B3B;
  --surface-2: #1A2449;
  --ink: #F6F5FF;
  --ink-2: #CACEE6;
  --ink-3: #A3A9CC;
  --line: rgba(176, 196, 255, 0.12);
  --line-strong: rgba(176, 196, 255, 0.24);
  --warn: #FF6B7A;
  --band: rgba(12, 10, 34, 0.82);
  --btn-ink: #07101F;

  /* Cyan: the site's colour. */
  --accent: #62D2FF;
  --accent-2: #2E9BFF;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --content-w: 68rem;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Each app's two colours, taken from its icon. */
[data-app="product"] { --accent: #FFC94D; --accent-2: #B86BFF; }
[data-app="simpleslotz"] { --accent: #FF5A6B; --accent-2: #FFC94D; }
[data-app="waterplay"] { --accent: #5BC0FF; --accent-2: #FFD34D; }
[data-app="ezlightswitch"] { --accent: #5DE6F0; --accent-2: #2EA3CB; }
[data-app="bubblepopfrenzy"],
[data-app="bubblepopmaster"] { --accent: #FF8AD0; --accent-2: #7CF2C8; }
[data-app="countdowns"] { --accent: #C9A7FF; --accent-2: #FF8BD1; }
[data-app="baseballswinger"],
[data-app="swingawaybaseball"] { --accent: #FF9A4D; --accent-2: #5B8CFF; }
[data-app="ontime"] { --accent: #6BB6FF; --accent-2: #FF5A6E; }
[data-app="meatbawlcity"] { --accent: #FF8A4C; --accent-2: #FF4D5E; }
[data-app="weightstock"] { --accent: #B884FF; --accent-2: #F0B44A; }

/* Worked out from the two above wherever they are set, so an app's colours
   reach everything derived from them. */
body,
[data-app] {
  --accent-soft: color-mix(in srgb, var(--accent) 15%, transparent);
  --btn: var(--accent);
  --glow: color-mix(in srgb, var(--accent) 17%, transparent);
  --glow-2: color-mix(in srgb, var(--accent-2) 12%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* The night sky, from joemet123.com: a glow at the top in the page's colours,
   then two star layers that twinkle out of step. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 40% at 50% -8%, var(--glow), transparent 70%),
    radial-gradient(45% 30% at 92% 4%, var(--glow-2), transparent 70%),
    var(--bg);
}
body::after,
html::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::after {
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(98, 210, 255, 0.55) 0 1px, transparent 1.7px),
    radial-gradient(circle at 72% 64%, rgba(255, 79, 150, 0.5) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 44% 82%, rgba(163, 91, 255, 0.6) 0 1.2px, transparent 1.9px),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.45) 0 0.8px, transparent 1.4px);
  background-size: 173px 173px, 241px 241px, 307px 307px, 127px 127px;
}
html::after {
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 30% 40%, #fff 0 1.2px, rgba(98, 210, 255, 0.45) 2px, transparent 4.5px),
    radial-gradient(circle at 76% 22%, #fff 0 1px, rgba(255, 79, 150, 0.4) 1.8px, transparent 4px),
    radial-gradient(circle at 58% 78%, #fff 0 1.1px, rgba(163, 91, 255, 0.45) 1.9px, transparent 4.2px);
  background-size: 389px 389px, 457px 457px, 523px 523px;
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes sky-twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.85; }
  }
  @keyframes sky-glint {
    0%, 100% { opacity: 0.05; }
    45% { opacity: 1; }
    55% { opacity: 0.9; }
  }
  body::after { animation: sky-twinkle 5.5s ease-in-out infinite; }
  html::after { animation: sky-glint 3.7s ease-in-out -1.6s infinite; }
}


img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.12rem; margin: 1.4em 0 0.45em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 650; }
em { font-style: normal; font-weight: 600; }

.hidden, [hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.site-band {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-band {
    background: var(--band);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
  }
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--content-w);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo-placeholder { width: 30px; height: 30px; border-radius: 22%; display: block; }
/* The full name, with its short form after it. */
.site-title { white-space: nowrap; }
.site-abbr { font-weight: 600; color: var(--ink-2); }
@media (max-width: 359px) { .site-title { font-size: 0.98rem; } }

.hamburger {
  display: inline-grid;
  place-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.25rem var(--gutter) 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav li:last-child a { border-bottom: 0; }
.main-nav a.active { color: var(--accent); }

@media (min-width: 760px) {
  .hamburger { display: none; }
  .main-nav,
  .main-nav.open {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
  }
  .main-nav ul { display: flex; gap: 0.25rem; }
  .main-nav a {
    padding: 0.45rem 0.85rem;
    border: 0;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.95rem;
  }
  .main-nav a.active { color: var(--ink); background: var(--surface-2); }
}

.main-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5rem);
}

.section { margin: 0 0 clamp(2.25rem, 6vw, 3.5rem); }
.section--flush { margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }

.page-head { padding-top: clamp(1.75rem, 6vw, 3.75rem); }

.eyebrow {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.page-title {
  margin: 0 0 0.6rem;
  font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.page-lede,
.page-head .lede {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-accent { background: var(--btn); color: var(--btn-ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }

.apps-section-title { margin-bottom: 1.1rem; }

.apps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
  gap: 1rem;
}

.app-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-tile-main {
  flex: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1.15rem;
  color: inherit;
  text-decoration: none;
}

.app-icon {
  display: block;
  border-radius: 22.5%;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.app-tile-main .app-icon { width: 72px; height: 72px; }

.app-tile-text { display: block; min-width: 0; }
.app-tile-name {
  display: block;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.app-tile-blurb {
  display: block;
  margin: 0.35rem 0 0.7rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.app-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.app-tile-links { display: flex; border-top: 1px solid var(--line); }
.app-link {
  flex: 1 1 0;
  padding: 0.8rem 0.4rem;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.app-link + .app-link { border-left: 1px solid var(--line); }
.app-link--store { color: var(--accent); }

.apps-contact {
  max-width: 46rem;
  padding: clamp(1.15rem, 4vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.apps-contact .apps-section-title { margin-bottom: 0.6rem; }
.apps-contact p:last-child { margin-bottom: 0; }

.form-fallback { color: var(--ink-3); font-size: 0.88rem; line-height: 1.5; }

.app-back {
  display: inline-block;
  margin: 0 0 1.1rem;
  color: var(--ink-3);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.app-head-row {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
}
.app-head-row > div { min-width: 0; }
.app-head-row .page-title { margin-bottom: 0; }
.app-icon--lg { flex: none; width: clamp(68px, 18vw, 96px); height: auto; }

.app-meta { margin: 1rem 0 1.15rem; color: var(--ink-3); font-size: 0.95rem; }

.app-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.4rem; }

.app-siblings {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  max-width: 100%;
  padding: 3px;
  background: var(--surface-2);
  border-radius: 12px;
}
.app-sibling {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.app-sibling.is-current {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
/* On a phone the tabs share the width exactly; five of them (SimpleSlotz)
   used to push the page sideways. */
@media (max-width: 559px) {
  .app-siblings { grid-auto-columns: minmax(0, 1fr); }
  .app-sibling { padding: 0.45rem 0.3rem; font-size: 0.82rem; }
}
@media (min-width: 560px) {
  .app-siblings { width: fit-content; grid-auto-columns: auto; }
  .app-sibling { padding: 0.45rem 1rem; }
}

.legal-layout { display: grid; gap: 2rem; }

.legal-toc {
  min-width: 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.legal-toc-label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.legal-toc a {
  display: block;
  padding: 0.38rem 0.5rem;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}
@media (min-width: 560px) and (max-width: 959px) {
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.75rem; }
}
@media (min-width: 960px) {
  .legal-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .legal-toc {
    position: sticky;
    top: calc(var(--band-total, 61px) + 1.5rem);
    max-height: calc(100vh - var(--band-total, 61px) - 3rem);
    overflow-y: auto;
    padding: 0;
    background: none;
    border: 0;
  }
}

.legal-body { min-width: 0; max-width: 44rem; }

.legal-sec {
  scroll-margin-top: var(--anchor-offset, 84px);
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.legal-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-sec p,
.legal-sec li { line-height: 1.65; }
.legal-sec ul,
.legal-sec ol { margin: 0 0 1em; padding-left: 1.25rem; }
.legal-sec li { margin: 0.35em 0; padding-left: 0.15rem; }
.legal-sec .lede { color: var(--ink); font-size: 1.12rem; line-height: 1.55; }

.card,
.summary {
  margin: 0 0 1.25rem;
  padding: 1.05rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.card p:last-child,
.summary p:last-child { margin-bottom: 0; }
.card .big {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.about-pull { color: var(--ink); font-size: 1.25rem; font-weight: 600; line-height: 1.4; }

.legal-sec table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.legal-sec caption {
  padding: 0 0 0.5rem;
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}
.legal-sec th,
.legal-sec td {
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--ink-2);
}
.legal-sec th { color: var(--ink); font-weight: 600; }
.legal-sec thead th { border-bottom-color: var(--line-strong); white-space: nowrap; }

.faq { display: grid; gap: 0.75rem; margin: 0 0 1.25rem; }
.faq-item {
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq-q { margin: 0 0 0.35rem; color: var(--ink); font-weight: 700; }
.faq-a { margin: 0; }

.ss-gallery {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  margin: 0 0 1.25rem;
  padding: 2px 2px 0.9rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.ss-shot {
  flex: 0 0 44%;
  max-width: 240px;
  margin: 0;
  scroll-snap-align: start;
}
.ss-shot--wide { flex-basis: 82%; max-width: 520px; }
.ss-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.ss-shot figcaption { margin-top: 0.5rem; color: var(--ink-3); font-size: 0.85rem; line-height: 1.35; }

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin: 0 0 1.25rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-form .btn { justify-self: start; }
.contact-form .form-fallback { margin: 0; }

.form-field { display: grid; gap: 0.4rem; }
.form-field > span { color: var(--ink); font-size: 0.95rem; font-weight: 600; }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
textarea { min-height: 8rem; resize: vertical; }
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
textarea:focus-visible { outline-offset: 1px; border-color: var(--accent); }

.form-status { margin: 0; color: var(--ink); font-weight: 600; }
.form-status.is-error { color: var(--warn); }

.notfound { max-width: 38rem; padding: clamp(3rem, 12vw, 6.5rem) 0 1rem; }
.notfound-code {
  margin: 0 0 0.75rem;
  color: var(--ink-3);
  font-size: clamp(3.5rem, 2rem + 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.notfound-code--ok { color: var(--accent); }
.page-intro { color: var(--ink-2); font-size: 1.1rem; line-height: 1.55; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

.site-footer {
  margin-top: auto;
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.88rem;
}
.footer-inner {
  display: grid;
  gap: 0.6rem;
  max-width: var(--content-w);
  margin: 0 auto;
}
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-bottom: 0.35rem; }
.footer-links a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.footer-contact a { color: var(--ink-2); }

@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-thickness: 2px; }
  .header-brand:hover,
  .app-back:hover,
  .footer-links a:hover { color: var(--ink); }
  .main-nav a:hover { color: var(--ink); }
  .btn-accent:hover { background: var(--ink-2); }
  .btn-outline:hover { background: var(--surface-2); }
  .hamburger:hover { background: var(--surface-2); }
  .app-tile-main:hover .app-tile-name { color: var(--accent); }
  .app-link:hover,
  .legal-toc a:hover { background: var(--surface-2); color: var(--ink); }
  .app-sibling:not(.is-current):hover { color: var(--ink); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 150ms var(--ease); }
  .btn:active { transform: scale(0.97); }
  .hamburger span { transition: transform 200ms var(--ease), opacity 150ms var(--ease); }
  .skip-link { transition: transform 150ms var(--ease); }
  .main-nav.open { animation: nav-in 220ms var(--ease); }
  @media (min-width: 760px) {
    .main-nav.open { animation: none; }
  }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- 5 Nov 2026: no brand in the header; the links sit in a centred bar ---- */
.site-header { justify-content: center; }
.hamburger { display: none; }
.main-nav,
.main-nav.open {
  display: block;
  position: static;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  animation: none;
}
.main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.main-nav li:last-child a { border-bottom: 0; }
.main-nav a.active { color: var(--ink); background: var(--surface-2); }
@media (max-width: 359px) { .main-nav a { padding: 0.45rem 0.6rem; font-size: 0.9rem; } }

/* The way back from an app's pages: a real button, not a footnote. */
.app-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .app-back:hover { background: var(--surface-2); color: var(--ink); }
}

/* Coming soon: a blurred icon and nothing else to go on. */
.app-tile--classified .app-tile-main { cursor: default; }
.app-icon--classified { filter: saturate(0.9); }
.app-tile--classified .app-tile-name { letter-spacing: 0.08em; text-transform: uppercase; }

/* The email, tucked under each form. */
.form-email { margin: 0.25rem 0 1.25rem; color: var(--ink-3); font-size: 0.9rem; }
.form-email a { color: var(--ink-2); }

/* Who "I" is on the legal pages. */
.legal-who { color: var(--ink-3); font-size: 0.9rem; }
