/* Shared by every page: tokens (light + dark), layout grid, type, header, footer, buttons, FAQ, map grid background. */

body {
  margin: 0;
}
a {
  color: inherit;
}
a:hover {
  color: #b02a2e;
}
.tc {
  --paper: #f5f5f4;
  --paper-2: #ecebe9;
  --ink: #1c1917;
  --ink-2: #3d3936;
  --muted: #57534e;
  --rule: rgba(28,25,23,.15);
  --rule-2: rgba(28,25,23,.08);
  --grid: rgba(28,25,23,.045);
  --fold: rgba(28,25,23,.022);
  --red: #e5484d;
  --mark: #b02a2e;
  --hl: #b02a2e;
  --btn: #d43a40;
  --btn-h: #b02a2e;
  --band: #1c1917;
  --band-ink: #f5f5f4;
  --band-muted: #a8a29e;
  --shadow: 0 1px 2px rgba(28,25,23,.06),0 30px 60px -30px rgba(28,25,23,.32);
  background: var(--paper);
  color: var(--ink);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100%;
  --c-fuel: #f97316;
  --c-toll: #eab308;
  --c-fare: #0ea5e9;
  --c-lodge: #ec4899;
  --c-rent: #8b5cf6;
  --c-act: #10b981;
  --card: #fdfdfc;
  --sheet: #fbfbfa;
  --mid: rgba(229,72,77,.06);
}
.tc.t-dark {
  --paper: #1a1918;
  --paper-2: #232120;
  --ink: #f5f5f4;
  --ink-2: #e7e5e4;
  --muted: #a8a29e;
  --rule: rgba(245,245,244,.17);
  --rule-2: rgba(245,245,244,.08);
  --grid: rgba(245,245,244,.04);
  --fold: rgba(245,245,244,.018);
  --mark: #f08a8d;
  --hl: #f08a8d;
  --band: #262322;
  --band-ink: #f5f5f4;
  --band-muted: #a8a29e;
  --shadow: 0 1px 2px rgba(0,0,0,.4),0 30px 60px -30px rgba(0,0,0,.8);
  --card: #262322;
  --sheet: #211f1e;
  --mid: rgba(240,138,141,.07);
}

@media (prefers-color-scheme:dark) {
  .tc.t-auto {
    --paper: #1a1918;
    --paper-2: #232120;
    --ink: #f5f5f4;
    --ink-2: #e7e5e4;
    --muted: #a8a29e;
    --rule: rgba(245,245,244,.17);
    --rule-2: rgba(245,245,244,.08);
    --grid: rgba(245,245,244,.04);
    --fold: rgba(245,245,244,.018);
    --mark: #f08a8d;
    --hl: #f08a8d;
    --band: #262322;
    --band-ink: #f5f5f4;
    --band-muted: #a8a29e;
    --shadow: 0 1px 2px rgba(0,0,0,.4),0 30px 60px -30px rgba(0,0,0,.8);
    --card: #262322;
    --sheet: #211f1e;
    --mid: rgba(240,138,141,.07);
  }
}

.tc a:focus-visible,
.tc summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}
.tc a:hover {
  color: inherit;
}
.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px,4.5vw,64px);
  box-sizing: border-box;
}
.g12 {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  column-gap: clamp(16px,2.2vw,32px);
}
.disp {
  font-family: Figtree,ui-sans-serif,system-ui,sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
.ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3.5px solid var(--red);
  box-sizing: border-box;
  flex: none;
}
.lede {
  font-size: clamp(18px,1.55vw,21px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.p {
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  font-size: 16.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
  justify-content: center;
  box-sizing: border-box;
}
.tc a.btn:hover {
  background: var(--btn-h);
  color: #fff;
}
.btn-sm {
  height: 44px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 9px;
}
.arr {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.small {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-2);
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.logo {
  display: flex;
  text-decoration: none;
  border-radius: 6px;
}
.lockup {
  height: 27px;
  width: auto;
  display: block;
}
.lg-a {
  fill: var(--red);
}
.lg-b {
  fill: var(--mark);
}
.lg-w {
  fill: var(--ink);
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px,2.4vw,30px);
}
.nav-s {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
}
.tc a.nav-q:hover,
.tc a.nav-s:hover {
  color: var(--hl);
}
.folds {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  pointer-events: none;
}
.rule-top {
  border-top: 1px solid var(--rule-2);
}
.faq-h {
  grid-column: 1/span 4;
}
.faq {
  grid-column: 6/span 7;
  border-top: 1px solid var(--rule);
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  font-family: Figtree,sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--hl);
  border-bottom: 2px solid var(--hl);
  transform: rotate(45deg) translate(-3px,-3px);
  transition: transform .2s;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-3px,-3px);
}
.faq .p {
  padding: 0 48px 24px 0;
}
.contours path {
  fill: none;
  stroke: var(--rule);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.contours .c-red {
  stroke: var(--red);
  stroke-width: 2px;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.foot .sym {
  height: 26px;
  width: auto;
  display: block;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.foot nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.tc .foot nav a:hover {
  color: var(--hl);
}
.foot .small {
  margin-left: auto;
}

@media (max-width:640px) {
  .tc {
    font-size: 16px;
  }
  .nav-q {
    display: none;
  }
  /* The language switch moves to the footer, and the Polish header button says just "Zacznij". */
  .tc .nav a.nav-lang,
  .nav-more {
    display: none;
  }
  .hdr-in {
    height: 64px;
  }
  .lockup {
    height: 23px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .faq summary {
    font-size: 18px;
  }
  .faq .p {
    padding-right: 8px;
  }
  .foot .small {
    margin-left: 0;
    width: 100%;
  }
}

/* Language switch in the header (EN / PL) */
.tc a.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: var(--rule-2);
  color: var(--muted);
  font-size: 14px;
}
.tc a.nav-lang:hover {
  background: var(--rule);
}
.nav-lang svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

/* Beta / launched wording (data-state on <html>, see CLAUDE.md) */
.if-beta,
.if-launched {
  display: contents;
}
html[data-state="beta"] .if-launched,
html[data-state="launched"] .if-beta,
html[data-beta-note="off"] .if-note {
  display: none;
}
