:root {
  color-scheme: light;
  --paper: #f3f1e8;
  --ink: #172621;
  --muted: #43534c;
  --line: #aab8ae;
  --accent: #153f35;
  --mint: #def1d9;
  font-family: system-ui, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.8; }
.wrap { width: min(100% - 2rem, 52rem); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.brand { font-family: ui-monospace, monospace; font-size: 1.15rem; font-weight: 800; letter-spacing: .15em; color: var(--ink); }
.intro { padding: clamp(2.5rem, 8vw, 5.5rem) 0 2.25rem; }
h1, h2 { line-height: 1.3; margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 6.5vw, 4.65rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); }
p { margin: 0 0 1rem; }
.lead { max-width: 35rem; font-size: clamp(1rem, 2.4vw, 1.2rem); }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.jump { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .9rem; border: 1px solid var(--accent); border-radius: .35rem; font-weight: 700; }
.jump:hover { background: var(--mint); }
section { margin-bottom: 2.5rem; scroll-margin-top: 1rem; }
.routes { padding: clamp(1rem, 4vw, 2rem); border-radius: .55rem; background: var(--accent); color: white; }
dl { margin: 0 0 1rem; }
dt { font-weight: 750; }
dd { margin: .15rem 0 0; }
.routes dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.routes dl div { border-top: 1px solid #90b5a8; padding-top: .65rem; }
.routes dd { color: var(--mint); }
.routes p { margin: 0; }
.steps { padding-inline-start: 1.6rem; }
.steps li { padding: .5rem .3rem; border-bottom: 1px solid var(--line); }
.steps li::marker { color: var(--accent); font-weight: 750; }
.steps p { margin: .2rem 0; }
.product { border: 1px solid var(--line); border-radius: .55rem; padding: clamp(1rem, 4vw, 2rem); background: #fcfbf4; }
.fit div { border-top: 1px solid var(--line); padding: .55rem 0; }
.disclosure { padding: .6rem .8rem; background: var(--mint); border: 1px solid var(--accent); border-radius: .3rem; }
.ad { margin-top: 1.25rem; overflow-wrap: anywhere; }
.ad img { max-width: 100%; height: auto; }
.sources { border-top: 1px solid var(--line); color: var(--muted); padding: 1.25rem 0 2.5rem; font-size: .95rem; }
.sources ul { padding-inline-start: 1.2rem; }
@media (max-width: 33rem) {
  .routes dl { grid-template-columns: 1fr; }
}
