/* Made for — the six audience pages (students, easier reading, ADHD, language learners, writers, teams).
   31.10.2026 evening: rebuilt on THE SYSTEM (public/r.css, drafts/aqua-1029/DESIGN.md). Heads, leads, buttons,
   sections, containers, frames, chips, FAQ rows and the closing block all come from r.css; this file only draws what
   is the Made-for pages' own: the demo inside the first screen (window + pill + keys), the three steps, the three
   moments of a day, the founder's quote, ADHD's two halves and rows, the language chips and the four doors.
   Running text Figtree >= 18 px (labels 16), never italic, never capitals. Prefix xmade-. */
.xmade-nw{white-space:nowrap}

/* first screen (rule 5): text left, the working demo right — like live loudflow.ai, without the photos */
.xmade-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:clamp(40px,5vw,80px);align-items:center}
.xmade-top>.r-hd+*{margin-top:0}
.xmade-top .r-lead{margin-left:0}

/* the demo: a white app window on grid paper, the pill reading it, the two keys */
.xmade-stage{display:flex;flex-direction:column;align-items:center;padding:clamp(32px,4vw,56px) clamp(16px,3.4vw,48px)}
.xmade-win{width:100%;max-width:560px;text-align:left}
.xmade-bar{display:flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-bottom:1px solid var(--line);font:500 var(--fs-small)/1 var(--sans);color:var(--ink)}
.xmade-bar i{width:9px;height:9px;border-radius:50%;background:var(--line)}
.xmade-bar i:nth-child(3){margin-right:10px}
.xmade-body{display:flex;flex-direction:column;gap:10px;padding:clamp(24px,2.6vw,34px) clamp(22px,3vw,40px) clamp(26px,3vw,38px);font:400 clamp(19px,1.6vw,23px)/1.45 var(--sans);color:var(--ink-3)}
.xmade-l{display:block}
.xmade-who{color:var(--ink);font-weight:600}
.xmade-done{text-decoration:none}
.xmade-sel,.xmade-sw{color:var(--ink)}
.xmade-sel>span,.xmade-sw{background-image:linear-gradient(var(--hl),var(--hl));background-repeat:no-repeat;background-size:100% 100%;padding:.04em .12em;margin:0 -.12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.xmade-dock{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 16px;margin-top:clamp(28px,3vw,40px)}
.xmade-keys{display:inline-flex;align-items:center;gap:8px}
main .xmade-keys kbd{display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:44px;padding:0 14px;border-radius:var(--r-sm);background:var(--sheet);border:1px solid var(--line-2);border-bottom-width:3px;font:500 17px/1 var(--sans);color:var(--ink)}
main .xmade-keys kbd+kbd{min-width:104px}

/* the pill: LoudFlow's own black bar with moving bars */
.xmade-pill{display:inline-flex;align-items:center;gap:11px;height:46px;padding:0 20px 0 16px;border-radius:999px;background:#070709;color:rgba(251,247,235,.95);font:500 18px/1 var(--sans)}
.xmade-bars{display:inline-flex;gap:3px;align-items:center;height:18px}
.xmade-bars i{width:3px;height:6px;border-radius:2px;background:rgba(251,247,235,.95);animation:xmadeBar 1.1s ease-in-out infinite}
.xmade-bars i:nth-child(2){animation-delay:-.25s}.xmade-bars i:nth-child(3){animation-delay:-.5s}
.xmade-bars i:nth-child(4){animation-delay:-.75s}.xmade-bars i:nth-child(5){animation-delay:-.95s}
@keyframes xmadeBar{0%,100%{height:5px}50%{height:16px}}
.xmade-pill.s{height:36px;padding:0 14px;gap:0}
.xmade-pill.s .xmade-bars{height:14px}
@keyframes xmadeSweep{from{background-size:0 100%}to{background-size:100% 100%}}
.r-anim .xmade-stage .xmade-sel>span{animation:xmadeSweep 1.1s var(--ease) .6s both}

/* the questions as one head, then three steps between hairlines */
.r-hd:has(>.xmade-qs){max-width:var(--mid)}
.xmade-qs>span{display:block}
.xmade-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center}
.xmade-steps li{padding:8px clamp(18px,2.6vw,40px) 4px;display:flex;flex-direction:column;align-items:center}
.xmade-steps li+li{border-left:1px solid var(--line)}
.xmade-vis{height:96px;display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.xmade-mini{display:flex;flex-direction:column;gap:9px;width:150px}
.xmade-mini i{display:block;height:9px;border-radius:5px;background:var(--wash-2)}
.xmade-mini i:nth-child(2){width:84%;background:var(--hl-2)}
.xmade-mini i:nth-child(3){width:62%}
.xmade-st,.xmade-ct,.xmade-fn,.xmade-rn{display:block;font:400 var(--fs-h3)/var(--lh-h3) var(--serif);letter-spacing:-.012em;color:var(--ink);margin:0;text-wrap:balance}
.xmade-sl{display:block;margin-top:10px;font:400 var(--fs-body)/1.5 var(--sans);color:var(--ink-2);max-width:24ch;text-wrap:balance}
.xmade-sl a,.xmade-cl a,.xmade-say a,.xmade-src a{color:inherit;text-decoration:underline;text-decoration-color:var(--ink-3);text-underline-offset:.18em;text-decoration-thickness:1px}
.xmade-sl a:hover,.xmade-cl a:hover,.xmade-say a:hover,.xmade-src a:hover{color:var(--ink);text-decoration-color:var(--ink)}

/* a day: three moments, each a small grid-paper frame with a window; text centred under it */
.xmade-days{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,32px);text-align:center}
.xmade-when{margin:0 0 14px;font:500 var(--fs-small)/1.3 var(--sans);color:var(--ink-2)}
.xmade-pic{aspect-ratio:5/4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:22px;overflow:hidden}
.xmade-snip{width:100%;max-width:300px;text-align:left}
.xmade-snip .xmade-bar{height:38px;padding:0 14px;gap:6px}
.xmade-snip .xmade-bar i{width:7px;height:7px}
.xmade-snip .xmade-bar i:nth-child(3){margin-right:6px}
.xmade-snip .xmade-body{padding:16px 16px 18px;gap:6px;font-size:var(--fs-body);line-height:1.45}
.xmade-pic>img{display:block;width:auto;height:58%;max-width:80%;object-fit:contain}
.xmade-caret{display:inline-block;width:2px;height:1.05em;margin-left:2px;vertical-align:-.15em;background:var(--ink);animation:xmadeBlink 1.1s steps(1) infinite}
@keyframes xmadeBlink{50%{opacity:0}}
.xmade-seg{display:flex;padding:4px;border-radius:var(--r-btn);background:var(--wash)}
.xmade-seg>span{flex:1;text-align:center;padding:8px 4px;border-radius:var(--r-sm);font-size:var(--fs-small);color:var(--ink-2)}
.xmade-seg>span.on{background:var(--sheet);color:var(--ink);box-shadow:var(--ring)}
.xmade-kv{display:flex;justify-content:space-between;gap:12px}
.xmade-kv>span:first-child{color:var(--ink-3)}
.xmade-kv>span:last-child{color:var(--ink)}
.xmade-ct{margin-top:22px}
.xmade-cl{margin:10px auto 0;font:400 var(--fs-body)/1.5 var(--sans);color:var(--ink-2);max-width:30ch;text-wrap:pretty}

/* the founder's line, in a sand frame */
.xmade-say{margin:0;text-align:center}
.xmade-say blockquote{margin:0}
.xmade-say blockquote p{margin:0;color:var(--ink);text-wrap:balance}
.xmade-say .xmade-by{margin:22px 0 0;font:400 var(--fs-body)/1.4 var(--sans);color:var(--ink-2)}

/* ADHD: what one review found — two halves, a hairline between */
.xmade-two{display:grid;grid-template-columns:1fr 1fr}
.xmade-two p{margin:0;padding:6px clamp(20px,3vw,40px);font:400 20px/1.55 var(--sans);color:var(--ink)}
.xmade-two p:first-child{padding-left:0}
.xmade-two p+p{border-left:1px solid var(--line);color:var(--ink-2)}
.xmade-src{margin:clamp(36px,3.4vw,48px) 0 0;max-width:46ch;font:400 var(--fs-body)/1.5 var(--sans);color:var(--ink-2);text-wrap:pretty}

/* rows: hairline, serif name left, one sentence right */
.xmade-rows{list-style:none;padding:0;border-bottom:1px solid var(--line)}
.xmade-rows li{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:8px 40px;padding:26px 0;border-top:1px solid var(--line)}
.xmade-rl{display:block;font:400 var(--fs-body)/1.6 var(--sans);color:var(--ink-2);padding-top:3px}
.xmade-rl b{font-weight:500;color:var(--ink)}

/* languages: the system chip, as a plain list (nothing to press, so it wraps and keeps the arrow cursor) */
.xmade-langs{max-width:var(--text);margin-left:auto;margin-right:auto}
.r-hd+.xmade-langs{margin-top:var(--in)}
.xmade-langs .r-chip,.xmade-langs .r-chip:hover{cursor:default;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
.xmade-more{justify-content:center}

/* questions: the system's hairline rows, + on the right, nothing numbered */
.xmade-qlist .r-q summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* who else listens: four doors, hairlines between, each with its drawing */
.xmade-fam{list-style:none;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.xmade-fam li{display:flex}
.xmade-fam li+li{border-left:1px solid var(--line)}
.xmade-fa{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:6px clamp(12px,2vw,28px) 10px;color:var(--ink);text-decoration:none;border-radius:var(--r-sm)}
.xmade-fa img{display:block;height:var(--art-s);width:auto;max-width:100%;margin-bottom:22px;transition:transform .35s var(--ease)}
.xmade-fn::after{content:"→";display:inline-block;margin-left:.32em;font:400 18px/1 var(--sans);vertical-align:.18em;transition:transform .2s var(--ease)}
.xmade-fl{display:block;margin-top:8px;font:400 var(--fs-body)/1.45 var(--sans);color:var(--ink-2)}
.xmade-fa:hover img{transform:translateY(-4px)}
.xmade-fa:hover .xmade-fn::after{transform:translateX(3px)}

/* the closing block is r.css's; only keep tall drawings from towering over the head */
.xmade-end .o-block>img{height:calc(var(--art-l) * 1.1);width:auto;max-width:min(100%,calc(var(--art-l) * 1.5));object-fit:contain}
/* a wide drawing hits max-width first: size it by width so its box is not taller than the picture */
.xmade-end .o-block>img.xmade-wide{width:min(100%,calc(var(--art-l) * 1.5));height:auto}

main a:focus-visible,main button:focus-visible,main summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}

@media (max-width:980px){
  .xmade-top{grid-template-columns:1fr;gap:0}
  .xmade-top>.r-hd+*{margin-top:var(--in)}
  .xmade-days{grid-template-columns:1fr;max-width:460px;margin-left:auto;margin-right:auto;gap:56px}
}
@media (max-width:820px){
  .xmade-steps{grid-template-columns:1fr;max-width:420px;margin-left:auto;margin-right:auto}
  .xmade-steps li{padding:36px 0}
  .xmade-steps li:first-child{padding-top:0}
  .xmade-steps li:last-child{padding-bottom:0}
  .xmade-steps li+li{border-left:0;border-top:1px solid var(--line)}
  .xmade-vis{height:auto;min-height:64px;margin-bottom:18px}
  .xmade-rows li{grid-template-columns:1fr;gap:6px}
  .xmade-two{grid-template-columns:1fr}
  .xmade-two p{padding:28px 0}
  .xmade-two p:first-child{padding-top:0}
  .xmade-two p+p{border-left:0;border-top:1px solid var(--line)}
  .xmade-fam{grid-auto-flow:row;grid-template-columns:1fr;max-width:460px;margin-left:auto;margin-right:auto;border-bottom:1px solid var(--line)}
  .xmade-fam li+li{border-left:0}
  .xmade-fam li{border-top:1px solid var(--line)}
  .xmade-fa{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto;column-gap:20px;align-items:center;text-align:left;padding:18px 0}
  .xmade-fa img{grid-row:1/3;height:64px;margin:0;justify-self:center}
  .xmade-fn{align-self:end}
  .xmade-fl{margin-top:4px;align-self:start}
}
@media (max-width:640px){
  .xmade-langs{flex-wrap:wrap;justify-content:center;overflow:visible;margin-left:auto;margin-right:auto;padding:0}
}
@media (max-width:520px){
  .xmade-stage{padding:28px 14px 26px}
  .xmade-body{padding:20px 18px 24px;gap:8px}
  .xmade-bar{padding:0 14px}
  main .xmade-keys kbd{min-width:50px;height:40px;font-size:16px}
  main .xmade-keys kbd+kbd{min-width:88px}
  .xmade-say{padding:40px 20px}
}
@media (prefers-reduced-motion:reduce){
  .xmade-bars i,.xmade-caret{animation:none}
  .xmade-bars i:nth-child(odd){height:12px}
  .r-anim .xmade-stage .xmade-sel>span{animation:none}
  .xmade-fa img,.xmade-fn::after{transition:none}
}
/* stacked (tablet and phone): the hero is centred like every other page's (01.11.; Lauro, 13.10.: nothing sticks to the left) */
@media (max-width:980px){
  .xmade-top>.r-hd{text-align:center;margin-left:auto;margin-right:auto}
  .xmade-top .r-lead{margin-left:auto;margin-right:auto}
  .xmade-top .r-acts{justify-content:center}
}
