/* Shared by the guide pages (apple-notes, claude, chatgpt, eli). Same tokens as index.html. */
:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #f6f6f7; --text: #1c1c1e; --muted: #6e6e73; --faint: #8e8e93;
  --border: rgb(0 0 0 / .08); --sticky: #ffe56b; --pencil: #2258b8; --ink: #1c1c1e; --hl: #faf0c8;
  --dot: rgb(28 28 30 / .14);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background-color: var(--bg); background-image: radial-gradient(var(--dot) 1.2px, transparent 1.6px); background-size: 22px 22px; color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; padding-inline: 20px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
@media (hover: hover) { a:hover { color: var(--pencil); } }
:focus-visible { outline: 2px solid var(--pencil); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 760px; margin-inline: auto; }
/* Nav: same links and Guides menu as the homepage (index.html keeps its own copy of these rules). */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; max-width: 1160px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -.015em; }
.brand b span { color: var(--muted); }
.nav nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.nav nav > a { text-decoration: none; }
.nav .get { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; box-shadow: inset 0 0 0 1.4px var(--ink); font-weight: 600; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }
.nav-menu { position: relative; }
.nav-menu summary { display: inline-flex; align-items: center; gap: 4px; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { transition: rotate .15s ease-out; }
.nav-menu[open] summary svg { rotate: 180deg; }
@media (hover: hover) { .nav-menu summary:hover { color: var(--pencil); } }
.nav-menu-list { position: absolute; z-index: 20; top: calc(100% + 12px); left: -12px; width: 300px; padding: 6px; border-radius: 14px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 12px 32px -8px rgb(0 0 0 / .22); display: flex; flex-direction: column; }
.nav-menu-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.nav-menu-list a[aria-current="page"] { background: var(--hl); }
@media (hover: hover) { .nav-menu-list a:hover { background: var(--surface); color: var(--text); } .nav-menu-list a[aria-current="page"]:hover { background: var(--hl); } }
.nav-menu-list .ico { flex: none; width: 32px; height: 32px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.nav-menu-list .txt { display: flex; flex-direction: column; gap: 1px; font-weight: 600; }
.nav-menu-list small { color: var(--muted); font-size: 13px; font-weight: 400; }

/* Unforget.it ＋ partner, above each guide's title */
.pair { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tile { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 8px 20px -10px rgb(0 0 0 / .3); }
.hand { font-family: var(--hand); color: var(--pencil); font-size: 24px; line-height: 1; display: inline-block; rotate: -2deg; }
.head { padding-block: 48px 36px; display: flex; flex-direction: column; gap: 14px; }
.head h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.04; letter-spacing: -.03em; }
.head p { font-size: 18px; color: var(--muted); max-width: 580px; }
.head .hand { align-self: flex-start; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 18px; padding: 22px 24px; border-radius: 16px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 1px 2px rgb(0 0 0 / .04), 0 16px 32px -20px rgb(0 0 0 / .18); }
.step .n { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--sticky); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 32px; }
.step p { color: var(--muted); font-size: 15px; }
.step p b { color: var(--text); font-weight: 600; }
.step .body { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.step .calm { margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--hl); color: var(--text); font-size: 14.5px; }
.calm b { font-weight: 600; }

/* Buttons and copyable values */
.btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 40px; padding: 0 16px 0 14px; margin-top: 6px; border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: #ffffff; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: scale .15s ease-out; }
@media (hover: hover) { .btn:hover { color: #ffffff; } }
.cmd { margin-top: 6px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--surface); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; font-family: var(--mono); font-size: 13px; white-space: nowrap; padding-block: 6px; }
.copy { flex: none; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .1); font: inherit; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; transition: scale .15s ease-out; }
@media (prefers-reduced-motion: no-preference) { .btn:active, .copy:active { scale: .96; } }

/* A plain aside under the steps: plan limits, menus that move */
.aside { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 14.5px; }
.aside b { color: var(--text); font-weight: 600; }

/* Three short lists */
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.facts h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.facts ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }

