/**
 * Schede prodotto e listino pubblici (/welcome/<prodotto>, /welcome/pricing).
 *
 * Testata, piè di pagina e font stanno in public/site.css, caricato dal
 * layout `public`; qui resta il minimo che serviva da Bootstrap e le domande
 * frequenti nello stile di gkt-ecosystem.css. La landing usa public/welcome.css.
 */

/* --- Base: quel che dava Bootstrap --------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.gkt-pub {
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

:where(.gkt-pub) :where(h1, h2, h3, p) {
    margin-top: 0;
}

:where(.gkt-pub) :where(dl, dd, figure) {
    margin: 0;
}

:where(.gkt-pub) a {
    color: var(--accent);
}

:where(.gkt-pub) img {
    max-width: 100%;
    vertical-align: middle;
}

:where(.gkt-pub) :where(button, input, select) {
    font: inherit;
}

:where(.gkt-pub) address {
    font-style: normal;
}

:where(.gkt-pub [id]) {
    scroll-margin-top: 1.5rem;
}

/* --- Domande frequenti --------------------------------------------- */
.gkt-faq {
    display: grid;
    gap: 0.6rem;
    max-width: 50rem;
}

.gkt-faq__item {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}

.gkt-faq__item summary {
    position: relative;
    padding: 1rem 3rem 1rem 1.25rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.gkt-faq__item summary::-webkit-details-marker {
    display: none;
}

.gkt-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--mute);
    transform: translateY(-50%);
}

.gkt-faq__item[open] summary {
    color: var(--accent);
}

.gkt-faq__item[open] summary::after {
    content: "−";
}

.gkt-faq__answer {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.925rem;
    line-height: 1.65;
}

.gkt-faq__answer p {
    margin: 0;
}


/* Il piè di pagina è su carta navy: il contenuto gli lascia aria. */
.gkt-pub > main.gkt-shell {
    padding-bottom: var(--space-3xl);
}
