/* Passo Guides (ridepasso.com/guides/): the index and every article, in the
   What's Passo? page's look (Steve, 23 Oct 2026). Articles are one readable
   column; tables, the picture and the try-it box sit in it */
:root { --bg: #0e1420; --card: #161d33; --card2: #1b2340; --fg: #f4f6fa; --muted: rgba(244, 246, 250, 0.74); --accent: #4450e0; --accent-dark: #3640c4; --accent-light: #8c9bff; --rose: #ff8fab; --green: #8fe3b0; --line: rgba(255, 255, 255, 0.1); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: Barlow, system-ui, -apple-system, sans-serif; font-size: 18px; line-height: 1.6; }
a { color: var(--accent-light); }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.home { position: relative; color: #fff; text-decoration: none; font-family: 'Bricolage Grotesque Variable', Barlow, sans-serif; font-weight: 800; font-variation-settings: 'opsz' 96, 'wdth' 88; font-size: 44px; letter-spacing: -0.035em; line-height: 1; padding-right: 26px; }
.home img { position: absolute; width: 24px; right: 0; top: -2px; transform: rotate(9deg); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 13px; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; box-shadow: 0 10px 28px rgba(68, 80, 224, 0.35); white-space: nowrap; }
.btn:hover { background: var(--accent-dark); }
h1, h2, h3 { font-family: 'Bricolage Grotesque Variable', Barlow, sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 50px); }
h2 { font-size: clamp(25px, 3.6vw, 32px); }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
footer { margin: 80px 0 0; padding: 22px 0 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }

/* (where you are: Guides › this one) */
.crumbs { margin: 18px 0 14px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- The index ---------- */
.intro { max-width: 640px; margin: 14px 0 0; color: var(--muted); font-size: 19px; }
.list { display: grid; gap: 16px; margin: 40px 0 0; }
.item { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: center; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.item:hover { background: var(--card2); }
.item img { border-radius: 12px; background: #f1ece8; }
.item h2 { font-size: clamp(22px, 2.8vw, 27px); }
.item p { margin: 10px 0 0; color: var(--muted); }
.item .more { display: inline-block; margin: 12px 0 0; color: var(--accent-light); font-weight: 700; }

/* ---------- An article ---------- */
article { max-width: 720px; }
.byline { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.byline img { width: 44px; height: 44px; border-radius: 50%; }
.byline b { color: var(--fg); }
article .lead { margin: 30px 0 0; font-size: 21px; line-height: 1.55; color: var(--fg); }
article h2 { margin: 52px 0 0; }
article p { margin: 16px 0 0; color: var(--muted); }
article p strong, article li strong { color: var(--fg); }
article sup a { text-decoration: none; font-size: 0.75em; }
article table { width: 100%; margin: 22px 0 0; border-collapse: collapse; font-size: 16px; }
article th, article td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
article thead th { color: var(--fg); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
article tbody td { color: var(--muted); }
article tbody td:first-child { color: var(--fg); font-weight: 600; }
article figure { margin: 28px 0 0; }
article figure img { width: 100%; border-radius: 16px; background: #f1ece8; }
/* (the opening picture, the game's; then the other stills, each across the column) */
article .hero { margin: 26px 0 0; }
article .hero img, article .still img { width: 100%; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
/* (a square or tall photo at the top: beside the opening answer, not across
   the column. Steve, 24 Oct 2026) */
article .hero.side { float: right; width: 300px; margin: 28px 0 14px 28px; }
.glance { clear: both; }
article .still { margin: 24px 0 0; }
article .still.narrow { max-width: 440px; } /* (a portrait photo, or a picture of a box: not the column's full width) */
article .still figcaption { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
/* (more guides, under the sign-off) */
.more-guides { margin: 22px 0 0; font-size: 15.5px; color: var(--muted); }
.more-guides a { font-weight: 600; }
/* (the author's own photo, small, beside their story) */
article .me { float: right; width: 210px; margin: 6px 0 14px 24px; }
article .me img { width: 100%; border-radius: 14px; }
article .me figcaption { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
article h2 { clear: both; }
/* (lists in the text: bullets and numbers in the accent colour) */
article ul, article ol { margin: 14px 0 0; padding-left: 24px; color: var(--muted); }
article li { margin: 8px 0 0; padding-left: 4px; }
article li::marker { color: var(--accent-light); font-weight: 700; }
article h3 { margin: 36px 0 0; font-size: clamp(20px, 2.6vw, 23px); scroll-margin-top: 20px; }
article h2 .n, article h3 .n { color: var(--rose); margin-right: 6px; }
/* (a comparison: the apps down the side, the questions across; on a phone,
   a card each, every answer with its question beside it) */
article table.compare { font-size: 15px; }
article table.compare tbody td:first-child { white-space: nowrap; }
article table.compare tr.us td { background: rgba(68, 80, 224, 0.12); }
article table.compare tr.us td:first-child { color: var(--accent-light); }
@media (max-width: 720px) {
  article table.compare, article table.compare tbody, article table.compare tr, article table.compare td { display: block; width: 100%; }
  article table.compare thead { display: none; }
  article table.compare tr { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
  article table.compare tr.us { background: rgba(68, 80, 224, 0.16); border-color: rgba(140, 155, 255, 0.4); }
  article table.compare tr.us td { background: none; }
  article table.compare td { padding: 4px 0; border: 0; }
  article table.compare td:first-child { font-size: 18px; padding-bottom: 6px; }
  article table.compare td[data-label]::before { content: attr(data-label) ": "; color: var(--fg); font-weight: 600; }
}
/* (the tips at a glance: a box, each one a link down to it) */
.glance { margin: 26px 0 0; padding: 18px 22px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.glance b { display: block; font-size: 16px; }
.glance ol { margin: 8px 0 0; columns: 2; column-gap: 28px; }
.glance li { margin: 0; padding: 3px 0; break-inside: avoid; } /* (padding, not margin: a column's first item keeps its space, so the columns line up) */
.glance a { color: var(--fg); text-decoration: none; }
.glance a:hover { color: var(--accent-light); }
/* (a line worth saying twice) */
article blockquote { margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--rose); font-family: 'Bricolage Grotesque Variable', Barlow, sans-serif; font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--fg); }
/* (what you need and the button, one panel at the end of a guide) */
article .try { margin: 52px 0 0; padding: 26px 26px 28px; border-radius: 20px; background: linear-gradient(160deg, rgba(68, 80, 224, 0.26), rgba(255, 143, 171, 0.1)); }
article .try h2 { margin: 0; font-size: clamp(22px, 3vw, 27px); }
article .try ul { margin: 14px 0 0; padding: 0; list-style: none; }
article .try li { position: relative; margin: 7px 0 0; padding-left: 26px; color: var(--fg); }
article .try li::before { content: "✓"; position: absolute; left: 1px; top: 0; color: var(--green); font-weight: 800; }
article .try p { margin: 12px 0 0; }
article .try .go { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 22px 0 0; }
article .try .go small { color: var(--muted); font-size: 15px; }
/* (the try-it box, in the What's Passo? page's colours) */
.cta { margin: 48px 0 0; padding: 30px 26px; border-radius: 20px; background: linear-gradient(160deg, rgba(68, 80, 224, 0.28), rgba(255, 143, 171, 0.12)); text-align: center; }
.cta p { margin: 0 0 18px; color: var(--fg); font-size: 19px; }
.cta small { display: block; margin: 12px 0 0; color: var(--muted); font-size: 15px; }
/* (who wrote it: a sign-off, not another box. Steve, 23 Oct 2026) */
.author { display: flex; gap: 16px; align-items: flex-start; margin: 44px 0 0; }
.author img { flex: none; width: 64px; height: 64px; border-radius: 50%; }
.author b { display: block; font-size: 17px; }
.author span { display: block; font-size: 14px; color: var(--accent-light); }
.author p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
/* (the small print and the sources) */
.small { margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.small h2 { margin: 18px 0 0; font-family: Barlow, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg); }
.small ol { margin: 10px 0 0; padding-left: 22px; }
.small li { margin: 6px 0 0; }

@media (max-width: 720px) {
  .item { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .home { font-size: 36px; }
  .btn { padding: 10px 14px; font-size: 16px; }
  article .lead { font-size: 19px; }
  article table { font-size: 14.5px; }
  article th, article td { padding: 9px 8px; }
  article .me { width: 140px; margin-left: 16px; }
  article .hero.side { width: 42%; margin: 24px 0 10px 16px; }
  .glance ol { columns: 1; }
}
