@font-face{font-family:"Fraunces";src:url("/fonts/fraunces-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url("/fonts/fraunces-600.woff2") format("woff2");font-weight:600 700;font-style:normal;font-display:swap}
/* TravelRTW design system - earth palette. Self-contained, no CDNs.
   Tokens: warm tan paper, humus ink, fir green (brand), river blue (accent),
   clay (pilot light), and a reserved signal green that appears only when
   there is genuinely good news. Light mode is daylight on a trail map;
   dark mode is dusk at camp - warm, never neon. All pairings verified
   >= 4.5:1 body / >= 3:1 large-UI. */
:root {
  --tan:#EAE0CE; --parchment:#F5EFE1; --humus:#2C2418; --dryearth:#6A5B45;
  --fir:#38634A; --river:#2E627B; --clay:#A15E2A;
  --leaf:#2E7D3D; --leaf-safe:#276834; --hairline:#D2C3A6;

  --bg:var(--tan); --surface:var(--parchment); --ink:var(--humus);
  --muted:var(--dryearth); --line:var(--hairline); --brand:var(--fir);
  --accent:var(--river); --signal:var(--leaf-safe); --signal-ink:#fff;
  --btn-ink:#F7F2E4; --pilot:var(--clay);

  --font-display:"Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --maxw:64rem; --radius:14px;
  --shadow:0 1px 2px rgba(44,36,24,.08), 0 10px 28px rgba(44,36,24,.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:#201A11; --surface:#2B2417; --ink:#EDE3CE; --muted:#B7A784;
    --line:#3D3422; --brand:#8FB89B; --accent:#8CB9CC;
    --signal:#6FB57C; --signal-ink:#201A11; --btn-ink:#201A11; --pilot:#C98A4B;
    --shadow:0 1px 2px rgba(0,0,0,.35), 0 10px 28px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg:#201A11; --surface:#2B2417; --ink:#EDE3CE; --muted:#B7A784;
  --line:#3D3422; --brand:#8FB89B; --accent:#8CB9CC;
  --signal:#6FB57C; --signal-ink:#201A11; --btn-ink:#201A11; --pilot:#C98A4B;
  --shadow:0 1px 2px rgba(0,0,0,.35), 0 10px 28px rgba(0,0,0,.35);
}
:root[data-theme="light"] {
  --bg:var(--tan); --surface:var(--parchment); --ink:var(--humus);
  --muted:var(--dryearth); --line:var(--hairline); --brand:var(--fir);
  --accent:var(--river); --signal:var(--leaf-safe); --signal-ink:#fff;
  --btn-ink:#F7F2E4; --pilot:var(--clay);
  --shadow:0 1px 2px rgba(44,36,24,.08), 0 10px 28px rgba(44,36,24,.08);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font-sans); font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: no-preference){ html{scroll-behavior:smooth} }
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 1.25rem}
a{color:var(--brand); text-underline-offset:2px}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline:2px solid var(--brand); outline-offset:2px; border-radius:4px;
}
h1,h2,h3{font-family:var(--font-display); font-weight:600; line-height:1.15; text-wrap:balance; margin:0}
.mono{font-family:var(--font-mono); font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}

/* contour texture: faint elevation lines, an old trail map under the page.
   Light and quiet on purpose - texture, not decoration. */
.contour{position:relative}
.contour::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.55;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='360' viewBox='0 0 560 360'%3E%3Cg fill='none' stroke='%237a6a50' stroke-opacity='.13' stroke-width='1.1'%3E%3Cpath d='M-20 70 C 90 25, 210 105, 320 62 S 520 30, 590 78'/%3E%3Cpath d='M-20 130 C 100 85, 220 165, 330 122 S 530 90, 590 138'/%3E%3Cpath d='M-20 190 C 110 145, 230 225, 340 182 S 540 150, 590 198'/%3E%3Cpath d='M-20 250 C 120 205, 240 285, 350 242 S 550 210, 590 258'/%3E%3Cpath d='M-20 310 C 130 265, 250 345, 360 302 S 560 270, 590 318'/%3E%3C/g%3E%3C/svg%3E");
  background-size:560px 360px;
  -webkit-mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image:linear-gradient(to bottom, black 55%, transparent 100%);
}
.contour > *{position:relative}

