/* Shared styles for City Flight's static pages: advertise, credits, privacy, terms (owner: ads). */
:root {
  --bg: #0d1b2a; --bg2: #11243a; --card: #142b44; --ink: #eef3f8; --muted: #a9b8c8; --line: rgba(255, 255, 255, 0.12);
  --accent: #ffb703; --accent-ink: #1a1300; --ok: #4ade80; --sold: #f87171; --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5.2vw, 52px); margin: 0 0 14px; }
h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
small, .muted { color: var(--muted); }
code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 5px; font-size: .92em; }

/* header / footer */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(13, 27, 42, 0.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .in { max-width: 1120px; margin: auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; }
.site-head nav { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-head nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--ink); background: rgba(255,255,255,.06); }
.site-foot { border-top: 1px solid var(--line); margin-top: 64px; color: var(--muted); font-size: 14px; }
.site-foot .in { max-width: 1120px; margin: auto; padding: 28px 16px 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.site-foot a { color: var(--muted); }
.site-foot .sp { flex: 1; }

/* layout */
.wrap { max-width: 1120px; margin: auto; padding: 0 16px; }
.doc { max-width: 760px; margin: auto; padding: 40px 16px 0; }
.doc h2 { margin-top: 36px; font-size: 24px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .updated { color: var(--muted); font-size: 14px; }
section { padding: 56px 0 0; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: #d5dee8; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px rgba(255, 183, 3, .25); }
.btn-primary:hover { filter: brightness(1.06); text-decoration: none; }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* cards & grids */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,183,3,.14); color: var(--accent); }
.tag.ok { background: rgba(74,222,128,.14); color: var(--ok); }
.tag.sold { background: rgba(248,113,113,.14); color: var(--sold); }
.note { border-left: 3px solid var(--accent); background: rgba(255,183,3,.06); padding: 12px 16px; border-radius: 0 10px 10px 0; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: var(--bg2); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border-bottom: 0; }
tr:target td { background: rgba(255,183,3,.08); }

@media (max-width: 640px) {
  body { font-size: 15px; }
  section { padding-top: 44px; }
  .site-head .in { gap: 8px; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
