/* Courier page: "Fahrplan" (timetable).
 *
 * Loaded after product.css. Courier is about times, so the page is a timetable. The hero is one example booking page:
 * pick a free time and see what Courier does with it. The pricing chapter is the one thing on the page that is meant to
 * be remembered: the four plans are four stops on one line, the prices are split-flap tiles like on a departure board
 * and flip when the billing period changes, and everything a plan adds is boarded at its stop.
 *
 * Palette: ink #14181a, deep teal #00485a (the site's), coral #df9784 (the site's), teal grey #83a3ac, paper #e3e8e7.
 * Coral text on paper is darkened to #9c4a37 (4.5:1). Type: Fraunces for headlines, Space Grotesk for words, IBM Plex
 * Mono for the times and the flaps, self-hosted (assets/fonts/README-eliot.txt), with the site's Helvetica and Georgia
 * as fallbacks. No request leaves rr42.de for a font.
 *
 * The billing toggle is two radio buttons and :has(), no script. The booking example is js/courier.js. Base styles are
 * the finished picture; the animations start from the unfinished one, so prefers-reduced-motion just switches them off. */

@font-face {
   font-family: "Fraunces";
   font-style: normal;
   font-weight: 300 400;
   font-display: swap;
   src: url("/assets/fonts/Fraunces-latin.woff2") format("woff2");
}

@font-face {
   font-family: "Fraunces";
   font-style: italic;
   font-weight: 300 400;
   font-display: swap;
   src: url("/assets/fonts/Fraunces-italic-latin.woff2") format("woff2");
}

@font-face {
   font-family: "Space Grotesk";
   font-weight: 400 700;
   font-display: swap;
   src: url("/assets/fonts/SpaceGrotesk-latin.woff2") format("woff2");
}

@font-face {
   font-family: "IBM Plex Mono";
   font-weight: 400;
   font-display: swap;
   src: url("/assets/fonts/IBMPlexMono-400-latin.woff2") format("woff2");
}

@font-face {
   font-family: "IBM Plex Mono";
   font-weight: 500;
   font-display: swap;
   src: url("/assets/fonts/IBMPlexMono-500-latin.woff2") format("woff2");
}