/* header */
header.site{position:sticky; top:0; z-index:20; background:color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
header.site .wrap{display:flex; align-items:center; gap:1rem; height:64px}
.brand{display:flex; align-items:center; gap:.55rem; font-family:var(--font-display);
  font-weight:600; font-size:1.2rem; letter-spacing:-.01em; color:var(--ink); text-decoration:none}
.brand svg{display:block; color:var(--brand)}
.brand .tool{color:var(--muted); font-weight:400}
header.site nav{margin-left:auto; display:flex; gap:1.25rem; align-items:center}
header.site nav a{color:var(--muted); text-decoration:none; font-size:.95rem}
header.site nav a:hover{color:var(--ink)}
.theme-toggle{background:none; border:1px solid var(--line); color:var(--muted);
  border-radius:999px; width:34px; height:34px; cursor:pointer; font-size:1rem}

/* buttons */
.btn{display:inline-flex; align-items:center; gap:.5rem; font:inherit; font-weight:600;
  border:none; border-radius:10px; padding:.7rem 1.15rem; cursor:pointer; text-decoration:none;
  transition:transform .08s ease, filter .15s ease}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--brand); color:var(--btn-ink)}
.btn-primary:hover{filter:brightness(1.06)}
.btn-signal{background:var(--signal); color:var(--signal-ink)}
.btn-ghost{background:transparent; border:1px solid var(--line); color:var(--ink)}
.btn[disabled]{opacity:.5; cursor:not-allowed}
.btn-lg{padding:.85rem 1.4rem; font-size:1.05rem}

/* hero */
.hero{padding:clamp(3rem,8vw,6.5rem) 0 clamp(2rem,5vw,3.5rem)}
.hero h1{font-size:clamp(2.2rem,5.4vw,3.6rem); letter-spacing:-.015em; max-width:18ch}
.hero p.lead{font-size:clamp(1.05rem,2.2vw,1.3rem); color:var(--muted); max-width:58ch; margin:1.25rem 0 2rem}
.hero .cta-row{display:flex; flex-wrap:wrap; gap:.85rem; align-items:center}
.hero .cta-note{font-size:.9rem; color:var(--muted); margin-top:.85rem}

.eyebrow{font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; color:var(--brand);
  font-weight:700; margin-bottom:.9rem}

/* route divider: a dashed journey line with a resting dot */
.route{display:block; width:100%; max-width:22rem; margin:0 auto; color:var(--line)}
.route .dot{fill:var(--pilot)}

/* sections */
section{padding:clamp(2.5rem,6vw,4.5rem) 0}
section h2{font-size:clamp(1.6rem,3.5vw,2.2rem); letter-spacing:-.01em; margin-bottom:.5rem}
.section-intro{color:var(--muted); max-width:60ch; margin-bottom:2rem}

/* steps */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem}
@media (max-width:52rem){.steps{grid-template-columns:1fr}}
.step{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.4rem; box-shadow:var(--shadow)}
.step .n{font-family:var(--font-mono); color:var(--brand); font-weight:600; font-size:.9rem; margin-bottom:.6rem}
.step h3{font-size:1.15rem; margin-bottom:.4rem}
.step p{margin:0; color:var(--muted); font-size:.97rem}

/* tool card (umbrella page) */
.toolcard{display:grid; grid-template-columns:1fr auto; gap:1.5rem; align-items:center;
  background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--brand);
  border-radius:var(--radius); padding:1.75rem; box-shadow:var(--shadow)}
@media (max-width:44rem){.toolcard{grid-template-columns:1fr}}
.toolcard h3{font-size:1.5rem; margin-bottom:.4rem}
.toolcard .live-pill{display:inline-flex; align-items:center; gap:.45rem; font-size:.78rem;
  font-weight:700; color:var(--brand); background:color-mix(in srgb,var(--brand) 13%,transparent);
  padding:.25rem .65rem; border-radius:999px; margin-bottom:.75rem}
