/* the subpages of the new design (SPEC-SITE 2.5 to 2.7, 3; PLAN-SITE's subpage design rules): their sizes, the two
   parts they share with the home (.ico and .cta-row: the home has them in sections.css, which the subpages do not
   load), the hidden title, the H1, the entrance, and each page's rules. Parts are named pg-..., never a sections.css
   name. Task 7 lays the ground and the 404; Task 12 and on add the parts */
:root {
  /* the subpages' sizes, set from the home's tokens (SPEC-SITE 2.5, plan review 47 M-12); values at 1440 / 1024 / 390 */
  --fs-page-title: calc(var(--fs-hero) * .8);            /* H1: 70 / 51 / 35 */
  --fs-page-post: clamp(32px, 3.2vw, 46px);              /* a post's H1, long titles (review 47 low 12): 46 / 33 / 32 */
  --fs-page-statement: max(calc(var(--fs-statement) * .8), 40px);   /* /about's statement: 62 / 45 / 40 (641 to 900) / 30, within 0.9 of the H1 as the home's is of its slogan, and 40 at least, the home's own floor (Task 14 design check) */
  --fs-page-h2: var(--fs-h2);                            /* section titles, the home's h2: 56 / 44 / 32 */
  --fs-page-cell: calc(var(--fs-h2) * .67);              /* the four cells' big words: 37.5 / 29.5 / 21.4 (SubCut's figures no larger than today) */
  --fs-page-item: calc(var(--fs-h3) - 4px);              /* list and card titles: 22 / 22 / 19 (.value h3 and .work-title; 19 on phones as .svc-t) */
  --fs-page-step: calc(var(--fs-h3) - 6px);              /* step titles: 20 / 20 / 20 (.pipe-node h3) */
  --fs-page-sub: calc(var(--fs-lead) - 1px);             /* definitions: 18 / 18 / 16 (.hero-sub) */
  --fs-page-desc: calc(var(--fs-body) - 1px);            /* card and step lines: 15 / 15 / 14 (.pipe-node p, .work-desc) */
  --fs-page-note: calc(var(--fs-small) - 1px);           /* chips, notes, small labels: 13 (.hero-meta, .values-label) */
  --pg-head-top: calc(var(--header-h) + var(--sec-y) * .7);   /* 192 / 170 / 112 */
  --pg-head-bottom: calc(var(--sec-y) * .6);                  /* 96 / 77 / 58 */
}
@media (max-width: 640px) {
  :root { --fs-page-statement: 30px; --pg-head-top: calc(var(--header-h) + var(--sec-y) * .5); }   /* 30 against the H1's 35 (review 47 low 6) */
  :root { --fs-page-item: 19px; --fs-page-step: 20px; }   /* third-level titles at the home's phone sizes, .svc-list 19 and .pipe-node 20 (Task 12 design check) */
}

/* shared with the home, the same values as sections.css: the icon box and the button row with its rules at 640 and down */
.ico { width: 16px; height: 16px; flex: none; }
.cta-row { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .cta-row { margin-top: 30px; }
  .cta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* one width for both buttons (09-24 detail audit 3): a grid, since only the ghost button has a border */
  .cta-row .btn { padding-inline: 20px; }
}

/* the hidden title (h2.sr-title), the same values as base.css .sr-only (design doc 3.1, plan review 53 L1) */
.sr-title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the H1 (h1.pg-title), the home's .hero-title values. Each line (.pg-line > .pg-line-in) is clipped as the home's
   slogan is while it rises (.is-intro .hero-title .line): hidden where clip is unknown (Safari 15 and older) */
.pg-title { font-size: var(--fs-page-title); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.pg-title .pg-line { display: block; overflow: hidden; overflow: clip; padding-block: .1em; margin-block: -.1em; }
.pg-title .pg-line-in { display: inline-block; }

/* the subpages' entrance (SPEC-SITE 2.6): every load, CSS only, no guard. Designed length within 0.9s: .pg-in
   330 + 480 = 810ms (--i up to 6), the H1's second line 120 + 660 = 780ms (60ms, then 60ms apart). The H1's lines
   rise inside their clipped line as the home's slogan does; reduced motion and ?static=1 show the finished look */
@keyframes pg-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes pg-line { from { transform: translateY(108%); } }
.pg-in { animation: pg-rise 480ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms); }
.pg-title .pg-line-in { animation: pg-line 660ms cubic-bezier(.215, .61, .355, 1) both; animation-delay: calc(60ms + var(--l, 0) * 60ms); }
.is-static .pg-in, .is-static .pg-title .pg-line-in { animation: none; }
@media (prefers-reduced-motion: reduce) { .pg-in, .pg-title .pg-line-in { animation: none; } }

/* 404 (SPEC-SITE 6): one dark screen, centred, the header's height and 120px above the H1 (64px on phones). The
   paragraph takes the definition line's values (.pg-def), the links the chip row's line and gaps (.pg-meta) */
.pg-404 { min-height: 100vh; min-height: 100svh; padding-block: calc(var(--header-h) + 120px) var(--sec-y); text-align: center; }
.pg-404-text { max-width: 36em; margin: 32px auto 0; font-size: var(--fs-page-sub); line-height: 1.78; color: var(--on-dark-2); }
.pg-404 .cta-row { justify-content: center; }
.pg-404-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; max-width: 680px; margin: 56px auto 0; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.pg-404-nav a { font-size: var(--fs-small); font-weight: 500; color: var(--on-dark-2); transition: color var(--t-fast) var(--ease-out); }
.pg-404-nav a:hover { color: var(--on-dark-1); }
/* touch screens: each link a 44px target and the rows 44px apart, as in the footer menu (base.css) */
@media (pointer: coarse) {
  .pg-404-nav ul { row-gap: 0; }
  .pg-404-nav a { display: inline-block; padding-block: 10px; }
}
@media (max-width: 640px) {
  .pg-404 { padding-top: calc(var(--header-h) + 64px); }
  /* the one centred layout gives back the wider left margin, so its column sits in the middle of the screen, as the
     footer wordmark does (base.css 250; Task 12 design check) */
  .pg-404 .wrap { margin-left: var(--margin); }
}

/* ================================================================
   the parts every subpage shares (Task 12 on; values from the prototype part named beside each)
   ================================================================ */

/* the section tones. .section--light (nav.js turns the header light over it) and .section--dark are base.css's; the
   deep dark is sections.css's value, written again here since the subpages do not load that file. A subpage section
   is .pg-sec: the home's section padding */
.pg-sec { position: relative; padding-block: var(--sec-y); }
.section--deep { background: var(--ink-950); color: var(--on-dark-1); }
/* two neighbours of one family (dark and deep are one) meet on a 1px line over the second. One set of rules, so the
   line lands in its place whichever section a page leaves out */
.section--dark + .section--dark, .section--dark + .section--deep,
.section--deep + .section--dark, .section--deep + .section--deep { border-top: 1px solid var(--line-dark); }
.section--light + .section--light { border-top: 1px solid var(--line-light); }

/* the page head (deep, .hero-copy): the path, the H1, the definition, the tagline, the buttons and the chip row, and
   the page's picture on the right from 1025px (7:5), under the copy below that */
.pg-head { padding-block: var(--pg-head-top) var(--pg-head-bottom); }
.pg-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: center; }
/* a head with no picture (/about, Task 14): one column from 1025px too, so the H1's lines are not held to seven
   columns; the definition, the tagline and the chips keep their own measures (36em, 648px, 560px) */
