/* Waasit story: a clipboard page. Violet accent, a reading column, the Android-rules boxes drawn as clipboards with a
   clip on top, the app's behaviors as ruled rows, the first two phone pictures side by side.
   Chromium 67 safe (no flex gap, clamp or inset). Rewritten 2026-11-19: the first version had no column, no top room
   and plain links. */
@font-face { font-family: 'WA UI'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'WA Display'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); }
body.page-waasit {
  --accent: #B9A6FF; --accent-ink: #160D33; --accent-soft: rgba(185, 166, 255, .13);
  --head: 'WA Display', 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'WA UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Frame */
.page-waasit main .wrap { max-width: 820px; }
.page-waasit main > .wrap:first-child { padding-top: 40px; }
.page-waasit .crumb { margin: 0 0 28px; font-size: 14px; }
.page-waasit .crumb a { color: var(--muted); text-decoration: none; }
.page-waasit .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-waasit .crumb a:hover { color: var(--accent); }
.page-waasit .story-app { margin-bottom: 36px; }
.page-waasit main strong { color: var(--text); font-weight: 600; }
.wa-link, .page-waasit .wa-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; }
.wa-link:hover, .page-waasit .wa-end a:not(.btn):hover { color: var(--accent); }

/* Title block with a violet bar on the left */
.wa-top { padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); }
.wa-tag { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.wa-top h1 { margin: 0 0 18px; font-size: 32px; line-height: 1.15; }
.wa-intro { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }

/* Sections */
.wa-block { padding-top: 44px; }
.wa-h { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.wa-p { margin: 0 0 18px; color: var(--text-2); }

/* A clipboard: a panel with a clip on top */
.wa-box { position: relative; margin-top: 14px; padding: 34px 26px 10px; background: var(--surface); border: 1px solid var(--hair-2); border-radius: 16px; }
.wa-box:before { content: ""; position: absolute; top: -9px; left: 50%; width: 72px; height: 16px; margin-left: -36px; border-radius: 6px; background: var(--accent); }

/* Behaviors as ruled rows */
.wa-list { list-style: none; margin: 8px 0 26px; padding: 0; border-bottom: 1px solid var(--hair); }
.wa-item { margin: 0; padding: 13px 0 13px 18px; border-top: 1px solid var(--hair); color: var(--text-2); position: relative; }
.wa-item:before { content: ""; position: absolute; left: 0; top: 1.35em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.wa-box .wa-list { border-bottom: 0; }

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

/* The close */
.wa-end { margin: 40px 0 48px; }
.wa-end .btn { margin: 0 18px 12px 0; vertical-align: middle; }
.page-waasit .wa-end a:not(.btn) { display: inline-block; margin-bottom: 12px; vertical-align: middle; }

@media (min-width: 640px) {
  /* section 3 ends with two pictures: a pair */
  .page-waasit main section:nth-of-type(3) .wa-fig { display: inline-block; vertical-align: top; width: calc(50% - 16px); max-width: 260px; margin: 24px 0 8px; }
  .page-waasit main section:nth-of-type(3) .wa-fig + .wa-fig { margin-left: 24px; }
}
@media (min-width: 900px) {
  .page-waasit main > .wrap:first-child { padding-top: 64px; }
  .wa-top h1 { font-size: 44px; }
  .wa-intro { font-size: 20px; }
  .wa-block { padding-top: 60px; }
  .wa-h { font-size: 28px; }
}
