/* Swords Express Live: shared styles for the landing page and the privacy policy.
   Own look (not the REPS one): cool map-paper greys and navy ink, the app icon's red used like a route line on a
   transit map, and amber borrowed from Dublin's real-time stop signs for the routes board. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-opsz-normal.woff2) format('woff2-variations');
}

:root {
  color-scheme: light;
  --bg: #f3f5f8;
  --bg-2: #e8ecf2;
  --card: #ffffff;
  --ink: #0f1a2b;
  --ink-2: #2a3547;
  --muted: #5b6678;
  --line: rgba(15, 26, 43, 0.1);
  --grid: rgba(15, 26, 43, 0.05);
  --brand: #e8163a;
  --brand-2: #ff5a73;
  --brand-soft: rgba(232, 22, 58, 0.09);
  --night: #0f1a2b;
  --night-2: #18263b;
  --night-ink: #e9eef6;
  --night-muted: #93a1b8;
  --amber: #ffb020;
  --live: #22c55e;
  --shadow: 0 1px 2px rgba(15, 26, 43, 0.06), 0 10px 30px -12px rgba(15, 26, 43, 0.16);
  --radius: 18px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a111d;
    --bg-2: #0e1727;
    --card: #121c2d;
    --ink: #e9eef6;
    --ink-2: #c5cedc;
    --muted: #8d9aaf;
    --line: rgba(255, 255, 255, 0.08);
    --grid: rgba(255, 255, 255, 0.035);
    --brand: #ff4d68;
    --brand-2: #ff7a8e;
    --brand-soft: rgba(255, 77, 104, 0.13);
    --night: #060b14;
    --night-2: #0f1828;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-feature-settings: 'cv11', 'ss01';
  background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: var(--brand); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 14px; color: var(--muted); }
p:last-child { margin-bottom: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1080px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-size: 16px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 9px; }
.nav-links a:hover { text-decoration: none; background: var(--brand-soft); color: var(--brand); }
@media (max-width: 600px) { .nav-links a.hide-sm { display: none; } }

/* ---------- route motif: a line with a stop at each end, as in the app icon ---------- */
.stop-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 3px solid var(--brand); flex: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 3px 9px; border-radius: 7px;
  background: var(--c, var(--brand)); color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ---------- section heads ---------- */
section { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 750; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.sec-head { max-width: 640px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.sec-head p { font-size: 16.5px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- phones ---------- */
.phone { width: 260px; border-radius: 40px; background: #0b0f17; padding: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 40px 80px -30px rgba(15, 26, 43, 0.55), 0 12px 24px -12px rgba(15, 26, 43, 0.3); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
@media (prefers-color-scheme: dark) { .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 40px 80px -30px #000; } }

/* ---------- store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px 10px 14px; border-radius: 13px;
  background: var(--ink); color: var(--bg); line-height: 1.15; transition: transform 0.15s ease; }
.store:hover { text-decoration: none; transform: translateY(-2px); }
.store svg { width: 24px; height: 26px; flex: none; }
.store .apple { fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; }
.store b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.store.soon { pointer-events: none; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--night-muted); padding: 44px 0 52px; margin-top: 30px; font-size: 14px; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.footer .brand { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.footer-links a { color: var(--night-ink); font-weight: 600; }
.footer .fine { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--night-muted); max-width: 520px; }
.footer-line { display: flex; align-items: center; margin: 26px 0 0; }
.footer-line i { flex: 1; height: 4px; background: linear-gradient(90deg, var(--brand), var(--amber)); border-radius: 2px; }
.footer-line .stop-dot { background: var(--night); }
.footer-line .stop-dot:last-child { border-color: var(--amber); }
@media (max-width: 700px) { .footer-in { grid-template-columns: 1fr; } .footer-links { justify-content: flex-start; } }

:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
