/* Mawid story: a diary page. Teal accent, a reading column, the two kinds of booking tools as two cards, the app
   section as a full-width shaded band with its two tablet pictures side by side, numbered steps in rounded squares.
   Chromium 67 safe (no flex gap, clamp or inset). Rewritten 2026-11-19: the first version had no column or top room. */
@font-face { font-family: 'MW UI'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'MW Display'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); }
body.page-mawid {
  --accent: #5ED3C3; --accent-ink: #062521; --accent-soft: rgba(94, 211, 195, .13);
  --head: 'MW Display', 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'MW UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Frame */
.page-mawid main .wrap { max-width: 840px; }
.page-mawid main > .wrap:first-child { padding-top: 40px; }
.page-mawid .crumb { margin: 0 0 28px; font-size: 14px; }
.page-mawid .crumb a { color: var(--muted); text-decoration: none; }
.page-mawid .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-mawid .crumb a:hover { color: var(--accent); }
.page-mawid .story-app { margin-bottom: 36px; }
.page-mawid main strong { color: var(--text); font-weight: 600; }
.mw-link, .page-mawid .mw-end a:not(.btn) { color: var(--text); text-decoration: underline; -webkit-text-decoration-color: var(--accent); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.mw-link:hover, .page-mawid .mw-end a:not(.btn):hover { color: var(--accent); }

/* Title block with a short teal rule under it */
.mw-top { padding-bottom: 8px; }
.mw-top:after { content: ""; display: block; width: 64px; height: 4px; margin-top: 32px; border-radius: 2px; background: var(--accent); }
.mw-kicker { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.mw-top h1 { margin: 0 0 18px; font-size: 32px; line-height: 1.15; }
.mw-intro { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }

/* Sections */
.mw-block { padding: 40px 0 8px; }
.mw-shade { margin-top: 40px; padding: 48px 0 32px; background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.mw-h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.mw-h3 { margin: 30px 0 12px; font-size: 19px; line-height: 1.3; }
.mw-p { margin: 0 0 18px; color: var(--text-2); }

/* Two kinds of booking tools: two cards */
.mw-two { margin: 0; }
.mw-col { margin-bottom: 16px; padding: 24px 24px 8px; background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; }
.mw-col .mw-h2 { font-size: 21px; }

/* Lists: teal dots, numbered rounded squares */
.mw-list { list-style: none; margin: 4px 0 22px; padding: 0; }
.mw-item { position: relative; margin: 0 0 12px; padding-left: 24px; color: var(--text-2); }
ul.mw-list .mw-item:before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
ol.mw-list { counter-reset: mwstep; }
ol.mw-list .mw-item { counter-increment: mwstep; margin-bottom: 16px; padding-left: 44px; }
ol.mw-list .mw-item:before { content: counter(mwstep); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent); font: 700 14px/28px var(--head); text-align: center; }

/* Tablet pictures */
.mw-fig { margin: 28px auto; max-width: 340px; text-align: center; }
.mw-img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hair-2); }
.mw-cap { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Limits and the close */
.mw-limits { padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); }
.mw-limits .mw-h2 { font-size: 22px; }
.mw-end { margin: 36px 0 48px; }
.mw-end .btn { margin: 0 18px 12px 0; vertical-align: middle; }
.page-mawid .mw-end a:not(.btn) { display: inline-block; margin-bottom: 12px; vertical-align: middle; }

@media (min-width: 640px) {
  .mw-fig { display: inline-block; vertical-align: top; width: calc(50% - 16px); max-width: none; margin: 24px 0; }
  .mw-fig + .mw-fig { margin-left: 24px; }
}
@media (min-width: 760px) {
  .mw-two { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 18px; }
  .mw-col { margin-bottom: 0; }
}
@media (min-width: 900px) {
  .page-mawid main > .wrap:first-child { padding-top: 64px; }
  .mw-top h1 { font-size: 44px; }
  .mw-intro { font-size: 20px; }
  .mw-block { padding-top: 56px; }
  .mw-shade { margin-top: 56px; padding: 64px 0 40px; }
  .mw-h2 { font-size: 28px; }
}