.pg-head--text .pg-head-grid { grid-template-columns: minmax(0, 1fr); }
.pg-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: var(--fs-page-note); font-weight: 500; line-height: 1.4; color: var(--on-dark-2); }
.pg-crumb a { transition: color var(--t-fast) var(--ease-out); }
.pg-crumb a:hover { color: var(--on-dark-1); }
.pg-crumb [aria-hidden="true"] { color: var(--on-dark-3); }
.pg-crumb b { font-weight: 600; color: var(--on-dark-1); }
.pg-title em { color: var(--brand-tint); }
.pg-def { margin-top: 32px; max-width: 36em; font-size: var(--fs-page-sub); line-height: 1.78; color: var(--on-dark-2); }
.pg-tag { margin-top: 14px; max-width: calc(var(--fs-page-sub) * 36); font-size: var(--fs-body); line-height: 1.75; color: var(--on-dark-2); }   /* the definition's measure */
/* the chip row (.hero-meta): a rule over it, a dot before each chip (a pseudo-element, so no text) */
.pg-meta {
  max-width: 560px; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px;
  font-size: var(--fs-page-note); font-weight: 500; line-height: 1.4; color: var(--on-dark-2);
}
.pg-meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--brand-tint); vertical-align: 2px; }
/* the product's picture (.work-visual and .panel): its colour's round light, one diagonal beam and the screen panels */
.pg-visual {
  position: relative; height: 440px; border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  background: var(--work-bg, #14141C);   /* browsers without color-mix() keep the card colour */
  background:
    radial-gradient(120% 90% at 78% 8%, color-mix(in srgb, var(--work-glow, #6A4CFF) 55%, transparent), transparent 60%),
    var(--work-bg, #14141C);
}
.pg-visual::before {
  content: ""; position: absolute; z-index: 0; left: -10%; top: 64%; width: 130%; height: 1px; transform: rotate(-16deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28) 40%, rgba(201, 193, 255, .55) 55%, transparent 80%);
  box-shadow: 0 0 18px 2px rgba(139, 123, 255, .25);
}
.pg-visual--subcut { --work-bg: #0B1120; --work-glow: #3657D6; }
.pg-visual--otalk { --work-bg: #1C1A14; --work-glow: #D9A91C; }
.pg-visual--works { --work-bg: #14173D; --work-glow: #5B45E0; }   /* the wictcon card's colours */
.pg-panel { position: absolute; z-index: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.pg-panel img { width: 100%; height: auto; }
.pg-panel--back { left: 8%; top: 9%; width: 62%; opacity: .9; }
.pg-panel--front { right: 6%; bottom: 10%; width: 72%; }
.pg-panel--window { left: 50%; top: 50%; width: 80%; transform: translate(-50%, -50%); border-radius: 6px; }
/* the works capture (/studio's head, the prototype's Works cards: .frame): two browser frames where SubCut's panels
   sit, KINGS FARMERS behind at the top left and wictcon in front at the bottom right (Task 17 design check: not the
   screen that leads /cafe24's head). The frame and its bar take .frame--browser's and .frame-bar's values (no hover
   here, so no lift); the bar is aria-hidden, so no text is added */
.pg-frame { position: absolute; z-index: 1; overflow: hidden; background: #0B0B10; aspect-ratio: 16 / 11; border-radius: 10px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }
.pg-frame img { width: 100%; height: calc(100% - 28px); object-fit: cover; object-position: top center; }
.pg-frame-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #1B1B24; }
.pg-frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3A3A48; }
.pg-frame-bar span { margin-left: 10px; font: 500 10.5px/1 var(--f-sans); letter-spacing: .02em; color: #8E8EA2; }
.pg-frame--back { left: 8%; top: 9%; width: 62%; }
.pg-frame--front { right: 6%; bottom: 10%; width: 72%; }
/* the KINGS FARMERS card's picture (/cafe24's head, the home Works card: .work-visual with .frame--browser and
   .frame--phone): its colours, the browser frame as the card's (left 6%, top 11%, 84% wide) and the phone frame hanging
   off the bottom right (27% at every width, as the home card's: sections.css's 30% on phones is .frame--phone's own
   rule, which .work:not(.work--feature) .frame--phone outranks, so it reaches the wide feature card only; Task 17),
   clipped by the card as on the home */
.pg-visual--kings { --work-bg: #0B342C; --work-glow: #2E8A70; }
.pg-visual--bizus { --work-bg: #0C1626; --work-glow: #1A5AA8; }   /* /bizus's head, the home card's colours: bizus.kr's accent blue over a deep navy */
.pg-frame--main { left: 6%; top: 11%; width: 84%; }
.pg-frame--phone { right: 6%; bottom: -14%; width: 27%; aspect-ratio: auto; border-radius: 22px; border: 5px solid #0B0B10; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); }
.pg-frame--phone img { height: auto; }

/* a section's head (.h2, .about-lead::before, .cap-land): the home's h2, the lead under it, and over it a 56px line
   of light with its 7px dot, lit once as it comes into view (data-trace, pages.js) */
.pg-sec-head { position: relative; padding-top: 28px; }
.pg-sec-head::before {
  content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--beam-a), transparent); transform-origin: left;
  transition: transform 900ms var(--ease-out) 120ms;
}
.pg-sec-head::after {
  content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--beam-a); box-shadow: 0 0 0 3px var(--ink-950), 0 0 14px 2px var(--beam-a);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.section--dark .pg-sec-head::after { box-shadow: 0 0 0 3px var(--ink-900), 0 0 14px 2px var(--beam-a); }
.section--light .pg-sec-head::before { background: linear-gradient(90deg, var(--brand), transparent); }
.section--light .pg-sec-head::after { background: var(--brand); box-shadow: 0 0 0 3px var(--paper-100), 0 0 12px rgba(var(--brand-rgb), .6); }
.pg-h2 { font-size: var(--fs-page-h2); line-height: 1.14; letter-spacing: -0.035em; }
.pg-lead { margin-top: 20px; max-width: 34em; font-size: var(--fs-lead); line-height: 1.8; color: var(--on-dark-2); }
.section--light .pg-lead { color: var(--on-light-2); }
/* a link in a lead (/cafe24's cost post): .pg-info a's underline, on either ground; on the dark in --on-dark-3, about
   4.6:1 there and quieter than the text's 7.9:1 (--line-dark-strong's 1.55:1 all but vanished at 1x, Task 17 design
   check). :not([class]) on all four lines as base.css's p a:not([class]), whose shorthand (0,1,2) set the underline in
   the text's colour over a plain .pg-lead a (Task 17), so a link with a class keeps its own look (Task 17 review) */
.pg-lead a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: var(--on-dark-3); transition: color var(--t-fast) var(--ease-out); }
.pg-lead a:not([class]):hover { color: var(--on-dark-1); }
.section--light .pg-lead a:not([class]) { text-decoration-color: var(--line-light-strong); }
.section--light .pg-lead a:not([class]):hover { color: var(--brand); }
/* a small label (.values-label) */
.pg-label { font-size: var(--fs-page-note); font-weight: 600; letter-spacing: .02em; color: var(--brand-tint); }
.section--light .pg-label { color: var(--brand); }

/* four cells (light, .values): a big word or figure and one line each under a fine rule, the note after them. From the
   section's head as far as .values sits (120, 96, 64), and each cell's top padding as .value's (36, 28 on phones) */
.pg-cells { margin-top: 120px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gutter); }
.pg-cell { padding-top: 36px; border-top: 1px solid var(--line-light); }
.pg-cell-k { display: block; font-size: var(--fs-page-cell); line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--on-light-1); }
/* cells of words (/studio): the big words at the Korean subheads' 600, so they do not read as a second h2 (Task 13 design check) */
.pg-cells--words .pg-cell-k { font-weight: 600; }
.pg-cell-v { display: block; margin-top: 14px; font-size: var(--fs-body); line-height: 1.7; color: var(--on-light-2); }
.pg-note { margin-top: 28px; font-size: var(--fs-page-note); line-height: 1.7; color: var(--on-light-3); }
/* a head with no lead: from 1025px its cells come as far below it as the page's lists and steps come below their leads
   (96, Task 13 design check); a browser without :has keeps the 120 above */
@media (min-width: 1025px) { .pg-sec-head:not(:has(.pg-lead)) + .pg-cells { margin-top: 96px; } }

/* a numbered list (dark, .svc-list): a rule over each row, the title and its line side by side (5:7), the number
   small in front of the title and out of the text (aria-hidden). From the section's head as .svc-list (96, 64). The
   number stands outside the h3, in front of it, so the h3 holds the title alone as the old markup did (search robots
   read aria-hidden text, Task 13 review): the title box .pg-row-title carries the title's type and the h3 runs inline
   in it, so a long title's second line still starts under the number */
.pg-list { margin-top: 96px; border-bottom: 1px solid var(--line-dark); }
.pg-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: baseline; padding: 34px 0; border-top: 1px solid var(--line-dark); }
.pg-row-title { font-size: var(--fs-page-item); line-height: 1.4; font-weight: 600; letter-spacing: -0.03em; color: var(--on-dark-1); text-wrap: balance; }   /* text-wrap as base.css gives h3 */
.pg-row-title h3 { display: inline; font: inherit; letter-spacing: inherit; }
.pg-n { display: inline-block; min-width: 2.4em; margin-right: 14px; padding-top: .35em; font: 600 12px/1 var(--f-sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; vertical-align: text-top; color: var(--on-dark-3); }
.pg-row p { max-width: 36em; font-size: var(--fs-body); line-height: 1.7; color: var(--on-dark-2); }

/* the real screens (light, .frame): two columns from 769px, the caption's title on a line of its own. The two frames
   of a row share one height and each screen fills its frame whole (contain, never cropped): the spare room takes the
   screen's own edge colour: #0F172A by default, --shot-edge where a screen's edges have two colours (subcut-dna.png:
   #0F172A left, #080E1B right, Task 12 design recheck), so the frames' insets match (Task 12 design check). .frame has
   no head-to-body value: 72, 56, 48 stay */
.pg-screens { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--gutter); }
.pg-shot { display: grid; grid-template-rows: 1fr auto; }
.pg-shot-frame { display: grid; place-items: stretch; padding: 12px; border-radius: 16px; background: var(--paper-50); border: 1px solid var(--line-light); }
.pg-shot img { width: 100%; height: 100%; object-fit: contain; background: var(--shot-edge, #0F172A); }
.pg-shot figcaption { margin-top: 18px; font-size: var(--fs-page-desc); line-height: 1.7; color: var(--on-light-2); }
.pg-shot figcaption b { display: block; margin-bottom: 4px; font-size: var(--fs-body); font-weight: 600; line-height: 1.5; color: var(--on-light-1); }
.pg-screens + .pg-note { margin-top: 40px; }

/* the steps (deep, .pipe and .pipe-dot): 3 or 4 across from 1025px, down below that. Each step but the last draws the
   line to the next dot, a slice of one beam-a to beam-b gradient; the dots' rings hide the joins. A dot lights as the
   line reaches it, on the line's own delay (k x 1.2s/(n-1)), as the home's pipe lights a stage when the light arrives
   (motion.js; Task 13 design check) */
.pg-steps { position: relative; margin-top: 96px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gutter); }
.pg-step { position: relative; display: grid; gap: 12px; padding-top: 44px; align-content: start; }
.pg-step:not(:last-child)::before {
  content: ""; position: absolute; left: 5px; top: 5px; width: calc(100% + var(--gutter)); height: 1px;
  background: linear-gradient(90deg, var(--beam-a), var(--beam-b)) calc(var(--k, 0) / (var(--n, 3) - 2) * 100%) 0 / calc((var(--n, 3) - 1) * 100%) 100% no-repeat;
  transform-origin: left;
  transition: transform calc(1200ms / (var(--n, 3) - 1)) linear calc(var(--k, 0) * 1200ms / (var(--n, 3) - 1));
}
.pg-step-dot {
  position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--beam-b);
  box-shadow: 0 0 0 4px var(--ink-950), 0 0 18px 3px rgba(166, 212, 255, .55);
  transition: opacity 400ms var(--ease-out) calc(var(--k, 0) * 1200ms / (var(--n, 3) - 1)), transform 400ms var(--ease-out) calc(var(--k, 0) * 1200ms / (var(--n, 3) - 1));
}
.pg-step h3 { font-size: var(--fs-page-step); line-height: 1.4; font-weight: 600; letter-spacing: -0.025em; color: var(--on-dark-1); }
.pg-step p { font-size: var(--fs-page-desc); line-height: 1.78; color: var(--on-dark-2); }
/* the steps on the paper (.section--light .pg-steps: /studio's #how, Task 13): the dot in brand ringed in the paper
   with the glow of the section head's dot (Task 13 design check), the line from the strong light rule to brand, the
   paper's inks. Only colours: the layout, the slices of the one gradient and the traces stay the rules above (the
   line's direction at 1024 and down is below) */
.section--light .pg-steps .pg-step:not(:last-child)::before { background-image: linear-gradient(90deg, var(--line-light-strong), var(--brand)); }
.section--light .pg-steps .pg-step-dot { background: var(--brand); box-shadow: 0 0 0 4px var(--paper-100), 0 0 12px rgba(var(--brand-rgb), .6); }
.section--light .pg-steps h3 { color: var(--on-light-1); }
.section--light .pg-steps p { color: var(--on-light-2); }

/* a list in two columns with fine rules (light, .values and .value): the security list, each line after a small check.
   From the section's head and inside each line as .values and .value */
.pg-checks { margin-top: 120px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-light); }
.pg-checks li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; padding: 36px 56px 44px 0; border-top: 1px solid var(--line-light);
  font-size: var(--fs-lead); line-height: 1.7; font-weight: 500; letter-spacing: -0.02em; color: var(--on-light-1);
}
.pg-checks li:nth-child(2n) { padding: 36px 0 44px 56px; border-left: 1px solid var(--line-light); }
.pg-checks li:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* an odd last line takes the row, so its rule runs across */
.pg-check { width: 20px; height: 20px; margin-top: calc((1.7em - 20px) / 2); color: var(--brand); }
/* the promise list (/cafe24 #promise, the old li > b and its line, ledger 351): the bold title on a line of its own at
   the lead size (600), the line under it in the body type; the cells, rules and odd last row stay .pg-checks's */
.pg-checks--promise li { display: block; font-size: var(--fs-body); line-height: 1.7; font-weight: 400; letter-spacing: 0; color: var(--on-light-2); }
.pg-checks--promise li > b { display: block; margin-bottom: 10px; font-size: var(--fs-lead); line-height: 1.5; font-weight: 600; letter-spacing: -0.02em; color: var(--on-light-1); }
/* 641 up: a row's two lines start level though one title wraps (the blog cards' subgrid; one column, no 20px mark column) */
@supports (grid-template-rows: subgrid) { @media (min-width: 641px) { .pg-checks--promise li { display: grid; grid-row: span 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; gap: 0; } } }

/* the audience line (/otalk #audience, SPEC-SITE 3.2): the old list's five items in one line of text, a brand dot after
   each but the last (a pseudo-element, so no text is added). The items run inline and the lines are balanced, so a
   wrapped line never leaves the last item alone (834, 1025); an item never breaks inside and a line ends on a dot */
.pg-audience { margin-top: 66px; font-size: var(--fs-page-item); line-height: 2.05; font-weight: 600; letter-spacing: -0.02em; color: var(--on-light-1); text-wrap: balance; }
.pg-audience li { display: inline; white-space: nowrap; }
.pg-audience li:not(:last-child)::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 13px 0 18px; border-radius: 50%; background: var(--brand); vertical-align: .3em; }   /* 13 and the space between two items: 18 either side */
@media (max-width: 640px) {
  /* phones: one item a line, the dot in front as the chip row's (.pg-meta), one shape at every phone width */
  .pg-audience { margin-top: 48px; font-size: var(--fs-lead); line-height: 1.5; }
  .pg-audience li { display: block; white-space: normal; text-wrap: wrap; }
  .pg-audience li + li { margin-top: 10px; }
  .pg-audience li:not(:last-child)::after { content: none; }
  .pg-audience li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 12px; border-radius: 50%; background: var(--brand); vertical-align: .3em; }
}

/* the related pages (dark, .cap-link): a small label, the hidden h2, and cards with a rule, a 96px line of light, the
   name, the line and an arrow (the card's padding and the arrow's place as .cap-link and .cap-go, the line under the
   name as .cap p, the label to the cards as .values-label + .values: 20, 12 on phones). No heading inside a card (the
   outline stays as it was) */
.pg-related { padding-block: calc(var(--sec-y) * .7); }
.pg-rel-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 var(--gutter); }
/* from 641px up to three cards stand in one row, as many columns as cards (three a third each), as the home's
   capabilities do from 641 (sections.css), not two and one under them to 1107px (Task 16 design review); four (the
   admin's most) take two columns and two rows (re-review 1 minor 1), 32px between the rows (40px from the first row's
   text end to the second row's rule, a card's 8px bottom padding and the gap; Task 20 design review). A browser
   without :has() drops both and keeps the auto-fit row above */
@media (min-width: 641px) {
  .pg-rel-grid:not(:has(> .pg-rel:nth-child(4))) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .pg-rel-grid:has(> .pg-rel:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
.pg-rel { --c: var(--beam-a); position: relative; display: block; padding: 40px 36px 8px 0; border-top: 1px solid var(--line-dark); }
.pg-rel::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: linear-gradient(90deg, var(--c), transparent); }
.pg-rel-name { display: block; font-size: var(--fs-page-item); line-height: 1.4; font-weight: 600; letter-spacing: -0.03em; color: var(--on-dark-1); transition: color var(--t-fast) var(--ease-out); }
.pg-rel-desc { display: block; margin-top: 12px; font-size: var(--fs-body); line-height: 1.7; color: var(--on-dark-2); }
.pg-rel-go { position: absolute; right: 0; top: 42px; color: var(--on-dark-3); transition: transform 320ms var(--ease-out), color var(--t-fast) var(--ease-out); }
.pg-rel:hover .pg-rel-name, .pg-rel:focus-visible .pg-rel-name { color: #FFFFFF; }
.pg-rel:hover .pg-rel-go, .pg-rel:focus-visible .pg-rel-go { color: var(--c); transform: translateX(4px); }
/* a card alone keeps one list card's width (a third from 1025px, a half from 641px), so its arrow stays by its name
   instead of running across the page; two cards or more fill the row as before (Task 15 design check) */
@media (min-width: 641px) { .pg-rel:only-child { max-width: calc((100% - var(--gutter)) / 2); } }
@media (min-width: 1025px) { .pg-rel:only-child { max-width: calc((100% - var(--gutter) * 2) / 3); } }

/* questions and answers (the old faq partial's structure): the answer stays in the DOM while closed. Dark by default,
   light on the paper (every subpage) */
.pg-faq { margin-top: 56px; border-bottom: 1px solid var(--line-dark); }
.pg-qa { border-top: 1px solid var(--line-dark); }
.pg-qa summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; cursor: pointer; }
.pg-qa summary::-webkit-details-marker { display: none; }
.pg-q { font-size: var(--fs-lead); line-height: 1.5; font-weight: 600; letter-spacing: -0.02em; color: var(--on-dark-1); transition: color var(--t-fast) var(--ease-out); }
.pg-plus { position: relative; flex: none; width: 16px; height: 16px; margin-top: calc(var(--fs-lead) * .75 - 8px); color: var(--on-dark-2); }
.pg-plus::before, .pg-plus::after { content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 300ms var(--ease-out); }
.pg-plus::after { transform: rotate(90deg); }
.pg-qa[open] .pg-plus::after { transform: rotate(0deg); }
.pg-a { padding: 0 64px 30px 0; }
.pg-a p { max-width: 46em; font-size: var(--fs-body); line-height: 1.8; color: var(--on-dark-2); }
.section--light .pg-faq, .section--light .pg-qa { border-color: var(--line-light); }
.section--light .pg-q { color: var(--on-light-1); }
.section--light .pg-plus, .section--light .pg-a p { color: var(--on-light-2); }
.pg-qa summary:hover .pg-q { color: var(--brand-tint); }
.section--light .pg-qa summary:hover .pg-q { color: var(--brand); }
/* the short lines these parts moved from the prototype's p into a span or an li (the four cells, the related cards,
   the security list) take the wrap base.css gives p, so a last line is not one word (Task 16 design review) */
.pg-cell-v, .pg-rel-desc, .pg-checks li { text-wrap: pretty; }
/* a question is set as a title: the balance base.css gives h3, for the reason .pg-row-title has it (pretty cut
   "…할 / 수 있나요?" on phones; /blog design check) */
.pg-q { text-wrap: balance; }

/* the closing band (deep, .founder::before and .contact-title): a 72px line of light over the old title, whose two
   lines only break (they do not rise), a paragraph when there is one, and the buttons. The line to the title as
   .founder's top padding (36 at every width), the paragraph under the title as .contact-intro .lead (28) */
.pg-closing .wrap { position: relative; padding-top: 36px; }
.pg-closing .wrap::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 1px; background: linear-gradient(90deg, var(--beam-a), transparent); }
.pg-closing .pg-line { display: block; }
.pg-closing-text { margin-top: 28px; max-width: 34em; font-size: var(--fs-lead); line-height: 1.8; color: var(--on-dark-2); }

/* /about (Task 14), the home's About on a subpage: the statement and its lead (.statement, .about-lead), the
   capabilities on the paper (.cap-link), the credits line (.credits) and the business information (a dl) */
/* the statement (h2.pg-statement): the home's weight, leading and tracking at the subpages' size, so it stays 0.9 of
   the H1 or less at every width as the home's does of its slogan (check-pages). Its two lines are .pg-line, as .st-line */
.pg-statement { font-size: var(--fs-page-statement); line-height: 1.06; font-weight: 700; letter-spacing: -0.04em; color: var(--on-light-1); }
.pg-statement .pg-line { display: block; }
/* the lead (.about-lead): on the right from 1025px, 520px wide, under a 56px line of brand light. As far below the
   statement as the home's (.about-lead's 56px and the .about-top grid's gap) */
.pg-statement-lead {
  position: relative; width: min(100%, 520px); margin: calc(56px + var(--gutter)) 0 0 auto; padding-top: 28px;
  font-size: var(--fs-lead); line-height: 1.8; color: var(--on-light-2);
}
.pg-statement-lead::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 1px; background: linear-gradient(90deg, var(--brand), transparent); }
/* the capabilities (.cap-link on the paper): three across, each under a fine rule with a 96px line of brand light
   (--c), its title, its line, and its links under them, the old anchors (A-5). The title's type as the related cards'
   names (.pg-rel-name). From the lead as far as the page's lists sit (96, 64). No room on the right: the home's 36px
   there holds .cap-go's arrow at the card's right edge, and here each arrow sits at its link's end (Task 14 review) */
