:root {
    color-scheme: light;
    font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
    background: #fbf9ff;
    color: #241b38;
    line-height: 1.55;
    --ink: #241b38;
    --muted: #6d637d;
    --purple: #7450d6;
    --purple-dark: #4e31a6;
    --purple-soft: #eee8ff;
    --orange: #ff8a45;
    --orange-soft: #fff0e5;
    --cyan: #36b9d8;
    --cyan-soft: #e4f8fc;
    --green: #64b85b;
    --green-soft: #eaf7e8;
    --line: #e8e0f3;
    --shadow: 0 1.3rem 3rem rgb(72 48 125 / 12%);
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 7% 12%, rgb(255 197 91 / 22%) 0 7rem, transparent 7.1rem),
        radial-gradient(circle at 94% 18%, rgb(54 185 216 / 15%) 0 10rem, transparent 10.1rem),
        #fbf9ff;
}

body::before {
    position: fixed;
    z-index: -1;
    right: 5%;
    bottom: 5%;
    width: 9rem;
    height: 9rem;
    border: 1.5rem solid rgb(116 80 214 / 7%);
    border-radius: 50%;
    content: "";
}

main {
    width: min(72rem, 100%);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 5rem;
}

.site-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(78rem, 100%);
    margin: 0 auto;
    padding: 1.15rem 1.5rem;
}

.site-header::after {
    position: absolute;
    right: 1.5rem;
    bottom: 0;
    left: 1.5rem;
    height: 1px;
    background: var(--line);
    content: "";
}

.site-header nav { display: flex; gap: 0.5rem; }
.site-header a { color: inherit; text-decoration: none; }

.site-header nav a {
    border-radius: 999px;
    padding: 0.7rem 1rem;
    color: var(--muted);
    font-weight: 750;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
    background: var(--purple-soft);
    color: var(--purple-dark);
}

.brand {
    display: inline-flex;
    align-items: center;
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.brand-mark {
    display: grid;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    place-items: center;
    border-radius: 0.7rem 0.7rem 0.7rem 0.2rem;
    background: linear-gradient(135deg, var(--purple), #9c6cff);
    color: white;
    font-size: 1rem;
    transform: rotate(-5deg);
}

.brand-sec { color: var(--purple-dark); }
.brand-quest { color: var(--orange); }

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    gap: 3rem;
    align-items: center;
    min-height: 32rem;
    padding: 3rem 0;
}

.hero-copy { position: relative; z-index: 1; max-width: 48rem; }
.hero-visual { position: relative; min-height: 26rem; }

.hero-orbit {
    position: absolute;
    inset: 1.5rem 0 0;
    border: 2px dashed rgb(116 80 214 / 22%);
    border-radius: 48% 52% 45% 55%;
    transform: rotate(8deg);
}

.visual-card {
    position: absolute;
    display: grid;
    width: 11rem;
    min-height: 9rem;
    padding: 1.25rem;
    place-items: center;
    border: 4px solid white;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    color: white;
    font-size: 3rem;
    font-weight: 900;
}

.visual-card small { font-size: 0.8rem; letter-spacing: 0.04em; }
.visual-card.lock { top: 0; right: 1rem; background: var(--purple); transform: rotate(6deg); }
.visual-card.idea { top: 9rem; left: 0; background: var(--orange); transform: rotate(-7deg); }
.visual-card.shield { right: 0; bottom: 0; background: var(--cyan); transform: rotate(4deg); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin: 0 0 0.8rem;
    border-radius: 999px;
    background: var(--purple-soft);
    padding: 0.45rem 0.8rem;
    color: var(--purple-dark);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

h1, h2, h3 { letter-spacing: -0.035em; }
h1 { max-width: 54rem; margin: 0.25rem 0 1rem; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.02; }
h2 { line-height: 1.2; }
.question-card h1, .pool-heading { font-size: clamp(2rem, 5vw, 3.65rem); }

.lead {
    max-width: 42rem;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.primary { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); box-shadow: 0 0.65rem 1.2rem rgb(92 58 180 / 22%); color: white; }
.secondary { background: var(--orange-soft); color: #9b4516; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.trust-item { border: 1px solid var(--line); border-radius: 1.3rem; background: rgb(255 255 255 / 78%); padding: 1.2rem; }
.trust-icon { display: grid; width: 2.6rem; height: 2.6rem; margin-bottom: 0.7rem; place-items: center; border-radius: 0.85rem; background: var(--cyan-soft); font-size: 1.2rem; }
.trust-item:nth-child(2) .trust-icon { background: var(--green-soft); }
.trust-item:nth-child(3) .trust-icon { background: var(--orange-soft); }
.trust-item strong { display: block; margin-bottom: 0.25rem; }
.trust-item p { margin: 0; color: var(--muted); }

.filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(12rem, 1fr)) auto;
    gap: 1rem;
    align-items: end;
    margin: 2rem 0 2.5rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: white;
    padding: 1.25rem;
    box-shadow: 0 0.8rem 2rem rgb(72 48 125 / 7%);
}

.filters label { display: grid; gap: 0.35rem; font-weight: 750; }
select { min-height: 3.1rem; border: 2px solid var(--line); border-radius: 0.9rem; background: #fff; padding: 0.55rem 0.8rem; color: var(--ink); font: inherit; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }

.card, .question-card {
    border: 1px solid var(--line);
    border-radius: 1.65rem;
    background: rgb(255 255 255 / 92%);
    padding: clamp(1.4rem, 4vw, 2.4rem);
    box-shadow: var(--shadow);
}

.card { position: relative; overflow: hidden; min-height: 18rem; }
.card::before { display: block; width: 4rem; height: 0.55rem; margin-bottom: 1.4rem; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--orange)); content: ""; }
.card h2 { margin-bottom: 2rem; font-size: 1.5rem; }

