/* The site's other pages: FAQ, Changelog, Contact, Recover license, the legal pages and
   the 404. The same notch hangs from the top as on the home page, each page opens on a
   purple band with Pip peeking over its curve, and the content sits in cards below. */

:root { --brand: "Fredoka", var(--display); --card: rgba(255, 255, 255, 0.045); --card-line: rgba(255, 255, 255, 0.1); }
body.page { background: var(--indigo); }

/* ---------- The notch ---------- */
.subnav { position: fixed; top: 0; left: 50%; z-index: 20; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 8px 0 16px; background: #000; color: #f3f1ec; border-radius: 0 0 20px 20px; white-space: nowrap; }
/* Its ears: the corners where the notch meets the top edge, curved the other way. */
.subnav::before, .subnav::after { content: ""; position: absolute; top: 0; width: 12px; height: 12px; background: transparent; pointer-events: none; }
.subnav::before { right: 100%; border-top-right-radius: 12px; box-shadow: 5px -5px 0 5px #000; }
.subnav::after { left: 100%; border-top-left-radius: 12px; box-shadow: -5px -5px 0 5px #000; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; margin-right: 16px; font: 600 18px/1 var(--brand); letter-spacing: 0; color: #fff; }
.wordmark img { width: 24px; height: 24px; }
.subnav .links { display: flex; gap: 2px; }
.subnav .links a { padding: 6px 11px; border-radius: 99px; font-size: 14px; color: rgba(255, 255, 255, 0.64); transition: color 0.2s, background 0.2s; }
.subnav .links a:hover, .subnav .links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.subnav .button { height: 32px; padding: 0 14px; margin-left: 6px; font-size: 13.5px; background: #f5f1e9; color: #000; }

/* ---------- The band at the top ---------- */
.page-hero { position: relative; overflow: hidden; padding: 132px 24px 120px; background: var(--purple); border-radius: 0 0 50% 50% / 0 0 72px 72px; }
.page-hero .inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.page-hero.center .inner { text-align: center; display: grid; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, 0.22); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
.pill svg { width: 15px; height: 15px; }
.page-hero h1 { margin-top: 18px; font-size: clamp(42px, 6.4vw, 76px); line-height: 1; letter-spacing: -0.045em; }
.page-hero .lede { margin-top: 20px; max-width: 620px; font-size: 19px; color: #ece6fb; }
.page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero .lede a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.page-hero .meta span { padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.24); color: #f1ecfb; font-size: 13px; }

/* Pip, peeking over the band's curve, eyes on the pointer. */
.peek { position: absolute; right: max(24px, calc(50% - 560px)); bottom: -74px; width: 190px; height: 190px; border-radius: 50%; background: #fff; box-shadow: 14px 8px 0 0 var(--indigo); pointer-events: none; }
.peek i { position: absolute; top: 31%; width: 11%; height: 21%; border-radius: 99px; background: #17171e; transform: translate(var(--lx, 0), var(--ly, 0)); transition: transform 0.25s ease-out; }
.peek i:first-child { left: 33%; }
.peek i:last-child { right: 33%; }
.peek.blink i { transform: translate(var(--lx, 0), var(--ly, 0)) scaleY(0.1); transition-duration: 0.08s; }

/* ---------- Content ---------- */
.page-body { max-width: 1120px; margin: 0 auto; padding: 72px 24px 120px; }
.page-body.narrow { max-width: 780px; }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; }
.page-body h2 { font-size: 28px; letter-spacing: -0.025em; }
.page-body a.text { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Two columns: a sticky list of sections, then the text. */
.split { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.side { position: sticky; top: 76px; display: grid; gap: 2px; padding: 10px; }
.side p { padding: 8px 12px 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.side a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.3; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.side a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.side a.on { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.side a svg { width: 17px; height: 17px; flex: none; opacity: 0.8; }

/* Legal text */
.summary { padding: 28px 30px; }
.summary h2 { font-size: 20px; }
.summary ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.summary li { position: relative; padding-left: 32px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.summary li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #30d158 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.summary strong { color: var(--text); font-weight: 600; }
.prose section { padding: 36px 0 0; scroll-margin-top: 80px; }
.prose section + section { margin-top: 36px; border-top: 1px solid var(--line); }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; }
.prose h2 .n { font: 600 14px var(--mono); color: var(--accent); }
.prose h3 { font-size: 17px; margin-top: 24px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.prose p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
/* A Terminal command in a guide: the Mac's mono on a soft chip, wrapping on a phone. */
.prose code { font: 500 0.86em/1.5 var(--mono); padding: 0.1em 0.38em; border-radius: 6px; background: rgba(255, 255, 255, 0.09); color: var(--text); overflow-wrap: anywhere; }
.prose a:not(.button) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.table-card { margin-top: 20px; overflow: hidden; }
.table-card table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-card th, .table-card td { padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.5; }
.table-card th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: rgba(255, 255, 255, 0.03); }
.table-card tr + tr td { border-top: 1px solid var(--line); }
.table-card td { color: var(--text-2); }
.table-card td:first-child { color: var(--text); font-weight: 600; width: 34%; }

/* FAQ */
.search { display: flex; align-items: center; gap: 12px; width: min(100%, 560px); height: 58px; margin-top: 30px; padding: 0 20px; border-radius: 18px; background: #fff; color: #5b5470; box-shadow: 0 18px 40px rgba(20, 10, 45, 0.35); }
.search svg { width: 20px; height: 20px; flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #1d153e; font: 17px var(--font); outline: none; }
.search input::placeholder { color: #8b84a0; }
.qa-group { scroll-margin-top: 80px; }
.qa-group + .qa-group { margin-top: 56px; }
.qa-group > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qa-group > h2 svg { width: 22px; height: 22px; color: var(--accent); }
.qa { display: grid; gap: 10px; }
.qa details { background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; transition: background 0.2s, border-color 0.2s; }
.qa details:hover { border-color: rgba(255, 255, 255, 0.18); }
.qa details[open] { background: rgba(255, 255, 255, 0.07); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font: 600 17px var(--display); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%23f6f1ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.25s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 20px 20px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.qa details p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.none { padding: 28px; text-align: center; color: var(--text-2); }

/* A closing card: still need help? */
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px; padding: 30px 32px; background: var(--purple); border: 0; }
.cta-card h2 { font-size: 24px; }
.cta-card p { margin-top: 6px; color: #ece6fb; }
.cta-card .button { flex: none; }

/* Changelog */
.release { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.release + .release { margin-top: 48px; }
.release aside { position: sticky; top: 80px; align-self: start; }
.release aside h2 { font: 600 34px var(--brand); letter-spacing: 0; }
.release aside time { display: block; margin-top: 6px; color: var(--text-3); font-size: 14px; }
.release .card { padding: 28px 30px; }
.release .card > p { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.change-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.change-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.tag { padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tag.new { background: rgba(48, 209, 88, 0.16); color: #63e38a; }
.tag.better { background: rgba(10, 132, 255, 0.18); color: #6cb6ff; }
.tag.fix { background: rgba(255, 159, 10, 0.18); color: #ffbf5c; }

/* Contact and Recover license */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.topics button { display: grid; gap: 10px; justify-items: start; padding: 20px; text-align: left; cursor: pointer; color: var(--text); font: inherit; background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.topics button:hover { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.topics button[aria-checked="true"] { background: rgba(255, 255, 255, 0.1); border-color: var(--accent); }
.topics svg { width: 26px; height: 26px; color: var(--accent); }
.topics b { font: 600 16px var(--display); }
.topics span { font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.compose { margin-top: 20px; padding: 28px 30px; display: grid; gap: 16px; }
.compose .tip { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.address { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 10px 0 20px; border-radius: 16px; background: var(--indigo); border: 1px solid var(--card-line); font: 600 19px var(--display); color: var(--text); }
.address button { height: 40px; padding: 0 16px; border-radius: 11px; border: 0; background: rgba(255, 255, 255, 0.1); color: var(--text); font: 600 14px var(--font); cursor: pointer; }
.address button:hover { background: rgba(255, 255, 255, 0.16); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.small { font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
.small a { color: var(--accent); }
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.help a, .help div { display: grid; gap: 8px; align-content: start; padding: 22px; }
.help a:hover { border-color: rgba(255, 255, 255, 0.22); }
.help svg { width: 24px; height: 24px; color: var(--accent); }
.help b { font: 600 16px var(--display); color: var(--text); }
.help span { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.form { padding: 30px; display: grid; gap: 10px; }
.form label { font-size: 14px; font-weight: 600; color: var(--text); }
.form label + input, .form label + select { margin-bottom: 10px; }
.form input, .form select { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--card-line); background: var(--indigo); color: var(--text); font: 16px var(--font); }
.form select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d3cae9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px; }
.form input:focus, .form select:focus, .search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .button { justify-self: start; margin-top: 6px; }

/* 404 */
.lost-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.lost-actions .button.quiet { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* ---------- Footer: on the indigo, no band ---------- */
body.page footer.site-footer { border-top: 1px solid var(--line); }
.footer-brand a, .legal-brand { font-family: var(--brand); font-weight: 600; }

@media (max-width: 900px) {
  .subnav .links { display: none; }
  .page-hero { padding: 108px 16px 104px; border-radius: 0 0 50% 50% / 0 0 40px 40px; }
  .peek { width: 130px; height: 130px; bottom: -56px; right: 16px; }
  .page-body { padding: 48px 16px 96px; }
  .split, .release { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .side, .release aside { position: static; }
  .side.toc { display: none; }
  .side.cats { display: flex; overflow-x: auto; padding: 0; gap: 8px; scrollbar-width: none; }
  .side.cats p { display: none; }
  .side.cats a { flex: none; border: 1px solid var(--card-line); }
  .topics, .help { grid-template-columns: 1fr 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .table-card td:first-child { width: auto; }
}
@media (max-width: 560px) { .topics, .help { grid-template-columns: 1fr; } .page-hero .lede { font-size: 17px; } }

/* Download: the steps, numbered. */
.steps h2 { margin-bottom: 18px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 24px; }
.step-list b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; font: 600 19px var(--brand); }
.step-list h3 { font-size: 18px; letter-spacing: -0.01em; }
.step-list p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.step-list strong { color: var(--text); font-weight: 600; }
.page-hero .button svg { width: 17px; height: 17px; }

/* Compare: what only SideDock does, the table with SideDock's column lit, the value. */
.cmp-title { margin-bottom: 18px; }
.only { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.only .card { display: grid; gap: 8px; align-content: start; padding: 22px; }
.only svg { width: 26px; height: 26px; color: var(--accent); }
.only b { font: 600 17px var(--display); color: var(--text); }
.only span { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.cmp { margin-top: 48px; overflow-x: auto; }
.cmp table { width: 100%; min-width: 720px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.cmp thead th { font: 600 15px var(--display); color: var(--text); border-bottom: 1px solid var(--line-2); }
.cmp tbody th { width: 26%; font-weight: 600; color: var(--text); }
.cmp tbody tr + tr > * { border-top: 1px solid var(--line); }
.cmp .us { background: rgba(92, 52, 141, 0.32); color: var(--text); }
.cmp thead .us { border-radius: 14px 14px 0 0; }
.cmp-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--brand); font-size: 17px; }
.cmp-brand img { width: 22px; height: 22px; }
.cmp .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 8px -5px 0; border-radius: 50%; background: #30d158; color: #fff; }
.cmp .yes svg { width: 14px; height: 14px; stroke-width: 2.4; }
.cmp td:not(.us) .yes { background: rgba(255, 255, 255, 0.16); }
.cmp .no { color: var(--text-3); }
.value { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 30px 32px; border-radius: 24px; background: var(--purple); }
.value h2 { font-size: 26px; }
.value p { margin-top: 8px; max-width: 640px; color: #ece6fb; font-size: 16px; line-height: 1.6; }
.cmp-note { margin-top: 28px; }
@media (max-width: 900px) { .only { grid-template-columns: 1fr 1fr; } .value { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .only { grid-template-columns: 1fr; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cmp-app { display: inline-flex; align-items: center; gap: 8px; }
.cmp-app img { width: 24px; height: 24px; }
.cmp table { min-width: 880px; }
.cmp tbody th { width: 20%; }
.cmp-logos { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.cmp-logos img { width: 44px; height: 44px; opacity: 0.92; }
.cmp-logos img.us { width: 64px; height: 64px; opacity: 1; }
.cmp-logos span { font-size: 22px; color: #e6defa; margin: 0 4px; }

/* The apps named in the Compare lede: each one a chip with its icon, tilted a touch, in
   its own colour; SideDock's chip is solid and sits straight. */
.page-hero .lede { line-height: 1.9; }
.app-chip { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px 1px 4px; margin: 0 1px; border-radius: 99px; font-weight: 650; color: #fff; white-space: nowrap; vertical-align: 1px; transform: rotate(var(--tilt, 0deg)); transition: transform 0.35s cubic-bezier(0.34, 1.6, 0.64, 1); }
.app-chip img { width: 22px; height: 22px; border-radius: 6px; }
.app-chip:hover { transform: rotate(0deg) scale(1.06); }
.app-chip.droppy { background: #3d3fd9; --tilt: -2.5deg; }
.app-chip.dockset { background: #1f8fe6; --tilt: 2deg; }
.app-chip.vitals { background: #1867e0; --tilt: -1.5deg; }
.app-chip.us { background: #fff; color: var(--indigo); padding-right: 12px; box-shadow: 0 6px 18px rgba(20, 10, 45, 0.35); }
.all-three { font-style: normal; font-weight: 650; color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { .app-chip { transform: none; transition: none; } }

/* Only in SideDock, as a bento: wide, tall and small cards, each with a little of the app. */
.bento { grid-template-columns: repeat(4, 1fr); grid-template-areas: "edges edges one macs" "pip vitals vitals reply" "pip quiet agents agents"; }
.bento .card { position: relative; overflow: hidden; gap: 6px; padding: 24px; }
.bento b { font-size: 19px; letter-spacing: -0.01em; }
.bento span { font-size: 15px; }
.b-edges { grid-area: edges; } .b-one { grid-area: one; } .b-macs { grid-area: macs; } .b-pip { grid-area: pip; }
.b-vitals { grid-area: vitals; } .b-reply { grid-area: reply; } .b-quiet { grid-area: quiet; } .b-agents { grid-area: agents; }
.b-edges, .b-pip { background: var(--purple); border-color: transparent; }
.b-edges span, .b-pip span { color: #ece6fb; }
.b-edges svg, .b-pip svg { color: #fff; }
.b-macs .big { font: 700 64px/0.9 var(--display); letter-spacing: -0.05em; color: var(--accent); }
/* Pip at work: a short chat. */
.mini-chat { display: grid; gap: 8px; margin-top: 14px; }
.mini-chat p { width: fit-content; max-width: 92%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.35; }
.mini-chat .me { justify-self: end; background: #fff; color: var(--indigo); border-bottom-right-radius: 4px; }
.mini-chat .pip { background: rgba(0, 0, 0, 0.25); color: #fff; border-bottom-left-radius: 4px; }
/* The Mac's numbers, as the widgets show them. */
.stat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stat-pills span { padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--card-line); font-size: 13px; color: var(--text-2); }
.stat-pills b { font: 600 13px var(--mono); color: var(--text); margin-left: 4px; }
.agent-logos { display: flex; gap: 8px; margin-top: 14px; }
.agent-logos img { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #161618; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); object-fit: contain; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "edges edges" "one macs" "pip pip" "vitals vitals" "reply quiet" "agents agents"; }
}

/* Every card shows a little of the app, at the bottom of the card. */
.bento .card { display: flex; flex-direction: column; }
.bento .ic { width: 24px; height: 24px; color: var(--accent); margin-bottom: 4px; }
.b-edges .ic, .b-pip .ic { color: #fff; }
.bento .card > div[aria-hidden], .bento .card > .mini-chat { margin-top: auto; padding-top: 18px; }
/* Eight docks on a screen's edge, lit one after another. */
.g-edges { position: relative; height: 120px; margin-top: auto; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 14px; background: rgba(0, 0, 0, 0.18); }
.g-edges i { position: absolute; background: #fff; border-radius: 4px; opacity: 0.28; animation: dock-lit 8s infinite calc(var(--k) * 1s); }
.g-edges .l { left: 6px; top: 34px; width: 7px; height: 52px; }
.g-edges .r { right: 6px; top: 34px; width: 7px; height: 52px; }
.g-edges .tl { left: 9%; top: 6px; width: 15%; height: 7px; }
.g-edges .tr { right: 9%; top: 6px; width: 15%; height: 7px; }
.g-edges .n { left: 50%; top: -1.5px; width: 16%; height: 12px; margin-left: -8%; background: #000; border-radius: 0 0 6px 6px; opacity: 1; animation-name: notch-lit; }
.g-edges .bl { left: 9%; bottom: 6px; width: 15%; height: 7px; }
.g-edges .b { left: 50%; bottom: 6px; width: 24%; height: 7px; margin-left: -12%; }
.g-edges .br { right: 9%; bottom: 6px; width: 15%; height: 7px; }
@keyframes dock-lit { 0%, 10% { opacity: 1; } 16%, 100% { opacity: 0.28; } }
@keyframes notch-lit { 0%, 10% { box-shadow: 0 0 0 2px #fff; } 16%, 100% { box-shadow: none; } }
/* The notch with a live activity, a dock under it. */
.g-one { display: grid; justify-items: center; gap: 10px; }
.g-one .notch { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 7px; border-radius: 0 0 14px 14px; background: #000; color: #fff; font-size: 12px; font-weight: 600; }
.g-one .notch b { width: 8px; height: 8px; border-radius: 50%; background: #30d158; }
.g-one .dock { display: flex; gap: 5px; padding: 6px; border-radius: 11px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--card-line); }
.g-one .dock i { width: 18px; height: 18px; border-radius: 5px; background: #ff9f0a; }
.g-one .dock i:nth-child(2) { background: #30d158; } .g-one .dock i:nth-child(3) { background: #0a84ff; } .g-one .dock i:nth-child(4) { background: #bf5af2; } .g-one .dock i:nth-child(5) { background: #ff453a; }
/* Five Macs. */
.g-macs { display: flex; gap: 6px; }
.g-macs i { position: relative; width: 26px; height: 17px; border: 1.5px solid var(--text-3); border-radius: 3px; }
.g-macs i::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -5px; height: 2px; border-radius: 1px; background: var(--text-3); }
/* A notice in the notch, answered in place. */
.g-reply { display: grid; gap: 8px; }
.g-reply .note { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; background: #000; color: #fff; font-size: 12.5px; font-weight: 600; }
.g-reply .note b { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.g-reply .field { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--card-line); font-size: 12.5px; color: var(--text-2); }
.g-reply .field i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); }
/* Held while you're busy. */
.g-quiet { display: grid; gap: 8px; justify-items: start; }
.g-quiet .focus { padding: 6px 12px; border-radius: 99px; background: rgba(255, 69, 58, 0.18); color: #ff8a80; font-size: 12.5px; font-weight: 600; }
.g-quiet .held { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); border: 1px dashed var(--line-2); color: var(--text-3); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .g-edges i { animation: none; opacity: 0.6; } }
.bento .b-pip > .mini-chat { margin-top: 6px; }
/* Closing (js/pages.js): the + turns back as the answer folds away. */
.qa details.is-closing summary::after { transform: none; }
/* (The page keeps an opened question in place itself, js/pages.js; the browser's own anchoring
   would move it a second time.) */
.qa { overflow-anchor: none; }

/* ---------- Blog ---------- */
/* The list: a card per post, its kind, title, a line about it and how long it takes. */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.post-card { display: grid; align-content: start; gap: 10px; padding: 24px 24px 22px; background: var(--card); border: 1px solid var(--card-line); border-radius: 22px; color: var(--text); transition: border-color 0.2s, background 0.2s; }
.post-card:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); }
.post-card h3 { font: 600 21px/1.25 var(--heading, var(--display)); letter-spacing: -0.01em; }
.post-card p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.post-tag { justify-self: start; padding: 3px 10px; border-radius: 99px; background: rgba(232, 153, 84, 0.16); color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.post-meta { margin-top: 4px; color: var(--text-3); font-size: 13px; }
/* A post: one readable column. */
.article { max-width: 720px; margin: 0 auto; }
.article section:first-child { padding-top: 0; }
.article p, .article li { font-size: 17px; }
.more-posts { max-width: 1040px; margin: 88px auto 0; }
.more-posts > h2 { margin-bottom: 18px; font: 600 26px var(--heading, var(--display)); }

/* Compare's sum: the others' prices as tilted tags in their own colours, their total struck
   out with a quick scribble, and SideDock's price swept with a marker. Each arrives in
   turn once the card is seen (js/pages.js adds .drawn). Solid colours, no gradient. */
.tally .price-tag { display: inline-block; padding: 0 8px; border-radius: 7px; color: #fff; font-weight: 650; white-space: nowrap; rotate: var(--tilt, 0deg); }
.tally .price-tag.droppy { background: #3d3fd9; --tilt: -2deg; }
.tally .price-tag.dockset { background: #1f8fe6; --tilt: 1.5deg; }
.tally .price-tag.vitals { background: #1867e0; --tilt: -1.5deg; }
.tally .struck { position: relative; white-space: nowrap; color: #fff; }
.tally .struck svg { position: absolute; left: -4%; top: 50%; width: 108%; height: 0.8em; translate: 0 -50%; overflow: visible; pointer-events: none; }
.tally .struck path { fill: none; stroke: #ff6fae; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tally mark.swash { position: relative; z-index: 0; padding: 0 4px; background: none; color: var(--indigo); font-weight: 700; white-space: nowrap; }
.tally mark.swash::before { content: ""; position: absolute; inset: -2px -2px -1px; z-index: -1; border-radius: 6px 10px 7px 12px; background: #ffb347; rotate: -1.5deg; transform-origin: 0 50%; }
/* In motion: tags pop, the scribble draws, the marker sweeps across. */
.motion .tally .price-tag { scale: 0.6; opacity: 0; transition: scale 0.5s cubic-bezier(0.34, 1.6, 0.64, 1), opacity 0.25s ease; }
.motion .tally .price-tag.dockset { transition-delay: 0.12s; }
.motion .tally .price-tag.vitals { transition-delay: 0.24s; }
.motion .tally .struck path { stroke-dashoffset: 1; transition: stroke-dashoffset 0.55s cubic-bezier(0.65, 0, 0.35, 1) 0.6s; }
.motion .tally mark.swash { color: #fff; transition: color 0.3s ease 1.25s; }
.motion .tally mark.swash::before { scale: 0 1; transition: scale 0.55s cubic-bezier(0.65, 0, 0.35, 1) 1.05s; }
.motion .tally.drawn .price-tag { scale: 1; opacity: 1; }
.motion .tally.drawn .struck path { stroke-dashoffset: 0; }
.motion .tally.drawn mark.swash { color: var(--indigo); }
.motion .tally.drawn mark.swash::before { scale: 1 1; }

/* ---------- Blog pictures ----------
   One drawn picture per post (inline SVG, 1200 × 630): a cover on the post, a thumbnail on
   its card. Their moving parts run only while seen (js/pages.js adds .on), and not at all
   for reduced motion. */
.art { display: block; overflow: hidden; background: #1d153e; }
.art svg { display: block; width: 100%; height: auto; }
.cover { max-width: 1040px; margin: 0 auto 56px; border-radius: 28px; }
.post-card .thumb { margin: -24px -24px 8px; border-radius: 21px 21px 0 0; }
.art * { animation-play-state: paused !important; }
.art.on * { animation-play-state: running !important; }
.art .a-blink { transform-box: fill-box; transform-origin: center; animation: art-blink 4.8s infinite; }
.art .a-wave { transform-box: fill-box; transform-origin: center; animation: art-wave 0.8s ease-in-out infinite alternate; }
.art .a-pop { transform-box: fill-box; transform-origin: center; animation: art-pop 2.4s ease-in-out infinite; }
.art .a-float { animation: art-float 3s ease-in-out infinite; }
.art .a-bob { animation: art-bob 3.4s ease-in-out infinite; }
.art .a-spin { transform-box: fill-box; transform-origin: center; animation: art-spin 1s linear infinite; }
.art .a-light { opacity: 0; animation: art-light 6s linear infinite; }
.art .a-drift { animation: art-drift 4.2s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
.art .a-minute { transform-box: view-box; transform-origin: 600px 315px; animation: art-spin 8s linear infinite; }
.art .a-hour { transform-box: view-box; transform-origin: 600px 315px; animation: art-spin 96s linear infinite; }
.art .a-ecg { stroke-dasharray: 260 1400; animation: art-ecg 2.6s linear infinite; }
.art .a-type { transform-box: fill-box; transform-origin: left center; animation: art-type 5s ease-out infinite; }
.art .a-scroll { animation: art-scroll 14s linear infinite; }
.art .a-sweep { transform-box: fill-box; transform-origin: 10% 0; animation: art-sweep 0.9s ease-in-out infinite alternate; }
.art .a-slide { animation: art-slide 4.4s ease-in-out infinite; }
@keyframes art-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.08); } }
@keyframes art-wave { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
@keyframes art-pop { 0%, 100% { transform: scale(0.55); opacity: 0.35; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes art-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes art-light { 0%, 23% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes art-drift { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@keyframes art-ecg { from { stroke-dashoffset: 1660; } to { stroke-dashoffset: 0; } }
@keyframes art-type { 0% { transform: scaleX(0); } 22%, 100% { transform: scaleX(1); } }
@keyframes art-scroll { to { transform: translateY(-840px); } }
@keyframes art-sweep { from { transform: rotate(-10deg); } to { transform: rotate(12deg); } }
@keyframes art-slide { 0%, 12% { transform: translate(var(--sx), var(--sy)); opacity: 0; } 30%, 82% { transform: none; opacity: 1; } 100% { transform: translate(var(--sx), var(--sy)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .art * { animation: none !important; } .art .a-light:first-of-type { opacity: 1; } }

/* ---------- Arriving ----------
   A page's band comes in a line at a time (the pill, the heading, the words, the rest), Pip
   pops up from behind the curve, then the content rises, cards one after another. */
@media (prefers-reduced-motion: no-preference) {
  .page-hero .inner > * { animation: page-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .page-hero .inner > :nth-child(2) { animation-delay: 0.07s; }
  .page-hero .inner > :nth-child(3) { animation-delay: 0.14s; }
  .page-hero .inner > :nth-child(n + 4) { animation-delay: 0.21s; }
  .peek { animation: peek-up 0.9s cubic-bezier(0.34, 1.45, 0.64, 1) 0.3s both; }
  .page-body { animation: page-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both; }
  .posts > .post-card { animation: page-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .posts > .post-card:nth-child(2) { animation-delay: 0.3s; }
  .posts > .post-card:nth-child(3) { animation-delay: 0.38s; }
  .posts > .post-card:nth-child(n + 4) { animation-delay: 0.46s; }
}
@keyframes page-rise { from { opacity: 0; translate: 0 22px; } }
/* A pen's mark in a page's heading waits for the heading to be up. */
@media (prefers-reduced-motion: no-preference) {
  .page-hero .hl { --d0: 0.8s; }
}
@keyframes peek-up { from { translate: 0 70%; } }