.pg-caps { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter); }
.pg-cap { --c: var(--brand); position: relative; padding: 40px 0 8px; border-top: 1px solid var(--line-light); }
.pg-cap::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: linear-gradient(90deg, var(--c), transparent); }
.pg-cap h3 { font-size: var(--fs-page-item); line-height: 1.4; font-weight: 600; letter-spacing: -0.03em; color: var(--on-light-1); }
.pg-cap-desc { margin-top: 12px; max-width: 20em; font-size: var(--fs-body); line-height: 1.7; color: var(--on-light-2); }
/* a link a row, in the home's text button type (.btn-text: 15px, 600, the arrow 8px after and 3px on at hover). The
   arrow runs inline with the last word (.nw, as the works titles' arrow), so a link that wraps in a narrow column
   keeps it at its end, not beside two lines; the compounds are bound too (.nw), so it wraps between phrases only */
.pg-cap-links { display: grid; justify-items: start; gap: 12px; margin-top: 24px; }
.pg-cap-go { font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--on-light-1); }
.pg-cap-go .ico { display: inline-block; margin-left: 8px; vertical-align: -3px; transition: transform 260ms var(--ease-out); }
.pg-cap-go:hover .ico { transform: translateX(3px); }
/* "함께한 곳" (.credits, the home's line, closing the history: A-10 follows the third step): the label, then the names
   set like a row of wordmarks, "(주)" small in front, a thin rule between two names on one line, "외" after the last.
   The home's values, and 22px under a fine rule that closes the steps above, as the home's line sits under the works'
   track (.rail-progress); on phones the label on a line of its own and no rules (below). On the deep ground only its
   colours change, to the dark ones (Task 14 design check) */