.question-card { position: relative; max-width: 54rem; margin: 0 auto; overflow: hidden; }
.question-card::before { position: absolute; top: 0; right: 0; left: 0; height: 0.65rem; background: linear-gradient(90deg, var(--purple), var(--orange), var(--cyan), var(--green)); content: ""; }

.meta { width: fit-content; margin: 0 0 1rem; border-radius: 999px; background: var(--cyan-soft); padding: 0.4rem 0.75rem; color: #086b82; font-size: 0.84rem; font-weight: 850; }

details { margin: 1.25rem 0; border-radius: 1rem; background: var(--orange-soft); padding: 0.85rem 1rem; color: #7d3d17; }
summary { font-weight: 800; cursor: pointer; }

.answer-form { display: grid; gap: 0.85rem; margin: 1.5rem 0; }

.answer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    border: 2px solid var(--line);
    border-radius: 1.1rem;
    background: #fff;
    padding: 1rem 1.1rem;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.answer:hover { border-color: #c8b8ef; transform: translateX(3px); }
.answer input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--purple); }
.answer:has(input:checked) { border-color: var(--purple); background: var(--purple-soft); }
.answer-form .primary { margin-top: 0.5rem; }

.text-button { border: 0; background: transparent; color: var(--purple-dark); padding: 0.6rem 0; font: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: 0.25rem; cursor: pointer; }

.solution { margin: 1.5rem 0; border: 0; border-radius: 1.25rem; background: var(--green-soft); padding: 1rem 1.25rem; color: #225f2a; }
.solution h2, .solution p { margin: 0.25rem 0; }
.resolution > section:not(.solution) { margin-top: 1.5rem; border-radius: 1.2rem; background: #faf7ff; padding: 0.8rem 1.2rem; }
.empty-state { border-radius: 1rem; background: var(--purple-soft); padding: 1rem; }

@media (max-width: 52rem) {
    .hero { grid-template-columns: 1fr; gap: 0; }
    .hero-visual { min-height: 20rem; margin-top: 1rem; }
    .visual-card { width: 9rem; min-height: 7.5rem; }
    .trust-strip, .filters { grid-template-columns: 1fr; }
}

@media (max-width: 38rem) {
    main { padding-top: 2.25rem; }
    .site-header { align-items: flex-start; flex-direction: column; }
    .site-header nav { width: 100%; }
    .site-header nav a { flex: 1; text-align: center; }
    .hero { padding-top: 1rem; }
    .hero-visual { min-height: 18rem; }
    .question-card, .card { border-radius: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
