/*
 * The whole stylesheet for routvia.app. Hand-written on purpose: this site
 * exists only so the App Store listing has working privacy and support URLs,
 * so it has no build step, no framework and no dependencies. The colors are
 * the app's — keep them in sync with ios-app/RoutVia/Design/Brand.swift.
 */

:root {
  --navy: #0d1b2a;
  --navy-mid: #17324d;
  --accent: #14b8a6;
  --accent-deep: #0d9488;
  --slate-muted: #5b677a;
  --cloud: #f3f5f7;
  --border: #dde6ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cloud);
  color: var(--navy);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-deep);
  font-weight: 500;
}

.masthead {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.masthead .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
}

.masthead img {
  height: 26px;
  width: auto;
}

.masthead a {
  color: #fff;
  font-size: 14px;
  opacity: 0.85;
  text-decoration: none;
}

.masthead a:hover {
  opacity: 1;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-size: 18px;
  margin: 32px 0 8px;
}

p,
li {
  color: var(--slate-muted);
}

.updated {
  color: var(--slate-muted);
  font-size: 14px;
  margin-top: 8px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

li strong {
  color: var(--navy);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 28px;
  box-shadow: 0 1px 2px rgba(13, 27, 42, 0.05), 0 8px 24px rgba(13, 27, 42, 0.06);
}

.card h2 {
  margin-top: 0;
}

/* ── Landing page ────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px 88px;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero .mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin-top: 26px;
  font-size: 38px;
  letter-spacing: 0.4px;
}

.hero .tagline {
  color: var(--accent);
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
}

.badges {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

/* Placeholder state — deliberately not a link, so nobody taps into nothing. */
.badge-soon {
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge svg {
  flex: none;
}

.landing {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 20px 24px;
}

.features {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature h2 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.feature p {
  margin: 0;
  font-size: 15px;
}

.cta {
  margin-top: 64px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 24px;
  box-shadow: 0 1px 2px rgba(13, 27, 42, 0.05), 0 8px 24px rgba(13, 27, 42, 0.06);
}

.cta h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.cta p {
  max-width: 420px;
  margin: 0 auto;
}

.button {
  display: inline-block;
  margin-top: 22px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
}

.button:hover {
  background: var(--navy-mid);
}

footer .dot {
  color: var(--border);
  margin: 0 4px;
}

footer .copyright {
  margin-top: 10px;
}

footer {
  text-align: center;
  color: var(--slate-muted);
  font-size: 13px;
  padding: 28px 20px 44px;
}