.pg-credits { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; padding-top: 22px; border-top: 1px solid var(--line-light); color: var(--on-light-3); }
.pg-credits-title { font-size: 14px; font-weight: 600; color: var(--on-light-1); }
.pg-cr-list { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 6px; }
.pg-cr { white-space: nowrap; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--on-light-2); }
.pg-cr + .pg-cr::before { content: ""; display: inline-block; width: 1px; height: 13px; margin: 0 18px; background: var(--line-light-strong); vertical-align: -1px; }
.pg-cr-legal { margin-right: 2px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--on-light-3); }
.pg-cr-etc { margin-left: 2px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--on-light-3); }
.pg-steps + .pg-credits { margin-top: 72px; }   /* after the steps (56 at 1024 and down, 48 on phones) */
.section--deep .pg-credits { border-top-color: var(--line-dark); color: var(--on-dark-3); }
.section--deep .pg-credits-title { color: var(--on-dark-1); }
.section--deep .pg-cr { color: var(--on-dark-2); }
.section--deep .pg-cr + .pg-cr::before { background: var(--line-dark-strong); }
.section--deep .pg-cr-legal, .section--deep .pg-cr-etc { color: var(--on-dark-3); }
/* the business information (dl.pg-info: the old labels and the footer's Config values): label and value cells two
   across under fine rules, as the security list's cells sit (.pg-checks, .values). The label as a small label, the
   value as a list line. From a head with no lead as far as the cells sit (96, 64 on phones) */
