:root {
    color-scheme: dark;
    --ink: #090b15;
    --panel: #111522;
    --panel-raised: #171d2d;
    --line: rgba(167, 187, 220, 0.16);
    --text: #f5f7ff;
    --muted: #a4adc2;
    --cyan: #39efff;
    --magenta: #ff48cc;
    --yellow: #ffe15a;
    --font-body: "DM Sans", sans-serif;
    --font-display: "Barlow Condensed", sans-serif;
    --font-accent: "Instrument Serif", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    font-size: 112.5%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 12% 9%, rgba(35, 108, 174, 0.18), transparent 34rem),
        radial-gradient(ellipse at 91% 19%, rgba(190, 33, 155, 0.13), transparent 34rem),
        var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button {
    color: inherit;
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    transform: translateY(-160%);
    border-radius: 0.5rem;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 11, 21, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    width: min(100% - 3rem, 1440px);
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-inline: auto;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 4.25rem;
    height: 4.25rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 0.05rem;
}

.brand-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.mobile-nav-toggle {
    display: none;
}

.main-nav {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.nav-link {
    position: relative;
    padding: 0.75rem 0.2rem;
    border: 0;
    background: transparent;
    color: #b7bfd1;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 0.25rem;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    content: "";
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-link.is-active::after {
    transform: scaleX(1);
}

@media (min-width: 1500px) {
    .nav-link {
        font-size: 0.9rem;
    }
}

.page-shell {
    width: min(100% - 3rem, 1240px);
    min-height: 60vh;
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 6.5rem) 0;
}

.tab-panel[hidden] {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    padding: clamp(2.5rem, 7vw, 6rem);
    border: 1px solid rgba(57, 239, 255, 0.28);
    border-radius: 1.5rem;
    background:
        linear-gradient(117deg, rgba(10, 15, 31, 0.97) 13%, rgba(13, 16, 33, 0.86) 55%, rgba(45, 12, 49, 0.7)),
        repeating-linear-gradient(90deg, transparent 0 58px, rgba(57, 239, 255, 0.035) 59px 60px);
    box-shadow: inset 0 0 75px rgba(19, 62, 111, 0.24), 0 18px 70px rgba(0, 0, 0, 0.24);
    animation: hero-arrive 800ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero::before,
.hero::after {
    position: absolute;
    width: 23rem;
    height: 23rem;
    border: 1px solid rgba(57, 239, 255, 0.17);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero::before {
    top: -13rem;
    right: -3rem;
    box-shadow: 0 0 0 25px rgba(57, 239, 255, 0.025), 0 0 0 55px rgba(57, 239, 255, 0.025);
}

.hero::after {
    right: 9%;
    bottom: -21rem;
    border-color: rgba(255, 72, 204, 0.3);
    box-shadow: 0 0 0 25px rgba(255, 72, 204, 0.035), 0 0 0 55px rgba(255, 72, 204, 0.025);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    line-height: 1.6;
}

.status-dot {
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    vertical-align: 0.03rem;
}

.status-magenta {
    background: var(--magenta);
    box-shadow: 0 0 12px var(--magenta);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1,
.section-heading h1 {
    max-width: 950px;
    margin-bottom: 1.3rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.3vw, 4.3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.17;
}

.hero h1 span,
.section-heading h1 span,
.section-heading h2 span {
    color: var(--cyan);
    font-family: var(--font-accent);
    font-size: 1.12em;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.035em;
    text-shadow: 0 0 24px rgba(57, 239, 255, 0.28);
}

.hero h1 span {
    white-space: nowrap;
}

.hero-copy {
    max-width: 650px;
    margin-bottom: 2rem;
    color: #c1c9d8;
    font-size: clamp(1.125rem, 1.8vw, 1.25rem);
}

.hero h1,
.hero-copy,
.hero > .button {
    max-width: 68%;
}

.hero-visual {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: clamp(1.5rem, 5vw, 4.5rem);
    display: flex;
    width: clamp(200px, 28vw, 330px);
    flex-direction: column;
    align-items: center;
    transform: translateY(-42%);
    pointer-events: none;
    animation: visual-arrive 1100ms 120ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-logo {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 22px rgba(57, 239, 255, 0.2));
    animation: logo-float 6s ease-in-out 1s infinite;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--cyan);
    box-shadow: 0 0 24px rgba(57, 239, 255, 0.24);
    color: #071016;
}

.button-primary:hover {
    box-shadow: 0 0 32px rgba(57, 239, 255, 0.45);
}

.button-outline {
    border-color: rgba(57, 239, 255, 0.55);
    background: rgba(57, 239, 255, 0.05);
    color: var(--cyan);
}

.button-outline:hover {
    background: var(--cyan);
    color: #071016;
}

.hero-signal {
    display: flex;
    height: 5rem;
    align-items: end;
    gap: 0.38rem;
    margin-top: -0.8rem;
    opacity: 0.72;
    transform: skewY(-8deg);
    transform-origin: bottom center;
}

.hero-signal span {
    width: 0.42rem;
    height: calc(13px + (var(--i, 1) * 3px));
    border-radius: 0.2rem 0.2rem 0 0;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(57, 239, 255, 0.55);
    animation: equalizer 1.8s ease-in-out infinite alternate;
}

.hero-signal span:nth-child(3n) {
    animation-delay: -1s;
}

.hero-signal span:nth-child(4n) {
    animation-delay: -0.5s;
}

.hero-signal span:nth-child(5n) {
    animation-delay: -1.35s;
}

.hero-signal span:nth-child(3n) {
    background: var(--magenta);
}

.hero-signal span:nth-child(4n) {
    height: 2.8rem;
}

.hero-signal span:nth-child(5n) {
    height: 4.1rem;
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.section-heading,
.feature-card,
.cta-strip,
.community-card {
    animation: section-arrive 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.section-heading h1 {
    max-width: none;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.section-heading > p:last-child {
    max-width: 740px;
    margin: 0 auto;
    color: var(--muted);
}

.section-heading h2 {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 4.5rem;
}

.feature-card {
    position: relative;
    min-height: 270px;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(22, 28, 44, 0.96), rgba(13, 16, 27, 0.94));
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:nth-child(2) {
    animation-delay: 100ms;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 239, 255, 0.55);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.feature-magenta:hover {
    border-color: rgba(255, 72, 204, 0.6);
}

.feature-number {
    position: absolute;
    top: 1.1rem;
    right: 1.35rem;
    color: rgba(194, 206, 232, 0.13);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
}

.feature-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.4rem;
    place-items: center;
    border: 1px solid rgba(57, 239, 255, 0.3);
    border-radius: 0.7rem;
    background: rgba(57, 239, 255, 0.09);
    color: var(--cyan);
    font-size: 1.4rem;
}

.feature-magenta .feature-icon {
    border-color: rgba(255, 72, 204, 0.34);
    background: rgba(255, 72, 204, 0.08);
    color: var(--cyan);
}

.feature-card h3,
.guide-card h2,
.community-card h2,
.original-resource h2 {
    margin-bottom: 0.7rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.45;
}

.feature-card p,
.guide-card p,
.community-card p,
.original-resource p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    padding: 1.75rem 2rem;
    border: 1px solid rgba(255, 72, 204, 0.25);
    border-radius: 0.9rem;
    background: linear-gradient(100deg, rgba(255, 72, 204, 0.08), rgba(57, 239, 255, 0.04));
}

.cta-strip .eyebrow {
    margin-bottom: 0.25rem;
    color: var(--cyan);
}

.cta-strip h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0;
}

.game-stage,
.template-stage {
    position: relative;
    width: 100%;
    margin-inline: auto;
    padding: 2.65rem 0 0;
    overflow: hidden;
    border: 1px solid rgba(57, 239, 255, 0.45);
    border-radius: 1rem;
    background: #07090e;
    box-shadow: 0 0 45px rgba(57, 239, 255, 0.1);
}

.game-layout {
    display: grid;
    width: min(100%, 1440px);
    grid-template-columns: minmax(0, 1fr) minmax(245px, 285px);
    align-items: start;
    gap: 1.25rem;
    margin-inline: auto;
}

.game-main {
    min-width: 0;
}

.projection-guide {
    padding: 1.4rem;
    border: 1px solid rgba(57, 239, 255, 0.25);
    border-radius: 0.85rem;
    background: linear-gradient(155deg, rgba(22, 28, 44, 0.98), rgba(13, 16, 27, 0.96));
}

.projection-guide .eyebrow {
    margin-bottom: 0.5rem;
}

.projection-guide h2 {
    margin-bottom: 1.15rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

.projection-steps {
    display: grid;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.projection-steps li {
    display: grid;
    grid-template-columns: 1.7rem minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
}

.projection-steps li > span {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border: 1px solid rgba(57, 239, 255, 0.45);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 800;
}

.projection-steps strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 1rem;
}

.projection-steps p,
.projection-tip {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.projection-tip {
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    color: #c5d0e3;
}

.stage-label {
    position: absolute;
    top: 0.85rem;
    left: 1rem;
    color: #d3d9e7;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.scratch-frame {
    display: block;
    width: 100%;
    max-width: none;
    aspect-ratio: 485 / 402;
    margin-inline: auto;
    border: 0;
    border-radius: 0.55rem;
    background: #000;
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.6rem;
}

.template-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 1.5rem;
}

.template-main {
    min-width: 0;
}

.template-stage {
    border-color: rgba(255, 72, 204, 0.5);
    box-shadow: 0 0 45px rgba(255, 72, 204, 0.09);
}

.guide-card {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--panel);
}

.guide-card .eyebrow,
.tag-magenta {
    color: var(--cyan);
}

.guide-card h2 {
    font-size: 1.25rem;
}

.guide-card .button {
    width: 100%;
    margin-top: 1.5rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.resource-open {
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    font-size: 0.95rem;
}

.document-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--panel);
}

.document-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.document-tag {
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.text-link {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: var(--text);
}

.document-card h2 {
    margin: 0.7rem 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
}

.document-heading h2 {
    margin: 0;
}

.document-frame {
    display: block;
    width: 100%;
    height: min(72vh, 700px);
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 0.55rem;
    background: #fff;
}

.embed-note {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.original-resource {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 225, 90, 0.28);
    border-radius: 1rem;
    background: linear-gradient(100deg, rgba(255, 225, 90, 0.07), rgba(17, 21, 34, 0.85));
}

.original-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 225, 90, 0.32);
    border-radius: 50%;
    color: var(--yellow);
    font-size: 1.25rem;
}

.original-resource .eyebrow {
    margin-bottom: 0.35rem;
    color: var(--yellow);
}

.original-resource h2 {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.original-resource p {
    font-size: 1rem;
}

.original-resource .button {
    flex: 0 0 auto;
    margin-left: auto;
    border-color: rgba(255, 225, 90, 0.48);
    color: var(--yellow);
}

.original-resource .button:hover {
    background: var(--yellow);
    color: var(--ink);
}

.community-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(22, 28, 44, 0.96), rgba(13, 16, 27, 0.94));
}

