/* Ring Style Finder: shared design system (tokens + components)
   Loaded by every page before its page-specific stylesheet. */

:root {
  --ink: #131316;
  --ink-soft: #272836;
  --muted: #5a5e6d;
  --accent: #1f5f5a;
  --accent-strong: #113f3b;
  --accent-soft: #d8f0e7;
  --border: rgba(19, 19, 22, 0.08);
  --divider: rgba(19, 19, 22, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.65);
  --radius: 12px;
  --radius-sm: 8px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  background: linear-gradient(180deg, #f8f8fb 0%, #f1f4f8 56%, #edf0f6 100%);
  background-attachment: fixed;
}

a { color: var(--accent-strong); }

.shell { width: min(1120px, calc(100vw - 40px)); margin: 0 auto; }

.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}

/* ── labels ── */
.caps {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
}
.caps--accent { color: var(--accent-strong); }

/* ── badges (rounded rectangles, never full pills) ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
}
.badge--soft {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 95, 90, 0.16);
  color: var(--accent-strong);
  box-shadow: 0 8px 18px rgba(18, 20, 30, 0.1);
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: rgba(255, 255, 255, 0.6); border-color: var(--border); color: var(--accent-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.85); }

/* ── site header (black, sticky) ── */
.siteheader { position: sticky; top: 0; z-index: 50; background: var(--ink); }
.siteheader-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; }
.siteheader .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.siteheader .brand img { width: 26px; height: 26px; border-radius: 7px; }
.siteheader .brand span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.siteheader-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); }
.siteheader-nav .navlink { color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 600; text-decoration: none; }
.siteheader-nav .navlink:hover { color: #fff; }
.siteheader-nav .btn-app {
  display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px;
  border-radius: 10px; background: var(--accent); color: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
}
.siteheader-nav .btn-app:hover { background: #24726b; }

/* ── legal / policy pages ── */
.policy-stamp { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* ── section bands (pastel corner-wash brand surfaces) ── */
.band { margin-top: 30px; border-radius: 20px; overflow: hidden; }
.band-inner { padding: clamp(30px, 4.5vw, 56px) clamp(20px, 4vw, 52px); }

.band--tryon {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(207, 224, 250, 0.85) 0, rgba(207, 224, 250, 0) 55%),
    radial-gradient(ellipse at 100% 6%, rgba(194, 231, 218, 0.75) 0, rgba(194, 231, 218, 0) 52%),
    radial-gradient(ellipse at 8% 100%, rgba(225, 218, 243, 0.6) 0, rgba(225, 218, 243, 0) 50%),
    linear-gradient(180deg, #f8f8fb, #eef2f8);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.band--guides {
  background:
    radial-gradient(ellipse at 2% 0%, rgba(230, 210, 248, 0.5) 0, rgba(230, 210, 248, 0) 58%),
    radial-gradient(ellipse at 100% 10%, rgba(246, 218, 232, 0.42) 0, rgba(246, 218, 232, 0) 54%),
    radial-gradient(ellipse at 95% 100%, rgba(198, 231, 218, 0.4) 0, rgba(198, 231, 218, 0) 52%),
    linear-gradient(180deg, #f8f8fb, #f4f3f8);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.band--closing {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(182, 229, 197, 0.9) 0, rgba(182, 229, 197, 0) 54%),
    radial-gradient(ellipse at 100% 2%, rgba(236, 230, 170, 0.8) 0, rgba(236, 230, 170, 0) 52%),
    radial-gradient(ellipse at 0% 80%, rgba(248, 213, 199, 0.75) 0, rgba(248, 213, 199, 0) 48%),
    radial-gradient(ellipse at 100% 100%, rgba(234, 218, 245, 0.65) 0, rgba(234, 218, 245, 0) 46%),
    linear-gradient(180deg, #f8f8fb, #f0f4f2);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* ── footer (shared across all pages) ── */
.site-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, #123f3a 0%, #0d302c 100%);
  color: rgba(240, 248, 244, 0.72);
  border-radius: 22px 22px 0 0;
}
.footer-inner { padding: clamp(24px, 2.6vw, 34px) 0 20px; }
.footer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.footer-logo img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 5px 12px rgba(0, 0, 0, 0.28); }
.footer-logo span { font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-backtop { color: rgba(240, 248, 244, 0.82); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer-backtop:hover { color: #fff; }
.footer-mid {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
  gap: 22px 40px; padding: 22px 0;
}
.footer-tagline {
  margin: 0; max-width: 26ch; flex: 1 1 220px;
  font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.4;
  color: rgba(240, 248, 244, 0.88);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-head {
  margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240, 248, 244, 0.5);
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { color: rgba(240, 248, 244, 0.82); font-size: 14.5px; text-decoration: none; }
.footer-col-links a:hover { color: #fff; }
.footer-status { display: flex; gap: 8px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(240, 248, 244, 0.92); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.status-pill svg { width: 14px; height: 14px; opacity: 0.85; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#nyc-clock { letter-spacing: 0.05em; min-width: 92px; }
.footer-bottom {
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12.5px; color: rgba(240, 248, 244, 0.55);
}
.footer-bottom a { color: rgba(240, 248, 244, 0.8); }

@media (max-width: 900px) {
  .footer-mid { gap: 14px 20px; }
  .footer-col--explore { display: none; }
  .footer-col-links { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
  .siteheader-nav { gap: 14px; }
  .siteheader-nav .btn-app { padding: 7px 13px; font-size: 13px; }
}
@media (max-width: 480px) {
  .siteheader-nav .navlink { display: none; }
  .siteheader .brand span { font-size: 11px; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