.pg-info { margin: 96px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-light); }
.pg-info > div { padding: 28px 56px 32px 0; border-top: 1px solid var(--line-light); }
.pg-info > div:nth-child(2n) { padding: 28px 0 32px 56px; border-left: 1px solid var(--line-light); }
.pg-info dt { font-size: var(--fs-page-note); line-height: 1.4; font-weight: 600; letter-spacing: .02em; color: var(--on-light-3); }
.pg-info dd { margin: 10px 0 0; font-size: var(--fs-lead); line-height: 1.7; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--on-light-1); text-wrap: pretty; }   /* as base.css gives p: the address's last line not one word */
.pg-info a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: var(--line-light-strong); transition: color var(--t-fast) var(--ease-out); }
.pg-info a:hover { color: var(--brand); }

/* the blog (Task 15). The list (light): the category chips (pages.js shows them), then the cards with the home's
   blog card values (.ins-*: the cover, the title and its hover line, the excerpt, the arrow), a line with the category
   and the reading time between the cover and the title. The title's pieces are the home helper's (.ins-u and .ins-tail,
   prism_insight_title()), set here under the card: the subpages do not load sections.css. The whole card is the title
   link's target (its ::after), as the old card was */
.pg-posts { padding-top: var(--pg-head-bottom); }   /* the list is where a post is picked: its chips come up into the first screen, as far below the head as a post's body (96, 77, 58) */
.pg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.pg-chips[hidden] { display: none; }
/* where scripts run (html.has-js, set by the layout's head line before the first paint) the row holds its place unseen
   until pages.js shows it, so the cards do not move down as it comes (a layout shift on phones, /blog performance) */
.has-js .pg-chips[hidden] { display: flex; visibility: hidden; }
.pg-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--line-light-strong); border-radius: var(--r-pill);
  font-size: var(--fs-small); font-weight: 500; line-height: 1; color: var(--on-light-2);
  transition: color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.pg-chip:hover { border-color: rgba(12, 12, 18, .34); color: var(--on-light-1); }   /* the light ghost button's hover (base.css) */
.pg-chip-n { font-size: var(--fs-meta); font-variant-numeric: tabular-nums; color: var(--on-light-3); }
.pg-chip[aria-pressed="true"] { border-color: var(--on-light-1); background: var(--on-light-1); color: #FFFFFF; }
.pg-chip[aria-pressed="true"] .pg-chip-n { color: rgba(255, 255, 255, .62); }
.pg-cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px var(--gutter); }
html:not(.has-js) .pg-chips[hidden] + .pg-cards { margin-top: 72px; }   /* no chips (no scripts): the cards as far below the head as the home's (.ins-list) */
.pg-card { position: relative; display: flex; flex-direction: column; }
.pg-card[hidden] { display: none; }
/* the card's picture (the owner's answer of 09-30): the post's PNG thumbnail in the cover's place, with the cover's
   corners and fine border, in a 1200:630 frame it fills (object-fit: cover). The posts' PNGs are 1200:630, so each
   shows whole; a picture of another shape is cropped to the frame (/blog design check). A post with no picture keeps
   the typeset cover below, and in the list the cover takes the same 1200:630 frame (inside its border, as the picture
   sits), so a row that mixes the two keeps one height.
   The frame waits for its picture in ink, the pictures' own edge, so it does not turn from white to black as the
   picture comes, and a picture that fails shows its alt text in the dark's type colour */
