/* Privacy, Terms and Support: the homepage's look applied to reading pages.
   Loaded after home.css, which supplies the typeface, colors, corners, button and footer.
   The wording of these pages lives in their own files and is not touched by styling. */
.doc-top { position: relative; margin: 30px 38px 0; padding: 40px 56px 120px; text-align: center; border-radius: var(--r); overflow: hidden; background: #ece6f8; }
.doc-top .art { position: absolute; inset: 0; pointer-events: none; }
.doc-top .art img { position: absolute; left: 50%; top: 50%; width: 1747px; height: 1241px; transform: translate(-50%, -50%) rotate(180deg); object-fit: cover; }
.doc-top > *:not(.art) { position: relative; }
.doc-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; isolation: isolate; }
/* A soft white glow behind the logo. */
.doc-bar::before { content: ""; position: absolute; z-index: -1; left: -420px; top: -330px; width: 1100px; height: 760px; background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,.35) 45%, rgba(255,255,255,0)); pointer-events: none; }
.doc-bar .doc-home .bloom-logo { height: 30px; width: auto; display: block; }
.doc-bar nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.doc-bar nav a { text-decoration: none; }
/* Before launch the Download button's place is taken by the coming-soon label, at the same size. */
.doc-bar .soon { margin: 0; padding: 11px 18px; font-size: 14px; animation: none; }
/* On phones the label sits under the date instead (see the phone rules below). */
body.prelaunch .doc-top > .soon { display: none; }
@media (hover: hover) and (pointer: fine) { .doc-bar nav a:not(.button):hover { text-decoration: underline; } }
.doc-top .label { margin-top: 72px; }
/* Long headings (an article's title) wrap into balanced lines, about as wide as the line under them */
.doc-top h1 { max-width: 700px; margin: 12px auto 0; font-size: 56px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.doc-top .updated { margin: 22px auto 0; font-size: 17px; line-height: 1.55; color: #4d4763; max-width: 620px; text-wrap: balance; }

/* The card tucks up over the banner's bottom edge, so it is solid rather than see-through. */
.doc { position: relative; z-index: 1; max-width: 800px; margin: -56px auto 0; padding: 48px 56px 56px; border: 1px solid var(--soft-gray); border-radius: var(--r); background: #fdfcff; font-size: 17px; line-height: 1.7; color: #2c2843; }
.doc h2 { margin: 48px 0 12px; padding-top: 32px; border-top: 1px solid var(--soft-gray); font-size: 26px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy); }
.doc h2:first-of-type { margin-top: 36px; }
/* a heading that opens the card has nothing above it to divide from, so it drops the line */
.doc > .updated + h2 { margin-top: 16px; padding-top: 0; border-top: 0; }
.doc h3 { margin: 30px 0 6px; font-size: 18.5px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.doc p { margin: 0 0 14px; text-wrap: pretty; }
/* No one-word last lines: headings and short display lines split into balanced lines; paragraphs
   (above) and list items use "pretty" wrapping, which avoids a lone last word */
.doc h2, .doc h3, .doc .quote blockquote, .doc .get-box p { text-wrap: balance; }
.doc li { text-wrap: pretty; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--violet); }
/* Numbered steps start at the text's left edge, as small violet circles; a step that wraps lines up
   with its own text, not under the number */
.doc ol { list-style: none; counter-reset: step; margin: 0 0 18px; padding: 0; }
.doc ol > li { counter-increment: step; position: relative; padding-left: 38px; margin-bottom: 10px; }
.doc ol > li::before { content: counter(step); position: absolute; left: 0; top: 1.5px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #efe8fb; color: var(--violet); font-size: 13px; font-weight: 600; line-height: 1; }
.doc a { color: var(--violet); text-decoration: underline; text-decoration-color: rgba(107, 69, 209, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.15s ease; }
@media (hover: hover) and (pointer: fine) { .doc a:hover { text-decoration-color: currentColor; } }
.doc strong { font-weight: 600; color: var(--navy); }
.doc .summary { margin: 0 0 8px; padding: 22px 26px; border-radius: var(--r-inner); background: #f3edfc; border: 1px solid #e4d9f7; color: var(--navy); }
.doc .summary p { margin: 0; }
/* The title and date are shown in the banner above, so the copies inside the card are hidden
   from view but kept for screen readers and search engines. */
.doc > h1, .doc > .updated { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.doc-page .footer { margin-top: 64px; }
/* A quiet date line at the end of a page (the accessibility page's "Last reviewed") */
.doc .reviewed { margin-top: 32px; font-size: 14px; color: var(--muted); }
/* The page-not-found page (404.html) is the banner alone: no card tucks up under it, so it is
   evenly padded, and a button under the line leads back to the homepage. */
.doc-top.lone { padding-bottom: 96px; }
.doc-top.lone .button { margin-top: 36px; }

@media (max-width: 1180px) { .doc-top h1 { font-size: 46px; } }
/* Once the card is as wide as the banner it sits below it instead of overlapping. */
@media (max-width: 940px) { .doc-top { padding-bottom: 64px; } .doc { margin: 20px 38px 0; max-width: none; } }
@media (max-width: 760px) {
  /* Banner and card are the same width here, so no overlap. The logo sits left, balanced by the menu button on the right. */
  .doc-top { margin: 12px 12px 0; padding: 26px 24px 40px; }
  .doc-top.lone { padding-bottom: 56px; }
  .doc-top.lone .button { margin-top: 28px; }
  .doc-bar { justify-content: flex-start; }
  .doc-bar nav { display: none; }
  .doc-bar::before { left: -495px; }
  body.prelaunch .doc-top > .soon { display: block; margin: 20px auto 0; padding: 10px 16px; font-size: 13.5px; animation: none; }
  .doc-bar .doc-home .bloom-logo { height: 24px; }
  .doc-bar { gap: 10px; }
  .doc-bar .doc-home .bloom-logo { height: 22px; }
  .doc-bar nav { gap: 12px; font-size: 14px; flex: none; }
  .doc-bar nav .button.small { padding: 9px 14px; font-size: 13px; }
  .doc-bar nav .hide-small { display: none; }
  .doc-top .label { margin-top: 44px; }
  .doc-top h1 { font-size: 34px; }
  .doc-top .updated { font-size: 15.5px; }
  .doc { margin: 12px 12px 0; padding: 26px 22px 32px; font-size: 16px; }
  .doc h2 { font-size: 22px; margin-top: 36px; padding-top: 26px; }
  .doc > .updated + h2 { margin-top: 10px; padding-top: 0; }
}

/* ---- About page and articles (built by build_pages.py) ---- */
.doc-top .label a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .doc-top .label a:hover { text-decoration: underline; text-underline-offset: 3px; } }
/* A quote in an article: the words large, who said it and where, then the "in kid words" line */
.doc .quote { margin: 22px 0; padding: 24px 28px; border-radius: var(--r-inner); background: #f6f2fd; border: 1px solid #e9e1f8; }
.doc .quote blockquote { margin: 0; font-size: 21px; line-height: 1.45; color: var(--navy); text-wrap: pretty; }
.doc .quote blockquote::before { content: "“"; }
.doc .quote blockquote::after { content: "”"; }
.doc .quote figcaption { margin-top: 12px; font-size: 15px; color: #4d4763; }
.doc .quote figcaption b { font-weight: 600; color: var(--navy); }
.doc .quote .kid { margin: 10px 0 0; font-size: 15px; }
.doc .quote .kid b { font-weight: 600; color: var(--violet); }
/* A screenshot, phone-sized and centered */
.doc .shot { margin: 26px auto 30px; max-width: 300px; }
.doc .shot img { display: block; width: 100%; height: auto; border-radius: 36px; border: 1px solid var(--soft-gray); box-shadow: 0 24px 50px -30px rgba(24, 21, 46, 0.45); }
/* A cropped part of a screen (the Lock Screen's clock and widget), wider so its text is readable */
.doc .shot.wide { max-width: 480px; }
.doc .shot.wide img { border-radius: 24px; }
/* Download buttons inside the text, and the closing "Blumvie is free on iPhone" box */
.doc .button { margin-top: 0; color: #fff; text-decoration: none; }
.doc .inline-get { margin: 18px 0 8px; }
/* The closing download box: deep indigo to violet, white text, the mark made for dark backgrounds and
   a white button with violet text (the brand guide's button on dark), so it reads as the call to
   action and never like one of the lavender quote cards */
.doc .get-box { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 22px 24px; border-radius: var(--r-inner); background: linear-gradient(115deg, #2b1673 0%, #4b2bb0 50%, #7a45c9 100%); box-shadow: 0 22px 44px -28px rgba(43, 22, 115, 0.7); }
.doc .get-box .get-mark { flex: none; width: 64px; height: 46px; margin: -4px -6px -4px -8px; }
.doc .get-box p { flex: 1; margin: 0; font-size: 18px; font-weight: 500; color: #fff; }
.doc .get-box .button { background: #fff; color: var(--violet); transition: background-color 0.35s ease, color 0.35s ease; }
/* Its Apple logo is a mask filled with the text color, so on hover it turns white together with the word */
.doc .get-box .button .ap { flex: none; width: 15px; height: 19px; background: currentColor; -webkit-mask: url("/assets/home/apple-logo.svg") center / contain no-repeat; mask: url("/assets/home/apple-logo.svg") center / contain no-repeat; }
/* On hover it fills with the brand gradient like every other button on the site (home.css), the logo and word
   turn white, and the white underneath turns violet too so no white shows at the rounded edges */
@media (hover: hover) and (pointer: fine) {
  .doc .get-box .button:hover { color: #fff; background-color: #7a3fd6; }
}
.doc .get-box .button:focus-visible { color: #fff; background-color: #7a3fd6; }
/* On phones the box stacks and centers: the mark, the line, then a full-width button */
@media (max-width: 760px) {
  .doc .get-box { flex-direction: column; gap: 14px; padding: 26px 22px 22px; text-align: center; }
  .doc .get-box .get-mark { margin: 0; }
  .doc .get-box p { flex: none; }
  .doc .get-box .button { width: 100%; justify-content: center; margin-top: 4px; }
}
/* ---- Arrival ----
   As the page opens, the banner's pieces settle in one after another and the card rises into place,
   with the homepage hero's own motion (the settle and arrive keyframes in home.css). Only on arrival:
   nothing moves while reading further down. Reduce Motion turns it off. */
/* the logo and button settle in; the bar itself holds still, so the white glow behind the logo is there from the start, like the background */
.doc-top .doc-bar > *, .doc-top .label, .doc-top h1, .doc-top .updated, .doc-top.lone .button, .doc-top .pk-top { animation: settle 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.doc-top .doc-bar > * { animation-delay: 0.05s; }
.doc-top .label { animation-delay: 0.15s; }
.doc-top h1 { animation-delay: 0.22s; }
.doc-top .updated { animation-delay: 0.3s; }
.doc-top.lone .button, .doc-top .pk-top { animation-delay: 0.38s; }
.doc { animation: arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.32s both; }
@media (prefers-reduced-motion: reduce) {
  .doc-top .doc-bar > *, .doc-top .label, .doc-top h1, .doc-top .updated, .doc-top.lone .button, .doc-top .pk-top, .doc { animation: none; }
}

/* ---- Articles: larger reading text ----
   19px in the same column puts about 72 characters on a line (17px gave about 81; 50 to 75 reads
   best), and suits long reading. Headings and quotes scale with it. Phones keep the site's size,
   which already gives them about 40 to 45 characters a line. */
@media (min-width: 761px) {
  .doc.article { font-size: 19px; }
  .doc.article h2 { font-size: 29px; }
  .doc.article .quote blockquote { font-size: 23px; }
  .doc.article .quote figcaption, .doc.article .quote .kid { font-size: 16px; }
  .doc.article ol > li::before { top: 2px; width: 28px; height: 28px; font-size: 14px; }
  .doc.article ol > li { padding-left: 42px; }
}


/* ---------- Articles (2026 design): the articles page and each article, built by build_pages.py ----------
   An open header like the About page (no banner box), the article picture, the site's article text styles in a
   reading column without the old card, the download box, then "Keep reading". The articles page ends with the
   homepage's closing; articles end with the download box and Keep reading. */
/* the soft page glow: on every subpage, whether or not it has its own .page-glow element */
.page-glow, .doc-page:not(:has(.page-glow))::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 38% at 12% 8%, rgba(160,120,255,.16), transparent 70%), radial-gradient(45% 35% at 92% 34%, rgba(255,176,140,.12), transparent 70%), radial-gradient(60% 40% at 50% 100%, rgba(160,120,255,.10), transparent 70%); }
/* nothing on a subpage may widen it past the screen on a phone (the press page's banner art and screenshot row did); clip keeps sticky working.
   The box runs the full width of the screen, with the content held to 1800px by padding, so the clip happens at the screen's edge and never cuts a soft glow on a wide monitor. */
.doc-page { max-width: none; padding-inline: max(0px, calc(50% - 900px)); overflow-x: clip; }
.arts { padding: 0 24px; color: var(--navy); }
.arts h1, .arts h2, .arts h3, .arts p { margin: 0; }
#ar-top, #ad-top { margin: 30px 38px 0; padding: 40px 56px 0; background: none; border-radius: 0; overflow: visible; text-align: left; }
/* the articles page header: the heading on one line on a laptop or wider, the intro on two, a thin line under it */
#ar-top .ar-intro { max-width: 1240px; margin: 0 auto; padding: 120px 0 56px; display: grid; gap: 18px; justify-items: start; border-bottom: 1px solid var(--soft-gray); }
#ar-top .ar-intro .label, #ad-top .ad-intro .label { margin: 0; }
#ar-top .ar-intro h1 { margin: 0; max-width: none; font-size: clamp(36px, 3.6vw, 56px); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
@media (min-width: 1000px) { #ar-top .ar-intro h1 { white-space: nowrap; } }
#ar-top .ar-intro .lede { margin: 0; max-width: 46em; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: balance; animation: settle 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
/* one row per article: the picture, then its tag, read time, headline, summary and a link */
.ar-rows { max-width: 1240px; margin: 72px auto 0; display: grid; gap: 88px; animation: arrive 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.38s both; }
.ar-row { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); column-gap: 64px; align-items: center; color: inherit; text-decoration: none; }
.ar-pic { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 1200 / 630; background: #ece6f8; box-shadow: 0 1px 2px rgba(24,21,46,.05), 0 30px 60px -38px rgba(66,39,120,.4); }
.ar-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.9,.25,1); }
.ar-words { display: grid; gap: 18px; justify-items: start; }
.ar-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.ar-meta .tag { padding: 4px 11px; border-radius: 999px; background: #efe9fb; color: var(--indigo); font-weight: 500; }
.ar-words .h { margin: 0; font-size: clamp(28px, 2.3vw, 38px); font-weight: 500; line-height: 1.16; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; transition: color .2s ease; }
.ar-words .desc { display: block; max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--muted); }
.ar-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--violet); }
.ar-more i { font-style: normal; transition: transform .3s cubic-bezier(.2,.9,.25,1); }
@media (hover: hover) and (pointer: fine) { a.ar-row:hover .ar-pic img { transform: scale(1.03); } a.ar-row:hover .ar-more i { transform: translateX(4px); } a.ar-row:hover .h { color: var(--indigo); } }
/* the "coming soon" row: an empty dashed frame where the next picture will go */
.ar-ghost .ghost-pic { position: relative; display: grid; place-items: center; background: rgba(255,255,255,.35); border: 1.5px dashed #cfc3ea; box-shadow: none; }
.ar-ghost .ghost-mark { width: 56px; height: auto; opacity: .22; }
.ar-ghost .ghost-tag { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--indigo); font-size: 13px; font-weight: 500; box-shadow: 0 6px 16px -10px rgba(66,39,120,.35); }
.ar-ghost .ar-words .h { color: #6b6680; }
/* the articles page's closing, as on the homepage, with room above the emblem for the outlines */
.arts .closing { margin-top: 0; padding-top: 210px; padding-bottom: 36px; }
.arts .closing .halo { top: -92px; }
.arts .closing .bloom-wrap.on { display: block; position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 460px 340px at 50% var(--ey, 160px), rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 13%, #000 36%, #000 44%, transparent 100%); mask-image: radial-gradient(ellipse 460px 340px at 50% var(--ey, 160px), rgba(0,0,0,.12) 0, rgba(0,0,0,.12) 13%, #000 36%, #000 44%, transparent 100%); }
.doc-page:has(.arts .closing) .footer { margin-top: 0; }
/* an article: the header and text share one centered column, the picture a little wider */
#ad-top .ad-intro { max-width: 760px; margin: 0 auto; padding: 96px 0 0; display: grid; gap: 18px; justify-items: start; }
#ad-top .crumbs a { color: var(--indigo); text-decoration: none; }
#ad-top .crumbs a::before { content: "← "; }
#ad-top .ad-intro h1 { margin: 0; max-width: none; font-size: clamp(34px, 3.6vw, 52px); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
#ad-top .ad-intro .lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); text-wrap: pretty; animation: settle .7s cubic-bezier(.2,.7,.2,1) .3s both; }
#ad-top .ad-by { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: 15px; color: var(--muted); animation: settle .7s cubic-bezier(.2,.7,.2,1) .36s both; }
#ad-top .ad-by img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 8px 18px -12px rgba(24,21,46,.5); }
#ad-top .ad-by .who { display: grid; gap: 4px; line-height: 1.4; }
#ad-top .ad-by b { font-weight: 600; color: var(--navy); }
#ad-top .ad-by a { color: inherit; text-decoration: none; }
.ad-hero { max-width: 1040px; margin: 56px auto 0; animation: arrive .9s cubic-bezier(.2,.7,.2,1) .4s both; }
.ad-hero img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r); box-shadow: 0 1px 2px rgba(24,21,46,.05), 0 30px 60px -38px rgba(66,39,120,.4); }
.ad .doc { max-width: 760px; margin: 64px auto 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 19px; line-height: 1.75; animation: none; }
.ad .doc p { margin: 0 0 20px; }
.ad .doc h2 { font-size: 30px; margin: 56px 0 16px; padding-top: 40px; }
.ad .doc h2:first-of-type { margin-top: 48px; }
.ad .doc h3 { margin: 32px 0 8px; }
.ad .doc .quote blockquote, .ad .doc .get-box p { margin: 0; }
.ad .doc .quote .kid { margin: 10px 0 0; }
.ad .doc .get-box { margin-top: 56px; }
/* Keep reading: only the label and "Read the article" are violet; no topic tag here */
.ad-more { max-width: 1040px; margin: 120px auto 120px; padding-top: 48px; border-top: 1px solid var(--soft-gray); display: grid; gap: 28px; }
.ad-more-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.ad-more-top .label { margin: 0; font-size: 22px; font-weight: 400; }
.ad-more-top a { color: var(--muted); font-weight: 500; text-decoration: none; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .ad-more-top a:hover { color: var(--navy); } }
.ad-more .ar-row { column-gap: 56px; }
.ad-more .ar-meta .tag { display: none; }
.ad-more .ar-words .h { font-size: clamp(26px, 2.2vw, 34px); }
@media (max-width: 960px) {
  #ar-top, #ad-top { margin: 12px 12px 0; padding: 26px 22px 0; }
  #ar-top .ar-intro { padding: 72px 0 40px; }
  #ad-top .ad-intro { padding-top: 64px; }
  .ar-rows { margin-top: 48px; gap: 56px; }
  .ar-row { grid-template-columns: 1fr; row-gap: 24px; }
  .ar-words .h { font-size: 28px; }
  .ad-hero { margin-top: 36px; }
  .ad .doc { margin-top: 40px; font-size: 17.5px; }
  .ad .doc h2 { font-size: 25px; }
  .ad-more { margin-top: 80px; }
  .ad-more .ar-row { grid-template-columns: 1fr; row-gap: 22px; }
}
@media (max-width: 760px) {
  .arts { padding: 0 16px; }
  .arts .closing { padding-top: 150px; }
  /* under the closing (which shows the mark) the phone footer drops its logo, as on the homepage */
  .doc-page:has(.arts .closing) .footer .signature { display: none; }
}
@media (prefers-reduced-motion: reduce) { #ar-top .ar-intro .lede, .ar-rows, #ad-top .ad-intro .lede, #ad-top .ad-by, .ad-hero { animation: none; } }


/* ---------- About (2026 design), built by build_pages.py from pages-src/about.html ----------
   The story's sentence is the hero, rising in line by line over a soft sunrise. Below it the text scrolls while one picture
   holds beside it and changes with each chapter (.live, added by the page's script on wide screens). */
html:has(.about) { overflow-anchor: none; }   /* the hero's words start lower for their rise, so a refresh must restore by position */
#ab-top { margin: 30px 38px 0; padding: 40px 56px 48px; text-align: left; min-height: max(640px, calc(100vh - 46px)); min-height: max(640px, calc(100svh - 46px)); display: flex; flex-direction: column; background: none; border-radius: 0; overflow: visible; }
#ab-top .ab-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 1100px; padding-top: 48px; }
#ab-top .label { margin: 0; }
#ab-top h1 { margin: 24px 0 0; max-width: none; font-size: clamp(34px, 4.5vw, 64px); font-weight: 500; line-height: 1.14; letter-spacing: -0.025em; text-wrap: pretty; color: var(--navy); animation: none; }
#ab-top h1 .w, #ab-top h1 .gl { display: inline-block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; vertical-align: top; }
#ab-top h1 .w > span, #ab-top h1 .gl > em { display: inline-block; }
#ab-top h1 .gl { display: block; width: fit-content; padding-bottom: .22em; margin-bottom: -.22em; }
#ab-top h1 em { padding-bottom: .16em; margin-bottom: -.16em; font-style: normal; background: linear-gradient(90deg, #6e33db, #c05cae 60%, #e58d5f); -webkit-background-clip: text; background-clip: text; color: transparent; }
#ab-top.pre h1 .w > span, #ab-top.pre h1 .gl > em { transform: translateY(112%); }
#ab-top.pre.go h1 .w > span, #ab-top.pre.go h1 .gl > em { transform: none; transition: transform 1.15s cubic-bezier(.2,.9,.25,1); transition-delay: calc(250ms + var(--l, 0) * 130ms); }
#ab-top.pre.go h1 .gl > em { transition-duration: 1.4s; transition-delay: calc(450ms + var(--l, 0) * 130ms); }
#ab-top .ab-by { display: flex; align-items: center; gap: 12px; margin-top: 40px; font-size: 16px; line-height: 1.3; animation: settle .9s cubic-bezier(.2,.7,.2,1) 1.25s both; }
#ab-top .ab-by img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 8px 18px -12px rgba(24,21,46,.5); }
#ab-top .ab-by span { display: grid; }
#ab-top .ab-by b { font-weight: 600; color: var(--navy); }
#ab-top .ab-by i { font-style: normal; font-size: 14.5px; color: var(--muted); }
/* morning light: a soft warm glow rises from the lower right as the sentence arrives, then breathes */
#ab-top .ab-sun { position: absolute; z-index: 0; width: 980px; height: 980px; right: -280px; bottom: -470px; pointer-events: none; }
#ab-top .ab-sun i { position: absolute; inset: 0; background: radial-gradient(circle closest-side, rgba(255,174,134,.55), rgba(240,158,186,.30) 38%, rgba(176,136,255,.13) 66%, rgba(176,136,255,0)); animation: ab-breathe 9s ease-in-out 3.5s infinite alternate; }
@keyframes ab-breathe { from { scale: 1; opacity: 1; } to { scale: 1.07; opacity: .82; } }
#ab-top.pre .ab-sun { opacity: 0; transform: translateY(22%); }
#ab-top.pre.go .ab-sun { opacity: 1; transform: none; transition: opacity 2.6s ease, transform 3.4s cubic-bezier(.2,.9,.25,1); transition-delay: .2s; }
/* the story: four chapters, each with its picture beside it */
.ab-story { --panel: calc((min(1120px, 100vw - 48px) - 104px) * .82 / 1.82 * 671 / 800); max-width: 1120px; margin: 0 auto; padding-top: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); column-gap: 104px; row-gap: 72px; align-items: center; }
.ab-story .sw-ch { grid-column: 1; display: grid; gap: 18px; align-content: center; }
.ab-story .sw-p { grid-column: 2; position: relative; margin: 0; aspect-ratio: 800 / 671; }
.ab-story .sw-p:nth-of-type(1), .ab-story .sw-ch:nth-of-type(1) { grid-row: 1; }
.ab-story .sw-p:nth-of-type(2), .ab-story .sw-ch:nth-of-type(2) { grid-row: 2; }
.ab-story .sw-p:nth-of-type(3), .ab-story .sw-ch:nth-of-type(3) { grid-row: 3; }
.ab-story .sw-p:nth-of-type(4), .ab-story .sw-ch:nth-of-type(4) { grid-row: 4; }
.ab-story .mk { display: flex; align-items: center; gap: 14px; margin: 0 0 4px; font-size: 14px; color: var(--indigo); white-space: nowrap; }
.ab-story .mk b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--violet); }
.ab-story .mk::after { content: ""; flex: 1; height: 1px; background: rgba(24,21,46,.09); }
.ab-story .heading { margin: 0; font-size: clamp(30px, 2.4vw, 44px); font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.ab-story .heading.qt { text-indent: -.42em; }
.ab-story .heading .q { background: linear-gradient(90deg, #6e33db, #c05cae 60%, #e58d5f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-story .lede { margin: 6px 0 0; max-width: 34em; font-size: clamp(18px, 1.1vw, 21px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
/* the pictures: plain rounded boxes on soft backgrounds; only the family photo has the leaf shape */
.ab-story .in { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r); background: #ece6f8; }
.ab-story .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-story .center { position: absolute; inset: 0; display: grid; place-items: center; }
.ab-story .fam { width: 78%; height: auto; aspect-ratio: 800 / 671; object-fit: cover; object-position: 50% 30%; border-radius: 8px 64px 8px 64px; box-shadow: 0 1px 2px rgba(24,21,46,.07), 0 26px 50px -26px rgba(66,39,120,.38); }
.ab-story .rings { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.ab-story .rings i { position: absolute; inset: 0; border: 1.5px solid rgba(110,51,219,.35); border-radius: 50%; animation: ab-ring 3.6s ease-out infinite; }
.ab-story .rings i:nth-child(2) { animation-delay: 1.2s; } .ab-story .rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ab-ring { from { scale: .45; opacity: 1; } to { scale: 1.5; opacity: 0; } }
.ab-story .rings span { position: relative; display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: 0 20px 40px -24px rgba(54,0,174,.55); }
.ab-story .rings img { width: 54px; height: 54px; }
.ab-story .ph .center { place-items: start center; padding-top: 9%; }
.ab-story .phone { position: relative; width: 42%; aspect-ratio: 1350 / 2760; filter: drop-shadow(0 24px 30px rgba(66,39,120,.22)); }
.ab-story .phone .s { position: absolute; left: 5.33%; top: 2.5%; width: 89.34%; height: 95%; border-radius: 12.5% / 5.75%; object-fit: cover; }
.ab-story .phone .b { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-story .nm .center { align-content: center; justify-items: center; gap: 20px; }
.ab-story .mark { width: 84px; }
.ab-story .bn { display: inline-flex; align-items: baseline; gap: .4em; margin: 0; font-size: clamp(24px, 2.5vw, 36px); font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.ab-story .bn em { font-style: normal; color: transparent; background: linear-gradient(90deg, #6e33db, #c05cae 60%, #e58d5f); -webkit-background-clip: text; background-clip: text; padding-bottom: .1em; }
.ab-story .bn i { font-style: normal; font-weight: 400; color: #b9aed6; margin: 0 .3em; }
/* wide screens: the picture holds still while the text scrolls; the chapter being read is sharp, the others soften */
@media (min-width: 961px) {
  .ab-story.live { row-gap: 0; align-items: start; }
  .ab-story.live .sw-p { grid-row: 1 / span 4; position: sticky; top: calc(50vh - 200px); opacity: 0; scale: .97; transition: opacity .6s ease, scale .9s cubic-bezier(.2,.9,.25,1); }
  .ab-story.live .sw-p.on { opacity: 1; scale: 1; z-index: 1; }
  .ab-story.live .sw-p:not(.on) .rings i { animation-play-state: paused; }
  .ab-story.live .in { opacity: calc(1 - var(--pf, 0) * .35); filter: blur(calc(var(--pf, 0) * 5px)); }
  .ab-story.live .sw-ch { min-height: 44vh; opacity: calc(1 - var(--f, 0) * .8); filter: blur(calc(var(--f, 0) * 4px)); }
  .ab-story.live .sw-ch:nth-of-type(1), .ab-story.live .sw-ch:nth-of-type(4) { min-height: var(--panel); }
}
.ab-cards { max-width: 1240px; margin: 0 auto; padding-top: 144px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ab-cards .feature h2 { font-size: 22px; font-weight: 500; line-height: 1.6; }
.ab-cards .feature p { color: #4d4763; line-height: 1.6; }
.ab-cards .feature a { color: var(--violet); }
.ab-cards img, .ab-cards svg { width: 34px; height: 34px; }
.ab-cards svg { fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* the closing starts right under the two cards, as it starts under the founder card on the homepage */
.arts.about .closing { padding-top: 64px; }
.arts.about .closing .halo { top: -238px; }
@media (max-width: 960px) {
  .ab-story { display: grid; grid-template-columns: 1fr; row-gap: 0; padding-top: 72px; }
  .ab-story .sw-p, .ab-story .sw-ch, .ab-story .sw-p:nth-of-type(n), .ab-story .sw-ch:nth-of-type(n) { grid-column: 1; grid-row: auto; }
  .ab-story .sw-p { max-width: 420px; width: 100%; margin-bottom: 28px; }
  .ab-story .sw-ch { margin-bottom: 64px; }
  .ab-story .sw-ch:last-child { margin-bottom: 0; }
  .ab-story .heading { font-size: 28px; }
  .ab-story .fam { border-radius: 6px 44px 6px 44px; }
  .ab-cards { grid-template-columns: 1fr; padding-top: 88px; }
}
@media (max-width: 760px) {
  #ab-top { margin: 12px 12px 0; padding: 26px 22px 28px; min-height: calc(100svh - 24px); }
  #ab-top .ab-mid { padding-top: 32px; }
  #ab-top h1 { font-size: 32px; }
  #ab-top .ab-sun { width: 560px; height: 560px; right: -220px; bottom: -300px; }
  .arts.about .closing { padding-top: 52px; }
}
@media (prefers-reduced-motion: reduce) { #ab-top .ab-sun i, #ab-top .ab-by, .ab-story .rings i { animation: none; } }

/* ---------- Top nav on subpages (the homepage and shared-quote page deliberately have none) ---------- */
.doc-bar nav { gap: 28px; }
.doc-bar .nav-link { font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--navy); text-underline-offset: 3px; }
.doc-bar .nav-link[aria-current] { color: var(--violet); }
.doc-bar nav .button, .doc-top.lone .doc-bar nav .button { margin-top: 0; margin-left: 4px; }
.menu-btn { display: none; }
html.nav-open { overflow: hidden; }
@media (max-width: 760px) {
  .menu-btn { position: relative; display: grid; place-content: center; gap: 4px; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 50%; background: rgba(255, 255, 255, 0.62); color: var(--navy); box-shadow: 0 8px 20px -14px rgba(24, 21, 46, 0.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: scale 0.16s ease; }
  .menu-btn::after { content: ""; position: absolute; inset: -4px; }   /* a full 48px to tap */
  .menu-btn:active { scale: 0.92; }
  /* Whole pixels, so both lines always render at exactly the same weight */
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
  .doc-bar { min-height: 40px; }
  .doc-bar > .menu-btn { position: absolute; right: -4px; top: 50%; margin-top: -20px; }
}
/* The phone menu: a soft bloom from the icon that fills the screen */
.nav-menu { position: fixed; inset: 0; box-sizing: border-box; display: none; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0 28px max(30px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; border: 0; color: var(--navy); background: linear-gradient(var(--page), rgba(248, 246, 251, 0) 120px), linear-gradient(to top, var(--page), rgba(248, 246, 251, 0) 100px), radial-gradient(90% 42% at 100% 12%, rgba(255, 176, 140, 0.26), transparent 72%), radial-gradient(90% 46% at 0 16%, rgba(160, 120, 255, 0.24), transparent 72%), radial-gradient(90% 32% at 50% 88%, rgba(160, 120, 255, 0.14), transparent 72%), var(--page); clip-path: circle(20px at var(--cx) var(--cy)); transition: clip-path 0.34s cubic-bezier(0.4, 0, 0.7, 0.4); }
.nav-menu[open] { display: flex; flex-direction: column; }
.nav-menu.in { clip-path: circle(150% at var(--cx) var(--cy)); transition: clip-path 0.62s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-menu::backdrop { background: transparent; }
.nav-menu:focus { outline: none; }
.nav-menu h2 { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav-menu-logo { position: absolute; left: var(--ll); top: var(--lt); display: block; }
.nav-menu-logo svg { display: block; width: auto; height: var(--lh); }
.nav-menu-close { position: absolute; left: var(--bx); top: var(--by); display: grid; place-content: center; gap: 4px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: scale 0.16s ease; }
.nav-menu-close::after { content: ""; position: absolute; inset: -4px; }
.nav-menu-close:active { scale: 0.92; }
.nav-menu-close span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: translate 0.32s cubic-bezier(0.22, 1, 0.36, 1), rotate 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-menu.in .nav-menu-close span:first-child { translate: 0 3px; rotate: 45deg; }
.nav-menu.in .nav-menu-close span:last-child { translate: 0 -3px; rotate: -45deg; }
.nav-menu nav { display: grid; margin: auto 0; padding: 96px 0 24px; text-align: center; }
.nav-menu nav a { padding: 12px 0; font-size: clamp(30px, 5vh, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: color 0.15s ease; }
.nav-menu nav a:active, .nav-menu nav a[aria-current] { color: var(--violet); }
.nav-menu nav a span { position: relative; display: inline-block; }
/* A dot marks the current page as well as the color, and sits outside the word so it stays centered */
.nav-menu nav a[aria-current] span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 8px; height: 8px; margin: -4px 14px 0 0; border-radius: 50%; background: currentColor; }
.nav-menu .button { flex: none; display: flex; justify-content: center; width: 100%; max-width: 420px; margin: 0 auto; padding: 18px 24px; font-size: 16px; }
.nav-menu nav a, .nav-menu .button { opacity: 0; translate: 0 10px; }
.nav-menu.in nav a, .nav-menu.in .button { opacity: 1; translate: 0 0; transition: opacity 0.4s ease calc(110ms + var(--i, 0) * 40ms), translate 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(110ms + var(--i, 0) * 40ms), color 0.15s ease; }
@media (prefers-reduced-motion: reduce) {
  .nav-menu, .nav-menu.in { clip-path: none; opacity: 0; transition: opacity 0.2s ease; }
  .nav-menu.in { opacity: 1; }
  .nav-menu nav a, .nav-menu .button, .nav-menu.in nav a, .nav-menu.in .button { opacity: 1; translate: 0 0; transition: none; }
  .nav-menu-close span, .nav-menu.in .nav-menu-close span { transition: none; }
  .nav-menu-close span:first-child { translate: 0 3px; rotate: 45deg; }
  .nav-menu-close span:last-child { translate: 0 -3px; rotate: -45deg; }
}