.toolcard .live-pill .dot{width:7px; height:7px; border-radius:50%; background:var(--pilot)}

/* target grid */
.targets{display:grid; grid-template-columns:repeat(auto-fill,minmax(15rem,1fr)); gap:1rem}
.tcard{display:flex; flex-direction:column; gap:.5rem; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--radius); padding:1.2rem; box-shadow:var(--shadow);
  text-decoration:none; color:var(--ink); transition:border-color .15s ease}
.tcard:hover{border-color:var(--brand)}
.tcard .country{font-size:.82rem; color:var(--muted)}
.tcard h3{font-size:1.15rem}
.status{display:inline-flex; align-items:center; gap:.4rem; font-size:.78rem; font-weight:600;
  padding:.2rem .55rem; border-radius:999px; width:fit-content}
.status .dot{width:7px; height:7px; border-radius:50%}
.status.live{color:var(--signal); background:color-mix(in srgb,var(--signal) 14%,transparent)}
.status.live .dot{background:var(--signal)}
.status.soon{color:var(--muted); background:color-mix(in srgb,var(--muted) 14%,transparent)}
.status.soon .dot{background:var(--muted)}

/* panel / app */
.panel{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.5rem; box-shadow:var(--shadow)}
label{display:block; font-weight:600; font-size:.9rem; margin:0 0 .35rem}
select,input[type=date],input[type=email]{width:100%; font:inherit; padding:.65rem .75rem;
  border:1px solid var(--line); border-radius:9px; background:var(--bg); color:var(--ink)}
.field{margin-bottom:1.1rem}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:1rem}
@media (max-width:40rem){.form-row{grid-template-columns:1fr}}

/* watch list */
.watch{display:flex; align-items:center; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--line)}
.watch:last-child{border-bottom:none}
.watch .meta{flex:1; min-width:0}
.watch .meta .name{font-weight:600}
.watch .meta .sub{font-size:.85rem; color:var(--muted)}
.badge{font-size:.75rem; font-weight:700; padding:.2rem .55rem; border-radius:999px; white-space:nowrap}
.badge.watching{color:var(--brand); background:color-mix(in srgb,var(--brand) 13%,transparent)}
.badge.opened{color:var(--signal); background:color-mix(in srgb,var(--signal) 15%,transparent)}
.badge.ended{color:var(--muted); background:color-mix(in srgb,var(--muted) 13%,transparent)}

/* principles strip */
.ethics{background:color-mix(in srgb,var(--brand) 9%,var(--bg)); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.ethics ul{list-style:none; padding:0; margin:1rem 0 0; display:flex; flex-wrap:wrap; gap:.6rem 1.5rem}
.ethics li{display:flex; align-items:center; gap:.5rem; font-weight:500}
.ethics li::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--brand)}

/* callout / notice */
.callout{border-left:3px solid var(--brand); padding:.4rem 0 .4rem 1rem; color:var(--muted); margin:1.25rem 0}
.notice{background:color-mix(in srgb,var(--pilot) 12%,var(--bg)); border:1px solid color-mix(in srgb,var(--pilot) 30%,var(--line));
  border-radius:10px; padding:.85rem 1rem; font-size:.92rem}

/* footer */
footer.site{border-top:1px solid var(--line); padding:2.5rem 0; color:var(--muted); font-size:.9rem; margin-top:2rem}
footer.site .cols{display:flex; flex-wrap:wrap; gap:2rem; justify-content:space-between}
footer.site a{color:var(--muted)}
footer.site .promise{max-width:34ch}

.toast{position:fixed; left:50%; bottom:1.5rem; transform:translateX(-50%);
  background:var(--humus); color:#F7F2E4; padding:.8rem 1.15rem; border-radius:10px;
  box-shadow:var(--shadow); z-index:50; max-width:90vw; font-size:.95rem}
:root[data-theme="dark"] .toast{background:#000}
.hidden{display:none!important}
.prose{max-width:64ch}
.prose p{margin:1rem 0}
.prose h2{margin-top:2rem}
