/* Blog and About layout. Colours, fonts, header, footer and buttons come from site.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.article-wrap { max-width: 800px; }

h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.08; margin: 18px 0 0; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.15; }
h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.lede { margin: 20px 0 0; max-width: 62ch; font-size: 1.12rem; color: var(--text-dim); }
.byline, time { color: var(--text-faint); font-size: .9rem; }
.byline { margin: 18px 0 0; }
.byline a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.crumbs { color: var(--text-faint); font-size: .9rem; }
.crumbs a:hover { color: var(--text); }
.article-head, .index-head { padding: 64px 0 36px; }

/* Guide list */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 24px; background: var(--panel);
  transition: transform 0.25s ease, background 0.25s ease;
}
.card h2 { margin: 0; font-size: 1.28rem; }
.card p { margin: 0; color: var(--text-dim); flex: 1; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); background: var(--panel-hover); } }

/* Article text */
.prose { font-size: 1.05rem; overflow-wrap: anywhere; color: #DCE4EE; }
.prose h2 { margin: 2.4rem 0 .8rem; color: var(--text); }
.prose h3 { color: var(--text); margin-top: 1.6rem; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose li + li, .more li + li { margin-top: .45rem; }
.prose img { display: block; max-width: 100%; height: auto; margin: 1.75rem auto; border-radius: 20px; }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 1.5rem 0; border-radius: 16px; overflow: hidden; background: var(--panel); }
.prose th, .prose td { padding: .7rem .8rem; text-align: start; vertical-align: top; overflow-wrap: normal; min-width: 6.5rem; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { color: var(--text); font-weight: 600; background: rgba(255, 255, 255, 0.05); }
.faq { margin-top: 2.5rem; }

/* Panels after the article */
.more, .get-app { margin-top: 2.75rem; padding: 28px; border-radius: 24px; background: var(--panel); }
.more h2, .get-app h2 { margin: 0 0 12px; }
.more ul { margin: 0; padding-left: 1.1rem; }
.more a { color: var(--text-dim); }
.more a:hover { color: var(--text); }
.get-app { position: relative; overflow: hidden; }
.get-app::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 360px; height: 360px; border-radius: 50%;
  filter: blur(70px); background: rgba(254, 105, 99, 0.18); pointer-events: none;
}
.get-app p { color: var(--text-dim); max-width: 58ch; }
.store-links { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .article-head, .index-head { padding: 44px 0 28px; }
  .store-links .btn { flex: 1 1 100%; }
  .prose table { display: block; overflow-x: auto; }
}