.pg-thumb { display: block; border-radius: var(--r-card); overflow: hidden; background: var(--ink-900); color: var(--on-dark-2); border: 1px solid var(--line-light); transition: border-color 400ms var(--ease-out); }
.pg-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.pg-cover { position: relative; display: block; aspect-ratio: 1200 / 630; box-sizing: content-box; border-radius: var(--r-card); overflow: hidden; background: radial-gradient(90% 90% at 100% 0%, var(--cover-glow, rgba(106, 76, 255, .14)), transparent 62%), var(--cover-bg, var(--paper-50)); border: 1px solid var(--line-light); transition: border-color 400ms var(--ease-out); }
.pg-cover { background-clip: padding-box; }   /* the light stops inside the fine border: painted under it too, the software renderer (a browser without a GPU, the capture tools) drew a seam across some covers (Task 15) */
.pg-cover[data-cover="web"] { --cover-bg: #F5F3FF; --cover-glow: rgba(139, 123, 255, .30); }
.pg-cover[data-cover="cafe24"] { --cover-bg: #F1F7FF; --cover-glow: rgba(110, 176, 255, .32); }
.pg-cover[data-cover="automation"] { --cover-bg: #FBF7EC; --cover-glow: rgba(217, 169, 28, .24); }
.pg-cover-word { position: absolute; left: 28px; bottom: 22px; font-size: clamp(40px, 3.6vw, 52px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: var(--on-light-1); }
.pg-cover-beam { position: absolute; left: calc(100% + 14px); top: -10px; width: 640px; height: 1px; transform-origin: left center; transform: rotate(var(--ang, -28deg)); background: linear-gradient(90deg, var(--brand), rgba(106, 76, 255, .55) 120px, rgba(106, 76, 255, 0) 380px); pointer-events: none; }
.pg-cover-beam::after { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--cover-bg, var(--paper-50)), 0 0 12px rgba(var(--brand-rgb), .6); }
.pg-card:nth-child(3n+2) .pg-cover-beam { --ang: -24deg; }   /* the home's three angles, row by row */
.pg-card:nth-child(3n) .pg-cover-beam { --ang: -32deg; }
/* the category and the reading time: the category in brand, a small dot between the two */
.pg-card-meta { margin-top: 22px; font-size: var(--fs-page-note); line-height: 1.4; font-weight: 500; color: var(--on-light-3); }
.pg-card-cat { font-weight: 600; color: var(--brand); }
.pg-card-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 8px 0 4px; border-radius: 50%; background: var(--line-light-strong); vertical-align: 3px; }
.pg-card-title { margin-top: 10px; padding-right: 28px; font-size: 20px; line-height: 1.45; font-weight: 600; letter-spacing: -0.025em; color: var(--on-light-1); text-wrap: wrap; text-wrap: pretty; }
.pg-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pg-card-title .ins-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 420ms var(--ease-out); }
.pg-card:hover .ins-u, .pg-card:focus-within .ins-u { background-size: 100% 1px; }
.pg-card-title .ins-tail { display: inline-block; max-width: 100%; }   /* a title breaks after its comma, not inside the phrase after it; no wider than the line, so a word longer than the line wraps inside it (Task 15 re-review 1) */
.pg-card-ex { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--on-light-2); text-wrap: pretty; display: block; }
.pg-card-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }   /* two lines, as the home's */
.pg-card-go {
  position: absolute; z-index: 2; right: 14px; top: 14px; width: 38px; height: 38px; padding: 11px; border-radius: 50%; pointer-events: none;
  background: var(--on-light-1); color: #FFFFFF; opacity: 0; transform: translate(-4px, 4px); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.pg-card:hover .pg-card-go, .pg-card:focus-within .pg-card-go { opacity: 1; transform: none; }
/* over a picture (dark) the circle turns over, paper with the ink arrow, as the ink circle stands over the light
   covers; a typeset cover keeps the ink circle (/blog design check) */
.pg-thumb ~ .pg-card-go { background: var(--paper-50); color: var(--on-light-1); }
.pg-card:hover .pg-cover, .pg-card:focus-within .pg-cover, .pg-card:hover .pg-thumb, .pg-card:focus-within .pg-thumb { border-color: rgba(var(--brand-rgb), .35); }
.pg-noresult { margin-top: 40px; font-size: var(--fs-body); line-height: 1.7; color: var(--on-light-2); }
.pg-empty { margin-top: 56px; font-size: var(--fs-lead); line-height: 1.8; color: var(--on-light-2); }
/* a row of cards shares its rows, so the lines, titles and excerpts start level whatever the titles take (the home's
   subgrid; browsers without it keep each card a column). The list's row gap is split into the rows inside each card,
   and a card's line (40px with its margin) is shorter than 64: so the gap stays the gutter, as on the home, and the
   rest of the room between two rows of cards is each card's bottom padding (24 + 40 = 64), the last row's given back.
   A card's one column is minmax(0, 1fr): as an auto column it grew to the longest word of its title, past the card,
   and the title's tail (max-width 100%) grew with it instead of wrapping (Task 15 fix round 2) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .pg-cards { row-gap: var(--gutter); margin-bottom: -40px; }
    .pg-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-bottom: 40px; }
  }
}

/* a post's head (deep, built in the view as the 404's): the path, the H1 on one line box at the post size, and the
   reading line. The H1 keeps to the reading column (720px, the body's below): a long title wraps there instead of
   running close to 1280px across at 1440, and the title, the reading line and the body share one column (review 47
   low 12, Task 14 review). Its line is a block, so a long word or address wraps inside the column (fx-long-word) */
.pg-title--post { max-width: 720px; font-size: var(--fs-page-post); line-height: 1.24; }
.pg-title--post .pg-line-in { display: block; }
.pg-postmeta { margin-top: 28px; font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: var(--on-dark-2); }
.pg-postmeta span { margin-inline: 4px; color: var(--on-dark-3); }
/* the H1's words come as prism_post_title()'s pieces, the home card's comma rule. From 641px they are not balanced
   (balancing broke the phrase after the comma to even the lines, as on the home's cards: sections.css .ins-title) and
   the part after the comma is one piece, no wider than the line (a word longer than the line wraps inside it, as
   the H1 with no comma does, and is not cut by the line's clip: Task 15 re-review 1); on phones the balance stays
   (Task 15 design check) */
@media (min-width: 641px) {
  .pg-title--post { text-wrap: wrap; text-wrap: pretty; }
  .pg-title--post .ins-tail { display: inline-block; max-width: 100%; }
}
/* a post's section titles (the FAQ's and the closing's; the related and other posts' h2 are hidden, not .pg-h2) stay
   within 0.9 of its H1, as the home's statement does of its slogan (check-pages' post rule, Task 15 design check) */
.pg-head--post ~ .pg-sec .pg-h2 { font-size: min(var(--fs-page-h2), calc(var(--fs-page-post) * .9)); }
/* the body on the paper (post-body.css holds its type): one reading column of 720px (17px text at about forty
   letters a line), the TOC folded above it (pages.js, from three h2), the previous and next under it. From 1100px the
   TOC is a rail on the right of the page's column, sticky under the header. As far below the head as the head's words
   end above its edge (96, 77, 58) */
.pg-article { padding-top: var(--pg-head-bottom); }
.pg-article-grid { display: grid; grid-template-columns: minmax(0, 720px); align-items: start; }
.bp-toc { margin-bottom: 40px; border: 1px solid var(--line-light); border-radius: 14px; background: var(--paper-50); }
.bp-toc[hidden] { display: none; }
/* a post with a TOC (the view draws its head and marks the grid has-toc, from three h2 of the body) holds the TOC's
   place unseen from the first paint where scripts run (html.has-js, set by the layout's head line), as the blog's chip
   row does, so the body does not move down (86px on phones) or narrow (the rail, 1100 to 1147px) when pages.js shows
   the TOC (Task 20 Step 8, ledger 641); without scripts the TOC stays out and the body keeps its one column */
.has-js .has-toc > .bp-toc[hidden] { display: block; visibility: hidden; }
.bp-toc-title { display: none; }
.bp-toc-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 20px; font-size: var(--fs-page-desc); font-weight: 600; line-height: 1.4; text-align: left; color: var(--on-light-1); }
.bp-toc-toggle .pg-plus { margin-top: 0; }
.bp-toc.is-open .pg-plus::after { transform: rotate(0deg); }
.bp-toc ol { display: none; margin: 0 20px; padding: 8px 0 14px; border-top: 1px solid var(--line-light); }
.bp-toc.is-open ol { display: block; }
.bp-toc a { display: block; padding: 8px 0; font-size: var(--fs-small); line-height: 1.5; color: var(--on-light-2); transition: color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); text-wrap: pretty; }
.bp-toc a:hover, .bp-toc a[aria-current="true"] { color: var(--on-light-1); }
/* the previous and next posts (the old words, their arrows too): the older on the left, the newer on the right, each
   under a fine rule with the 96px line of brand light (.pg-cap's), the label as a small label */
