/* Sign-in and account pages. Same plum palette and fonts as the landing page. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --ink: #2A1B24; --muted: #5E4A56; --faint: #8A7682;
  --plum: #3E2632; --violet: #6B2C8F; --accent: #E5484D;
  --bg: #FBF8FA; --card: #FFFFFF; --line: #EDE3E9; --field: #E1D2DA;
  --ok-bg: #EAF4E4; --ok: #2F6B1F; --err-bg: #FCEBEC; --err: #A3262B;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 'Figtree', system-ui, sans-serif; }
a { color: var(--violet); }
a:hover { color: #4E1F69; }
h1, h2 { font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: 32px; font-weight: 800; line-height: 1.1; }
h2 { font-size: 21px; font-weight: 700; }
p { margin: 0; }

/* Centered single-card pages: sign in, sign up, reset */
body.auth { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 56px 16px; }
.auth-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.auth-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--plum); text-decoration: none; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.lede { color: var(--muted); }
.fine { font-size: 14px; color: var(--faint); }

form { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
label .hint { font-weight: 400; color: var(--faint); font-size: 13px; }
input, select { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--field); background: #fff; font: inherit; color: var(--ink); }
input:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(107, 44, 143, 0.15); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: #2E1B25; color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #CF3A3F; color: #fff; }
.btn-outline { background: #fff; border-color: var(--field); color: var(--ink); }
.btn-outline:hover { border-color: var(--plum); color: var(--ink); }
.btn-danger { background: #fff; border-color: #E7B9BB; color: var(--err); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--violet); cursor: pointer; text-decoration: underline; }

.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 14px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.notice { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.error { background: var(--err-bg); color: var(--err); }
.notice.info { background: #F3EAEF; color: var(--plum); }
[hidden] { display: none !important; }

/* Account page */
.page-head { background: var(--plum); }
.page-head nav { max-width: 880px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; }
.page-head .auth-logo { color: #fff; margin: 0; }
.page-head button { color: #E9DCE3; }
.account { max-width: 880px; margin: 0 auto; padding: 40px 16px 80px; display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.panel .sub { color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan-option { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.plan-option.wanted { border-color: var(--violet); }
.plan-option .price { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 30px; }
.macs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.macs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.macs li:first-child { border-top: 0; }
.macs small { color: var(--faint); }
details.panel summary { cursor: pointer; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 21px; list-style: none; display: flex; justify-content: space-between; }
details.panel summary::-webkit-details-marker { display: none; }
details.panel summary::after { content: '+'; color: var(--violet); }
details.panel[open] summary::after { content: '–'; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #F3EAEF; color: var(--plum); font-size: 13px; font-weight: 700; }
.plan-option .price small { font-family: 'Figtree', sans-serif; font-size: 16px; font-weight: 500; }
.plan-option button { margin-top: auto; }

/* Legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 16px 96px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc .updated { color: var(--faint); font-size: 15px; margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #3A2A33; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc .summary { background: #F3EAEF; border-radius: 14px; padding: 18px 20px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--faint); font-weight: 600; font-size: 13px; }
.doc-foot { border-top: 1px solid var(--line); }
.doc-foot div { max-width: 720px; margin: 0 auto; padding: 24px 16px; display: flex; gap: 22px; font-size: 14px; color: var(--faint); flex-wrap: wrap; }

/* Download page */
.download .steps { margin: 4px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.download .steps b { color: var(--ink); }

.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* Blog: the index and the posts (design: canvas "Website blog") */
.page-head nav { max-width: 1160px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.page-head nav .nav-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; font-weight: 600; font-size: 15px; }
.page-head nav .nav-links a { color: #DCCBD4; text-decoration: none; }
.page-head nav .nav-links a:hover, .page-head nav .nav-links a[aria-current] { color: #fff; }
.page-head nav .nav-links .btn { min-height: 40px; padding: 0 16px; border-radius: 10px; color: #fff; }
@media (max-width: 640px) { .page-head nav .nav-links a:not(.btn):not([href="/blog"]) { display: none; } }
.chip { align-self: flex-start; display: inline-block; padding: 4px 12px; border-radius: 999px; background: #EFE6F7; color: var(--violet); font-weight: 700; font-size: 13px; }

/* Index */
.blog-list { max-width: 1160px; margin: 0 auto; padding: 48px 24px 88px; display: flex; flex-direction: column; gap: 32px; }
.blog-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.blog-top h1 { font-size: 44px; line-height: 1.05; letter-spacing: -0.025em; }
.blog-top p { font-size: 17px; color: var(--muted); margin-top: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 7px 14px; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 0 0 1px #E6D9E0; color: var(--ink); font: 600 14px 'Figtree', sans-serif; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--plum); color: #fff; box-shadow: none; }
.blog-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.blog-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.blog-card:hover { box-shadow: 0 0 0 1.5px var(--violet); color: var(--ink); }
.blog-card[hidden] { display: none; }
.blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #F6EEF2; }
.blog-card .card-text { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.blog-card .card-meta { font-size: 13px; color: var(--faint); }
.blog-card h2 { font-size: 22px; line-height: 1.2; font-weight: 700; }
.blog-card p { color: var(--muted); font-size: 15px; }

/* A post: header, then the article beside a side column (On this page, download) */
.post-head { max-width: 1160px; margin: 0 auto; padding: 36px 24px 0; display: flex; flex-direction: column; gap: 16px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--faint); }
.crumbs a { font-weight: 600; text-decoration: none; }
.post-head h1 { max-width: 860px; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.post-head .lead { max-width: 760px; font-size: 20px; color: var(--muted); }
.post-head .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; color: var(--faint); }
.post-layout { max-width: 1160px; margin: 0 auto; padding: 32px 24px 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.post { flex: 999 1 560px; min-width: 0; max-width: 760px; line-height: 1.65; }
.post-rail { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rail-toc { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 20px; display: flex; flex-direction: column; gap: 2px; }
.rail-toc b, .toc-inline summary { font-size: 14px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.rail-toc a, .toc-inline a { text-decoration: none; color: var(--ink); font-size: 15px; padding: 5px 0; }
.rail-toc a:hover, .toc-inline a:hover { color: var(--violet); }
.rail-cta { border-radius: 18px; background: var(--plum); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.rail-cta b { color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; }
.rail-cta p { color: #DCCBD4; font-size: 15px; }
.rail-cta .btn { min-height: 44px; border-radius: 10px; }
.toc-inline { display: none; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 14px 18px; margin-bottom: 24px; }
.toc-inline summary { cursor: pointer; font-weight: 700; }
.toc-inline div { display: flex; flex-direction: column; padding-top: 8px; }
@media (max-width: 960px) { .post-rail { display: none; } .toc-inline { display: block; } }
@media (max-width: 640px) { .post-head .lead { font-size: 18px; } .post h2 { font-size: 26px; } .tool { padding: 20px; } }

.post h2 { font-size: 30px; line-height: 1.15; margin: 44px 0 12px; }
.post h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.post p, .post li { color: #3A2A33; }
.post p + p { margin-top: 14px; }
.post ul, .post ol { padding-left: 24px; margin: 12px 0; }
.post li + li { margin-top: 8px; }
.post kbd, .post-head kbd { font: 600 14px ui-monospace, Menlo, monospace; background: #fff; border: 1px solid var(--field); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
.post figure { margin: 24px 0; }
.post figure img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(62,38,50,.10); }
.post figcaption { color: var(--faint); font-size: 14px; margin-top: 10px; }
.post .table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.post table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.post th, .post td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.post td .na { color: #806C78; font-style: italic; }
.post table.glance td:first-child { font-weight: 600; }
.post table.glance .nw { white-space: nowrap; }
.post th { color: var(--faint); font-weight: 600; font-size: 13px; background: #FBF6F9; }
.post tr:last-child td { border-bottom: 0; }
.post .note { background: #F3EAEF; border-radius: 14px; padding: 16px 20px; margin: 20px 0; font-size: 16px; }
.short-answer { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1.5px var(--violet); padding: 22px 24px; margin-bottom: 8px; }
.short-answer b { display: block; font-size: 14px; color: var(--violet); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.post ol.steps { list-style: none; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.post ol.steps li { counter-increment: step; position: relative; margin: 0; padding: 16px 18px 16px 66px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.post ol.steps li::before { content: counter(step); position: absolute; left: 18px; top: 15px; width: 32px; height: 32px; border-radius: 50%; background: #EFE6F7; color: var(--violet); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 20px; margin: 28px 0; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.inline-cta img { width: 48px; height: 48px; border-radius: 12px; }
.inline-cta div { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.inline-cta span { color: var(--muted); font-size: 15px; }
.inline-cta .btn { min-height: 44px; border-radius: 10px; }

/* Comparisons: one card per tool */
.tool { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 26px; margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.tool.ours { box-shadow: 0 0 0 1.5px var(--violet), 0 18px 40px rgba(62,38,50,.08); }
.tool-head { display: flex; align-items: flex-start; gap: 16px; }
.tool-num { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--plum); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; }
.tool-head h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.tool-head p { margin: 4px 0 0; font-size: 14px; color: var(--faint); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 6px 12px; border-radius: 999px; background: #FBF6F9; box-shadow: 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); }
.tool p + p { margin-top: 0; }
.spec { container-type: inline-size; display: flex; flex-direction: column; gap: 14px; }
.spec-h { margin: 0; font-size: 16px; font-weight: 700; }
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.spec-gh { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.spec > .spec-gh { margin: 4px 0 -4px; }
.spec-list { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.spec-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 10px; align-items: start; }
.spec-ico { grid-row: span 2; width: 20px; height: 20px; color: var(--violet); margin-top: 2px; }
.spec-row dt { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.spec-row dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.spec-d { display: block; font-weight: 400; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.spec-na { color: #806C78; font-weight: 400; font-style: italic; }
.spec-dash { color: #806C78; font-weight: 400; }
.spec-pl { display: flex; align-items: baseline; gap: 8px; }
.spec-pl + .spec-pl { margin-top: 4px; }
.spec-pl b { flex: none; width: 40px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7A6470; }
.spec-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--line); color: var(--muted); font: italic 700 11px Georgia, serif; cursor: help; vertical-align: 1px; }
.spec-tip:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.spec-tt { display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 240px; padding: 8px 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 500 13px/1.4 'Figtree', system-ui, sans-serif; text-align: left; z-index: 5; box-shadow: 0 8px 20px rgba(42,27,36,.2); }
.spec-tt::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.spec-tip:hover .spec-tt, .spec-tip:focus .spec-tt { display: block; }
.spec-price, .spec-life { margin: 0; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.spec-price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec-price > div, .spec-life > div { padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.spec-price > div + div { border-left: 1px solid var(--line); }
.spec-price dt, .spec-life dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.spec-price dd, .spec-life dd { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; line-height: 1.2; }
.spec-price .spec-d, .spec-price .spec-na, .spec-price .spec-dash, .spec-life .spec-d { font-family: 'Figtree', system-ui, sans-serif; }
.spec-life > div { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.spec-life .spec-d { flex-basis: 100%; }
.spec-price .spec-na { font-size: 15px; }
.spec-life dd { display: contents; }
.spec-watch { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 2px; }
.spec-wh { margin: 0; font-size: 15px; font-weight: 700; color: var(--err); }
.post .spec-watch ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.post .spec-watch li { margin: 0; padding: 5px 12px; border-radius: 999px; background: #FBEDEE; color: var(--err); font-size: 14px; font-weight: 600; line-height: 1.35; }
@container (max-width: 520px) {
  .spec-groups, .spec-price { grid-template-columns: 1fr; }
  .spec-price > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
.tool-link { align-self: flex-start; font-weight: 700; text-decoration: none; }
.tool .btn { align-self: flex-start; min-height: 46px; }
.store-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.store-badge img { height: 44px; width: auto; }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tool-actions .btn { min-height: 44px; }
.post p.choose-row { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 14px 18px; margin: 10px 0 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.post p.choose-row b { flex: 0 0 220px; color: var(--ink); }
.post p.choose-row span { flex: 1 1 240px; color: var(--muted); }
@media (max-width: 640px) { .post p.choose-row b { flex-basis: 100%; } }
.post details.faq { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 16px 20px; margin-top: 10px; }
.post details.faq summary { font-weight: 700; cursor: pointer; }
.post details.faq p { margin-top: 10px; color: var(--muted); }

.post .cta { margin: 48px 0 0; padding: 32px; border-radius: 22px; background: var(--plum); color: #F4ECF0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post .cta h2 { color: #fff; margin: 0; font-size: 26px; }
.post .cta p { color: #DCCBD4; }
.post .sources { font-size: 14px; color: var(--faint); margin-top: 40px; }
.post .sources li { color: var(--faint); }
.post .related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.post .related h2 { margin: 0 0 14px; font-size: 24px; }
.related-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.related-cards .blog-card { padding: 18px; gap: 6px; }
.related-cards .blog-card .kicker { font-size: 12px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 0.06em; }
.related-cards .blog-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; line-height: 1.25; margin: 0; }
.related-cards .blog-card p { display: none; }
.post .all-posts { margin-top: 16px; font-weight: 600; }
.post .all-posts a { text-decoration: none; }
