/* ==========================================================================
   Logo Designing page   (all classes are prefixed lg-)
   Uses the site's own font (Afacad) and brand colours:
     night #150A3A · blue #102CBA · magenta #B51BB5 · violet #AC20BC
     ember #F0A400 · glass #43D2E0 · paper #F6F2FC
   ========================================================================== */

.lg-page {
    --night: #150a3a;
    --blue: #102cba;
    --magenta: #b51bb5;
    --violet: #ac20bc;
    --ember: #f0a400;
    --glass: #43d2e0;
    --paper: #f6f2fc;
    --ink: #150a3a;
    --ink-soft: #4d4370;
    --line: rgba(21, 10, 58, .14);
    --hot: #b51bb5;

    font-family: "Afacad", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.lg-wrap {
    width: var(--site-width, 88%);
    max-width: 1320px;
    margin: 0 auto;
}

:where(.lg-page) :is(h1, h2, p) { margin: 0; }

.lg-page h2 {
    font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -.02em;
    font-weight: 700;
}

.lg-page a:focus-visible,
.lg-page button:focus-visible,
.lg-page input:focus-visible,
.lg-page summary:focus-visible {
    outline: 3px solid var(--ember);
    outline-offset: 3px;
}

/* ---------- buttons (pill, same shape language as the rest of the site) ---------- */
.lg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.9rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    border: 1.5px solid transparent;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.lg-btn:hover { transform: translateY(-2px); }
.lg-page .lg-btn--light { background: #fff; color: var(--blue); }
.lg-page .lg-btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.lg-page .lg-btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.lg-page .lg-btn--line:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* ==========================================================================
   HERO  (night sky + a logo being constructed)
   ========================================================================== */
.lg-hero {
    background: var(--night);
    color: #fff;
    padding: calc(var(--hdr-full, 108px) + clamp(1.5rem, 5vh, 4rem)) 0 clamp(3rem, 8vh, 6rem);
    position: relative;
    overflow: hidden;
}

.lg-hero::before {                      /* a soft pool of brand colour behind the drawing */
    content: "";
    position: absolute;
    right: -10%;
    top: 8%;
    width: 60vw;
    height: 60vw;
    max-width: 880px;
    max-height: 880px;
    background: radial-gradient(circle, rgba(16, 44, 186, .55), rgba(16, 44, 186, 0) 62%);
    pointer-events: none;
}

.lg-hero__inner {
    position: relative;
    width: var(--site-width, 88%);
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    min-height: calc(100svh - var(--hdr-full, 108px) - 6rem);
}

.lg-crumbs { font-size: 1rem; opacity: .8; margin-bottom: 1.6rem; }
.lg-page .lg-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.lg-page .lg-crumbs a:hover { text-decoration-color: #fff; }

.lg-hero h1 {
    font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.4rem);
    line-height: .98;
    letter-spacing: -.025em;
    font-weight: 700;
    max-width: 15ch;
}

.lg-hero__lead {
    margin-top: 1.6rem;
    max-width: 46ch;
    font-size: 1.15rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .84);
}

.lg-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.lg-hero__stage { justify-self: center; width: 100%; max-width: 640px; }
.lg-draft { width: 100%; height: auto; display: block; overflow: visible; }

/* ---- the one orchestrated moment: construction lines, then the mark is drawn and thickened ---- */
.lg-draft__guides > * {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: lg-draw 1.5s cubic-bezier(.5, 0, .2, 1) forwards;
}
.lg-draft__guides circle[stroke-dasharray="4 6"] { stroke-dasharray: 4 6; stroke-dashoffset: 0; opacity: 0; animation: lg-fade .8s .9s forwards; }
.lg-draft__guides > *:nth-child(4) { animation-delay: .15s; }
.lg-draft__guides > *:nth-child(5) { animation-delay: .25s; }
.lg-draft__guides > *:nth-child(6) { animation-delay: .5s; }
.lg-draft__guides > *:nth-child(7) { animation-delay: .6s; }
.lg-draft__guides > *:nth-child(8) { animation-delay: .75s; }

.lg-draft__arch {
    stroke-width: .7;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation:
        lg-draw 1.4s .7s cubic-bezier(.5, 0, .2, 1) forwards,
        lg-thicken .9s 2s cubic-bezier(.3, 0, .2, 1) forwards;
}
.lg-draft__dot  { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: lg-pop .5s 2.7s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.lg-draft__base { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: lg-grow .6s 2.95s cubic-bezier(.3, 0, .2, 1) forwards; }
.lg-draft__notes { opacity: 0; animation: lg-fade .8s 3.4s forwards; }

@keyframes lg-draw    { to { stroke-dashoffset: 0; } }
@keyframes lg-thicken { to { stroke-width: 14; } }
@keyframes lg-pop     { to { transform: scale(1); } }
@keyframes lg-grow    { to { transform: scaleX(1); } }
@keyframes lg-fade    { to { opacity: 1; } }

/* ==========================================================================
   SIZE TEST  (light, interactive)
   ========================================================================== */
.lg-test { padding: clamp(4rem, 9vw, 7.5rem) 0; background: var(--paper); }

.lg-test__head {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: end;
}
.lg-test__head p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.6; max-width: 56ch; }

.lg-bench {
    --bg: #ffffff; --m1: var(--blue); --m2: var(--ember); --m3: var(--magenta); --word: var(--night);
    margin-top: clamp(2rem, 5vw, 3.5rem);
    display: grid;
    grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: start;
}
.lg-bench[data-mode="mono"]     { --m1: var(--night); --m2: var(--night); --m3: var(--night); --word: var(--night); }
.lg-bench[data-mode="reversed"] { --bg: var(--night); --m1: var(--glass); --m2: var(--ember); --m3: #fff; --word: #fff; }
.lg-bench[data-mode="brand"]    { --bg: #6a1fd6; --m1: #fff; --m2: #fff; --m3: #fff; --word: #fff; }

.lg-bench__controls { display: grid; gap: 1.6rem; padding-top: .4rem; }

.lg-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.lg-field > label,
.lg-field > legend {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0;
    margin-bottom: .7rem;
    float: none;
    width: 100%;
}
.lg-field output { font-weight: 500; color: var(--blue); }
.lg-field__hint { margin-top: .8rem; font-size: .98rem; line-height: 1.45; color: var(--ink-soft); min-height: 3em; }

.lg-field input[type="range"] { width: 100%; accent-color: var(--blue); height: 28px; cursor: pointer; }

.lg-modes { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.lg-modes legend { margin-bottom: .3rem; }
.lg-modes label { cursor: pointer; }
.lg-modes input { position: absolute; opacity: 0; pointer-events: none; }
.lg-modes span {
    display: block;
    padding: .65rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lg-modes label:hover span { border-color: var(--blue); }
.lg-modes input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.lg-modes input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }

.lg-check { display: flex; align-items: center; gap: .65rem; cursor: pointer; font-size: 1.02rem; }
.lg-check input { width: 20px; height: 20px; accent-color: var(--blue); }

.lg-bench__stage {
    background: var(--bg);
    border-radius: 28px;
    min-height: clamp(280px, 38vw, 400px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 1.5rem;
    box-shadow: 0 1px 0 rgba(21, 10, 58, .06), 0 24px 50px -28px rgba(21, 10, 58, .5);
    transition: background .35s ease;
}

/* a lockup is sized by one number: --s, the symbol's width */
.lg-lockup {
    --s: 120px;
    display: inline-flex;
    align-items: center;
    gap: calc(var(--s) * .2);
    transition: filter .3s ease;
}
.lg-lockup__mark { width: var(--s); height: var(--s); flex: none; }
.lg-lockup__word {
    font-size: calc(var(--s) * .72);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--word);
    padding-bottom: calc(var(--s) * .06);
}
.lg-lockup.is-icon-only .lg-lockup__word { display: none; }
.lg-bench.is-squint .lg-lockup { filter: blur(3px); }

.lg-uses {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.lg-uses li { display: grid; gap: .7rem; justify-items: start; align-content: start; }
.lg-uses em { font-style: normal; font-size: .95rem; color: var(--ink-soft); line-height: 1.3; }

.lg-use {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: background .35s ease;
    box-shadow: 0 1px 0 rgba(21, 10, 58, .06), 0 14px 28px -18px rgba(21, 10, 58, .55);
}
.lg-use svg { display: block; }

.lg-use--tab {
    height: 38px;
    width: 100%;
    max-width: 190px;
    justify-content: flex-start;
    gap: .5rem;
    padding: 0 .8rem;
    border-radius: 10px 10px 0 0;
}
.lg-use--tab i { width: 8px; height: 8px; border-radius: 50%; background: rgba(128, 128, 128, .5); flex: none; margin-right: .1rem; }
.lg-use--tab svg { width: 16px; height: 16px; flex: none; }
.lg-use--tab b { font-size: .85rem; font-weight: 500; color: var(--word); }

.lg-use--app { width: 72px; height: 72px; border-radius: 18px; }
.lg-use--app svg { width: 46px; height: 46px; }

.lg-use--avatar { width: 72px; height: 72px; border-radius: 50%; }
.lg-use--avatar svg { width: 46px; height: 46px; }

.lg-use--stamp { width: 72px; height: 72px; border-radius: 50%; background: transparent; border: 3px solid var(--word); box-shadow: none; }
.lg-use--stamp svg { width: 40px; height: 40px; --m1: var(--word); --m2: var(--word); --m3: var(--word); }

/* ==========================================================================
   ROUNDS  (night, a board that narrows down)
   ========================================================================== */
.lg-rounds {
    background: var(--night);
    color: #fff;
    padding: clamp(4rem, 9vw, 7.5rem) 0;
    --paper: #f6f2fc;
}
.lg-rounds__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}
.lg-rounds__side { position: sticky; top: calc(var(--hdr-compact, 64px) + 2rem); }
.lg-rounds h2 { max-width: 14ch; }

.lg-steps { display: grid; gap: .6rem; margin-top: 2.2rem; }
.lg-step {
    font: inherit;
    text-align: left;
    display: grid;
    gap: .15rem;
    padding: .9rem 1.2rem;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, .22);
    background: transparent;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.lg-step span { font-size: .9rem; font-weight: 400; opacity: .72; }
.lg-step:hover { border-color: #fff; }
.lg-step.is-on { background: #fff; border-color: #fff; color: var(--night); }
.lg-step.is-on span { opacity: .65; }

.lg-rounds__text { margin-top: 1.8rem; min-height: 8.5em; }
.lg-rounds__text p { max-width: 44ch; font-size: 1.12rem; line-height: 1.6; color: rgba(255, 255, 255, .85); }

.lg-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.6rem, 1.4vw, 1rem);
}
.lg-tile {
    aspect-ratio: 1;
    border-radius: 18px;
    background: var(--paper);
    color: var(--night);
    display: grid;
    place-items: center;
    padding: 18%;
    position: relative;
    --m1: var(--blue); --m2: var(--ember); --m3: var(--magenta);
    transition: opacity .5s ease, transform .5s ease, filter .5s ease, box-shadow .5s ease;
}
.lg-tile svg { width: 100%; height: 100%; display: block; }

/* dropped ideas fade back, they never vanish (you can still see what was explored) */
.lg-board[data-round="2"] .lg-tile[data-keep="1"],
.lg-board[data-round="3"] .lg-tile[data-keep="1"],
.lg-board[data-round="3"] .lg-tile[data-keep="2"] {
    opacity: .22;
    filter: grayscale(1);
    transform: scale(.9);
}
.lg-board[data-round="3"] .lg-tile--final {
    box-shadow: 0 0 0 4px var(--glass), 0 24px 50px -20px rgba(67, 210, 224, .6);
    transform: scale(1.06);
}

/* ==========================================================================
   KIT  (light, a brand sheet laid out on a 12-column bento)
   ========================================================================== */
.lg-kit { background: #fff; padding: clamp(4rem, 9vw, 7.5rem) 0; }

.lg-kit__head { max-width: 760px; }
.lg-kit__head p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.6; max-width: 58ch; }

.lg-sheet {
    margin-top: clamp(2rem, 5vw, 3.5rem);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto);
    gap: clamp(.7rem, 1.4vw, 1.1rem);
}

.lg-t {
    margin: 0;
    padding: clamp(1rem, 2vw, 1.6rem);
    background: var(--paper);
    border-radius: 22px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 1rem;
    min-width: 0;
    --m1: var(--blue); --m2: var(--ember); --m3: var(--magenta);
}
.lg-t > :first-child { align-self: center; justify-self: center; }
.lg-t figcaption { font-size: .98rem; line-height: 1.4; color: var(--ink-soft); max-width: 40ch; }

.lg-t--primary { grid-column: span 7; grid-row: span 2; background: var(--paper); }
.lg-t--stack   { grid-column: span 5; }
.lg-t--dark    { grid-column: span 5; background: var(--night); --m1: var(--glass); --m3: #fff; }
.lg-t--dark figcaption { color: rgba(255, 255, 255, .72); }
.lg-t--space   { grid-column: span 4; }
.lg-t--palette { grid-column: span 8; background: #fff; border: 1.5px solid var(--line); }
.lg-t--type    { grid-column: span 4; background: #fff; border: 1.5px solid var(--line); }
.lg-t--files   { grid-column: span 5; grid-row: span 2; background: var(--night); color: #fff; }
.lg-t--files figcaption { color: rgba(255, 255, 255, .72); }
.lg-t--card    { grid-column: span 7; background: #fff; border: 1.5px solid var(--line); }
.lg-t--app     { grid-column: span 3; background: linear-gradient(135deg, #b900ff, #0058ff); }
.lg-t--app figcaption { color: #fff; }

.lg-lockup--static { --s: clamp(70px, 9vw, 140px); }
.lg-lockup--static .lg-lockup__word { color: var(--night); }
.lg-t--dark .lg-lockup__word { color: #fff; }

.lg-stack { display: grid; justify-items: center; gap: .7rem; }
.lg-stack svg { width: clamp(70px, 8vw, 112px); height: auto; }
.lg-stack span { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--night); }

.lg-space {
    width: clamp(120px, 14vw, 170px);
    aspect-ratio: 1;
    padding: 26%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    border: 1.5px dashed var(--magenta);
    background:
        linear-gradient(var(--magenta), var(--magenta)) 50% 0 / 1.5px 20% no-repeat,
        linear-gradient(var(--magenta), var(--magenta)) 50% 100% / 1.5px 20% no-repeat,
        linear-gradient(var(--magenta), var(--magenta)) 0 50% / 20% 1.5px no-repeat,
        linear-gradient(var(--magenta), var(--magenta)) 100% 50% / 20% 1.5px no-repeat;
}
.lg-space svg { width: 100%; height: auto; aspect-ratio: 1; display: block; outline: 1px solid rgba(21, 10, 58, .25); }

.lg-card {
    width: min(100%, 340px);
    aspect-ratio: 1.75;
    border-radius: 12px;
    background: var(--night);
    color: #fff;
    padding: 1.1rem 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    --m1: var(--glass); --m3: #fff;
    box-shadow: 0 18px 30px -16px rgba(10, 4, 40, .7);
}
.lg-card svg { width: 38px; height: 38px; }
.lg-card p { display: grid; gap: .1rem; }
.lg-card b { font-size: 1.15rem; }
.lg-card span { font-size: .9rem; opacity: .75; }

.lg-swatches {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .6rem;
    align-self: stretch;
}
.lg-t--palette > .lg-swatches { align-self: stretch; justify-self: stretch; }
.lg-swatches li {
    background: var(--sw);
    border-radius: 14px;
    min-height: 160px;
    padding: .9rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}
.lg-swatches li:nth-child(5) { color: var(--night); }
.lg-swatches b { font-size: 1.05rem; font-weight: 700; }
.lg-swatches span { font-size: .9rem; opacity: .85; }

.lg-type { display: grid; gap: .5rem; justify-items: start; }
.lg-type__aa { font-size: clamp(3.6rem, 6vw, 5.4rem); font-weight: 700; line-height: .9; letter-spacing: -.04em; color: var(--night); }
.lg-type__line { font-size: 1rem; line-height: 1.35; color: var(--ink-soft); }

.lg-files { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; }
.lg-t--files > .lg-files { align-self: stretch; justify-self: stretch; }
.lg-files li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .2rem 1rem;
    align-items: baseline;
    padding: .8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.lg-files li:last-child { border-bottom: 0; }
.lg-files b { font-size: 1.12rem; font-weight: 600; word-break: break-all; }
.lg-files span { font-size: .92rem; color: rgba(255, 255, 255, .66); text-align: right; }

.lg-appicon {
    width: clamp(84px, 9vw, 112px);
    aspect-ratio: 1;
    border-radius: 24%;
    background: var(--night);
    display: grid;
    place-items: center;
    --m1: var(--glass); --m3: #fff;
    box-shadow: 0 18px 30px -14px rgba(10, 4, 40, .7);
}
.lg-appicon svg { width: 62%; height: 62%; display: block; }

/* ==========================================================================
   FAQ  (light, question list beside a sticky intro)
   ========================================================================== */
.lg-faq { background: var(--paper); padding: clamp(4rem, 9vw, 7.5rem) 0; }
.lg-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}
.lg-faq__intro { position: sticky; top: calc(var(--hdr-compact, 64px) + 2rem); }
.lg-faq__intro p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6; max-width: 38ch; }
.lg-page .lg-faq__intro a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.lg-faq__list details { border-top: 2px solid var(--night); }
.lg-faq__list details:last-child { border-bottom: 2px solid var(--night); }
.lg-faq__list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 0;
    font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -.01em;
}
.lg-faq__list summary::-webkit-details-marker { display: none; }
.lg-faq__list summary::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background:
        linear-gradient(var(--night), var(--night)) center / 100% 2px no-repeat,
        linear-gradient(var(--night), var(--night)) center / 2px 100% no-repeat;
    transition: transform .3s ease;
}
.lg-faq__list details[open] summary::after { transform: rotate(45deg); }
.lg-faq__list details p { padding: 0 3rem 1.6rem 0; max-width: 60ch; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6; }

/* ==========================================================================
   CTA  (the site's purple-to-blue, with the mark huge and cropped)
   ========================================================================== */
.lg-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: clamp(4.5rem, 10vw, 8rem) 0;
    background: linear-gradient(100deg, rgba(185, 0, 255, .9) 0%, rgba(0, 88, 255, .9) 100%), var(--night);
}
.lg-cta__mark {
    position: absolute;
    right: -6%;
    bottom: -32%;
    width: min(54vw, 640px);
    height: auto;
    --m1: rgba(255, 255, 255, .16); --m2: rgba(255, 255, 255, .16); --m3: rgba(255, 255, 255, .16);
    pointer-events: none;
}
.lg-cta__inner { position: relative; }
.lg-cta h2 { max-width: 18ch; font-size: clamp(2.2rem, 1rem + 4.2vw, 4.4rem); line-height: 1; }
.lg-cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1023px) {
    .lg-hero__inner { grid-template-columns: 1fr; min-height: 0; }
    .lg-hero__stage { max-width: 440px; }
    .lg-test__head { grid-template-columns: 1fr; }
    .lg-bench { grid-template-columns: 1fr; }
    .lg-rounds__grid { grid-template-columns: 1fr; }
    .lg-rounds__side, .lg-faq__intro { position: static; }
    .lg-rounds h2 { max-width: none; }
    .lg-faq__grid { grid-template-columns: 1fr; }
    .lg-sheet { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .lg-t--primary { grid-column: span 6; grid-row: auto; }
    .lg-t--stack, .lg-t--dark { grid-column: span 3; }
    .lg-t--space { grid-column: span 3; }
    .lg-t--palette { grid-column: span 6; grid-row: auto; }
    .lg-t--type { grid-column: span 3; }
    .lg-t--card { grid-column: span 6; }
    .lg-t--files { grid-column: span 6; grid-row: auto; }
    .lg-t--app { grid-column: span 3; }
}

@media (max-width: 640px) {
    .lg-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg-sheet { grid-template-columns: 1fr; }
    .lg-t--primary, .lg-t--stack, .lg-t--dark, .lg-t--space, .lg-t--palette,
    .lg-t--type, .lg-t--files, .lg-t--app, .lg-t--card { grid-column: auto; }
    .lg-swatches { grid-template-columns: 1fr 1fr; }
    .lg-swatches li { min-height: 100px; }
    .lg-swatches li:last-child { grid-column: span 2; }
    .lg-files li { grid-template-columns: 1fr; }
    .lg-files span { text-align: left; }
    .lg-faq__list details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .lg-draft__guides > *,
    .lg-draft__arch,
    .lg-draft__dot,
    .lg-draft__base,
    .lg-draft__notes { animation: none !important; }
    .lg-draft__guides > * { stroke-dashoffset: 0; }
    .lg-draft__guides circle[stroke-dasharray="4 6"] { opacity: 1; }
    .lg-draft__arch { stroke-width: 14; stroke-dashoffset: 0; }
    .lg-draft__dot { transform: none; }
    .lg-draft__base { transform: none; }
    .lg-draft__notes { opacity: 1; }
    .lg-btn, .lg-tile, .lg-lockup, .lg-bench__stage { transition: none; }
}