.pg-postnav { margin-top: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); }
.pg-postnav a { --c: var(--brand); position: relative; display: block; padding-top: 28px; border-top: 1px solid var(--line-light); }
.pg-postnav a::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: linear-gradient(90deg, var(--c), transparent); }
.pg-postnav .pg-postnav-next { grid-column: 2; text-align: right; }
.pg-postnav .pg-postnav-next::before { left: auto; right: 0; background: linear-gradient(270deg, var(--c), transparent); }
.pg-postnav-label { display: block; font-size: var(--fs-page-note); font-weight: 600; letter-spacing: .02em; color: var(--brand); }
.pg-postnav-title { display: block; margin-top: 10px; font-size: var(--fs-page-sub); line-height: 1.55; font-weight: 600; letter-spacing: -0.02em; color: var(--on-light-1); text-wrap: pretty; transition: color var(--t-fast) var(--ease-out); }
.pg-postnav a:hover .pg-postnav-title { color: var(--brand); }
/* the other posts of the topic (light, after a fine rule: it follows the body or the FAQ): the small label, the hidden
   h2, and cards with the list card's line, title and excerpt under a fine rule with the 96px line of brand light. As
   far apart as the related section (.pg-related). The list's columns (3, 2 at 1024 and down, 1 on phones), so a lone
   card keeps one column's width instead of running across the page (Task 15 design check) */
.pg-more { padding-block: calc(var(--sec-y) * .7); }
.pg-more-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter); }
.pg-more-card { --c: var(--brand); position: relative; padding: 32px 0 40px; border-top: 1px solid var(--line-light); }
.pg-more-card::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: linear-gradient(90deg, var(--c), transparent); }
.pg-more-card .pg-card-meta { margin-top: 0; }
.pg-more-title { margin-top: 10px; font-size: 20px; line-height: 1.45; font-weight: 600; letter-spacing: -0.025em; color: var(--on-light-1); text-wrap: wrap; text-wrap: pretty; transition: color var(--t-fast) var(--ease-out); }
.pg-more-title a::after { content: ""; position: absolute; inset: 0; }
.pg-more-title .ins-tail { display: inline-block; max-width: 100%; }   /* the list card title's piece rule (prism_post_title()) */
.pg-more-card:hover .pg-more-title, .pg-more-card:focus-within .pg-more-title { color: var(--brand); }
.pg-more-ex { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--on-light-2); text-wrap: pretty; display: block; }
.pg-more-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@supports (grid-template-rows: subgrid) {
  .pg-more-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }   /* the excerpts start level, as the list's; the one column as the list card's (a long word wraps, Task 15 fix round 2) */
}
/* the terms and the privacy policy (SPEC-SITE 6): a post's reading column on the paper; the body's type is post-body.css
   (.bp-body), the effective-date line small under a fine rule */
.pg-legal { padding-top: var(--pg-head-bottom); }
.pg-legal .legal-body { max-width: 720px; }
.legal-body .legal-meta { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 14px; line-height: 1.7; color: var(--on-light-3); }
/* the reading line (a post only): 2px of the beams' light across the window's top, drawn as far as the page is read.
   The site's one scroll-driven animation (check-pages times the time-based ones); where animation-timeline is unknown
   pages.js draws it, and with reduced motion it is not there, as on the old page, nor on ?static=1 (no motion there) */
.pg-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--beam-a) 60%, var(--beam-b)); pointer-events: none; }
@keyframes pg-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .pg-progress { animation: pg-progress auto linear both; animation-timeline: scroll(root block); }   /* the timeline after the shorthand, which resets it; auto, the duration a scroll timeline takes, written out */
}
/* back to the top (a post only, made by pages.js): a round dark button at the bottom right, shown a screen and a half
   down; from 1100px the TOC's rail stands in for it */
.pg-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-dark-strong); border-radius: 50%; background: rgba(var(--ink-950-rgb), .9); color: var(--on-dark-1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), visibility 0s linear 250ms, border-color var(--t-fast) var(--ease-out);
}
.pg-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pg-top:hover { border-color: rgba(255, 255, 255, .34); }
.pg-top .ico { transform: rotate(-90deg); }   /* the arrow, pointing up */

/* light traces (pages.js): only where the layout's head line set .trace-ready does an unseen trace wait, its line
   drawn to nothing and its dot dim; without scripts, with reduced motion and on ?static=1 all show finished */
.trace-ready .pg-sec-head[data-trace]:not(.is-on)::before { transform: scaleX(0); }
.trace-ready .pg-sec-head[data-trace]:not(.is-on)::after,
.trace-ready .pg-steps[data-trace]:not(.is-on) .pg-step-dot { opacity: .3; transform: scale(.6); }
.trace-ready .pg-steps[data-trace]:not(.is-on) .pg-step::before { transform: scaleX(0); }

