/* Vivenly · vivenly.app · shared stylesheet
   The site is a night street: deep indigo sky, gold line art, Playfair Display headings and
   Plus Jakarta Sans text. It is dark by choice in both OS color schemes. Home-only styles
   (the street, the camera, the stops) are in home.css. No scripts anywhere. */

/* ---------- Fonts (self-hosted, SIL Open Font License; see fonts/*-LICENSE.txt) ---------- */
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/PlayfairDisplay-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/PlayfairDisplay-Italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/PlusJakartaSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/PlusJakartaSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/PlusJakartaSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Playfair Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 104%; ascent-override: 103%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 101%; ascent-override: 102%; descent-override: 24%; line-gap-override: 0%; }

/* ---------- Tokens (one palette; the page is a night scene in light and dark mode alike) ---------- */
:root {
  --bg: #12101F; --bg2: #17152A; --surface: #1E1C30; --line: #2B2747; --line-soft: #231F3C;
  --text: #F0EFF8; --muted: #BDB8DC; --dim: #8E89B5;
  --ink: #D4984A; --hi: #F2D080;
  --a: #7B72CC; --b: #5B8C7A; --amber: #D4984A;
  --link: #F2D080;
  --serif: "Playfair Display", "Playfair Fallback", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Jakarta Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
main a:not([class]) { color: var(--link); text-decoration: underline; text-decoration-color: rgba(242, 208, 128, .45); text-underline-offset: 3px; }
main a:not([class]):hover { text-decoration-color: var(--hi); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--hi); }
p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 10px 14px; background: var(--surface); border: 1px solid var(--ink); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .01em; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
header.site nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
header.site nav a { text-decoration: none; color: var(--muted); padding: 10px 0; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(212, 152, 74, .45); color: var(--hi); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; background: rgba(18, 16, 31, .55); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 8px var(--hi); }
header.site nav a { white-space: nowrap; }
/* narrow phones: the inner pages drop the pill, and below 360px the home link too (the brand still links home); the home page does the reverse (home.css) */
@media (max-width: 600px) { header.site nav { gap: 18px; } header.site:not(.site--over) .pill { display: none; } }
@media (max-width: 359px) { header.site:not(.site--over) nav a:first-child { display: none; } }

/* ---------- Footer ---------- */
footer.site { position: relative; z-index: 3; background: var(--bg); border-top: 1px solid var(--line); padding: 18px 16px 40px; text-align: center; font-size: 14px; color: var(--dim); }
footer.site nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin-bottom: 2px; }
footer.site a { color: var(--muted); text-decoration: none; padding: 11px 0; }
footer.site a:hover { color: var(--text); }
footer.site p { margin: 0; }

/* ---------- Shared text pieces ---------- */
.eyebrow { margin: 0 0 20px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid rgba(212, 152, 74, .5); color: var(--text); background: var(--surface); }
.btn:hover { border-color: var(--hi); color: var(--hi); }
.btn--gold { background: var(--ink); color: #12101F; border-color: var(--ink); }
.btn--gold:hover { background: var(--hi); border-color: var(--hi); color: #12101F; }
kbd { font: 500 14px/1.4 var(--sans); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; white-space: nowrap; color: var(--text); }
@media (max-width: 359px) { kbd { font-size: 13px; } }

/* ---------- Support page ---------- */
.support { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.support h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); line-height: 1.08; }
.support .meta { margin-top: 12px; color: var(--muted); }
.support__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
@media (min-width: 900px) { .support__grid { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; } .support__aside { position: sticky; top: 24px; } }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.contact h2 { font-size: 1.375rem; }
.contact p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.addresses { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.addresses li { padding-left: 16px; position: relative; }
.addresses li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.callout { margin: 18px 0 0; padding: 12px 16px; background: var(--bg2); border-left: 3px solid var(--ink); border-radius: 12px; font-size: 15px; }
.faq h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.qnav { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.qnav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--hi); text-decoration: none; }
.qnav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq h3 { margin: 36px 0 6px; font-size: 1.25rem; line-height: 1.3; scroll-margin-top: 24px; }
.faq h3:first-of-type { margin-top: 28px; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); }
.lost .mark-wrap { position: relative; display: grid; place-items: center; width: 200px; height: 200px; margin: 0 auto; }
.lost .mark-wrap::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(242, 208, 128, .22), transparent 68%); }
.lost .mark-wrap img { position: relative; width: 72px; height: 72px; border-radius: 22%; }
.lost h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-top: 8px; line-height: 1.1; }
.lost p { margin: 12px auto 0; max-width: 34em; color: var(--muted); }
.lost .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px auto 0; }
