Good-to-know list
White rounded rows of questions that open in place with a turning plus.
Part of the style
Swinging Lanyard Badges
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/swinging-lanyard-badges/faq/figma.html?palette=d2e0f716c6febc19
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/swinging-lanyard-badges/faq/figma.html?palette=d2e0f716c6febc19 and pass that whole HTML document to the html_to_figma tool, so the part "Good-to-know list" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--ground: #f15b29;
--surface: #f86231;
--ink: #1d0c0b;
--ink-soft: #50060c;
--ink-faint: #a54020;
--night: #9b8381;
--night-raised: #200d0c;
--frame-edge: #3a1716;
--on-night: #f86231;
--on-night-soft: rgba(248, 98, 49, 0.6);
--blush: #e25627;
--peach: #f86637;
--glass: rgba(241, 91, 41, 0.72);
--frost: rgba(248, 98, 49, 0.55);
--line-soft: rgba(29, 12, 11, 0.1);
--line-night: rgba(248, 98, 49, 0.16);
--strap: #d15c4c;
--mesh-pink: #fd2615;
--mesh-rose: #b2796f;
--strap-dark: #c05344;
--link: #b46662;
--mesh-violet: #a7514e;
--mesh-blue: #b56965;
--sky: #908281;
--mesh-peach: #ad7472;
--mesh-cyan: #a37e7c;
--mesh-teal: #997d7b;
--mesh-green: #a66b78;
--aurora-green: #ce7288;
--aurora-pink: #d15c4c;
}
</style>
<section class="faq">
<div class="faq__head">
<h2 class="faq__title">Good to know.</h2>
<p class="faq__text">How the pass knows it is on a lanyard, what the door sees, and where your details live.</p>
</div>
<div class="faq__list">
<details class="faq__item" open>
<summary class="faq__question">What does Lumo actually do?<span class="faq__plus" aria-hidden="true"></span></summary>
<div class="faq__answer"><p class="faq__para">It shows one pass at a time, full screen, with your photo, name, role and a code the door can scan. Keep a pass for each night and swipe between them.</p></div>
</details>
<details class="faq__item">
<summary class="faq__question">How does it know it is hanging?<span class="faq__plus" aria-hidden="true"></span></summary>
<div class="faq__answer"><p class="faq__para">When the phone hangs upside down from its strap, the pass flips so it reads the right way up for whoever is in front of you.</p></div>
</details>
<details class="faq__item">
<summary class="faq__question">Does it need a signal at the gate?<span class="faq__plus" aria-hidden="true"></span></summary>
<div class="faq__answer"><p class="faq__para">No. Passes and their codes are kept on the phone, so a crowded field with no reception is fine.</p></div>
</details>
<details class="faq__item">
<summary class="faq__question">Where are my details stored?<span class="faq__plus" aria-hidden="true"></span></summary>
<div class="faq__answer"><p class="faq__para">Only on your phone and in your own backup. There is no account to make and nothing to sign in to.</p></div>
</details>
</div>
</section>
<style>
.faq {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: var(--space-xl);
max-width: var(--page);
margin: 0 auto;
padding: var(--section-space) var(--edge);
}
.faq__title {
margin: 0;
font-size: var(--display-l);
font-weight: var(--weight-light);
line-height: 1.1;
letter-spacing: var(--track-display);
}
.faq__text {
max-width: 22rem;
margin: var(--space-m) 0 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: 1.6;
}
.faq__list {
display: grid;
gap: 10px;
}
.faq__item {
border-radius: var(--radius-card);
background: var(--surface);
transition: box-shadow var(--slow) var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-soft); }
.faq__question {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-m);
min-height: 64px;
padding: 0 22px 0 24px;
font-size: var(--text);
font-weight: var(--weight-medium);
line-height: 1.3;
list-style: none;
cursor: pointer;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:focus-visible {
outline: 2px solid var(--link);
outline-offset: 2px;
border-radius: var(--radius-card);
}
.faq__plus {
position: relative;
flex: none;
width: 30px;
height: 30px;
border-radius: 50%;
background: var(--ground);
transition: rotate var(--slow) var(--ease), background-color var(--quick) var(--ease);
}
.faq__plus::before,
.faq__plus::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 12px;
height: 1.5px;
translate: -50% -50%;
background: var(--ink);
}
.faq__plus::after { rotate: 90deg; }
.faq__item[open] .faq__plus { rotate: 45deg; background: var(--ink); }
.faq__item[open] .faq__plus::before,
.faq__item[open] .faq__plus::after { background: var(--on-night); }
.faq__question:hover .faq__plus { background: var(--line-soft); }
.faq__item[open] .faq__question:hover .faq__plus { background: var(--ink); }
.faq__answer {
padding: 0 24px 22px;
animation: faq-open var(--slow) var(--ease);
}
.faq__para {
max-width: 34rem;
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
line-height: 1.6;
}
@keyframes faq-open {
from { opacity: 0; translate: 0 -6px; }
to { opacity: 1; translate: 0 0; }
}
@media (min-width: 52rem) {
.faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
}
</style>