/* ringloapp.com — the ONE site header and footer (job 1237).
   Every page in hosting/ links this file and carries the same header markup, inserted by
   scripts/_job_1237_site_chrome.mjs between <!-- site-header:start --> and <!-- site-header:end -->.
   Same links, same order, same look as the home page, and it stays on screen while scrolling
   (position: sticky), so a visitor who jumps to /#pricing or /#faq can always reach the menu.
   Every rule is namespaced under .site-header / .site-footer and sets its own font, size, colour,
   margin and padding, because pages carry their own element rules (contact.html styles bare
   `header` and `button`; most pages style bare `a`). */

html { scroll-padding-top: 88px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(10, 22, 40, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border: 0;
  border-bottom: 1px solid #131F33;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  text-align: left;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
.site-header *, .site-header *::before, .site-header *::after { box-sizing: border-box; }
.site-header .site-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.site-header .site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.site-header .site-brand:hover { text-decoration: none; }
.site-header .site-brand img {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 8px;
}
.site-header .site-brand span {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #fff;
}
.site-header .site-links { display: flex; align-items: center; }
.site-header .site-links a {
  color: #B0BEC5;
  margin: 0 0 0 24px;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: 0;
}
.site-header .site-links a:hover { color: #fff; text-decoration: none; }
.site-header .site-burger {
  display: none;
  width: auto;
  margin: 0;
  padding: 8px 6px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
.site-header .site-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #B0BEC5;
  transition: transform 0.2s, opacity 0.2s;
}
.site-header .site-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .site-burger.open span:nth-child(2) { opacity: 0; }
.site-header .site-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header .site-burger { display: block; }
  .site-header .site-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0D1F3C;
    border-top: 1px solid #131F33;
    border-bottom: 1px solid #131F33;
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header .site-links.open { display: flex; }
  .site-header .site-links a {
    margin: 0;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #131F33;
  }
  .site-header .site-links a:last-child { border-bottom: 0; }
}

/* Pages whose body centres one card with flexbox (invite, subscribe, trial): the header
   sits on top and the card stays centred in the space below it. */
body.site-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}
body.site-col > .site-center {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Shared footer, used where a page had none (terms, privacy, 404). Same links as home. */
.site-footer {
  border-top: 1px solid #131F33;
  padding: 40px 24px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}
.site-footer .site-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.site-footer .site-footer-links a { color: #8899AA; font-size: 14px; text-decoration: none; }
.site-footer .site-footer-links a:hover { color: #fff; }
.site-footer .site-footer-copy { color: #556677; font-size: 13px; margin: 0; }

/* Job 1238 — ring photos: the listing's main image, whole (contain, never cropped or stretched),
   on white because every listing photo is shot on white. */
.ring-photo { background: #fff; border-radius: 12px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0 0 14px; }
.ring-photo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; display: block; }
.ring-hero-photo { max-width: 380px; margin: 8px 0 28px; }
.ring-hero-photo .ring-photo { margin: 0 0 8px; }
.ring-hero-photo figcaption { color: #8899AA; font-size: 13px; line-height: 1.5; }
