/* goroutr.com's own pages beside Home: What customers see (/customers), For courier companies (/for/courier-companies) and
 * What's new (/whats-new). Drawn and decided 25 November 2026 (docs/design/website/site-pages.html, drawings 2 to 4), built
 * over site.css: its tokens, header, buttons and footer, on Home's first-screen white ("take 1": white, hairlines, Plus
 * Jakarta Sans, amber only on the go button). Cards are a tonal step with no border and no shadow; no colored stripe on
 * anything. Pictures of real screens stay as they were taken (light), and the tracking page's own dark comes in dark. */

.pg {
  --pg: #FFFFFF; --pg-soft: #F7F6F3; --pg-soft2: #F0EDE6; --pg-line: #ECE9E3; --pg-line2: #DEDAD2;
  --pg-dev: #15130F;
  background: var(--pg);
}
:root[data-theme="dark"] .pg {
  --pg: var(--canvas); --pg-soft: #191714; --pg-soft2: #24211C; --pg-line: #302C25; --pg-line2: #3E3A32;
  --pg-dev: #2A2721;
}
.pg .top { position: relative; background: var(--pg); box-shadow: 0 0 0 100vmax var(--pg); clip-path: inset(0 -100vmax); }
.pg .foot { border-top-color: var(--pg-line); }
.pg .btn.primary, :root[data-theme="dark"] .pg .btn.primary { color: #15130F; }

/* A page's first screen: a title, a few words, the one go button. */
.pg-hero { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 64px; align-items: center; }
.pg-eb { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--pg-soft); color: var(--ink2); font-size: 13.5px; font-weight: 600; margin: 0 0 22px; }
.pg-eb .i { width: 15px; height: 15px; }
.pg-eb.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink3); }
.pg-h1 { font: 700 clamp(40px, 4.6vw, 62px)/1.02 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.pg-lede { margin: 22px 0 0; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; color: var(--ink2); max-width: 32em; text-wrap: pretty; }
.pg-lede b { color: var(--ink); font-weight: 600; }
.pg-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 30px 0 0; }
.pg-go .btn { height: 52px; padding: 0 24px; font-size: 15.5px; }
.pg-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: none; }
.pg-link .i { width: 16px; height: 16px; }
.pg-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Sections run the page's width, each with a .wrap inside: a hairline between them, or the soft step for one that stands apart. */
.pg-sec { padding-top: 104px; padding-bottom: 104px; border-top: 1px solid var(--pg-line); }
.pg-band { background: var(--pg-soft); border-top: 0; }
.pg-sec.tight { padding-top: 64px; padding-bottom: 64px; }
.pg-h2 { font: 700 clamp(30px, 3.2vw, 44px)/1.05 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.04em; margin: 0; text-wrap: balance; max-width: 18em; }
.pg-sub { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink2); max-width: 36em; text-wrap: pretty; }
.pg-head { margin: 0 0 48px; }
.pg-small { font-size: 14.5px; line-height: 1.5; color: var(--ink2); margin: 14px 0 0; max-width: 34em; }
.pg-mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; font-size: .92em; }

/* An icon in a soft square. */
.pg-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--pg-soft); color: var(--ink); flex: none; }
.pg-ic .i { width: 21px; height: 21px; }

/* Rows with hairlines. */
.pg-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pg-line); }
.pg-rows > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--pg-line); align-items: start; }
.pg-rows b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; display: block; }
.pg-rows p { margin: 4px 0 0; font-size: 15.5px; color: var(--ink2); line-height: 1.55; }

/* Tiles: a tonal step, no border, no shadow. */
.pg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-tile { padding: 26px 24px 24px; border-radius: var(--r-card); background: var(--pg-soft); }
.pg-band .pg-tile { background: var(--pg); }
.pg-tile .pg-ic { background: var(--pg); margin: 0 0 18px; }
.pg-band .pg-tile .pg-ic { background: var(--pg-soft); }
.pg-tile b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.pg-tile p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }

