/* FocusDrop — long-form pages (privacy, terms, blog). Loaded after site.css,
 * which supplies the tokens, the nav and the footer; this file is the prose. */

.page-prose { background: var(--paper); }
.page-prose main, .page-prose article { display: block; }

/* the head of each page: a short sky, like the homepage's, without the stage */
.page-hero, .post-head, .index-head {
  position: relative;
  padding: clamp(120px, 16vh, 168px) var(--gutter) clamp(36px, 5vw, 56px);
  text-align: center;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(246, 205, 226, .6), transparent 70%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--paper) 100%);
  display: grid; justify-items: center; gap: 16px;
}
.page-hero h1, .post-head h1, .index-head h1 {
  margin: 0; max-width: 20ch;
  font-weight: 800; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance;
}
.page-hero .updated, .post-meta { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.post-meta .sep { color: var(--ink-2); }
.index-head p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 60ch; }

/* reading column */
.content, .post {
  max-width: 720px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) var(--gutter) clamp(56px, 8vw, 96px);
  font-size: 18px; line-height: 1.7; color: var(--ink-2);
}
.post > p:first-of-type { font-size: 1.12em; color: var(--ink); }
.content h2, .post h2 { margin: 52px 0 14px; font-size: clamp(26px, 3vw, 32px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.content h3, .post h3 { margin: 34px 0 8px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.content p, .post p { margin: 0 0 18px; }
.content ul, .content ol, .post ul, .post ol { margin: 0 0 20px; padding-left: 22px; }
.content li, .post li { margin: 0 0 10px; }
.content li::marker, .post li::marker { color: var(--violet); }
.content strong, .post strong { font-weight: 800; color: var(--ink); }
.content a, .post a { color: var(--violet-600); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(123,111,212,.35); }
.content a:hover, .post a:hover { text-decoration-color: currentColor; }
.post hr { border: 0; border-top: 1px solid var(--line-2); margin: 44px 0; }
.post blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--violet); color: var(--ink); font-weight: 600; }
.post blockquote p:last-child { margin-bottom: 0; }
.content table, .post table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 16px; }
.content th, .content td, .post th, .post td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.content th, .post th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* asides */
.callout, .product-note, .health {
  margin: 0 0 26px; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-1); font-size: 17px;
}
.callout { background: linear-gradient(160deg, #F1EEFC, #FBF0F5); box-shadow: inset 0 0 0 1px rgba(123,111,212,.15); }
.callout .label, .health .label { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-600); }
.callout p, .health p { margin: 0 0 8px; }
.callout p:last-child, .health p:last-child { margin-bottom: 0; }
.callout.plain { background: #fff; box-shadow: var(--shadow-1); }
.callout.plain .label { color: var(--ink-3); }
.product-note { border-left: 4px solid var(--violet); }
.health { background: #FFF8E8; box-shadow: inset 0 0 0 1px #F3E2B6; }
.health .label { color: #8A6413; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14.5px; font-weight: 800; color: var(--ink-2); }
.chip.green { background: #E3F6EE; box-shadow: none; color: #0F7A58; }

/* terms: the plans table */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 20px 0 14px; }
.plan { padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-1); display: grid; gap: 6px; align-content: start; }
.plan .name { font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.plan .price { font-weight: 800; font-size: 28px; letter-spacing: -.03em; color: var(--ink); }
.plan .note { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.plan.best { background: linear-gradient(165deg, #5B4EC2, #6A5BC8 55%, #7464C9); }
.plan.best .name, .plan.best .note { color: rgba(255,255,255,.9); }
.plan.best .price { color: #fff; }
.badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #FFF1CF; color: #8A6413; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: .2em; }

/* blog index */
.post-list { max-width: 820px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) var(--gutter) clamp(56px, 8vw, 96px); display: grid; gap: 16px; }
.post-card { display: grid; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform .35s var(--spring), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.post-card h2 { margin: 0; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.post-card p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.post-card .post-meta { justify-content: flex-start; font-size: 14px; }

/* the end-of-post card */
.post-cta { max-width: 820px; margin: 0 auto clamp(56px, 8vw, 96px); padding: 0 var(--gutter); }
.post-cta-inner { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 48px); border-radius: var(--r-xl); text-align: center; color: #fff;
  background: radial-gradient(70% 80% at 80% 0%, rgba(232, 140, 174, .35), transparent 70%), linear-gradient(160deg, #5E51C4, #4B3FA8); box-shadow: var(--shadow-2); }
.post-cta-inner h2 { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.03em; font-weight: 800; }
.post-cta-inner p { margin: 0 auto 22px; max-width: 52ch; color: rgba(255,255,255,.86); font-size: 17px; }
.badge-appstore { display: inline-flex; transition: transform .35s var(--spring); }
.badge-appstore:hover { transform: translateY(-2px); }
.badge-appstore img { height: 50px; width: auto; }

.footer-bottom a { color: inherit; font-weight: 800; }

.page-hero .eyebrow, .post-head .eyebrow, .index-head .eyebrow { color: #4F45A0; }
.post-card .post-meta { color: var(--ink-3); }

/* ------------------------------------------------ answer-first, sources, author */
/* the short version, right after the post meta: a tinted box that can be quoted on its own */
.short-answer {
  margin: 0 0 30px; padding: 20px 24px 20px 22px; border-radius: 20px;
  background: linear-gradient(160deg, #F1EEFC, #F8F1FA); box-shadow: inset 0 0 0 1px rgba(123, 111, 212, .18), inset 4px 0 0 var(--violet);
  font-size: 17.5px; line-height: 1.6; color: var(--ink); text-align: left;
}
.short-answer p { margin: 0 0 10px; }
.short-answer p:last-child { margin-bottom: 0; }
.short-answer b, .short-answer strong { font-weight: 800; color: var(--violet-700); }
.short-answer a { color: var(--violet-600); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(123,111,212,.35); }
/* …or inside the sky head, under the meta */
.post-head .short-answer, .page-hero .short-answer { width: min(720px - 2 * var(--gutter), 100%); margin: 10px 0 0; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* who wrote it, at the end of a post */
.author-box { display: flex; align-items: flex-start; gap: 16px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.author-box > img { flex: none; width: 52px; height: 52px; border-radius: 14px; box-shadow: var(--shadow-1); }
.author-box > div { min-width: 0; }
.author-box p { margin: 0 0 6px; }
.author-box p:last-child { margin-bottom: 0; }
.author-box b, .author-box strong { color: var(--ink); font-weight: 800; }
.author-box a { color: var(--violet-600); font-weight: 800; text-decoration: none; }
.author-box a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* outside the reading column (between the post and the end card) it lines up with it */
:is(article, main) > .author-box { width: min(720px - 2 * var(--gutter), 100% - 2 * var(--gutter)); margin: 0 auto clamp(40px, 6vw, 64px); }

/* comparison tables: a white card that scrolls sideways on phones, the first column pinned */
.compare-wrap {
  position: relative; margin: 28px 0 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-1);
  overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.compare-wrap > table.compare {
  width: 100%; min-width: 620px; margin: 0; border-collapse: separate; border-spacing: 0;
  border-radius: 0; background: none; box-shadow: none; font-size: 15.5px; line-height: 1.45; color: var(--ink-2);
}
.compare-wrap .compare caption { caption-side: bottom; padding: 10px 16px 12px; text-align: left; font-size: 13.5px; color: var(--ink-3); }
.compare-wrap .compare :is(th, td) { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); background: #fff; }
.compare-wrap .compare thead th {
  padding-block: 12px; background: var(--violet-50);
  font-size: 12px; line-height: 1.3; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.compare-wrap .compare tbody tr:nth-child(even) > * { background: #FAF9FD; }
.compare-wrap .compare tbody tr:last-child > * { border-bottom: 0; }
.compare-wrap .compare tbody th { font-size: inherit; letter-spacing: normal; text-transform: none; }
.compare-wrap .compare tbody th, .compare-wrap .compare tbody td:first-child { font-weight: 800; color: var(--ink); }
.compare-wrap .compare :is(th, td):first-child { position: sticky; left: 0; z-index: 1; width: auto; box-shadow: inset -1px 0 0 var(--line); }
.compare-wrap .compare thead th:first-child { z-index: 2; }
.compare-wrap .compare .us { color: var(--ink); font-weight: 700; }
.compare-wrap .compare tbody .us { background: #F6F4FE; }
.compare-wrap .compare tbody tr:nth-child(even) > .us { background: #F0EDFC; }
.compare-wrap .compare thead .us { color: var(--violet-600); }
.compare-wrap .compare a { font-weight: 700; }
:is(.post, .content, .page-prose) p.checked { margin: 0 0 26px; font-size: 13.5px; line-height: 1.5; font-weight: 600; color: var(--ink-3); }

/* a fact list in prose: a clean two-column definition list */
.page-prose .facts:not(.glance .facts) {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 0 24px; padding: 0;
  border-radius: 0; background: none; box-shadow: none; overflow: visible; border-top: 1px solid var(--line-2); font-size: 16.5px; line-height: 1.55;
}
.page-prose .facts:not(.glance .facts) > div {
  display: grid; grid-template-columns: minmax(120px, 30%) minmax(0, 1fr); gap: 18px; align-items: baseline;
  padding: 12px 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--line);
}
.page-prose .facts:not(.glance .facts) > div + div { border-top: 0; }
.page-prose .facts:not(.glance .facts) dt { font-size: 12.5px; line-height: 1.5; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.page-prose .facts:not(.glance .facts) dd { margin: 0; font-size: inherit; line-height: inherit; font-weight: 600; color: var(--ink); }
@media (max-width: 520px) {
  .page-prose .facts:not(.glance .facts) > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; }
}

/* ---- blog (SEO pass) ---- */
/* byline and blog-intro links: visible as links without shouting (the byline now links to /about) */
.post-meta a, .index-head p a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(123, 111, 212, .45); }
.post-meta a:hover, .index-head p a:hover { text-decoration-color: currentColor; }

/* ---- list-post (SEO pass) ---- */
/* comparison tables: a quieter second line in a cell, e.g. the platforms under an app's name */
.compare-wrap .compare .sub { display: inline-block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--ink-3); }

/* ---- support (SEO pass) ---- */
/* support page: centre the "on this page" chips in the sky head, and stack the meta line on phones */
.page-hero .chips { justify-content: center; margin: 4px 0 0; }
@media (max-width: 520px) {
  .page-hero .updated { flex-direction: column; align-items: center; gap: 2px; }
  .page-hero .updated .sep { display: none; }
}

/* ---- blog (SEO verify) ---- */
/* ---- blog fixes (SEO pass, checker round) ---- */
/* the "Full disclosure" note: no extra gap under its last paragraph, as .callout and .health already do */
.product-note p:last-child { margin-bottom: 0; }
/* the six ways on the body-doubling post are a real <ol class="ranked"> now: keep the paragraph rhythm and a bold number */
.post ol.ranked > li { margin-bottom: 18px; padding-left: 4px; }
.post ol.ranked > li::marker { font-weight: 800; }
/* post meta on phones: stack the items and drop the dots, so no "·" hangs at a line end (same as the support page) */
@media (max-width: 520px) {
  .post-meta { flex-direction: column; align-items: center; gap: 2px; }
  .post-card .post-meta { align-items: flex-start; }
  .post-meta .sep { display: none; }
}

/* ---- list-post (SEO verify) ---- */
/* comparison table: keep the screen-reader caption a 1px box (the visible-caption rule above adds padding) */
.compare-wrap .compare caption.sr-only { padding: 0; }
/* "swipe the table sideways" hint: only where the table is wider than its card (it scrolls below ~673px) */
.compare-hint { display: none; }
@media (max-width: 672px) { .compare-hint { display: inline; } }

/* ---- legal-llms (SEO verify) ---- */
/* ---- legal pages (fixes) ---- */
/* privacy and terms: the scope line is too long to share a line with the date below ~1000px, so stack it there and drop the dot */
@media (max-width: 1000px) {
  .page-hero .updated.updated-long { flex-direction: column; align-items: center; gap: 2px; }
  .page-hero .updated.updated-long .sep { display: none; }
}
/* terms plan cards: the badge is a grid item, so keep it pill-sized instead of stretched; one card per row on phones */
.plan .badge { justify-self: start; margin-left: 0; }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