.p-courier { background: #e3e8e7; color: #14181a; }

.p-courier header > div,
.p-courier footer > div { border-color: #14181a; }

.p-courier footer { background: #14181a; color: #b9c9cd; }
.p-courier footer > div { border-color: rgb(131 163 172 / .45); }
.p-courier footer a:focus-visible { outline-color: #df9784; }

.courier {
   --ink: #14181a;
   --teal: #00485a;
   --coral: #df9784;
   --coral-deep: #9c4a37;
   --coral-light: #f6dccf;
   --grey: #83a3ac;
   --paper: #e3e8e7;
   --card: #f4f6f5;
   --text: #e4ecee;
   --muted: #a9bec3;
   --soft: #c6d5d8;
   --serif: "Fraunces", Georgia, "Times New Roman", serif;
   --sans: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
   --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

   margin: 0;
   padding: 0;
   max-inline-size: none;
   color: var(--ink);
   font-family: var(--sans);
   font-weight: 400;
   overflow-x: clip;
}

.courier [hidden] { display: none !important; }

/* product.css spaces every `.system section` by 3.5rem; here the sections are full-width bands. */
.courier section { margin-block-start: 0; }

.courier :where(a, button):focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.vh {
   position: absolute;
   inline-size: 1px;
   block-size: 1px;
   overflow: hidden;
   clip-path: inset(50%);
   white-space: nowrap;
}

.courier h1,
.courier h2,
.courier h3 { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; }

.courier em { font-style: italic; font-weight: 300; }

.eyebrow {
   margin: 0 0 1.5rem;
   font-family: var(--mono);
   font-size: .8rem;
   letter-spacing: .14em;
   text-transform: uppercase;
}

.courier h2 {
   margin: 0 0 1.5rem;
   max-inline-size: 16em;
   font-size: clamp(2.1rem, 4.6vw, 4rem);
   line-height: 1.04;
   letter-spacing: -.025em;
}

.courier .chapter { padding: 6.5rem 10vw 7rem; }

.courier .lead {
   max-inline-size: 40em;
   margin: 0;
   font-size: 1.25rem;
   line-height: 1.55;
}

.note { margin: 2.5rem 0 0; max-inline-size: 46em; font-family: var(--mono); font-size: .8rem; line-height: 1.6; color: #3d4a4d; }

.pill {
   display: inline-block;
   padding: .85rem 1.9rem;
   border: 1.5px solid var(--ink);
   border-radius: 99px;
   background: var(--ink);
   color: #fff;
   font-size: 1.05rem;
   font-weight: 500;
   text-decoration: none;
   transition: background-color .25s, color .25s, border-color .25s;
}

.pill:hover { background: transparent; color: var(--ink); }

.pill--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill--ink:hover { background: transparent; color: var(--ink); }

/* ----------------------------------------------------------------- hero */

.courier .hero {
   display: flex;
   flex-wrap: wrap;
   align-items: flex-start;
   gap: 3.5rem 4.5rem;
   padding: 2.5rem 10vw 7rem;
}

.hero__text { flex: 1 1 28rem; min-inline-size: 0; }

.courier .crumbs { margin-block: 0 2rem; color: #3d4a4d; font-size: 1rem; }
.courier .crumbs [aria-current] { color: var(--ink); }

.courier .status {
   margin: 0 0 1.5rem;
   font-family: var(--mono);
   font-size: .8rem;
   letter-spacing: .14em;
   text-transform: uppercase;
   color: var(--coral-deep);
}

.courier h1 {
   margin: 0 0 2.25rem;
   max-inline-size: 12em;
   font-size: clamp(2.7rem, 4.6vw, 4.9rem);
   letter-spacing: -.03em;
   line-height: 1;
   hyphens: manual;
   animation: rise 1s cubic-bezier(.2, .8, .2, 1) backwards;
}

.courier h1 em { color: var(--teal); }

@keyframes rise { from { opacity: 0; transform: translateY(.3em); } }

.courier .hero__lede {
   max-inline-size: 34em;
   margin: 0 0 2.25rem;
   font-size: 1.25rem;
   line-height: 1.55;
   color: #2d3638;
}

.courier .hero__price {
   max-inline-size: 34em;
   margin: 0 0 2.25rem;
   padding-inline-start: 1.1rem;
   border-inline-start: 3px solid var(--coral);
   font-size: 1.05rem;
   line-height: 1.55;
   color: #2d3638;
}

.courier .hero__price strong { font-weight: 500; color: var(--ink); }

.courier .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0; }
.courier .actions a:not(.pill) { font-size: 1.05rem; text-underline-offset: .25em; }

/* ----------------------------------------------------- the booking example */

.panel {
   flex: 0 1 34rem;
   min-inline-size: min(100%, 19rem);
   padding: 1.4rem;
   background: var(--card);
   border: 1.5px solid var(--ink);
   border-radius: 1.25rem;
   box-shadow: 9px 9px 0 var(--ink);
}


.book__host { display: flex; align-items: center; gap: .9rem; padding-block-end: 1rem; border-block-end: 1.5px dashed rgb(20 24 26 / .4); }

.book__av {
   flex: none;
   display: grid;
   place-items: center;
   inline-size: 3rem;
   block-size: 3rem;
   border-radius: 50%;
   background: var(--teal);
   color: #fff;
   font-family: var(--mono);
   font-size: .9rem;
}

.courier .book__host h2 { margin: 0; max-inline-size: none; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.01em; font-weight: 400; }
.book__host p { margin: .2rem 0 0; font-size: .9rem; color: #3d4a4d; }

.book__tz { margin: 1rem 0 .7rem; font-family: var(--mono); font-size: .78rem; color: #3d4a4d; }

.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }

.day { display: flex; flex-direction: column; gap: .45rem; min-inline-size: 0; }

.day__nm { margin: 0 0 .1rem; text-align: center; font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; }

.slot {
   min-block-size: 2.75rem;
   padding: .4rem .25rem;
   font: inherit;
   font-family: var(--mono);
   font-size: .9rem;
   color: var(--ink);
   background: transparent;
   border: 1.5px solid var(--ink);
   border-radius: .6rem;
   cursor: pointer;
   transition: background-color .2s, color .2s;
}

.slot:hover:not(:disabled) { background: var(--coral); }
.slot[aria-pressed="true"],
.slot[aria-pressed="true"]:hover { background: var(--ink); color: var(--coral-light); }

.slot:disabled {
   border-style: dashed;
   border-color: rgb(20 24 26 / .4);
   color: #5a6769;
   text-decoration: line-through;
   cursor: not-allowed;
}

.book:not(.is-booked) .day:nth-child(3) .slot:nth-of-type(2) { animation: hint 2.8s ease-in-out 4s infinite; }

@keyframes hint { 50% { background: rgb(223 151 132 / .45); } }

.res { margin-block-start: 1.1rem; padding-block-start: 1rem; border-block-start: 1.5px dashed rgb(20 24 26 / .4); min-block-size: 13.5rem; }

.res__idle { margin: 0; font-family: var(--mono); font-size: .88rem; line-height: 1.6; color: #3d4a4d; }
.res__idle small { display: block; font-size: .78rem; }

.caret {
   display: inline-block;
   inline-size: 9px;
   block-size: 1.1em;
   margin-inline-start: 4px;
   vertical-align: -.15em;
   background: var(--coral-deep);
   animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.res__head { margin: 0 0 .4rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--teal); }
.res ul { margin: 0; padding: 0; list-style: none; }

.rel {
   display: flex;
   align-items: baseline;
   gap: .75rem;
   margin: 0;
   padding: .4rem 0;
   font-size: .95rem;
   line-height: 1.4;
   animation: rowin .55s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .25s) backwards;
}

@keyframes rowin { from { opacity: 0; transform: translateX(-14px); } }

.rel b { font-weight: 500; }

.src {
   flex: none;
   inline-size: 4.4rem;
   padding-inline: .4rem;
   font-family: var(--mono);
   font-size: .7rem;
   line-height: 1.7;
   text-align: center;
   color: var(--teal);
   border: 1px solid var(--teal);
   border-radius: 99px;
}

.rst {
   margin-block-start: .5rem;
   min-block-size: 2.5rem;
   padding: .45rem 1.1rem;
   font: inherit;
   font-size: .85rem;
   color: var(--ink);
   background: transparent;
   border: 1.5px solid var(--ink);
   border-radius: 99px;
   cursor: pointer;
}

.rst:hover { background: var(--coral); }

/* ----------------------------------------------------------- chapter 1 */

.ch1 { background: var(--teal); color: #eaf2f3; }
.ch1 .eyebrow { color: #eaf2f3; }
.ch1 h2 { max-inline-size: 15em; }

.why { display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.why li { flex: 1 1 17rem; min-inline-size: 0; margin: 0; padding-block-start: 1.25rem; border-block-start: 3px solid var(--coral); }
.why h3 { margin: 0 0 .75rem; font-size: 1.9rem; font-weight: 400; line-height: 1.1; }
.why p { margin: 0; font-size: 1.1rem; line-height: 1.55; color: #d3e0e2; }

.today { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }

.today li {
   position: relative;
   margin: 0;
   padding-inline-start: 2rem;
   font-size: 1.05rem;
   line-height: 1.5;
}

.today li::before {
   content: "";
   position: absolute;
   inset-inline-start: .15rem;
   inset-block-start: .42em;
   inline-size: .8rem;
   block-size: .8rem;
   border-radius: 50%;
   background: var(--teal);
}

/* ----------------------------------------------------------- chapter 2 */

.ch2 { background: #f1f4f3; }
.ch2 .eyebrow { color: var(--teal); }
.ch2 h2 { margin-block-end: 4rem; }

.how { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }

.hs {
   flex: 1 1 20rem;
   min-inline-size: 0;
   display: flex;
   flex-direction: column;
   gap: .85rem;
   margin: 0;
   padding: 1.75rem 1.6rem;
   background: var(--paper);
   border: 1.5px solid var(--ink);
   border-radius: 1.1rem;
}

.hs__n { font-family: var(--serif); font-size: 3.5rem; font-weight: 300; line-height: 1; color: var(--teal); }
.hs h3 { margin: 0; font-size: 1.85rem; font-weight: 400; line-height: 1.1; }
.hs p { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #2d3638; }

.vis {
   position: relative;
   block-size: 11rem;
   margin-block-start: auto;
   background: var(--ink);
   border-radius: .75rem;
   overflow: hidden;
   color: var(--text);
}

.hs p + .vis { margin-block-start: .4rem; }
.hs p { flex: 1 0 auto; }

.cal { position: absolute; inset-inline: 5.8rem 1rem; block-size: 1.3rem; background: rgb(131 163 172 / .16); border-radius: .3rem; }
.cal:nth-child(1) { inset-block-start: 1.1rem; }
.cal:nth-child(2) { inset-block-start: 3rem; }
.cal:nth-child(3) { inset-block-start: 4.9rem; }
.cal--sum { inset-block-start: 7.6rem !important; background: rgb(223 151 132 / .16); }
.cal span { position: absolute; inset-inline-end: calc(100% + .6rem); inset-block-start: 0; font-family: var(--mono); font-size: .72rem; line-height: 1.3rem; color: #b7ccd1; white-space: nowrap; }
.cal__b { position: absolute; inset-block: 0; background: var(--grey); border-radius: .3rem; }
.cal--sum .cal__b { background: var(--coral); animation: pulse 6s ease-in-out infinite; }
.cal--sum .cal__b:nth-of-type(2) { animation-delay: .4s; }
.cal--sum .cal__b:nth-of-type(3) { animation-delay: .8s; }
.cal--sum .cal__b:nth-of-type(4) { animation-delay: 1.2s; }

@keyframes pulse { 0%, 40%, 100% { opacity: 1; } 15%, 25% { opacity: .35; } }

.lnk { position: absolute; inset: 1.4rem 1rem auto; padding: .6rem .85rem; border: 1.5px solid var(--grey); border-radius: 99px; font-family: var(--mono); font-size: .76rem; white-space: nowrap; overflow: hidden; }
.lnk .caret { background: var(--coral); }
.chips { position: absolute; inset: 5.2rem 1rem auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span { padding: .25rem .7rem; font-family: var(--mono); font-size: .74rem; color: var(--ink); background: var(--coral); border-radius: 99px; }

.pk { position: absolute; inset: 1.4rem 1rem auto; display: flex; gap: .6rem; }
.pk span { flex: 1; padding: .55rem 0; text-align: center; font-family: var(--mono); font-size: .8rem; border: 1.5px solid var(--grey); border-radius: .5rem; }
.pk .pk__go { animation: pick 7s ease-in-out infinite; }

@keyframes pick {
   0%, 20%, 100% { background: transparent; color: var(--text); border-color: var(--grey); }
   30%, 85% { background: var(--coral); color: var(--ink); border-color: var(--coral); }
}

.pk__row { position: absolute; inset: 5.4rem 1rem auto; block-size: 2.6rem; background: rgb(131 163 172 / .16); border-radius: .4rem; }
.pk__ev { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 62%; background: var(--teal); border-radius: .4rem; border: 1.5px solid #2f7a8e; animation: evin 7s ease-in-out infinite; transform-origin: 0 50%; }
.pk__row em { position: absolute; inset-inline-start: .8rem; inset-block-start: 0; line-height: 2.6rem; font-family: var(--mono); font-size: .76rem; font-style: normal; color: #fff; animation: evtx 7s ease-in-out infinite; }

@keyframes evin { 0%, 28% { transform: scaleX(0); opacity: 0; } 42%, 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes evtx { 0%, 36% { opacity: 0; } 46%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* -------------------------------------------------- pricing: "Fahrplan" */

.courier .fare {
   position: relative;
   background: var(--ink);
   color: var(--text);
   background-image: radial-gradient(rgb(131 163 172 / .2) 1px, transparent 1px);
   background-size: 24px 24px;
}

.fare .eyebrow { color: var(--coral); }
.fare .lead { color: var(--soft); }
.fare :where(a, button, label):focus-visible { outline-color: var(--coral); }

.fare__radio { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }

.fare__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2.5rem 3rem; }
.fare__intro { flex: 1 1 28rem; }
.fare__intro h2 { max-inline-size: none; }

.bill {
   display: flex;
   gap: .4rem;
   margin: 0;
   padding: .4rem;
   border: 1.5px solid rgb(131 163 172 / .6);
   border-radius: 99px;
   background: rgb(20 24 26 / .85);
}

.bill label {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   min-block-size: 3.4rem;
   padding: .35rem 1.5rem;
   border-radius: 99px;
   font-size: 1.05rem;
   font-weight: 500;
   line-height: 1.2;
   cursor: pointer;
   transition: background-color .25s, color .25s;
}

.bill label small { font-family: var(--mono); font-size: .68rem; font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.bill label:hover { background: rgb(131 163 172 / .18); }

#bill-year:checked ~ .fare__top label[for="bill-year"],
#bill-month:checked ~ .fare__top label[for="bill-month"] { background: var(--coral); color: var(--ink); }

#bill-year:checked ~ .fare__top label[for="bill-year"] small,
#bill-month:checked ~ .fare__top label[for="bill-month"] small { color: #4a2f27; }

#bill-year:focus-visible ~ .fare__top label[for="bill-year"],
#bill-month:focus-visible ~ .fare__top label[for="bill-month"] { outline: 3px solid var(--coral-light); outline-offset: 3px; }

/* The line: one stop per plan, a dashed coral thread between the stops. */
.route { margin: 4.5rem 0 0; padding: 0; list-style: none; }

.stop {
   position: relative;
   display: grid;
   grid-template-columns: 3rem minmax(0, 1fr);
   grid-template-areas: ". head" ". price" ". feat" ". cta";
   column-gap: 1.25rem;
   row-gap: .25rem;
   margin: 0;
   padding-block-end: 4rem;
}

.stop:last-child { padding-block-end: 0; }

.stop::before {
   content: "";
   position: absolute;
   inset-inline-start: calc(1.5rem - 1.5px);
   inset-block: 1.9rem -.5rem;
   inline-size: 3px;
   background: repeating-linear-gradient(180deg, var(--coral) 0 8px, transparent 8px 15px);
   animation: ride 1.6s linear infinite;
}

.stop:last-child::before { display: none; }

@keyframes ride { to { background-position: 0 15px; } }

.stop__node {
   position: absolute;
   inset-inline-start: .5rem;
   inset-block-start: .6rem;
   inline-size: 2rem;
   block-size: 2rem;
   border: 3px solid var(--coral);
   border-radius: 50%;
   background: var(--ink);
}

.stop--trial .stop__node { background: var(--coral); }
.stop--free .stop__node { border-color: var(--grey); }
.stop--pro .stop__node { background: var(--coral); box-shadow: 0 0 0 6px rgb(223 151 132 / .3); }

.stop__head { grid-area: head; }
.stop__when { margin: 0 0 .9rem !important; font-family: var(--mono); font-size: .78rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--coral) !important; }
.stop__head h3 { margin: 0; font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.stop__head p { margin: .6rem 0 0; font-size: 1.1rem; line-height: 1.4; color: var(--soft); }

.price { grid-area: price; margin-block: 1.5rem 1.75rem; }
.v { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.v small { max-inline-size: 26em; font-family: var(--mono); font-size: .8rem; line-height: 1.55; letter-spacing: .02em; color: var(--soft); }

.v--month { display: none; }
.fare:has(#bill-month:checked) .v--year { display: none; }
.fare:has(#bill-month:checked) .v--month { display: flex; }

/* Split-flap tiles: dark tile, a hairline across the middle where the flap hinges. */
.flap { display: inline-flex; gap: .12em; perspective: 700px; font: 500 clamp(3.2rem, 8vw, 5rem)/1 var(--mono); }

.flap b {
   position: relative;
   display: grid;
   place-items: center;
   min-inline-size: .68em;
   block-size: 1.3em;
   padding-inline: .05em;
   font-weight: 500;
   color: var(--coral-light);
   background: linear-gradient(180deg, #222b2f 0 50%, #1a2124 50% 100%);
   border-radius: .1em;
   box-shadow: 0 .05em 0 #0a0d0e, inset 0 0 0 1px rgb(131 163 172 / .28);
   animation: flap .7s cubic-bezier(.3, .7, .2, 1) calc(var(--i) * .09s) backwards;
}

.flap b::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 50%; block-size: 2px; margin-block-start: -1px; background: #0a0d0e; }

.flap b.pt { min-inline-size: .36em; padding-inline: 0; }

.flap__unit { align-self: end; margin: 0 0 .2em .5em; font-family: var(--mono); font-size: .24em; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.flap--word { font-size: clamp(1.9rem, 5vw, 2.9rem); }

@keyframes flap { from { transform: rotateX(-90deg); opacity: 0; } 60% { transform: rotateX(12deg); opacity: 1; } }

.stop__feat { grid-area: feat; min-inline-size: 0; }
.stop__also { margin: 0 0 1rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }

.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .85rem 2rem; margin: 0; padding: 0; list-style: none; }

.feat li { position: relative; margin: 0; padding-inline-start: 1.7rem; font-size: 1.05rem; line-height: 1.45; }

.feat li::before {
   content: "";
   position: absolute;
   inset-inline-start: .1rem;
   inset-block-start: .45em;
   inline-size: .75rem;
   block-size: .75rem;
   border-radius: 50%;
   background: var(--coral);
}

.tag {
   display: inline-block;
   margin-inline-start: .35rem;
   padding: .05rem .6rem;
   font-family: var(--mono);
   font-size: .68rem;
   letter-spacing: .04em;
   line-height: 1.7;
   color: var(--coral-light);
   border: 1px dashed var(--coral);
   border-radius: 99px;
   white-space: nowrap;
}

.stop > .pill { grid-area: cta; justify-self: start; margin-block-start: 2rem; background: var(--coral); border-color: var(--coral); color: var(--ink); }
.stop > .pill:hover { background: transparent; color: var(--coral); }
.stop > .pill--line { background: transparent; color: var(--text); border-color: rgb(131 163 172 / .8); }
.stop > .pill--line:hover { border-color: var(--coral); color: var(--coral); }

@media (min-width: 62rem) {
   .stop {
      grid-template-columns: 3rem minmax(0, 1fr) 21rem;
      grid-template-areas: ". head price" ". feat cta";
      column-gap: 3rem;
      row-gap: 1.75rem;
   }

   .price { margin-block: 0; }
   .stop > .pill { margin-block-start: 0; align-self: start; }
}

/* Comparison and fine print */
.fare__notes { display: flex; flex-wrap: wrap; gap: 3rem 4.5rem; margin-block-start: 6rem; padding-block-start: 3rem; border-block-start: 1.5px dashed rgb(131 163 172 / .5); }
.cmp { flex: 2 1 30rem; min-inline-size: 0; }
.fine { flex: 1 1 18rem; min-inline-size: 0; }
.fare__notes h3 { margin: 0 0 1.25rem; font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
.fine h3:not(:first-child) { margin-block-start: 2rem; }
.fine p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--soft); }
.fine--note { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--soft); }

.cmp__rows { display: grid; gap: .8rem; }

.bar { display: grid; grid-template-columns: minmax(7.5rem, 10rem) minmax(0, 1fr) 3.8rem; align-items: center; gap: .9rem; --w: var(--y, 100%); }
.fare:has(#bill-month:checked) .bar--us { --w: var(--m); }

.bar span { font-size: .95rem; line-height: 1.25; }
.bar i { display: block; inline-size: var(--w); block-size: 1.15rem; border-radius: .25rem; transition: inline-size .6s cubic-bezier(.3, .7, .2, 1); }
.bar--them i { background: repeating-linear-gradient(135deg, var(--grey) 0 6px, transparent 6px 10px); border: 1.5px solid var(--grey); }
.bar--us i { background: var(--coral); }
.bar b { font-family: var(--mono); font-size: .95rem; font-weight: 500; text-align: end; }
.bar .m { display: none; }
.fare:has(#bill-month:checked) .bar .m { display: inline; }
.fare:has(#bill-month:checked) .bar .y { display: none; }
.bar--us + .bar { margin-block-start: .9rem; }

.cmp__txt { max-inline-size: 42em; margin: 1.75rem 0 0; font-size: 1.02rem; line-height: 1.55; color: var(--soft); }

/* ----------------------------------------------------------- chapter 4 */

.ch4 { background: var(--paper); }
.ch4 .eyebrow { color: var(--teal); }

.road { display: flex; flex-wrap: wrap; gap: 3.5rem 5rem; margin-block-start: 3.5rem; }
.road__col { flex: 1 1 24rem; min-inline-size: 0; }
.road__col h3 { margin: 0 0 1.5rem; font-size: 1.9rem; font-weight: 400; line-height: 1.1; }



.road__status { margin: 4rem 0 0; font-size: 1.05rem; }
.road__status a { text-underline-offset: .25em; }

/* ----------------------------------------------------------- chapter 5 */

.ch5 { background: #cdd6d4; }
.ch5 .eyebrow { color: var(--teal); }
.ch5 h2 { margin-block-end: 3.5rem; }

.others { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.others li { flex: 1 1 15rem; min-inline-size: 0; margin: 0; }

.sy {
   display: flex;
   flex-direction: column;
   gap: .75rem;
   block-size: 100%;
   padding: 1.9rem 1.9rem 1.75rem;
   color: var(--ink);
   text-decoration: none;
   border: 1.5px solid var(--ink);
   border-radius: 1.1rem;
   transition: background-color .25s, color .25s;
}

.sy:hover { background: var(--ink); color: var(--text); }
.courier .sy:hover:focus-visible { outline-color: var(--teal); }

.sy strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; line-height: 1; overflow-wrap: anywhere; }
.sy > span { font-size: 1.1rem; line-height: 1.4; }
.sy small { margin-block-start: .4rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

.sy .go { display: inline-block; transition: transform .25s; }
.sy:hover .go { transform: translateX(8px); }

.dot { display: inline-block; inline-size: 10px; block-size: 10px; margin-inline-end: .6rem; border-radius: 50%; }
.dot--live { background: var(--teal); animation: live 2.4s ease-out infinite; }
.sy:hover .dot--live { background: var(--coral); }
.dot--dev { border: 2px solid currentColor; }

@keyframes live {
   0% { box-shadow: 0 0 0 0 rgb(0 72 90 / .55); }
   70%, 100% { box-shadow: 0 0 0 12px rgb(0 72 90 / 0); }
}

/* -------------------------------------------------------------- contact */

.courier .contact { padding: 6.5rem 10vw; background: var(--coral); color: var(--ink); }
.contact h2 { max-inline-size: 12em; margin-block-end: 1.5rem; font-size: clamp(2.5rem, 5.6vw, 5.25rem); line-height: 1; letter-spacing: -.03em; }
.contact h2 em { color: #4a2f27; }
.contact p { max-inline-size: 36em; margin: 0 0 2.25rem; font-size: 1.25rem; line-height: 1.55; }
.contact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.contact__row span { font-size: 1.05rem; }
.contact__row a:not(.pill) { text-underline-offset: .25em; }
.courier .contact :where(a, button):focus-visible { outline-color: var(--ink); }

@media (max-width: 40rem) {
   .courier .chapter { padding-block: 4.5rem 5rem; }
   .courier .hero { padding-block-end: 5rem; }
   .courier .contact { padding-block: 4.5rem; }
   .panel { box-shadow: 6px 6px 0 var(--ink); padding: 1.1rem; }
   .bill { inline-size: 100%; }
   .bill label { flex: 1; padding-inline: .75rem; }
   .bar { grid-template-columns: minmax(0, 1fr) 3.8rem; row-gap: .3rem; }
   .bar span { grid-column: 1 / -1; }
   .bar i { grid-column: 1; }
   .cal { inset-inline-start: 5.2rem; }
}

@media (prefers-reduced-motion: reduce) {
   .p-courier *,
   .p-courier *::before,
   .p-courier *::after { animation: none !important; transition: none !important; }
}
