/* Shared look for trippymoto.com's text pages (support, privacy, terms, credits, press, delete-account).
   Same colours and fonts as index.html; the header and footer markup is repeated in each page. */
:root {
  --bg: #0E1116; --surf: #181C22; --line: #2A3039;
  --ink: #E7EAEE; --ink2: #C8D0DC; --muted: #9AA2AD;
  --blue: #2F8CFF; --link: #7DB5FF; --blue-bg: #16304F;
  --green-t: #7FDBA8; --teal: #5DCAA5; --warn: #FF7A6B;
  --green-bg: #123524; --safety-bg: #1f1b12; --safety-line: #5a4a1f; --shadow: rgba(0,0,0,.6);
}

/* Light mode follows the visitor's system setting. Dark stays the default look. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F6F7F9; --surf: #FFFFFF; --line: #DDE1E6;
    --ink: #15191F; --ink2: #3A424D; --muted: #5D6570;
    --blue: #1F6FE0; --link: #1A5FC8; --blue-bg: #E3EEFF;
    --green: #1E8A55; --green-t: #1E7A4C; --green-bg: #E2F4EA; --amber: #9A5B0C; --warn: #B8402C;
    --teal: #1F8F6C; --safety-bg: #FFF6E0; --safety-line: #EBCB7E; --shadow: rgba(20,30,45,.22);
  }
}
.mark g, .by svg g { stroke: var(--teal); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--link); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.page { max-width: 760px; margin: 0 auto; padding: 8px 0 56px; }

/* Header: cactus + Trippy, back to the home page */
.top { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { white-space: nowrap; font: 700 24px/1 "Barlow Semi Condensed", sans-serif; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.mark { width: 17px; height: 28px; flex: none; }
.top .join-link { font-size: 15px; white-space: nowrap; }

h1 { font: 700 clamp(34px, 5vw, 46px)/1.08 "Barlow Semi Condensed", sans-serif; margin: 12px 0 8px; }
h2 { font: 700 26px/1.15 "Barlow Semi Condensed", sans-serif; margin: 40px 0 10px; }
h3 { font: 700 20px/1.2 "Barlow Semi Condensed", sans-serif; margin: 24px 0 6px; }
p, li { color: var(--ink2); }
b, strong { color: var(--ink); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.muted, .updated { color: var(--muted); font-size: 15px; }
.lead { font-size: 19px; color: var(--ink2); }
.card { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.card p:first-child, .card h3:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.safety { border-color: var(--safety-line); background: var(--safety-bg); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 18px 0 0; }
.toc a { display: inline-block; text-decoration: none; color: var(--ink2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; }
.toc a:hover { border-color: var(--blue); color: var(--ink); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 14px; }
td { color: var(--ink2); }

/* Questions (same as the home page) */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }

/* Forms (account deletion) */
label { display: block; font-size: 14px; color: var(--muted); }
input { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; min-height: 48px; margin: 6px 0 12px; }
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
button { width: 100%; font: 700 19px/1 "Barlow Semi Condensed", sans-serif; letter-spacing: .3px; color: #fff; background: var(--blue); border: 0; border-radius: 14px; padding: 15px; cursor: pointer; }
button.danger { background: #C4321F; }
button:hover { filter: brightness(1.08); }
button:disabled { opacity: .55; cursor: wait; }
.msg { min-height: 1.4em; margin: 10px 0 0; color: var(--warn); }

/* Press kit downloads */
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.asset { background: var(--surf); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.asset .pic { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #0B0D11; }
.asset .pic.light { background: #fff; }
.asset .pic img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.asset .pic img.fill { width: 100%; height: 100%; object-fit: cover; }
.asset .txt { padding: 12px 14px 14px; font-size: 15px; color: var(--muted); }
.asset .txt b { display: block; color: var(--ink); font-weight: 600; }
.asset .txt a { margin-right: 10px; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--line); }

/* Footer: page links + elsewhere */
.site-foot { color: var(--muted); font-size: 14px; padding: 24px 0 40px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot .links a { color: var(--ink2); text-decoration: none; font-size: 15px; }
.site-foot .links a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-foot .by { display: inline-flex; align-items: center; gap: 8px; }
.site-foot .by svg { width: 11px; height: 18px; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink2); border: 1px solid var(--line); }
.social a:hover { color: var(--ink); border-color: var(--blue); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social .mail { width: auto; padding: 0 16px; border-radius: 999px; gap: 8px; display: inline-flex; text-decoration: none; }

@media (max-width: 560px) {
  .top .join-link { display: none; }
  table { font-size: 15px; }
}