@media (max-width: 1024px) {
  .pg-head-grid { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .pg-visual { height: 380px; max-width: 440px; }   /* the home's work card at this width */
  .pg-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-cells, .pg-checks { margin-top: 96px; }   /* .values */
  .pg-list { margin-top: 64px; }                /* .svc-list, phones too */
  .pg-screens { margin-top: 56px; }
  .pg-row { padding: 30px 0; }
  .pg-checks li { padding-right: 32px; }
  .pg-checks li:nth-child(2n) { padding-left: 32px; }
  /* the steps run down: each line goes from its dot to the next one below it */
  .pg-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 72px; }
  .pg-step { padding: 0 0 36px 36px; max-width: 40em; }
  .pg-step-dot { top: 8px; }
  .pg-step:not(:last-child)::before {
    left: 5px; top: 13.5px; bottom: -13.5px; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--beam-a), var(--beam-b)) 0 calc(var(--k, 0) / (var(--n, 3) - 2) * 100%) / 100% calc((var(--n, 3) - 1) * 100%) no-repeat;
    transform-origin: top;
  }
  .section--light .pg-steps .pg-step:not(:last-child)::before { background-image: linear-gradient(180deg, var(--line-light-strong), var(--brand)); }
  .trace-ready .pg-steps[data-trace]:not(.is-on) .pg-step::before { transform: scaleY(0); }
  /* /about: the lead under the statement on the left (.about-lead: 48px and the grid's gap), the rest nearer */
  .pg-statement-lead { margin: calc(48px + var(--gutter)) 0 0; }
  .pg-caps { margin-top: 64px; }
  .pg-steps + .pg-credits { margin-top: 56px; }
  .pg-info > div { padding-right: 32px; }
  .pg-info > div:nth-child(2n) { padding-left: 32px; }
  /* the blog: two cards a row (the other posts too), the cover's word as the home's at this width */
  .pg-cards, .pg-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-cover-word { font-size: 40px; left: 22px; bottom: 18px; }
}
@media (max-width: 768px) {
  .pg-screens { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 640px) {
  .pg-crumb { margin-bottom: 20px; }
  .pg-def { margin-top: 22px; }
  .pg-meta { margin-top: 40px; gap: 6px 18px; }
  .pg-head-grid { row-gap: 48px; }
  .pg-visual { height: 300px; max-width: none; }
  .pg-cells { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pg-cells, .pg-checks { margin-top: 64px; }   /* .values */
  .pg-cell { padding-top: 28px; }                /* .value */
  .pg-screens { margin-top: 48px; }
  .pg-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 24px 0; }
  .pg-n { display: block; min-width: 0; margin: 0 0 6px; padding-top: 0; }   /* the number above the title, on the text's start line */
  .pg-steps { margin-top: 64px; }
  .pg-checks { grid-template-columns: minmax(0, 1fr); }
  .pg-checks li, .pg-checks li:nth-child(2n) { padding: 28px 0 32px; border-left: 0; font-size: var(--fs-body); }   /* .value */
  /* .cap-link and .cap-go on phones, but for its 52px on the left, the home's room for the lane: no lane here */
  .pg-rel { padding: 22px 28px 26px 0; }
  .pg-rel-go { top: 26px; }
  .pg-rel-grid { margin-top: 12px; }            /* .values-label + .values */
  .pg-faq { margin-top: 40px; }
  .pg-qa summary { padding: 22px 0; }
  .pg-a { padding-right: 0; }
  /* /about: the lead as .about-lead on phones (36px and the grid's gap), one capability a row (.cap-list; the rule
     and its line stay, no lane here: .pg-rel's padding), the credits as the home's on phones, one cell a row */
  .pg-statement-lead { width: 100%; margin-top: calc(36px + var(--gutter)); }
  .pg-caps { grid-template-columns: minmax(0, 1fr); }
  .pg-cap { padding: 22px 0 26px; }
  .pg-credits { display: block; }
  .pg-credits-title { display: block; margin-bottom: 8px; }   /* the label on a line of its own, the names under it */
  .pg-cr-list { column-gap: 20px; }
  .pg-cr { font-size: 16px; }
  .pg-cr + .pg-cr::before { content: none; }   /* no rules: a wrapped line would begin with one */
  .pg-steps + .pg-credits { margin-top: 48px; }
  .pg-info { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  .pg-info > div, .pg-info > div:nth-child(2n) { padding: 22px 0 24px; border-left: 0; }
  .pg-info dd { font-size: var(--fs-body); }   /* as the list lines on phones (.pg-checks li) */
  /* the blog: one card a row (the home's .ins-list on phones), the post's head and body nearer */
  .pg-chips { margin-top: 40px; gap: 8px; }
  .pg-cards { grid-template-columns: minmax(0, 1fr); row-gap: 44px; margin-top: 40px; }
  html:not(.has-js) .pg-chips[hidden] + .pg-cards { margin-top: 48px; }
  .pg-cover-word { font-size: 44px; }
  .pg-empty { margin-top: 40px; }
  .pg-postmeta { margin-top: 20px; }
  .bp-toc { margin-bottom: 32px; }
  /* a table wider than the column scrolls in a frame that reaches the screen's right edge (the .wrap's right margin
     given back and kept inside as padding), so it is cut at the edge and reads as more to the side, not as broken
     20px short of it; a table that fits keeps its width (Task 15 design check) */
  .bp-body .bp-table { margin-right: calc(-1 * var(--margin)); padding-right: var(--margin); }
  .pg-postnav { grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  /* one column: the newer post on the left as the older, its line of light on the same side (Task 15 design check) */
  .pg-postnav .pg-postnav-next { grid-column: auto; text-align: left; }
  .pg-postnav .pg-postnav-next::before { left: 0; right: auto; background: linear-gradient(90deg, var(--c), transparent); }
  .pg-postnav-prev + .pg-postnav-next { margin-top: 32px; }
  .pg-more-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-more-card { padding: 24px 0 32px; }
}
/* from 1100px a post's TOC is a rail on the right of the page's column: always open, a fine rule on its left and the
   section in view marked by a 2px brand line on it, sticky under the header; the back-to-top button leaves (the old
   page's width) */
@media (min-width: 1100px) {
  .has-js .pg-article-grid.has-toc { grid-template-columns: minmax(0, 720px) 220px; justify-content: space-between; column-gap: 48px; }   /* without scripts one column */
  .has-toc > .bp-toc { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 48px); margin: 0; border: 0; border-radius: 0; background: none; }
  .has-toc > .bp-body { grid-column: 1; grid-row: 1; }
  .has-toc > .pg-postnav { grid-column: 1; grid-row: 2; }
  .bp-toc-title { display: block; margin-bottom: 14px; font-size: var(--fs-page-note); font-weight: 600; letter-spacing: .02em; color: var(--brand); }   /* .pg-label */
  .bp-toc-toggle { display: none; }
  .bp-toc ol { display: block; margin: 0; padding: 0; border-top: 0; border-left: 1px solid var(--line-light); }
  .bp-toc a { margin-left: -1px; padding: 7px 0 7px 18px; border-left: 2px solid transparent; color: var(--on-light-3); }
  .bp-toc a[aria-current="true"] { border-left-color: var(--brand); color: var(--on-light-1); }
  .pg-top { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pg-progress { display: none; } }
.is-static .pg-progress { display: none; }   /* ?static=1 moves nothing (pages.js does not draw it there either) */
/* narrow phones: a label with an arrow no longer fits half the row, so the two buttons take a row each */
@media (max-width: 379px) {
  .pg-head .cta-row, .pg-closing .cta-row { grid-template-columns: minmax(0, 1fr); }
}
/* touch screens: small links get a 44px target, given back by a negative margin so nothing moves (base.css) */
@media (pointer: coarse) {
  .pg-crumb a { padding-block: 12px; margin-block: -12px; }
  /* the capabilities' links: rows 44.5px apart instead (no overlapping targets, as the footer menu), the first link's
     words where they were (24px under the line) */
  .pg-cap-links { row-gap: 0; margin-top: 13px; }
  .pg-cap-go { padding-block: 11px; }
  /* the blog's chips and the TOC's links: 44px tall */
  .pg-chip { height: 44px; }
  .bp-toc a { padding-block: 11.5px; }
}
/* the picture card's height follows its width (7:6, at most 440px), so its two panels overlap at every width (Task 13
   design check); the fixed heights above stay for browsers without aspect-ratio. width: 100% holds the card to its
   column: without it the 440px cap would narrow the card (513px at 1440) */
@supports (aspect-ratio: 1) { .pg-visual { width: 100%; height: auto; aspect-ratio: 7 / 6; max-height: 440px; } }