/* Two columns: words beside a picture, or the picture first. */
.pg-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pg-fx { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: center; }
.pg-fx.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.pg-fx.flip > :first-child { order: 2; }
.pg-fx .pg-rows { margin-top: 28px; }
.pg-fx .pg-rows > li { padding: 16px 0; grid-template-columns: 36px minmax(0, 1fr); }
.pg-fx .pg-rows .pg-ic { width: 36px; height: 36px; border-radius: 11px; }
.pg-fx .pg-rows .pg-ic .i { width: 18px; height: 18px; }
.pg-fx .pg-rows b { font-size: 15.5px; }
.pg-fx .pg-rows p { font-size: 14.5px; }

/* A phone holding a picture of the real tracking page. */
.pg-phone { position: relative; width: var(--w, 300px); aspect-ratio: 390 / 812; border-radius: calc(var(--w, 300px) * .12); padding: calc(var(--w, 300px) * .026); background: var(--pg-dev); box-shadow: 0 0 0 1px var(--pg-line2), 0 40px 80px -44px rgb(21 19 15 / .45); flex: none; }
:root[data-theme="dark"] .pg-phone { box-shadow: 0 0 0 1px #4A453C, 0 40px 80px -44px rgb(0 0 0 / .8); }
.pg-phone .scr { width: 100%; height: 100%; border-radius: calc(var(--w, 300px) * .095); overflow: hidden; background: #F5F3EE; }
:root[data-theme="dark"] .pg-phone .scr { background: #0E0D0B; }
.pg-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
/* Each picture of the tracking page comes in its own light and dark: the one for the page's theme shows. */
.pg img.on-dark, :root[data-theme="dark"] .pg img.on-light { display: none; }
:root[data-theme="dark"] .pg img.on-dark { display: block; }

/* A browser window holding a picture of a Routr Dispatch screen (light in both themes, as it was taken). */
.pg-win { border-radius: 14px; overflow: hidden; background: #FFFFFF; box-shadow: 0 0 0 1px var(--pg-line2), 0 40px 90px -44px rgb(21 19 15 / .4); }
:root[data-theme="dark"] .pg-win { box-shadow: 0 0 0 1px #4A453C, 0 40px 90px -44px rgb(0 0 0 / .8); }
.pg-win .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #F7F6F3; border-bottom: 1px solid #ECE9E3; }
.pg-win .bar i { width: 9px; height: 9px; border-radius: 50%; background: #DEDAD2; }
.pg-win .bar span { margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 6px; background: #FFFFFF; color: #5F5A50; font-size: 12px; font-weight: 600; }
.pg-win .bar .i { width: 12px; height: 12px; }
.pg-win img { width: 100%; height: auto; display: block; }

/* Small chips. */
.pg-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--pg-soft2); color: var(--ink2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pg-chip .i { width: 13px; height: 13px; }

/* The close: one line and the go button. */
.pg-close { padding-top: 96px; padding-bottom: 104px; border-top: 1px solid var(--pg-line); text-align: center; }
.pg-close .pg-h2 { margin: 0 auto; }
.pg-close .pg-go { justify-content: center; }

@media (max-width: 960px) {
  .pg-hero { padding-top: 32px; padding-bottom: 48px; grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .pg-sec { padding-top: 72px; padding-bottom: 72px; }
  .pg-head { margin-bottom: 32px; }
  .pg-tiles, .pg-tiles.two { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pg-two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pg-fx, .pg-fx.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pg-fx.flip > :first-child { order: 0; }
  .pg-close { text-align: left; padding-top: 72px; padding-bottom: 72px; }
  .pg-close .pg-go { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .pg-h1 { font-size: 40px; }
  .pg-go .btn { width: 100%; }
  .pg .top-nav { gap: 14px; }
  .pg .top-link { display: none; }
}

/* ── What customers see (/customers) ── */
/* The first screen: two of the real pages, the one in front the moment a customer is next. */
.cu-duo { position: relative; height: 640px; }
.cu-duo .pg-phone:first-child { position: absolute; right: 210px; top: 54px; --w: 270px; }
.cu-duo .pg-phone:last-child { position: absolute; right: 0; top: 0; --w: 300px; }
/* From booked to delivered: five pages in a row (on a phone, a row that scrolls a page at a time). */
.cu-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.cu-steps figure { margin: 0; }
.cu-steps .pg-phone { --w: 100%; width: 100%; aspect-ratio: 390 / 640; border-radius: 28px; padding: 6px; }
.cu-steps .pg-phone .scr { border-radius: 22px; }
.cu-steps figcaption { margin: 18px 2px 0; }
.cu-steps figcaption b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.cu-steps figcaption span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.cu-steps figcaption .cu-n { margin: 0 0 8px; font: 600 12px/1 "IBM Plex Mono", monospace; color: var(--ink3); }
/* How much they see: three choices, drawn like the setting itself. */
.cu-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cu-lvl { border-radius: 22px; background: var(--pg); padding: 22px 22px 0; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; }
.cu-lt { display: flex; align-items: center; gap: 10px; }
.cu-radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--pg-line2); background: var(--pg); flex: none; }
.cu-lvl.on .cu-radio { box-shadow: inset 0 0 0 6px var(--ink); }
.cu-lvl b { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.cu-lvl p { margin: 8px 0 0 30px; font-size: 14.5px; color: var(--ink2); line-height: 1.5; }
.cu-crop { margin: 22px 0 0; height: 250px; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 0 0 1px var(--pg-line); background: #F5F3EE; align-self: end; }
:root[data-theme="dark"] .cu-crop { background: #0E0D0B; }
.cu-crop img { width: 100%; height: auto; display: block; }
.cu-note { margin: 22px 0 0; font-size: 14.5px; color: var(--ink2); }
.cu-note b { color: var(--ink); font-weight: 600; }
/* Got a link from a business? */
.cu-got { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: start; }
.cu-eb { background: var(--pg); }
.cu-num { display: inline-flex; align-items: center; margin: 18px 0 0; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--pg); font: 600 14px/1 "IBM Plex Mono", monospace; letter-spacing: .02em; }
.cu-ways { display: grid; gap: 10px; }
.cu-ways a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--pg); text-decoration: none; }
.cu-ways a:hover { box-shadow: inset 0 0 0 1px var(--pg-line2); }
.cu-ways b { display: block; font-size: 15.5px; }
.cu-ways small { display: block; font-size: 13.5px; color: var(--ink2); }
.cu-ways .pg-ic { width: 40px; height: 40px; background: var(--pg-soft); }
.cu-ways a > .i { margin-left: auto; width: 18px; height: 18px; color: var(--ink3); }
@media (max-width: 960px) {
  .cu-duo { height: 470px; }
  .cu-duo .pg-phone:first-child { right: auto; left: 0; top: 40px; --w: 200px; }
  .cu-duo .pg-phone:last-child { right: 0; --w: 222px; }
  .cu-steps { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); }
  .cu-steps figure { flex: none; width: 214px; scroll-snap-align: start; }
  .cu-levels { grid-template-columns: minmax(0, 1fr); }
  .cu-crop { height: 200px; }
  .cu-got { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 400px) { .cu-duo .pg-phone:first-child { --w: 180px; } .cu-duo .pg-phone:last-child { --w: 200px; } .cu-duo { height: 430px; } }

/* ── For courier companies (/for/courier-companies) ── */
.cc-hero { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 56px; }
.cc-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-flow > div { padding: 4px 32px 4px 0; }
.cc-flow > div + div { padding-left: 32px; border-left: 1px solid var(--pg-line); }
.cc-flow b { display: block; margin: 0 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.cc-flow p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.cc-n { display: block; margin: 0 0 14px; font: 600 12px/1 "IBM Plex Mono", monospace; color: var(--ink3); }
.cc-sum { margin: 28px 0 0; border-radius: 16px; background: var(--pg-soft); padding: 6px 18px; }
.cc-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; color: var(--ink2); }
.cc-sum > div + div { border-top: 1px solid var(--pg-line); }
.cc-sum .tot { color: var(--ink); font-weight: 700; }
.cc-sum .pg-mono { color: var(--ink); white-space: nowrap; }
.cc-tiles { margin-top: 16px; }
@media (max-width: 960px) {
  .cc-hero { grid-template-columns: minmax(0, 1fr); }
  .cc-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cc-flow > div, .cc-flow > div + div { padding: 20px 0; border-left: 0; }
  .cc-flow > div + div { border-top: 1px solid var(--pg-line); }
  .cc-sum > div { font-size: 14px; }
}

/* ── What's new (/whats-new, written by tool/whats_new/make_whats_new.mjs) ── */
.wn-hero { padding-top: 72px; padding-bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.wn-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wn-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--pg-soft); }
.wn-seg[hidden] { display: none; }
.wn-seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font: 600 14px/1 "Plus Jakarta Sans", sans-serif; color: var(--ink2); cursor: pointer; }
.wn-seg button[aria-pressed="true"] { background: var(--pg); color: var(--ink); box-shadow: 0 1px 2px rgb(21 19 15 / .08), 0 0 0 1px var(--pg-line); }
.wn-feed { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink2); text-decoration: none; }
.wn-feed:hover { background: var(--pg-soft); color: var(--ink); }
.wn-feed .i { width: 16px; height: 16px; }
.wn-month h2 { margin: 0; padding: 40px 0 16px; font-size: 13px; font-weight: 700; color: var(--ink3); letter-spacing: .02em; border-bottom: 1px solid var(--pg-line); }
.wn-day { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 40px; border-bottom: 1px solid var(--pg-line); }
.wn-day time { position: sticky; top: 24px; align-self: start; padding: 30px 0; font-size: 15px; font-weight: 600; color: var(--ink2); }
.wn-ent { padding: 28px 0 30px; max-width: 680px; scroll-margin-top: 24px; }
.wn-ent + .wn-ent { border-top: 1px solid var(--pg-line); }
.pg [hidden] { display: none !important; }
.wn-ent.lead { border-top: 0; }
.wn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.wn-ent h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.wn-anchor { opacity: 0; color: var(--ink3); transition: opacity .15s; }
.wn-anchor .i { width: 16px; height: 16px; }
.wn-ent:hover .wn-anchor, .wn-ent:target .wn-anchor, .wn-anchor:focus-visible { opacity: 1; }
.wn-ent p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--ink2); }
.wn-more { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 14.5px; font-weight: 700; text-decoration: none; }
.wn-more .i { width: 15px; height: 15px; }
.wn-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.wn-ent:target { background: var(--pg-soft); box-shadow: 0 0 0 20px var(--pg-soft); border-radius: 2px; }
.wn-end { padding-top: 44px; padding-bottom: 96px; font-size: 14.5px; color: var(--ink3); margin-top: 0; margin-bottom: 0; }
@media (max-width: 960px) {
  .wn-hero { padding-top: 32px; padding-bottom: 12px; flex-direction: column; align-items: flex-start; }
  .wn-day { grid-template-columns: minmax(0, 1fr); }
  .wn-day time { position: static; padding: 24px 0 0; }
  .wn-ent { padding-top: 12px; }
  .wn-ent + .wn-ent { padding-top: 24px; }
  .wn-ent.lead { padding-top: 12px; }
}
@media (max-width: 560px) { .wn-seg button { padding: 0 11px; font-size: 13.5px; } .wn-feed { margin-left: -14px; } }
