/* Shared look for the TravelLog marketing pages (/group-trips, /cost-splitting, ...).
   Same tokens as /get and the trip viewer. The homepage (index.html) keeps its own inline
   copy because it is also the /t/ viewer template. */
:root {
  --bg: #f5f6fa; --surface: #ffffff; --ink: #1a1c22; --muted: #61646e;
  --line: #e4e6ec; --accent: #2E4A8F; --accent-soft: #eaeefb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161c; --surface: #1e2028; --ink: #eceef4; --muted: #9a9ea9;
    --line: #2a2d37; --accent: #8aa4ea; --accent-soft: #232a3d;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }
.top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  padding: 18px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.top .brand {
  display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink);
  text-decoration: none; font-size: 16px; margin-right: auto;
}
.top .brand img { width: 28px; height: 28px; border-radius: 7px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 21px; line-height: 1.3; margin: 34px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin: 14px 0;
}
.note { font-size: 14px; color: var(--muted); }
.cta {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 18px; margin: 36px 0 0; text-align: center;
}
.cta p { margin: 0 0 12px; font-weight: 600; }
.cta a.store {
  display: inline-block; margin: 5px 6px; padding: 10px 18px; background: #000; color: #fff;
  border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px;
}
.cta a.store small { display: block; font-weight: 400; font-size: 11px; opacity: .8; }
.tablewrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 9px 11px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--accent-soft); }
tr:last-child td { border-bottom: 0; }
.see { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.see a {
  display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--accent-soft);
  text-decoration: none; font-size: 14px; font-weight: 600;
}
.foot {
  margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.foot a { color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
code { font-size: 90%; }
