/* Questions 01: evening-sky paper. The page title, a jump list by topic and a paper parent and office worker stay
   beside the questions (sticky on wide screens); the questions come in four groups. Each question is a strip of paper
   with a native <details> disclosure, styled and run by the shared "faq" part (css|js/sections/_shared/faq.*), which the
   product pages' FAQ blocks use too. This file is only the page's own layout. */

.fq { padding-top: clamp(44px, 6vw, 88px); }
.fq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.fq__side { position: sticky; top: 104px; }
.fq__h { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.02em; max-width: 10em; }
.fq__small { margin-top: 20px; max-width: 24em; font-size: var(--t-body); line-height: 1.55; color: var(--ink); }
.fq__jump { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.fq__jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); color: var(--ink);
  font: 800 16px/1 var(--font-body); text-decoration: none; box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 1px rgba(30, 60, 140, .22), 0 6px 12px -8px rgba(30, 60, 140, .4);
  transition: translate var(--m-quick, 200ms) var(--m-settle, ease); }
@media (hover: hover) and (pointer: fine) { .fq__jump a:hover { translate: 0 -2px; } }
.fq__group + .fq__group { margin-top: clamp(36px, 4vw, 52px); }
.fq__group { scroll-margin-top: 96px; }
.fq__g { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: clamp(24px, 2.2vw, 32px); }
.fq__g img { width: 40px; height: 40px; flex: none; }
/* Kuru's portrait is painted on cream paper: a cream paper badge */
.fq__kuru { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #FFF4E4; box-shadow: inset 0 0 0 2px rgba(30, 42, 90, .1), 0 1px 1px rgba(30, 60, 140, .25); }
.fq__kuru img { position: absolute; left: 50%; top: 50%; width: 94%; max-width: none; height: auto; translate: -50% -45%; }
.fq__small a { font-weight: 800; color: var(--blue-deep); }
.fq__people { display: flex; align-items: flex-end; gap: 18px; margin-top: clamp(28px, 4vw, 48px); padding-left: 6px; }
.fq__people img { width: auto; height: clamp(170px, 17vw, 240px); }


@media (max-width: 899.98px) {
  .fq__grid { grid-template-columns: minmax(0, 1fr); }
  .fq__side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: end; }
  .fq__h, .fq__small { grid-column: 1; }
  .fq__jump { grid-column: 1; }
  .fq__people { grid-column: 2; grid-row: 1 / span 3; margin: 0; gap: 10px; }
  .fq__people img { height: clamp(120px, 24vw, 190px); }
}
@media (max-width: 539.98px) {
  .fq__people img { height: 112px; }
  .fq__people { gap: 4px; }
}

/* ---------- Motion: the rows are the shared part's (css/sections/_shared/faq.css); the paper people hop into place */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.rm) .fq [data-b].b-wait:not(.b-in) { opacity: 0; }
  .fq [data-b="people"].b-in { animation: fq-people 500ms steps(1, end) var(--b-at, 0ms) both; }
}
@keyframes fq-people { 0% { opacity: 0; transform: translateY(16px); } 16.67% { opacity: 1; transform: translateY(6px); } 33.33% { transform: translateY(-4px); } 50% { transform: translateY(1px); } 66.67%, 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .fq [data-b] { animation: none !important; opacity: 1 !important; transform: none !important; }
}
@media (prefers-contrast: more) {
  .fq__small { color: var(--ink); }
  .fq__jump a { box-shadow: inset 0 0 0 2px var(--ink); }
}

/* ---------- Round 3: "Safe for children", made proper (owner: "the safety part looks improper"). The group's badge is the
   same clean shield as on the home page, and before its two questions a taped cream card lists the four promises with
   the one icon family (ui-r3/safe-*): a pastel paper disc, one pictogram each. Each disc is 75% of its picture (the rest
   is its shadow); the margins line the discs up with the words. */
.fq__badge { position: relative; flex: none; width: 58px; height: 58px; margin: -6px -6px -14px -8px; }
.fq__badge img { display: block; width: 100%; height: 100%; max-width: none; }
.fq-safe { position: relative; isolation: isolate; padding: 26px clamp(18px, 2.6vw, 30px) 24px; margin-bottom: 4px; rotate: -.3deg;
  border-radius: 10px 14px 12px 9px / 12px 9px 14px 10px; background: var(--card) url(/assets/art/textures/paper-tile.webp) 0 0 / 512px 512px; color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 1.5px rgba(30, 60, 140, .24), 0 14px 26px -16px rgba(30, 60, 140, .45); }
.fq-safe__tape { z-index: 2; left: 50%; top: -.6em; font-size: 17px; --pk-tilt: -4deg; translate: -50% 0; }
.fq-safe__lead { font: 700 var(--t-body)/1.5 var(--font-body); color: var(--ink); max-width: 40em; }
.fq-safe__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; margin-top: 18px; }
.fq-safe__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; align-content: start; }
.fq-safe__list img { grid-row: span 2; width: 70px; height: 70px; max-width: none; margin: -4px 0 -14px -9px; }
.fq-safe__list b { font: 800 19px/1.25 var(--font-display); padding-top: 3px; }
.fq-safe__list span { font: 600 16.5px/1.45 var(--font-body); color: var(--ink-2); }
@media (max-width: 539.98px) {
  .fq-safe { padding: 24px 18px 22px; rotate: 0deg; }
  .fq-safe__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (forced-colors: active) { .fq-safe { border: 1px solid CanvasText; } }

/* R2 motion: the parent and the office worker stand at ease, swaying a little on their feet while they are on screen */
.fq__people img { transform-origin: 50% 100%; --idle-a: 1.4deg; }
