/* TripThings website: shared styles. Colours are tokens (same palette as the app's Field Notebook look). */
:root {
  --text: #2b2418; --faded: #7a6f5c; --bg: #f4eedf; --surface: #fffbf2; --border: #cfc4ac;
  --green: #2f7a57; --green-dark: #1f5a3d; --on-green: #ffffff; --soft-green: #dcebdc; --rust: #b5663a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #f1e9d8; --faded: #b0a58f; --bg: #17140f; --surface: #26211a; --border: #4b4233;
    --soft-green: #1e3a2b; --rust: #e08a55;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, "Segoe UI", system-ui, sans-serif; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header.site { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.brand { font-weight: 700; font-size: 22px; letter-spacing: -0.5px; color: var(--text); text-decoration: none; }
.brand b { color: var(--rust); }
/* The mark: tripthings in lowercase, the dot of each i a map pin (the first rust, the second green), as in the app (components/Wordmark.tsx) */
.wm { font-weight: 800; font-size: 34px; letter-spacing: -0.02em; line-height: 1.2; display: inline-flex; align-items: flex-end; }
.wm .i { position: relative; display: inline-block; }
.wm .pin { position: absolute; top: -0.02em; left: 50%; width: 0.3em; height: 0.4em; margin-left: -0.15em; }
.wm .pin path { fill: currentColor; }
.wm .pin circle { fill: var(--bg); }
.wm .pin.rust { color: var(--rust); }
.wm .pin.green { color: var(--green); }
nav a { color: var(--faded); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.12; margin: 32px 0 12px; letter-spacing: -1px; }
h2 { font-size: 24px; margin: 44px 0 10px; }
h3 { font-size: 18px; margin: 28px 0 6px; }
p.lead { font-size: 20px; color: var(--faded); max-width: 36em; }
.button { display: inline-block; background: var(--green); color: var(--on-green); padding: 12px 22px; border-radius: 12px; text-decoration: none; font-weight: 600; margin: 6px 8px 6px 0; }
.button.outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 8px 0 16px; }
.phone { flex: 0 0 200px; height: 400px; border-radius: 26px; border: 3px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--faded); font-size: 14px; padding: 14px; }
.note { background: var(--soft-green); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.todo { background: #fff3c4; color: #5b4500; border-radius: 6px; padding: 0 5px; font-size: 0.92em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .todo { background: #5b4a12; color: #ffe9a3; } }
form.signup { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
form.signup input { flex: 1 1 220px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 16px; }
footer.site { border-top: 1px solid var(--border); margin-top: 56px; padding: 22px 0 40px; color: var(--faded); font-size: 14px; }
footer.site a { color: var(--faded); margin-right: 16px; }
a { color: var(--green); }
li { margin: 4px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