/* Feature cards (Eli) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.feature { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 16px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 1px 2px rgb(0 0 0 / .04), 0 16px 32px -20px rgb(0 0 0 / .18); }
.feature h2 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 15px; }
.feature .ask { align-self: flex-start; margin-top: 4px; padding: 6px 12px; border-radius: 12px; background: var(--surface); color: var(--text); font-size: 14px; }

/* Links to the other guides */
.more { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.more:last-child { margin-bottom: 72px; } /* posts without the CTA: keep clear of the footer rule */
.more h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more a { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .1); font-size: 14px; text-decoration: none; }

.cta { margin-block: 48px 72px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cta h2 { font-size: 32px; }
.cta p { color: var(--muted); font-size: 15px; }
.cta .btn { align-self: center; height: 46px; padding: 0 24px; background: var(--sticky); color: var(--text); }
@media (hover: hover) { .cta .btn:hover { color: var(--text); } }
/* Footer: Ask AI row (same rules as index.html) and the legal line */
.site-foot { max-width: 1160px; margin-inline: auto; padding-block: 32px 28px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 28px; }
.ask-ai { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.ask-ai h2 { font-size: 22px; letter-spacing: -.015em; }
.ask-ai p { color: var(--muted); font-size: 14px; }
.ask-ai-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-ai-list a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .05); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; transition-property: scale, box-shadow; transition-duration: .15s; transition-timing-function: ease-out; }
.ask-ai-list a > svg { color: var(--faint); }
.ask-ai-list .ico { flex: none; width: 30px; height: 30px; border-radius: 999px; overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
@media (hover: hover) { .ask-ai-list a:hover { color: var(--text); box-shadow: 0 0 0 1px rgb(0 0 0 / .18), 0 4px 12px -4px rgb(0 0 0 / .18); } }
@media (prefers-reduced-motion: no-preference) { .ask-ai-list a:active { scale: .96; } }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.legal span { display: flex; gap: 16px; }
.legal a { text-decoration: none; }

/* Blog: post list (/blog) and article pages (/blog/*) */
.post-head { padding-block: 40px 28px; display: flex; flex-direction: column; gap: 14px; }
.post-head h1 { font-size: clamp(36px, 5.4vw, 52px); line-height: 1.06; letter-spacing: -.03em; }
.post-head .dek { font-size: 19px; color: var(--muted); }
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { text-decoration: none; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }
.byline b { color: var(--text); font-weight: 600; }
.answer { padding: 20px 22px; border-radius: 16px; background: var(--hl); display: flex; flex-direction: column; gap: 8px; }
.answer h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.answer p { font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.prose { padding-block: 12px 8px; font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 30px; line-height: 1.15; margin-top: 44px; }
.prose h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-top: 30px; }
.prose ul, .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose a { text-decoration-color: rgb(34 88 184 / .4); text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: 15px; padding: 2px 6px; border-radius: 6px; background: var(--surface); }
.prose .note { padding: 16px 18px; border-radius: 14px; background: var(--surface); font-family: var(--sans); font-size: 15px; color: var(--muted); }
.prose .note b { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); background: var(--bg); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.prose th { font-weight: 600; background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; white-space: nowrap; }
.post-faq { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.post-faq > h2 { font-size: 30px; margin-bottom: 6px; }
.post-faq details { padding: 16px 20px; border-radius: 14px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.post-faq summary { cursor: pointer; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.post-faq details p { margin-top: 8px; color: var(--muted); }
/* Blog topic filter: same round chips as the home page's "try asking" row. */
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.topics[hidden] { display: none; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; box-shadow: 0 1px 2px rgb(0 0 0 / .04); -webkit-tap-highlight-color: transparent; transition-property: background-color, scale; transition-duration: .15s; transition-timing-function: ease-out; }
.chip:active { scale: .96; }
.chip[aria-pressed="true"] { background: var(--sticky); border-color: transparent; }
@media (max-width: 560px) {
  .topics { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .topics::-webkit-scrollbar { display: none; }
  .topics .chip { flex: none; }
}
.posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.posts a { display: grid; grid-template-columns: 1fr 200px; align-items: center; gap: 20px; padding: 18px 18px 18px 24px; border-radius: 16px; border: 1px solid transparent; background: var(--bg); text-decoration: none; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 1px 2px rgb(0 0 0 / .04), 0 16px 32px -20px rgb(0 0 0 / .18); transition: box-shadow .15s ease-out; }
@media (hover: hover) { .posts a:hover { color: var(--text); box-shadow: 0 0 0 1px rgb(0 0 0 / .14), 0 1px 2px rgb(0 0 0 / .04), 0 18px 36px -18px rgb(0 0 0 / .24); } }
.posts a img { grid-column: 2; grid-row: 1; width: 100%; height: auto; border-radius: 10px; }
.posts a:not(:has(img)) { grid-template-columns: 1fr; padding: 22px 24px; }
.post-card-text { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 560px) { .posts a { grid-template-columns: 1fr; padding: 14px 14px 20px; } .posts a img { grid-column: 1; } .post-card-text { padding-inline: 8px; } }
.post-hero { margin: 0 0 24px; }
.post-hero img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); }
.posts h2 { font-size: 24px; line-height: 1.2; }
.posts p { color: var(--muted); font-size: 15px; }
.posts time { font-size: 13px; color: var(--faint); }

/* Free tools (/tools/*): the tool card, its fields and its output */
.tool { display: flex; flex-direction: column; gap: 16px; padding: 22px 24px; border-radius: 16px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 1px 2px rgb(0 0 0 / .04), 0 16px 32px -20px rgb(0 0 0 / .18); }
.tool + .tool { margin-top: 14px; }
.tool > h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tool > p { color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; }
.field small { color: var(--muted); font-size: 13px; font-weight: 400; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tool input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .tool select, .tool textarea, .paste { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: var(--bg); box-shadow: 0 0 0 1px rgb(0 0 0 / .14); color: var(--text); font: inherit; font-size: 15px; }
.tool textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.tool input[type="file"] { font: inherit; font-size: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.paste { min-height: 120px; max-height: 320px; overflow: auto; }
.paste:empty::before { content: attr(data-placeholder); color: var(--faint); }
.out { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); font-family: var(--mono); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow-y: auto; }
.out:empty { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.actions .btn { margin-top: 0; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.quiet { background: var(--bg); color: var(--text); box-shadow: 0 0 0 1px rgb(0 0 0 / .14); }
@media (hover: hover) { .btn.quiet:hover { color: var(--text); } }
.status { color: var(--muted); font-size: 14px; }
.status:empty { display: none; }
.status.bad { color: #b3261e; }
.privacy { margin-top: 12px; color: var(--muted); font-size: 14px; }
.posts-out { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.posts-out li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--surface); }
.posts-out p { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.posts-out small { display: block; margin-top: 4px; color: var(--faint); font-size: 12.5px; }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.rules li::before { content: '✓ '; color: #1f7a3a; font-weight: 700; }
.rules li.no::before { content: '✗ '; color: #b3261e; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.thumbs figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.thumbs img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); background: var(--surface); }
.thumbs figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.big { font-family: var(--serif); font-size: clamp(30px, 5vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.verdict { padding: 14px 16px; border-radius: 12px; background: var(--hl); font-size: 15.5px; }
.verdict:empty { display: none; }
.cfg { display: flex; flex-direction: column; gap: 8px; }
.cfg h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cfg p { color: var(--muted); font-size: 14px; }
.cfg code { font-family: var(--mono); font-size: 13px; }
.updated { color: var(--faint); font-size: 14px; }
.step h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 32px; }
.tool .steps .step { padding: 0; box-shadow: none; }
.tool-group { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.tool-group > h2 { font-size: 28px; }
.posts h3 { font-size: 21px; line-height: 1.2; }
