/* Tadoot site. No build step, no external requests (fonts use local installs, then system fallbacks). */
:root {
  --bg: #F6EFE1;
  --ink: #23233A;
  --muted: #55556E;
  --card: #FFFBF2;
  --line: #E4D9C3;
  --coral: #E2633F;
  --on-coral: #23233A;
  --link: #B8431F;
  --ph-bg: #FFE9A8;
  --ph-ink: #4A3A00;
  --map: #E8EFE1;
  --map-block: #DCE6D2;
  --map-road: #C9D8BC;
  --green: #3D8A0F;
  --head: "Baloo 2", "Baloo2", ui-rounded, "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1B2E;
    --ink: #F6EFE1;
    --muted: #BDB8CC;
    --card: #23233A;
    --line: #3A3A55;
    --coral: #EF7650;
    --on-coral: #1B1B2E;
    --link: #F2916F;
    --ph-bg: #5A4A10;
    --ph-ink: #FFF1C2;
    --map: #232E27;
    --map-block: #2B382F;
    --map-road: #34443A;
    --green: #7FD34A;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 1.0625rem/1.65 var(--body);
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 2rem 0 .5rem; }
h1 { font-size: clamp(2rem, 7vw, 3rem); margin-top: 1rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .5rem 1rem; z-index: 9; }
.skip:focus { left: 0; }
header.site { padding: 1rem 0; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: space-between; }
.brand { font: 800 1.6rem/1 var(--head); color: var(--ink); text-decoration: none; }
.brand span { color: var(--coral); }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; padding: 0; }
nav a { color: var(--ink); padding: .5rem 0; display: inline-block; min-height: 44px; line-height: 28px; }
nav a[aria-current="page"] { font-weight: 700; text-decoration-color: var(--coral); text-decoration-thickness: 3px; }
.hero { padding: 2rem 0 1rem; }
.tag { font: 600 1.3rem/1.3 var(--head); color: var(--muted); margin: 0 0 1rem; }
.btn {
  display: inline-block; background: var(--coral); color: var(--on-coral); font: 700 1.05rem var(--head);
  padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none; min-height: 44px;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
}
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); padding: 0; list-style: none; margin: 1.5rem 0; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.1rem; }
.cards h3 { margin-top: 0; }
.notice { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--coral); border-radius: .5rem; padding: .75rem 1rem; margin: 1.25rem 0; }
.ph { background: var(--ph-bg); color: var(--ph-ink); padding: 0 .3em; border-radius: 3px; font-weight: 600; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; margin: 1rem 0; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--line); padding: .5rem .6rem; text-align: left; vertical-align: top; }
th { background: var(--card); }
footer.site { margin-top: 3rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
footer.site ul { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform .12s; } .btn:hover { transform: translateY(-2px); } }

/* Journey map demo: panel on the left, plotted route on the right. Inspired by a map+side-panel dashboard, restyled for Tadoot. */
.demo { width: min(64rem, 100vw - 2rem); margin: 2rem 0; position: relative; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: 20rem 1fr; border: 3px solid var(--ink); border-radius: 1.5rem; overflow: hidden; background: var(--card); box-shadow: 0 6px 0 var(--ink); }
.demo h2 { margin: 0 0 .75rem; font-size: 1.25rem; }
.stops { padding: 1.25rem; }
.stops ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.stops li { display: flex; gap: .75rem; align-items: center; background: var(--bg); border: 2px solid var(--ink); border-radius: 1rem; padding: .6rem .8rem; }
.stops li b { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--coral); color: var(--on-coral); border: 2px solid var(--ink); font: 800 .95rem var(--head); }
.stops li small { display: block; color: var(--muted); line-height: 1.3; }
.stops li.done b { background: var(--green); }
.stops li.done span { text-decoration: line-through; text-decoration-thickness: 2px; }
.stops li.now { box-shadow: 0 3px 0 var(--ink); }
.mapbox { position: relative; min-height: 26rem; background: var(--map); }
.mapbox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapbox .tip { position: absolute; right: 1rem; bottom: 1rem; width: 13rem; background: var(--card); border: 3px solid var(--ink); border-radius: 1rem; padding: .7rem .85rem; box-shadow: 0 4px 0 var(--ink); font-size: .9rem; line-height: 1.35; }
.mapbox .tip strong { font-family: var(--head); font-size: 1rem; display: block; }
.mapbox .chip { position: absolute; left: 1rem; top: 1rem; background: var(--ink); color: var(--bg); border-radius: 999px; padding: .3rem .9rem; font: 700 .8rem var(--head); }
@media (max-width: 44rem) { .demo { grid-template-columns: 1fr; } .mapbox { order: -1; min-height: 20rem; } .mapbox .tip { left: 1rem; right: 1rem; width: auto; } }
@media (prefers-reduced-motion: no-preference) { .you { animation: ping 1.8s ease-out infinite; transform-origin: center; transform-box: fill-box; } @keyframes ping { 50% { transform: scale(1.6); opacity: .4; } } }

/* Brand mark, hero, reveal motion */
.tm { font-size: .45em; vertical-align: super; font-weight: 600; margin-left: .05em; color: var(--coral); line-height: 0; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0 .5rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px dashed var(--line); box-shadow: none; font-size: .95rem; }
.small { color: var(--muted); font-size: .95rem; margin: .25rem 0 0; }
@media (min-width: 900px) {
  .wrap { max-width: 72rem; padding: 0 2rem; }
  .hero { padding: 4.5rem 0 2.5rem; max-width: 44rem; }
  h1 { font-size: clamp(3.5rem, 7vw, 5.5rem); }
  .hero p { font-size: 1.2rem; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .demo { width: min(72rem, 100vw - 4rem); grid-template-columns: 24rem 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .demo.reveal { transform: translateX(-50%) translateY(18px); }
  .js .demo.reveal.in { transform: translateX(-50%); }
  .cards li { transition: transform .2s, box-shadow .2s; }
  .cards li:hover { transform: translateY(-4px); box-shadow: 0 8px 0 rgba(0,0,0,.08); }
}
