kitbash Sign in Connect agent
Components

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.

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ground: #030303;
  --surface: #010101;
  --ink: #c5c4c9;
  --ink-soft: #79797b;
  --ink-faint: #373635;
  --night: #fbfaff;
  --night-raised: #c1c0c5;
  --frame-edge: #a1a0a4;
  --on-night: #010101;
  --on-night-soft: rgba(1, 1, 1, 0.6);
  --blush: #0a0a0a;
  --peach: #050505;
  --glass: rgba(3, 3, 3, 0.72);
  --frost: rgba(1, 1, 1, 0.55);
  --line-soft: rgba(197, 196, 201, 0.1);
  --line-night: rgba(1, 1, 1, 0.16);
  --strap: #3f498f;
  --mesh-pink: #3c40bb;
  --mesh-rose: #404768;
  --strap-dark: #353e80;
  --link: #454b7a;
  --mesh-violet: #545b93;
  --mesh-blue: #474d7c;
  --sky: #202128;
  --mesh-peach: #3f498f;
  --mesh-cyan: #454b7a;
  --mesh-teal: #44496c;
  --mesh-green: #3f498f;
  --aurora-green: #3638ab;
  --aurora-pink: #454b7a;
}
</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>

Similar components

Before you come

Before you come

Information accordion

Information accordion

Question wheel

Question wheel

Question slips

Question slips

Question rows

Question rows

Questions

Questions

Numbered questions

Numbered questions

Pill questions

Pill questions