.community-card article + article {
    padding-left: 2rem;
    border-left: 1px solid var(--line);
}

.community-lab {
    margin-top: 2rem;
    padding: clamp(1.25rem, 3.5vw, 2.5rem);
    overflow: hidden;
    border: 1px solid rgba(57, 239, 255, 0.2);
    border-radius: 1.2rem;
    background:
        radial-gradient(ellipse at 92% 4%, rgba(255, 72, 204, 0.1), transparent 25rem),
        linear-gradient(145deg, rgba(17, 21, 34, 0.96), rgba(11, 14, 24, 0.98));
}

.community-lab-heading {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.community-lab-heading h2 {
    margin-bottom: 0.7rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.community-lab-heading > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.inspiration-card {
    position: relative;
    min-height: 190px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: rgba(8, 11, 19, 0.65);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.inspiration-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 239, 255, 0.42);
    background: rgba(57, 239, 255, 0.045);
}

.inspiration-index {
    display: inline-block;
    margin-bottom: 1.3rem;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.inspiration-card h3,
.share-copy h3 {
    margin-bottom: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.inspiration-card p,
.share-copy > p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.share-experience {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    margin-top: 1.1rem;
    padding: clamp(1.25rem, 3.5vw, 2.25rem);
    border: 1px solid rgba(255, 72, 204, 0.22);
    border-radius: 1rem;
    background: linear-gradient(115deg, rgba(255, 72, 204, 0.065), rgba(9, 12, 21, 0.72) 58%);
}

.share-copy .eyebrow {
    color: var(--magenta);
}

.share-copy h3 {
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.share-copy .share-privacy {
    margin-top: 1rem;
    color: #abb5c9;
    font-size: 0.95rem;
}

.experience-form {
    display: grid;
    gap: 0.55rem;
}

.experience-form label {
    margin-top: 0.35rem;
    color: #e8edf8;
    font-size: 1rem;
    font-weight: 700;
}

.experience-form .consent-option {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr);
    align-items: start;
    gap: 0.6rem;
    margin-top: 0.75rem;
    color: #c1c9d8;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.experience-form input[type="checkbox"],
.consent-option input {
    width: 1.05rem;
    min-height: 1.05rem;
    margin: 0.15rem 0 0;
    padding: 0;
    border: 0;
    accent-color: var(--cyan);
}

.survey-fieldset {
    min-width: 0;
    margin: 0.65rem 0 0;
    padding: 0;
    border: 0;
}

.survey-fieldset legend {
    margin-bottom: 0.55rem;
    color: #e8edf8;
    font-size: 1rem;
    font-weight: 700;
}

.survey-fieldset legend span,
.experience-form label > span {
    color: var(--muted);
    font-weight: 500;
}

.recommendation-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.recommendation-options .choice-option {
    display: flex;
    min-height: 3.2rem;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    background: rgba(7, 10, 18, 0.62);
    color: #c1c9d8;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
}

.recommendation-options input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0.15rem 0 0;
}

.experience-form input:not([type="checkbox"]),
.experience-form select,
.experience-form textarea {
    width: 100%;
    min-height: 45px;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(167, 187, 220, 0.22);
    border-radius: 0.55rem;
    outline: none;
    background: rgba(6, 9, 16, 0.8);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.experience-form textarea {
    min-height: 120px;
    resize: vertical;
}

.experience-form input:not([type="checkbox"])::placeholder,
.experience-form textarea::placeholder {
    color: #7f8aa1;
}

.experience-form input:not([type="checkbox"]):focus,
.experience-form select:focus,
.experience-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(57, 239, 255, 0.1);
}

.experience-form .button {
    justify-self: start;
    margin-top: 0.45rem;
    border: 0;
}

.form-feedback {
    min-height: 1.5rem;
    margin: 0;
    color: #c1c9d8;
    font-size: 1rem;
}

.form-feedback a {
    color: var(--cyan);
    font-weight: 700;
    text-underline-offset: 3px;
}

.community-results {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.community-results .community-lab-heading {
    margin-bottom: 1.4rem;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-group {
    min-width: 0;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: rgba(8, 11, 19, 0.65);
}

.stat-group h3,
.community-wall-heading h3 {
    margin-bottom: 0.85rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.stat-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stat-item {
    min-width: 0;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: #c1c9d8;
    font-size: 0.95rem;
}

.stat-label strong {
    color: var(--cyan);
}

.stat-track {
    display: block;
    height: 0.35rem;
    margin-top: 0.35rem;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(167, 187, 220, 0.12);
}

.stat-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), #8a8bff);
}

.empty-community {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.2rem;
    border: 1px dashed var(--line);
    border-radius: 0.75rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.community-wall-heading {
    margin: 2.5rem 0 1rem;
}

.community-wall-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.community-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 0.85rem;
}

.wall-card {
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid rgba(57, 239, 255, 0.2);
    border-radius: 0.8rem;
    background: linear-gradient(145deg, rgba(22, 28, 44, 0.85), rgba(13, 16, 27, 0.9));
}

.wall-meta {
    margin-bottom: 0.7rem;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wall-answer {
    margin: 0;
    color: #e1e6f2;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

[hidden] {
    display: none !important;
}

.admin-panel {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--panel);
}

.admin-login-dialog {
    width: min(calc(100% - 2rem), 460px);
    max-width: none;
    padding: clamp(1.4rem, 5vw, 2.2rem);
    border: 1px solid rgba(57, 239, 255, 0.4);
    border-radius: 1rem;
    background: var(--panel);
    color: var(--text);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

.admin-login-dialog::backdrop {
    background: rgba(5, 7, 14, 0.72);
    backdrop-filter: blur(9px);
}

.admin-login-form {
    display: grid;
    width: 100%;
    gap: 0.65rem;
    margin: 0;
}

.admin-login-form .eyebrow {
    margin: 0;
    color: var(--cyan);
}

.admin-login-form > p:not(.eyebrow):not(.form-feedback) {
    margin: 0 0 0.6rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.admin-login-form h2,
.admin-responses-section h2 {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0;
}

.admin-login-form label {
    display: grid;
    min-width: 0;
    gap: 0.35rem;
    color: #e8edf8;
    font-size: 0.95rem;
    font-weight: 600;
}

.admin-login-form input {
    width: 100%;
    min-height: 42px;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(167, 187, 220, 0.22);
    border-radius: 0.5rem;
    outline: none;
    background: rgba(6, 9, 16, 0.8);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
}

.admin-login-form input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(57, 239, 255, 0.1);
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-responses-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.admin-responses {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-response-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: rgba(8, 11, 19, 0.65);
}

.admin-response-card.is-pending {
    border-color: rgba(255, 225, 90, 0.35);
}

.admin-response-card h3 {
    margin-bottom: 0.9rem;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
}

.admin-response-summary,
.admin-response-answer {
    margin-bottom: 0.75rem;
    color: var(--muted);
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.admin-response-answer {
    color: #e1e6f2;
    white-space: pre-wrap;
}

.admin-response-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-approve {
    border-color: rgba(57, 239, 255, 0.45);
    color: var(--cyan);
}

.admin-delete,
.admin-discard {
    border-color: rgba(255, 72, 204, 0.45);
    color: #ff91dc;
}

.community-card h2 {
    font-size: 1.12rem;
}

.community-card .text-link {
    display: inline-block;
    margin-top: 1.2rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(5, 6, 12, 0.72);
}

.footer-inner {
    width: min(100% - 3rem, 1240px);
    margin: 0 auto;
    padding: 3rem 0 2rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-top .eyebrow {
    margin-bottom: 0.4rem;
}

.footer-top h2 {
    margin-bottom: 0.9rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
}

.contact-links a {
    color: #d9deeb;
    font-size: 1rem;
    text-decoration: none;
}

.contact-links a:hover {
    color: var(--cyan);
}

.contact-links a:focus-visible,
.legal-note a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.contact-links span {
    margin-left: 0.3rem;
    color: var(--muted);
}

.funding-logo {
    width: min(48%, 470px);
    height: auto;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: #fff;
}

.legal-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.035);
}

.legal-note p {
    margin: 0;
    color: #9da6ba;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-note a {
    color: #e8efff;
    font-weight: 700;
    text-decoration-color: rgba(57, 239, 255, 0.55);
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.legal-note a:hover {
    color: var(--cyan);
}

.mentor-brand {
    display: grid;
    width: min(100%, 520px);
    justify-items: center;
    gap: 0.6rem;
    margin: 1.5rem auto 0;
    padding: 0.25rem;
}

.mentor-tagline {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-align: center;
}

.mentor-brand img {
    display: block;
    width: min(100%, 420px);
    height: auto;
    border-radius: 0.65rem;
    filter: drop-shadow(0 0 15px rgba(57, 239, 255, 0.2)) drop-shadow(0 0 22px rgba(255, 72, 204, 0.16));
}

.mentor-tagline {
    color: var(--cyan);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.footer-partner-logos {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.footer-partner-logos .funding-logo {
    width: min(100%, 520px);
}

.license-logo {
    display: block;
    width: min(100%, 500px);
    height: auto;
    border-radius: 0.4rem;
}

@media (max-width: 1050px) {
    .header-inner {
        width: min(100% - 2rem, 1440px);
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.2rem 1.5rem;
        padding: 0.8rem 0 0.35rem;
    }

    .brand {
        margin-right: auto;
    }

    .main-nav {
        flex: 1 1 100%;
        max-width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        padding-block: 0.65rem;
        font-size: 1rem;
    }

    .game-layout {
        grid-template-columns: minmax(0, 1fr) 235px;
    }

    .hero-visual {
        right: 2rem;
        width: clamp(185px, 27vw, 270px);
    }
}

@media (max-width: 900px) {
    .game-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .header-inner,
    .page-shell,
    .footer-inner {
        width: min(100% - 1.5rem, 1240px);
    }

    .brand {
        width: 100%;
        justify-content: center;
        margin: 0;
    }

    .mobile-nav-toggle {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        padding: 0.7rem 1rem;
        border: 1px solid var(--line);
        border-radius: 0.6rem;
        background: var(--panel-raised);
        color: var(--text);
        cursor: pointer;
        font: inherit;
        font-weight: 700;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        border-color: rgba(57, 239, 255, 0.5);
    }

    .mobile-nav-icon {
        color: var(--cyan);
        transition: transform 180ms ease;
    }

    .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon {
        transform: rotate(180deg);
    }

    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.5rem;
        border: 1px solid var(--line);
        border-radius: 0.7rem;
        background: var(--panel);
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-link {
        display: flex;
        min-height: 48px;
        align-items: center;
        padding: 0.7rem 0.85rem;
        white-space: normal;
        text-align: left;
        font-size: 0.9rem;
    }

    .page-shell {
        padding: 2.5rem 0;
    }

    .hero {
        min-height: 420px;
        padding: 2.2rem 1.45rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 9.2vw, 3.4rem);
        max-width: 100%;
    }

    .hero h1 span {
        white-space: normal;
    }

    .hero-copy,
    .hero > .button {
        max-width: 100%;
    }

    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        width: min(72%, 250px);
        margin: 1.5rem auto -1rem;
        transform: none;
    }

    .hero-signal {
        height: 3.2rem;
        gap: 0.25rem;
        margin-top: -0.5rem;
        transform: scale(0.8) skewY(-8deg);
    }

    .feature-grid,
    .resource-grid,
    .community-card,
    .inspiration-grid,
    .share-experience,
    .template-layout,
    .game-layout {
        grid-template-columns: 1fr;
    }

    .community-stats {
        grid-template-columns: 1fr;
    }

    .recommendation-options {
        grid-template-columns: 1fr;
    }

    .admin-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-toolbar-actions {
        width: 100%;
    }

    .admin-toolbar-actions .button {
        width: 100%;
    }

    .projection-guide {
        padding: 1.25rem;
    }

    .feature-grid {
        margin-top: 3rem;
    }

    .feature-card {
        min-height: auto;
    }

    .cta-strip,
    .original-resource {
        align-items: flex-start;
        flex-direction: column;
    }

    .original-resource .button {
        margin-left: 0;
    }

    .community-card article + article {
        padding: 1.5rem 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .inspiration-card {
        min-height: auto;
    }

    .inspiration-index {
        margin-bottom: 0.7rem;
    }

    .experience-form .button {
        width: 100%;
    }

    .document-frame {
        height: 68vh;
        min-height: 340px;
    }

    .scratch-frame {
        height: auto;
        aspect-ratio: 485 / 402;
    }

    .footer-top,
    .legal-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .funding-logo {
        width: min(100%, 470px);
    }

    .footer-partner-logos {
        width: 100%;
        gap: 1rem;
    }

    .footer-partner-logos .funding-logo,
    .license-logo {
        width: min(100%, 470px);
    }
}

@media (max-width: 420px) {
    .header-inner,
    .page-shell,
    .footer-inner {
        width: min(100% - 1.25rem, 1240px);
    }

    .hero {
        padding: 1.75rem 1.15rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .document-frame {
        min-height: 300px;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@keyframes hero-arrive {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes visual-arrive {
    from {
        opacity: 0;
        transform: translate(18px, -38%);
    }
    to {
        opacity: 1;
        transform: translate(0, -42%);
    }
}

@keyframes section-arrive {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logo-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes equalizer {
    from {
        scale: 1 0.62;
        transform-origin: bottom;
    }
    to {
        scale: 1 1;
        transform-origin: bottom;
    }
}

@media (max-width: 720px) {
    .hero-visual {
        animation-name: section-arrive;
    }
}
