:root {
  color-scheme: light;
  --accent: #6d9bff;
  --accent-light: #6d9bff20;
  --text: #3c4043;
  --muted: #586066;
  --background: #fff;
  --line: #e8ebef;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --text: #9197a5;
    --muted: #969eaf;
    --background: #2b2b2b;
    --line: #41444a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --text: #9197a5;
  --muted: #969eaf;
  --background: #2b2b2b;
  --line: #41444a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Jost", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.6; }
main { max-width: 750px; margin: 85px auto; padding: 0 15px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 4px; }
.site-header { position: fixed; top: 0; width: 100%; height: 47px; z-index: 10; background: var(--background); box-shadow: 0 0 8px #00000014; border-bottom: 2px solid var(--accent); }
.header-inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width: 750px; height: 45px; margin: 0 auto; padding: 0 15px; }
.site-title { display: flex; align-items: center; gap: 8px; font-size: 27px; }
.site-title svg { width: 29px; height: 29px; }
button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
button:hover { color: var(--accent); }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden], .sun { display: none; }
:root[data-theme="dark"] .moon { display: none; }
:root[data-theme="dark"] .sun { display: block; }
h1 { margin: 0 0 4px; color: var(--muted); font-size: 29px; font-weight: 400; }
.intro { margin: 0 0 32px; color: var(--muted); }
.trip-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.trip { display: block; padding: 32px; border: 1px solid var(--line); border-radius: 4px; }
.trip:hover { background: var(--accent-light); color: var(--text); }
.trip-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { margin: 0; font-size: 25px; font-weight: 400; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.trip-heading svg { color: var(--accent); }
.trip-date { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted); margin: 10px 0 14px; }
.trip-date span { margin: 0 6px; }
.trip-description { margin: 0 0 14px; color: var(--muted); }
.open-trip { color: var(--accent); font-size: 16px; }
@media (max-width: 700px) { main { margin: 85px auto 32px; padding: 0 24px; } .trip { padding: 24px; } }
@media (max-width: 400px) { .trip-date { font-size: 11px; } .trip-date span { margin: 0 2px; } }
